/* word 글자 상세 쪽(/abc-<글자>·/hangul-<이름>)과 처음·글자 노래의 「상세 보기」 링크 — page.html 의 letter 갈래.
   word.css 의 색 변수(--card·--line·--stress·--accent·--on)를 그대로 쓴다. 강세는 글자 크기로만(굵기 아님). */
.wx-ldet { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 2px; padding: 4px 10px;
  border-radius: 999px; color: var(--accent); font-size: .85rem; font-weight: 700; text-decoration: none; text-align: center;
  background: color-mix(in oklch, var(--accent) 10%, transparent); }
.wx-ldet:hover { background: color-mix(in oklch, var(--accent) 18%, transparent); }

.wl-head { display: flex; gap: 16px; align-items: center; margin: 14px 0 6px; }
.wl-head .wx-h1 { margin: 0; line-height: 2.2; }
.wl-head .wx-how { margin: 4px 0 0; }
.wl-big { flex: none; font: inherit; color: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 112px; min-height: 112px; padding: 8px 14px; border-radius: var(--r-m, 16px); border: 1.5px solid var(--line); background: var(--card); }
.wl-big b { font-size: 3.6rem; line-height: 1.1; white-space: nowrap; }
.wl-big:hover { background: var(--on); }

.wl-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.wl-toc a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 12px; border-radius: 999px; text-decoration: none; color: inherit;
  border: 1.5px solid var(--line); background: var(--card); font-size: .92rem; }
.wl-toc a:hover { border-color: var(--accent); }
.wl-as { color: var(--muted); font-size: .85em; }

.wl-snd { color: var(--stress); font-size: 1.25em; font-weight: inherit; }
.wx-h2 .wl-snd { font-size: 1.5em; margin-right: 2px; }
.wl-snd.wl-weak { font-size: .9em; opacity: .8; }        /* 약한 소리는 작게 — 강세 표기와 같은 뜻 */
.wl-sec { scroll-margin-top: 12px; }
.wl-pats { color: var(--muted); margin: -4px 0 8px; }
.wl-pats b { color: var(--text); font-weight: inherit; font-size: 1.05em; }

.wl-ex { list-style: none; padding: 0; margin: 8px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.wl-ex li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m, 16px); padding: 6px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.wl-w { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; min-height: 44px; width: 100%; padding: 4px; border-radius: 10px; line-height: 2.4; text-align: center; }
.wl-w ruby { font-size: 1.3rem; }
.wl-w:hover { background: var(--on); }
.wl-hl { color: var(--accent); text-decoration: underline 2px; text-underline-offset: 4px; }
.wl-mean { color: var(--muted); font-size: .88rem; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; text-align: center; }
.wl-mean:hover { color: var(--accent); text-decoration: underline; }
@media (pointer: coarse) { .wl-mean { min-height: 44px; } }

.wl-more { margin: 4px 0 10px; }
.wl-more summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 4px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card); font-weight: 700; color: var(--accent); }

@media (max-width: 520px) {
  .wl-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .wl-big { min-width: 96px; min-height: 96px; }
  .wl-big b { font-size: 3rem; }
  .wl-ex { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .wl-w ruby { font-size: 1.15rem; }
}
