
.mi { --acc: var(--accent, #C4B5FD); --card: var(--surface-solid, #1a1b20); --edge: var(--line, rgba(255,255,255,.08)); --edge2: var(--line-strong, rgba(255,255,255,.14)); padding-top: 0; /* 위 여백은 다른 공략 페이지처럼 .site-main 이 줌 */ padding-bottom: 80px; }
.mi img { image-rendering: pixelated; }
/* 폰: 카드를 두 번 누르면(더블탭 = 바로 공략) 브라우저가 화면을 확대해 옆으로 밀려 보였음 → 두 번 눌러 확대만 끔 (두 손가락 확대는 됨) */
.mi { touch-action: manipulation; }
/* 머리말은 공통 .page-head (dnd2.css), 찾기·분류는 .card 상자 (예전 .mi-hero 큰 상자는 없앰) */
.mi .page-desc a { color: var(--acc); }
.mi-filter { margin-top: var(--sp-6); padding: var(--sp-5) var(--sp-6); }
.mi-search { display: flex; align-items: center; gap: 12px; max-width: 720px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--edge2); background: rgba(0,0,0,.25); }
.mi-search:focus-within { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(196,181,253,.18); }
.mi-search svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.mi-search input { flex: 1; min-width: 0; /* 없으면 글꼴 · 글자 크기 설정에 따라 기본 폭이 칸보다 커져 폰에서 화면 오른쪽이 남았음 */ min-height: 54px; border: 0; background: none; color: var(--text-strong); font: 500 17px var(--font); outline: none; }
.mi-search input::placeholder { color: var(--muted); }
.mi-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.mi-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.mi-quick span { margin-right: 4px; }
.mi-quick button { min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--edge2); background: none; color: var(--text-sub); font: 600 13px var(--font); cursor: pointer; }
.mi-quick button:hover { color: var(--text-strong); border-color: var(--acc); }
.mi-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--edge); }
.mi-cats button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--edge); background: rgba(255,255,255,.03); color: var(--text-sub); font: 700 14px var(--font); cursor: pointer; }
.mi-cats button i, .mi-group h2 i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.mi-cats button[aria-pressed="true"] { background: rgba(255,255,255,.1); border-color: var(--edge2); color: var(--text-strong); }

.mi-split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; margin-top: 26px; }
.mi-left { min-width: 0; } .mi-left .mi-index { margin-top: 0; }
.mi-stage { position: sticky; top: calc(var(--header-h, 72px) + 16px); display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--c, #C4B5FD) 45%, transparent); background: var(--card); transition: border-color .35s; outline: none; max-height: calc(100svh - var(--header-h, 72px) - 32px); }
.st-art { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; flex: none;
  --art-glow-c: var(--c); --art-cut-tex: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 22px); transition: background .4s; } /* 바탕 = 누끼 그림 칸 (dnd2.css .art-cut, 빛은 분류색) + 모눈 */
