/* 🇩🇪 German practice bubble (markdown.js germanCard, deutsch-core.js; Tomas #2374): dotted words show their English
   in a popup when tapped (hovered with a mouse); "Show translation" reveals the whole English text. */
.bubble.aeter:has(.deb-card) { box-shadow: inset 2px 0 0 rgba(255, 194, 71, .7); }
.deb-card { position: relative; margin: 2px 0; padding: 10px 12px 8px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.deb-card::before { content: ""; position: absolute; left: 12px; right: 12px; top: -1px; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #000 0 33.3%, var(--sw-red) 33.3% 66.6%, var(--warn) 66.6%); }
.deb-card + .deb-card { margin-top: 10px; }
.deb-head { font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--warn); margin: 2px 0 6px; }
.md .deb-text { font-size: 17px; line-height: 1.7; margin: 0; }
.deb-w { cursor: pointer; text-decoration: underline dotted var(--muted); text-decoration-thickness: 2px; text-underline-offset: 5px; border-radius: 4px;
  -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.deb-w.open, .deb-w:focus-visible { background: var(--sw-select); color: var(--sw-select-fg); text-decoration-color: var(--warn); outline: none; }
.deb-tip { position: absolute; z-index: 3; max-width: min(240px, 90%); padding: 5px 10px; border-radius: 10px; background: var(--chip); color: var(--text);
  border: 1px solid var(--warn); font-size: 14px; line-height: 1.3; box-shadow: 0 4px 14px rgba(0, 0, 0, .45); pointer-events: none; white-space: normal; }
.md .deb-en { margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 15px; }
.deb-show { display: block; background: none; border: 0; padding: 8px 0 2px; color: var(--warn); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
