.favorite-toggle,.favorites-open {
 display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 12px;border:1px solid #b29a56;border-radius:8px;background:#fffbee;color:#3c422b;font:600 13px/1.4 'DM Sans',Arial,sans-serif;cursor:pointer;
}
.favorite-toggle svg,.favorites-open svg {width:22px;height:22px;flex-shrink:0;stroke:#866616;stroke-width:1.7;stroke-linejoin:round;fill:#f8d25a;vertical-align:middle}
.favorite-toggle[aria-pressed="true"] {background:#fff1b3;border-color:#937017}
.favorite-toggle[aria-pressed="true"] svg {fill:#efba25;stroke:#72530b}
.favorite-toggle:hover:not(:disabled),.favorites-open:hover:not(:disabled){background:#fff1be}
.favorite-toggle:focus-visible,.favorites-open:focus-visible,.favorites-dialog button:focus-visible,.favorites-dialog a:focus-visible,.favorites-dialog summary:focus-visible{outline:3px solid #b87b14;outline-offset:3px}
.favorite-toggle:disabled,.favorites-open:disabled {opacity:.6;cursor:default}
.favorite-icon-only {width:42px;min-height:42px;padding:8px}
.favorites-count {min-width:20px;padding:1px 5px;border-radius:20px;background:#e9cf75;color:#263e2c;text-align:center;font-size:12px}
.favorites-count[hidden]{display:none}
.favorites-dialog {position:fixed;width:min(680px,calc(100% - 30px));max-width:680px;max-height:85dvh;margin:auto;padding:32px;border:1px solid #9eb18e;border-radius:18px;background:#fff;color:#173f2d;overflow:auto;box-sizing:border-box;font:15px/1.7 'DM Sans',Arial,sans-serif;text-align:left}
.favorites-dialog::backdrop {background:#112c2470;backdrop-filter:blur(3px)}
.favorites-dialog h2 {margin:0 80px 14px 0;font-size:28px;line-height:1.3;letter-spacing:-.7px}
.favorites-close {position:absolute;right:16px;top:16px;padding:6px 9px;border:1px solid #afbea3;border-radius:7px;background:#f3f7ee;color:#24422e;font:600 13px/1.5 Arial,sans-serif;cursor:pointer}
.favorites-note {margin:0 0 20px;color:#4b5c4a;font-size:13px;line-height:1.7}
.favorites-list {list-style:none;margin:0;padding:0}
.favorite-entry {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #d6e0cd}
.favorite-entry-info {min-width:0}
.favorite-entry-link {font-weight:700;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.favorite-entry-meta {margin:4px 0 0;color:#506046;font-size:13px;overflow-wrap:anywhere}
.favorite-entry-unavailable {margin:0;font-weight:650}
.favorite-remove {flex-shrink:0;padding:7px 10px;border:1px solid #b7c3ac;border-radius:6px;background:#f5f8f0;color:#34512e;font:600 12px/1.5 Arial,sans-serif;cursor:pointer}
.favorites-empty {padding:18px;border:1px solid #d4dfc9;border-radius:9px;background:#f4f8ee;font-size:14px}
.favorites-bookmark-help {margin-top:24px;font-size:13px}
.favorites-bookmark-help summary {cursor:pointer;font-weight:650}
.favorites-bookmark-help p {margin:12px 0 0;line-height:1.7}
.favorite-status {position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:100;max-width:calc(100% - 32px);width:max-content;margin:0;padding:10px 17px;border-radius:9px;background:#173f2d;color:#fff;box-shadow:0 3px 15px #0003;font:14px/1.5 Arial,sans-serif;pointer-events:none}
.favorite-status:empty {display:none}
@media(max-width:650px){
 .inline-detail-heading {flex-wrap:wrap}
 .favorites-dialog {padding:25px 20px;max-height:90dvh}
 .favorite-entry {gap:10px;align-items:flex-start}
 .favorite-entry-link {font-size:14px}
 .favorites-dialog h2 {font-size:25px}
}

.favorite-toggle[aria-pressed="false"] svg { fill: none; stroke: #ad7b10; }


.profile-favorites {display:flex;align-items:center;justify-content:flex-start;gap:16px;flex-wrap:wrap;margin-top:24px}
.inline-profile-footer{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;margin-top:24px}
.inline-profile-footer .profile-favorites{margin-top:0}
.inline-profile-footer .inline-bottom-close{margin-top:0;margin-left:auto}
.favorites-view {min-height:42px;padding:7px 0;border:0;background:none;color:#35532d;font:600 12px/1.5 'DM Sans',Arial,sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.favorites-view:disabled {opacity:.6;cursor:default}
.favorites-view:focus-visible {outline:3px solid #b87b14;outline-offset:3px}
