/* Shared help design: inline links, dialog cards and native full-page excerpts. */
a.rule-term {color:var(--accent);text-decoration:underline dotted;text-decoration-thickness:1px;text-underline-offset:.2em;border-radius:2px}
a.rule-term:hover {text-decoration-style:solid;background:var(--selected)}
a.rule-term:focus-visible {outline:2px solid var(--accent);outline-offset:3px;background:var(--selected)}
.rule-help-card {min-width:0;padding:4px 0 20px}
.rule-help-kind {display:flex;align-items:center;gap:8px;font:500 12px/1.5 "Noto Sans",sans-serif;color:var(--accent);margin:0 0 12px}
.rule-help-kind>.ldl-icon {width:18px;height:18px}
.rule-help-card>.rule-help-title {font:600 clamp(32px,4vw,40px)/1.15 var(--reading);margin:0 0 24px;padding-bottom:18px;border-bottom:3px double var(--inlay);overflow-wrap:break-word;text-wrap:balance}
.rule-help-body {font-size:20px;line-height:1.5}
.rule-help-body>p:last-child {margin-bottom:0}
.rule-help-body>ol {padding-left:1.3em}
.rule-help-body>ol>li {padding:8px 0 12px 8px;border-bottom:1px solid var(--line)}
.rule-help-facts {display:flex;flex-wrap:wrap;gap:12px;margin:0 0 24px}
.rule-help-facts>div {flex:1 1 120px;min-width:0;padding:12px 16px;background:var(--raised);border-block:1px solid var(--line)}
.rule-help-facts dt {font:400 12px/1.5 "Noto Sans",sans-serif;color:var(--muted);margin-bottom:4px}
.rule-help-facts dd {font:600 25px/1.2 var(--reading);margin:0;overflow-wrap:anywhere}
.rule-help-source,.rule-keyword-source {font:400 12px/1.5 "Noto Sans",sans-serif;color:var(--muted);margin:24px 0 0;padding-top:12px;border-top:1px solid var(--line)}
.rule-help-full {border-top:1px solid var(--line);margin-top:8px}
.rule-help-full>summary {font-size:14px;color:var(--accent)}
.rule-help-article-link {display:inline-flex;align-items:center;min-height:44px;margin-top:12px;font-size:13px}
#rule-drawer:has(.rule-help-card)>.overlay-heading h2 {font:500 18px/1.4 "Noto Sans",sans-serif;color:var(--muted)}
#rule-drawer:has(.rule-help-card)>.overlay-heading h2>.ldl-icon {width:18px;height:18px}
@media(max-width:480px){.rule-help-card>.rule-help-title{font-size:32px}.rule-help-body{font-size:19px}.rule-help-facts>div{padding:10px 12px}.rule-help-facts dd{font-size:23px}}
