/* Tap-or-hover word meanings (English line, then Telugu line). Shared by notes and case pages. */
.w{position:relative;border-bottom:1.5px dotted var(--accent);cursor:help;}
.w:hover,.w:focus{background:var(--accent-tint);outline:none;}
.w:hover::after,.w:focus::after{content:attr(data-m);position:absolute;left:0;bottom:calc(100% + 6px);width:max-content;max-width:220px;z-index:20;background:#221F1B;color:#fff;font:500 14px/1.4 Inter,sans-serif;padding:6px 10px;border-radius:8px;text-align:left;white-space:pre-line;}
.w-js .w:hover::after,.w-js .w:focus::after{display:none;}
.w-tip{position:fixed;white-space:pre-line;display:none;z-index:60;max-width:min(260px,calc(100vw - 16px));background:#221F1B;color:#fff;font:500 14px/1.4 Inter,"Noto Sans Telugu",sans-serif;padding:7px 11px;border-radius:8px;box-shadow:0 3px 12px rgba(0,0,0,.25);pointer-events:none;}
.w-tip::after{content:"";position:absolute;left:var(--ax,50%);bottom:-5px;width:10px;height:10px;background:#221F1B;transform:translateX(-50%) rotate(45deg);}
.w-tip.below::after{bottom:auto;top:-5px;}
@media print{.w{border-bottom:none;}.w::after,.w-tip{display:none !important;}}
