.dhtq-on .dhtq-w { cursor: help; border-radius: 4px; transition: background .15s, box-shadow .15s; background-image: linear-gradient(90deg, rgba(37,99,235,.35) 50%, transparent 0); background-size: 4px 1.5px; background-repeat: repeat-x; background-position: 0 100%; }
.dhtq-on .dhtq-w:hover, .dhtq-on .dhtq-w.is-on, .dhtq-on .dhtq-w:focus-visible { background-color: #eef3ff; box-shadow: 0 0 0 2px #eef3ff; outline: none; }
.dhtq-pop { position: absolute; z-index: 99990; width: min(340px, calc(100vw - 24px)); background: #fff; color: #1e293b; border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(11,31,77,.45), 0 0 0 1px rgba(15,23,42,.06); padding: 16px 18px 10px; font-size: 15px; line-height: 1.5; animation: dhtq-in .16s ease-out; }
.dhtq-pop[hidden] { display: none; }
.dhtq-pop.is-sheet { position: fixed; left: 0 !important; right: 0; bottom: 0; top: auto !important; width: auto; border-radius: 22px 22px 0 0; padding: 18px 20px calc(12px + env(safe-area-inset-bottom)); max-height: 70vh; overflow: auto; animation: dhtq-up .2s ease-out; }
@keyframes dhtq-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes dhtq-up { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.dhtq-x { position: absolute; top: 8px; right: 10px; width: 30px; height: 30px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #f1f5f9; color: #475569; font-size: 18px; line-height: 30px; cursor: pointer; }
.dhtq-x:hover { background: #e2e8f0; }
.dhtq-head { display: flex; align-items: center; gap: 10px; padding-right: 34px; }
.dhtq-word { font: 800 26px/1.2 'Noto Sans KR', 'Malgun Gothic', sans-serif; color: #0b1f4d; text-decoration: none; }
a.dhtq-word:hover { color: #1d4ed8; }
.dhtq-say { width: 34px; height: 34px; min-height: 0; margin: 0; padding: 0; border: 1px solid #dbe7ff; border-radius: 50%; background: #eef3ff; font-size: 15px; line-height: 1; cursor: pointer; }
.dhtq-say.is-playing { background: #dbe7ff; }
.dhtq-form { margin: 6px 0 0; font-size: 13px; color: #64748b; background: #f8fafc; border-radius: 8px; padding: 4px 8px; }
.dhtq-meta { margin: 6px 0 0; font-size: 13.5px; color: #64748b; }
.dhtq-hv { margin: 4px 0 0; font-size: 14px; color: #b91c1c; }
.dhtq-m { margin: 8px 0 0; font-weight: 700; color: #0f172a; font-size: 16px; }
.dhtq-ex { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed #e2e8f0; font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif; }
.dhtq-ev { margin: 2px 0 0; font-size: 14px; color: #64748b; font-style: italic; }
.dhtq-msg { margin: 8px 0 0; color: #64748b; }
.dhtq-load { animation: dhtq-pulse 1s ease-in-out infinite alternate; }
@keyframes dhtq-pulse { to { opacity: .45; } }
.dhtq-act { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.dhtq-act a { font-weight: 700; font-size: 14px; color: #1d4ed8; text-decoration: none; }
.dhtq-act a:hover { text-decoration: underline; }
.dhtq-foot { margin: 10px 0 0; padding-top: 6px; border-top: 1px solid #f1f5f9; text-align: right; }
.dhtq-foot button { border: 0; background: none; padding: 0; margin: 0; min-height: 0; font: inherit; font-size: 12px; color: #94a3b8; text-transform: none; letter-spacing: 0; cursor: pointer; }
.dhtq-foot button:hover { color: #475569; text-decoration: underline; }
.dhtq-pill { position: fixed; left: 16px; bottom: 16px; z-index: 9990; border: 1px solid #cbd5e1; background: #fff; color: #1d4ed8; border-radius: 999px; padding: 8px 14px; margin: 0; min-height: 0; font: inherit; font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; box-shadow: 0 8px 22px -12px rgba(15,23,42,.35); cursor: pointer; }
.dhtq-toast { position: fixed; left: 50%; bottom: 20px; z-index: 99991; width: min(420px, calc(100vw - 32px)); transform: translate(-50%, 20px); opacity: 0; background: #0b1f4d; color: #fff; border-radius: 14px; padding: 12px 16px; font-size: 14.5px; line-height: 1.45; box-shadow: 0 18px 40px -16px rgba(11,31,77,.6); transition: opacity .3s, transform .3s; pointer-events: none; }
.dhtq-toast.is-in { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .dhtq-pop, .dhtq-pop.is-sheet { animation: none; } .dhtq-toast { transition: none; } }