.st-pic { display: grid; place-items: center; width: 100%; height: 100%; }
/* 몬스터 크기 비율 그대로: 그림(게임 도트 3배)의 원래 폭 --w 를 같은 비율로 줄임 (js 가 그림을 읽으면 --w 를 넣음). 가장 큰 아울베어가 칸을 거의 채우는 정도 */
.st-pic img { width: calc(var(--w, 280) / 450 * 100%); max-height: 90%; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(0,0,0,.6)); }
.st-pic b { font: 700 150px/1 var(--font-display, Cinzel, serif); color: color-mix(in srgb, var(--c) 75%, #fff); opacity: .5; text-shadow: 0 10px 40px color-mix(in srgb, var(--c) 55%, transparent); }
.st-en { position: absolute; left: 16px; bottom: 12px; font: 700 11px var(--font-display, Cinzel, serif); letter-spacing: .28em; color: color-mix(in srgb, var(--c, #C4B5FD) 60%, #fff); opacity: .7; }
.st-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 16px; overflow-y: auto; }
.st-in { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.st-label { padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: var(--muted); border: 1px dashed var(--edge2); }
.st-label.is-done { background: var(--acc); color: #1a1208; border: 0; }
.st-cat { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); }
.st-name { display: block; margin: 0; font-size: 30px; font-weight: 900; letter-spacing: -.04em; color: #fff; }
.st-name small { margin-left: 8px; font: 700 13px var(--font-display, Cinzel, serif); letter-spacing: .12em; color: var(--muted); }
.st-desc { display: block; margin: 0; font-size: 15px; line-height: 1.7; color: var(--text-sub); }
.st-stats { gap: 20px; } .st-stats:empty { display: none; }
.st-stats span { display: grid; gap: 2px; font-size: 18px; font-weight: 900; color: var(--text-strong); } .st-stats em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--muted); } .st-stats .mi-bars { margin-top: 6px; }
.st-act { margin-top: 4px; } .st-act .btn { width: 100%; justify-content: center; }
/* 공략 보기: 캐릭터 목록과 같은 금빛 */
.st-act .btn--primary { background: var(--medal-gold); color: var(--medal-gold-ink); box-shadow: 0 0 0 1px color-mix(in srgb, var(--hof-gold) 60%, transparent), 0 10px 24px -10px color-mix(in srgb, var(--hof-gold) 55%, transparent); }
.st-act .btn--primary:hover { background: var(--medal-gold); color: var(--medal-gold-ink); filter: brightness(1.08); }
.st-soon { display: block; padding: 12px; border-radius: 10px; border: 1px dashed var(--edge2); text-align: center; font-size: 13px; color: var(--muted); }
.st-nav { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--edge); flex: none; }
.st-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--edge2); background: rgba(255,255,255,.04); color: var(--text-strong); font-size: 18px; cursor: pointer; }
.st-nav button:hover { border-color: var(--acc); }
.st-pos { font: 700 11.5px var(--font-display, Cinzel, serif); letter-spacing: .14em; color: var(--muted); }
.mi-row { position: relative; }
.mi-row.is-cur { border-color: var(--acc) !important; box-shadow: 0 0 0 2px rgba(196,181,253,.25); }
.mi-row.is-cur::after { content: "보는 중"; position: absolute; top: 10px; right: 10px; padding: 2px 8px; border-radius: 999px; background: var(--acc); color: #1a1208; font-size: 11px; font-weight: 800; }
@media (prefers-reduced-motion: no-preference) {
  .mi-stage.swap .st-in { animation: stUp .35s cubic-bezier(.2,.8,.2,1) both; }
  .mi-stage.swap .st-in:nth-child(2) { animation-delay: .05s; } .mi-stage.swap .st-in:nth-child(3) { animation-delay: .1s; } .mi-stage.swap .st-in:nth-child(4) { animation-delay: .15s; } .mi-stage.swap .st-in:nth-child(5) { animation-delay: .2s; }
  .mi-stage.swap .st-pic { animation: stPic .4s cubic-bezier(.2,.8,.2,1) both; }
  .mi-stage.swap.l .st-pic { animation-name: stL; } .mi-stage.swap.r .st-pic { animation-name: stR; }
  @keyframes stUp { from { opacity: 0; transform: translateY(6px); } }
  @keyframes stPic { from { opacity: 0; transform: scale(.85); } }
  @keyframes stL { from { opacity: 0; transform: translateX(24px); } } @keyframes stR { from { opacity: 0; transform: translateX(-24px); } }
  .mi-row.is-cur { transition: box-shadow .3s, border-color .3s; }
}
.mi-stage.is-leaving .st-pic img, .mi-stage.is-leaving .st-pic b { transition: transform .55s cubic-bezier(.5,0,.2,1); transform: scale(2.2); }
@media (max-width: 860px) {
  .mi-split { grid-template-columns: 1fr; }
  /* 폰 · 태블릿: 예전엔 고른 몬스터가 채팅 버튼 위에 늘 떠 있는 띠라 목록 아래쪽 180px 를 가렸음
     → 띠는 없애고, 카드를 누르면 아래에서 올라오는 창 (monster-index.js openSheet, 스테이지 · 마법 페이지와 같은 방식) */
  .mi-stage { display: none; }
  .mi-stage.is-sheet { display: flex; position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: var(--z-sheet); max-height: min(86svh, 720px);
    border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px rgba(0,0,0,.6); animation: miUp .22s ease-out; }
  .mi-stage.is-sheet .st-art { aspect-ratio: auto; height: min(26svh, 170px); }   /* 16:9 로 두면 그림만 화면 1/3 이라 창이 너무 길었음 */
  .mi-stage.is-sheet .st-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }   /* 긴 소개는 세 줄까지 (전부는 공략 페이지에서) */
  .mi-stage.is-sheet .st-pic img { width: calc(var(--w, 280) / 420 * 100%); height: auto; max-height: 90%; }   /* 소개 창도 실제 비율 (높이를 맞추면 전갈이 가장 커 보였음) */
  .mi-stage.is-sheet .st-name { font-size: 24px; }
}
@keyframes miUp { from { transform: translateY(40px); opacity: .4; } }
.mi-sheet-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 16px; cursor: pointer; }
@media (min-width: 861px) { .mi-sheet-x { display: none; } }
.mi-dim { position: fixed; inset: 0; z-index: calc(var(--z-sheet) - 1); background: rgba(0,0,0,.55); }
.mi-dim[hidden] { display: none; }
html.mi-lock { overflow: hidden; }
.mi-index { margin-top: 30px; display: grid; gap: 26px; }
.mi-gh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; }
.mi-group h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 22px; font-weight: 900; color: var(--text-strong); }
.mi-group h2 span { font-size: 13px; font-weight: 600; color: var(--muted); }
.mi-gh p { margin: 0; font-size: 14px; color: var(--muted); }
.mi-group[hidden] { display: none; }
.mi-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mi-row { display: grid; grid-template-rows: auto 1fr auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--edge); background: var(--card); color: var(--text); text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.mi-row[hidden] { display: none; }
.mi-row.done { border-color: rgba(196,181,253,.35); }
.mi-row:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--acc) 60%, transparent); box-shadow: 0 18px 30px -18px rgba(0,0,0,.8); color: var(--text); }
.mi-art { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8; overflow: hidden; border-bottom: 1px solid var(--edge);
  --art-glow-c: var(--c); --art-cut-tex: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 20px), repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 20px); } /* 바탕 = 누끼 그림 칸 + 모눈 */
