/* ROLL'DICE icon sizing. Icons inherit color from their parent (currentColor). */
.rd-icon { width: 22px; height: 22px; display: inline-block; vertical-align: middle; flex: 0 0 auto; }
.rd-icon--inline { width: 18px; height: 18px; }
.rd-icon--row { width: 16px; height: 16px; }
.rd-icon--badge { width: 16px; height: 16px; color: var(--accent-ink, #fff); }

/* Header / icon buttons: 44×40, r10 (same corner ratio as the dice), 1.5px ink border */
.rd-iconbtn { width: 44px; height: 40px; border-radius: 10px; background: var(--card, #fff); border: 1.5px solid var(--ink, #15130F); color: var(--ink, #15130F); display: grid; place-items: center; padding: 0; cursor: pointer; }
.rd-iconbtn:active, .rd-iconbtn[aria-pressed="true"] { background: var(--ink, #15130F); color: var(--paper, #F5F0E6); }
.rd-iconbtn.is-accent { border-color: var(--accent); color: var(--accent); }
.rd-iconbtn:disabled { opacity: .4; border-color: var(--hairline-strong, rgba(21,19,15,.35)); }
