/* credit-notice.css (17 Nov 2026): the low-credit / out-of-credits bar (credit-notice.js). In the page flow, under the
   page header; site colour tokens only, so light and dark both work. */
.crn-bar{display:flex;align-items:center;gap:10px;margin:8px 24px 0;padding:9px 10px 9px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--secondary);font:400 12.5px/1.45 Inter,Arial,sans-serif}
.crn-bar.crn-low{border-color:#d9a43a80}
.crn-bar.crn-out{border-color:#e5484d73}
.crn-ic{flex-shrink:0;width:16px;height:16px;fill:none;stroke:var(--muted);stroke-width:1.6;stroke-linecap:round}
.crn-low .crn-ic{stroke:#c98a12}
.crn-out .crn-ic{stroke:#e5484d}
.crn-text{flex:1;min-width:0;margin:0}
.crn-text b{color:var(--text);font-weight:600}
.crn-btn{flex-shrink:0;padding:5px 10px;border:1px solid var(--border);border-radius:6px;color:var(--accent-text);font-weight:500;text-decoration:none;white-space:nowrap}
.crn-btn:hover{background:var(--hover)}
.crn-x{flex-shrink:0;display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:6px;background:none;color:var(--muted);cursor:pointer}
.crn-x svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.crn-x:hover{background:var(--hover);color:var(--text)}
.crn-bar :is(a,button):focus-visible{outline:2px solid #2189c9;outline-offset:2px}
:root[data-theme="dark"] .crn-low .crn-ic{stroke:#e6b450}
@media(max-width:720px){
  .crn-bar{flex-wrap:wrap;margin:8px 12px 0}
  .crn-text{flex-basis:calc(100% - 52px)}
  .crn-btn{margin-left:26px}
}
