html.site-g .sg-fav { position: absolute; z-index: 3; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #9aa3b5; background: transparent; }
html.site-g .sg-fav svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
html.site-g .sg-fav.on { color: #d6336c; }
html.site-g .sg-fav.on svg { fill: currentColor; }
html.site-g .sg-fav.pop { animation: sg-hpop .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes sg-hpop { 40% { transform: scale(1.35); } }
@media (hover: hover) { html.site-g .sg-fav:hover { color: #d6336c; background: rgba(214, 51, 108, .08); } }
html.site-g .sg-fav:focus-visible { outline: 2px solid var(--sg-navy); outline-offset: 1px; }
html.site-g ul.nx-srows > li.sg-hasfav { position: relative; }
html.site-g .sg-fav--row { top: 8px; right: 6px; }
html.site-g ul.nx-srows > li.sg-hasfav .nx-srow__title { padding-right: 34px; }
html.site-g ul.nx-srows > li.sg-bye { opacity: 0; transform: translateX(16px); transition: opacity .25s, transform .25s; }
html.site-g .nx-b-brief.sg-hasfav { position: relative; }
html.site-g .sg-fav--brief { top: 12px; right: 12px; width: 40px; height: 40px; background: #fff; box-shadow: 0 0 0 1px rgba(27, 45, 85, .14); }
html.site-g .sg-fav--brief svg { width: 22px; height: 22px; }
html.site-g .nx-b-brief.sg-hasfav .nx-b-brief__title { padding-right: 48px; }
html.site-g .sg-favbtn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 11px; margin-left: 10px; border-radius: 999px; border: 1.5px solid rgba(214, 51, 108, .45); background: #fff; color: #b8285c; font: 700 13px var(--f-jp); cursor: pointer; white-space: nowrap; position: relative; }
html.site-g .sg-favbtn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
html.site-g .sg-favbtn__n { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #d6336c; color: #fff; font: 800 11px/20px var(--f-jp); text-align: center; }
html.site-g .sg-favbtn[aria-pressed="true"] { background: #d6336c; border-color: #d6336c; color: #fff; }
html.site-g .sg-favbtn[aria-pressed="true"] svg { fill: currentColor; }
html.site-g .sg-favbtn[aria-pressed="true"] .sg-favbtn__n { background: #fff; color: #d6336c; }
@media (hover: hover) { html.site-g .sg-favbtn:hover { background: #fdf0f4; } html.site-g .sg-favbtn[aria-pressed="true"]:hover { background: #c22a60; } }
html.site-g .sg-favbtn:focus-visible { outline: 2px solid var(--sg-navy); outline-offset: 2px; }
html.site-g .sg-favbtn.bump { animation: sg-bump .4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes sg-bump { 40% { transform: scale(1.12); } }
.sg-flyheart { position: fixed; left: 0; top: 0; z-index: 9999; width: 20px; height: 20px; color: #d6336c; pointer-events: none; }
.sg-flyheart svg { width: 20px; height: 20px; fill: currentColor; }
html.site-g.sg-favmode :is(.nx-mpager, .nx-pgnum, .nx-countline, .nx-deadline-note, .nx-srow-more) { display: none !important; }
html.site-g .sg-favhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 4px 12px; border-bottom: 1px solid rgba(27, 45, 85, .12); }
html.site-g .sg-favhead__i { color: #d6336c; display: inline-grid; }
html.site-g .sg-favhead__i svg { width: 20px; height: 20px; fill: currentColor; }
html.site-g .sg-favhead b { font: 800 16px var(--f-jp); color: var(--sg-ink); }
html.site-g .sg-favhead__n { font-size: 12px; color: var(--sg-ink2); }
html.site-g .sg-favhead button { margin-left: auto; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(27, 45, 85, .25); background: #fff; color: var(--sg-navy); font: 700 12px var(--f-jp); cursor: pointer; }
html.site-g .sg-favempty { list-style: none; padding: 40px 12px; text-align: center; color: var(--sg-ink2); font-size: 14px; line-height: 1.9; }
html.site-g .sg-favempty__h { display: inline-grid; vertical-align: -4px; color: #d6336c; }
html.site-g .sg-favempty__h svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 760px) {
 html.site-g .sg-favbtn { margin-left: 6px; padding: 0 10px; }
 html.site-g .sg-favbtn > span { display: none; }
}
@media (prefers-reduced-motion: reduce) { html.site-g :is(.sg-fav, .sg-favbtn) { animation: none !important; } }
@media (max-width: 760px) {
 html.site-g .nx-searchpage--top .nx-srows li > .nx-cs:not(:empty) { position: static; display: flex; margin: 0 12px 10px; }
 html.site-g .nx-searchpage--top .nx-srows li.sg-hasfav .nx-srow__date { padding-right: 36px; }
 html.site-g .nx-searchpage--top .nx-srows li:has(> .nx-cs:not(:empty)) .nx-srow__date { padding-right: 0; }
 html.site-g .nx-searchpage--top .nx-srows li:has(> .nx-cs:not(:empty)) > .sg-fav--row { top: auto; bottom: 8px; right: 8px; }
 html.site-g .nx-searchpage--top .nx-srows li.sg-hasfav .nx-srow__title { padding-right: 0; }
}
@media (max-width: 760px) { html.site-g .nx-stool__row > .sg-favbtn { order: 4 !important; margin-left: 0; }     }
.sg-favtip { position: fixed; top: 70px; right: 12px; z-index: 9000; display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: #fff; color: #d6336c; box-shadow: 0 6px 18px -6px rgba(20, 30, 60, .45); text-decoration: none; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.sg-favtip.show { opacity: 1; transform: none; pointer-events: auto; }
.sg-favtip svg { width: 18px; height: 18px; fill: currentColor; }
.sg-favtip b { color: #1b2d55; font-size: 14px; }
.sg-favtip.bump { animation: sg-bump .35s ease; }
