.favorite-link{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.favorite-link svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.favorite-count{min-width:20px;height:20px;display:inline-grid;place-items:center;padding:0 5px;border-radius:20px;background:#d0b37b;color:#08271b;font:700 10px 'DM Sans',sans-serif}
.favorite-section{padding-top:36px!important;padding-bottom:30px!important;scroll-margin-top:78px}
.favorite-section .section-head{display:flex;align-items:end;justify-content:space-between;gap:16px}
.favorite-empty{border:1px solid #4b684f;border-radius:18px;padding:38px 22px;text-align:center;color:#becbbd;background:#0c281d}
.favorite-empty b{display:block;color:#ead19d;font:normal 25px 'Playfair Display',serif;margin-bottom:8px}
.favorite-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.favorite-grid .item,.grid .item{position:relative}
.favorite-heart{position:absolute;z-index:40;top:10px;left:10px;width:39px;height:39px;display:grid;place-items:center;border:1px solid #e9d9b9;border-radius:50%;background:#092519dd;color:#fff3df;box-shadow:0 4px 16px #0008;cursor:pointer;transition:transform .18s,background .18s,color .18s}
.favorite-heart:hover{transform:scale(1.1);background:#1b4e34}
.favorite-heart:focus-visible{outline:3px solid #f4d88d;outline-offset:3px}
.favorite-heart svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.favorite-heart.is-favorite{color:#f6e3c2;background:#345f42;border-color:#dec48b}
.favorite-heart.is-favorite svg{fill:#dd727c;stroke:#f8d3d2}
.flow-card .favorite-heart{top:8px;left:8px}
.detail-favorite{top:38px;left:auto;right:38px}
.favorite-section .item .tag{left:auto;right:10px}
.grid .item .tag{left:auto;right:10px}
.favorite-grid[hidden],.favorite-empty[hidden]{display:none!important}
.detail-header-links{display:flex;align-items:center;gap:14px}
.detail-header-links .favorite-link{color:#ead3a2;font-size:13px}
@media(max-width:1100px){.favorite-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){body[data-firebase-role="public"] header nav{display:flex;gap:0}body[data-firebase-role="public"] header nav>a:not(.favorite-link){display:none}}
@media(max-width:700px){.favorite-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.favorite-link{font-size:12px}.favorite-link svg{width:15px;height:15px}.favorite-count{min-width:18px;height:18px}.favorite-heart{width:34px;height:34px;top:7px;left:7px}.favorite-heart svg{width:19px;height:19px}.detail-favorite{top:25px;right:25px;left:auto}.detail-header-links{gap:8px}.detail-header-links .favorite-link{font-size:11px}.detail-header-links .back{padding:8px 10px;font-size:11px}body[data-firebase-role="public"] header .brand{font-size:19px}}
