/* LLM.GE bookmarks (client-side, localStorage) */
.llmbm-ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.is-saved>.llmbm-ico,.llmbm-on .llmbm-ico{fill:currentColor}
/* header button */
.llmbm-hbtn{position:relative;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#1f2937;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent;margin-left:auto}
.llmbm-hbtn:hover,.llmbm-hbtn:active,.llmbm-hbtn[aria-expanded=true]{background:#e8f5ef;border-color:#0c7f60;color:#0c7f60}
.llmbm-badge{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 4px;border-radius:4px;background:#0c7f60;color:#fff;font:600 11px/18px FiraGO,sans-serif;text-align:center;box-shadow:0 0 0 2px #fff}
.llmbm-badge[hidden]{display:none}
.site-header-primary-section-right .llmbm-wrap{display:flex;align-items:center;justify-content:flex-end;height:100%}
/* panel */
.llmbm-scrim{position:fixed;inset:0;background:rgba(17,24,39,.35);z-index:99996;opacity:0;pointer-events:none;transition:opacity .2s}
.llmbm-scrim.is-open{opacity:1;pointer-events:auto}
.llmbm-panel{position:fixed;z-index:99997;background:#fff;font-family:FiraGO,sans-serif;display:flex;flex-direction:column;visibility:hidden;opacity:0;transition:opacity .2s,transform .2s}
.llmbm-panel.is-open{visibility:visible;opacity:1;transform:none}
@media (max-width:921px){.llmbm-panel{left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom,0px));max-height:72vh;border-top:1px solid #e5e7eb;border-radius:6px 6px 0 0;transform:translateY(12px);box-shadow:0 -10px 30px rgba(0,0,0,.12)}}
@media (min-width:922px){.llmbm-panel{top:96px;right:24px;width:400px;max-height:70vh;border:1px solid #e5e7eb;border-radius:6px;transform:translateY(-6px);box-shadow:0 14px 40px rgba(0,0,0,.14)}}
.llmbm-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #eef1f0}
.llmbm-head h3{margin:0;font:700 17px/1.3 FiraGO,sans-serif;color:#111827;display:flex;gap:8px;align-items:center}
.llmbm-head h3 .llmbm-ico{color:#0c7f60;fill:#0c7f60}
.llmbm-x{width:36px;height:36px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#374151;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
.llmbm-x:hover,.llmbm-x:active{border-color:#0c7f60;color:#0c7f60;background:#e8f5ef}
.llmbm-list{overflow-y:auto;overscroll-behavior:contain;padding:4px 0}
.llmbm-item{display:flex;gap:12px;align-items:center;padding:10px 16px;border-top:1px solid #f1f5f4}
.llmbm-item:first-child{border-top:0}
.llmbm-item a{display:flex;gap:12px;align-items:center;flex:1;min-width:0;color:#111827;text-decoration:none}
.llmbm-item img,.llmbm-noimg{width:56px;height:56px;object-fit:cover;border-radius:4px;flex:none;background:#eef1f0}
.llmbm-item b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.35;font-weight:600}
.llmbm-item small{display:block;margin-top:3px;font-size:12px;color:#0c7f60}
.llmbm-item .llmbm-x{width:32px;height:32px;flex:none}
.llmbm-empty{padding:34px 24px 40px;text-align:center;color:#6b7280;font-size:14px;line-height:1.5}
.llmbm-empty .llmbm-ico{width:40px;height:40px;color:#0c7f60;stroke-width:1.6;display:block;margin:0 auto 10px}
.llmbm-empty strong{display:block;color:#111827;font-size:15px;margin-bottom:4px}
.llmbm-note{padding:8px 16px 12px;font-size:11.5px;color:#9ca3af;border-top:1px solid #f1f5f4}
body.llmbm-lock{overflow:hidden}
/* article button: inside the date/meta row */
.smart-date-display .llmbm-art{margin:-5px 0 -5px auto}
.llmbm-art{height:32px;display:inline-flex;align-items:center;gap:6px;padding:0 11px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#1f2937;font:600 13.5px/1 FiraGO,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.llmbm-art .llmbm-ico{width:18px;height:18px}
.llmbm-art:hover,.llmbm-art:active,.llmbm-art.is-saved{background:#e8f5ef;border-color:#0c7f60;color:#0c7f60}
.llm-share-btn.llmbm-share.is-saved{background:#e8f5ef!important;border-color:#0c7f60!important;color:#0c7f60!important}
.llm-share-btn.llmbm-share .llmbm-ico{width:18px;height:18px}
/* card buttons */
.llmbm-card{width:28px;height:28px;border:1px solid #e3e8ee;border-radius:6px;background:#fff;color:#4b5b6b;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;flex:none;-webkit-tap-highlight-color:transparent}
.llmbm-card .llmbm-ico{width:16px;height:16px}
.llmbm-card:hover,.llmbm-card:active,.llmbm-card.is-saved{border-color:#0c7f60;color:#0c7f60;background:#e8f5ef}
.llmbm-inmeta{margin-left:auto;order:98}
.llmbm-inmeta+.llm-sh,.llmdigg-meta .llmbm-inmeta~.llm-sh{margin-left:6px}
/* toast */
.llmbm-toast{position:fixed;left:50%;bottom:calc(64px + 14px + env(safe-area-inset-bottom,0px));transform:translate(-50%,10px);background:#111827;color:#fff;font:600 14px/1 FiraGO,sans-serif;padding:11px 16px;border-radius:6px;z-index:99999;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;display:flex;gap:8px;align-items:center}
.llmbm-toast .llmbm-ico{width:16px;height:16px;color:#34d399}
.llmbm-toast.is-on{opacity:1;transform:translate(-50%,0)}
@media (min-width:922px){.llmbm-toast{bottom:24px}}

/* neutralise theme button focus/hover colours, keep a visible green focus ring */
.llmbm-hbtn:focus,.llmbm-x:focus,.llmbm-card:focus,.llmbm-art:focus{outline:none}
.llmbm-x:focus:not(:hover):not(:active){background:#fff;color:#374151;border-color:#e5e7eb}
.llmbm-hbtn:focus-visible,.llmbm-x:focus-visible,.llmbm-card:focus-visible,.llmbm-art:focus-visible{outline:2px solid #0c7f60;outline-offset:2px}