.mi-art b { font: 700 92px/1 var(--font-display, Cinzel, serif); color: color-mix(in srgb, var(--c) 75%, #fff); opacity: .55; text-shadow: 0 8px 30px color-mix(in srgb, var(--c) 50%, transparent); }
.mi-art i { position: absolute; left: 14px; bottom: 10px; font: 700 11px var(--font-display, Cinzel, serif); font-style: normal; letter-spacing: .2em; color: color-mix(in srgb, var(--c) 60%, #fff); opacity: .6; text-transform: uppercase; }
.mi-art.has img { width: calc(var(--w, 280) / 505 * 100%); max-height: 92%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(0,0,0,.6)); }
.mi-row:hover .mi-art b { opacity: .8; }
.mi-main { display: grid; align-content: start; gap: 6px; padding: 14px 16px 0; min-width: 0; }
.mi-nm b { font-size: 19px; font-weight: 900; letter-spacing: -.03em; color: var(--text-strong); }
.mi-nm small { margin-left: 8px; font: 700 11.5px var(--font-display, Cinzel, serif); letter-spacing: .1em; color: var(--muted); }
.mi-desc { font-size: 14.5px; color: var(--text-sub); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mi-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mi-k { font-size: 12.5px; color: var(--muted); }
.mi-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding: 10px 16px 12px; border-top: 1px solid var(--edge); }
.mi-cat { padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.mi-go { font-weight: 800; color: var(--acc); white-space: nowrap; font-size: 14px; }
.mi-soon { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.mi-row { cursor: pointer; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .2s, box-shadow .2s, opacity .25s; }
.mi-row:hover, .mi-row:focus-visible { --ty: -4px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }
.mi-row:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.mi-row .mi-art b, .mi-row .mi-art img { transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.mi-row:hover .mi-art b, .mi-row:hover .mi-art img { transform: scale(1.12) translateY(-2px); }
.mi-row:hover .mi-art { background-size: auto; }

/* 공략 보기: 그림이 다가오며 들어감 */
.mi-zoom { position: fixed; inset: 0; z-index: var(--z-fx); pointer-events: none; background: #0b0a10; opacity: 0; transition: opacity .45s .1s; }
.mi-zoom.on { opacity: 1; }
.mi mark { background: rgba(196,181,253,.3); color: inherit; border-radius: 3px; padding: 0 1px; }
.mi-empty { margin: 30px 0 0; padding: 30px; text-align: center; border-radius: 14px; border: 1px dashed var(--edge2); color: var(--muted); }
.mi-note { margin: 26px 0 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 860px) { .mi-fcard { grid-template-columns: 1fr; } .mi-fart { min-height: 220px; } .mi-fbody { padding: 20px; } }
@media (min-width: 861px) and (max-width: 1180px) { .mi-split { grid-template-columns: minmax(0, 1fr) 320px; } } /* 860 이하(한 열 + 아래 띠)와 겹치면 목록 칸이 0 으로 줄어들었음 */
@media (max-width: 1180px) { .mi-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .mi-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mi-filter { padding: var(--sp-4); }
  .mi-quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--sp-4) * -1); padding-right: var(--sp-4); } .mi-quick::-webkit-scrollbar { display: none; } .mi-quick > * { flex: none; }   /* 폰: 예시 단어는 한 줄로 (넘치면 옆으로 밀어 봄) */
  .mi-count { display: none; }
  .mi-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--sp-4) * -1); padding-right: var(--sp-4); } .mi-cats::-webkit-scrollbar { display: none; } .mi-cats button { flex: none; }   /* 분류도 한 줄 */
  /* 폰: 한 줄 목록 (그림 + 이름 · 한 줄 소개 · 분류 · HP · 위협도). 국내 앱 목록과 같은 모양이라 배울 필요가 없고, 비교할 값이 늘 같은 자리
     (시안 docs/monster-sian/list.html A). 그림 칸은 넓은 화면과 같은 도감 칸 (격자 + 분류 색 빛) */
  .mi-rows { grid-template-columns: 1fr; gap: var(--sp-2); }
  .mi-row { grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: none; align-items: stretch; border-radius: var(--radius); }
  .mi-art { aspect-ratio: auto; min-height: 76px; border-bottom: 0; border-right: 1px solid var(--edge); box-shadow: inset 3px 0 0 color-mix(in srgb, var(--c) 75%, transparent); }   /* 왼쪽 선 = 분류 색 */
  .mi-art.has img { width: calc(var(--w, 280) / 380 * 100%); max-width: 94%; max-height: 86%; }   /* 실제 크기 비율 그대로 (칸에 꽉 채우면 작은 전갈 · 비틀이 아울베어만큼 커 보였음) */
  .mi-main { align-content: center; gap: 3px; padding: var(--sp-2) var(--sp-3); }
  .mi-nm { display: flex; align-items: baseline; min-width: 0; }
  .mi-nm b { flex: none; font-size: var(--fs-lg); }
  .mi-nm small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; }
  .mi-desc { -webkit-line-clamp: 1; font-size: var(--fs-sm); }
  .mi-tags, .mi-foot, .mi-row.is-cur::after { display: none; }
  .mi-stat { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-xs); color: var(--muted); }
  .mi-stat em { font-style: normal; font-weight: var(--fw-bold); color: var(--text-sub); }
  .mi-stat .mi-bars { display: inline-flex; vertical-align: middle; }
  .mi-stat .mi-bars i { width: 10px; height: 5px; }
}
/* 위협도 막대 (미리보기 무대): 모양 규칙이 없어 안 보였음 → 상세 페이지 위협도와 같은 칸 다섯 개 */
.mi-stat { display: flex; align-items: center; gap: var(--sp-3); margin-top: 2px; font-size: var(--fs-xs); color: var(--muted); }   /* 카드 · 폰 한 줄 목록의 HP · 위협도 */
.mi-stat em { font-style: normal; font-weight: var(--fw-bold); color: var(--text-sub); }
.mi-stat .mi-bars { display: inline-flex; } .mi-stat .mi-bars i { width: 12px; height: 5px; }
/* 보기 전환: 카드 / 표 (넓은 화면. 폰은 한 줄 목록이라 숨김) */
.mi-gh .mi-view { margin-left: auto; } .mi-gh .mi-sort { margin-left: var(--sp-2); }
.mi-view { display: inline-flex; flex: none; padding: 3px; background: var(--surface-solid); border: 1px solid var(--edge2); border-radius: var(--radius-sm); }
.mi-view button { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; font: inherit; font-size: var(--fs-sm); font-weight: var(--fw-semibold); white-space: nowrap; color: var(--muted); background: none; border: 0; border-radius: 4px; cursor: pointer; }
.mi-view svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mi-view button[aria-pressed="true"] { color: var(--text-strong); background: rgba(255,255,255,.1); }
.mi-table { display: none; width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-md); border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; background: var(--card); }
.mi-as-table .mi-rows { display: none; }
.mi-as-table .mi-table { display: table; }
.mi-table th { padding: 10px; text-align: left; font-size: var(--fs-xs); font-weight: var(--fw-semibold); white-space: nowrap; color: var(--muted); background: var(--surface-solid); border-bottom: 1px solid var(--edge2); }
.mi-table th button { padding: 0; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.mi-table th button::after { content: " ↕"; opacity: .4; }
.mi-table th button[aria-pressed="true"] { color: var(--acc); }
.mi-table th button[aria-pressed="true"]::after { content: " ↓"; opacity: 1; }
.mi-table td { padding: 8px 10px; vertical-align: middle; color: var(--text-sub); border-bottom: 1px solid var(--edge); }
.mi-table tr:last-child td { border-bottom: 0; }
.mi-table tbody tr { cursor: pointer; }
.mi-table tbody tr:hover td { background: rgba(255,255,255,.03); }
.mi-table tbody tr.is-cur td { background: rgba(196,181,253,.08); }
.mi-table tbody tr.is-cur td:first-child { box-shadow: inset 3px 0 0 var(--acc); }
.mi-tart { display: grid; place-items: center; width: 56px; height: 44px; overflow: hidden; border-radius: 8px; border: 1px solid var(--edge);
  --art-glow-c: var(--c); --art-cut-tex: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 10px), repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 10px); } /* 바탕 = 누끼 그림 칸 + 모눈 */
.mi-tart img { width: calc(var(--w, 280) / 380 * 100%); max-width: 50px; max-height: 38px; }   /* 표 칸도 실제 크기 비율 */
.mi-table .nm { white-space: nowrap; }
.mi-table .nm b { display: block; color: var(--text-strong); }
.mi-table .nm small { font: 700 10.5px var(--font-display, Cinzel, serif); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mi-tcat { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: var(--fw-semibold); white-space: nowrap; color: var(--c); }
.mi-tcat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.mi-table .num { font-weight: var(--fw-bold); white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--text-strong); }
.mi-table .go { font-size: var(--fs-sm); font-weight: var(--fw-bold); white-space: nowrap; color: var(--acc); text-decoration: none; }
@media (min-width: 561px) { .mi-gh { flex-wrap: nowrap; align-items: center; } .mi-gh h2 { flex: none; } .mi-gh p { flex: 1 1 auto; min-width: 0; } .mi-gh .mi-sort { flex: none; } }   /* 제목 줄 오른쪽에 보기 · 정렬 한 줄 */
@media (max-width: 560px) { .mi-view, .mi-as-table .mi-table { display: none; } .mi-as-table .mi-rows { display: grid; } }   /* 폰은 한 줄 목록만 */
.mi-sort { margin-left: auto; min-height: 36px; padding: 0 10px; font: inherit; font-size: var(--fs-sm); color: var(--text-sub); background: var(--surface-solid); border: 1px solid var(--edge2); border-radius: var(--radius-sm); }
.mi-bars { display: flex; gap: 3px; }
.mi-bars i { display: block; width: 16px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); }
.mi-bars i.on { background: var(--acc); }
.mi-nm small { display: inline-block; white-space: nowrap; overflow-wrap: normal; } /* 긴 영문 이름(TROGLODYTE)이 단어 중간에서 끊기지 않고 통째로 다음 줄로 */
