.sg-memo { position: fixed; left: 0; top: 0; z-index: 9999; width: 92px; height: 66px; padding: 9px 9px 0 10px; box-sizing: border-box; pointer-events: none; border-radius: 3px 3px 10px 3px;
 background: linear-gradient(180deg, #fffaf0, #f4ead2); box-shadow: 0 10px 22px rgba(20, 30, 60, .28), 0 0 0 1px rgba(120, 95, 40, .18); font-family: var(--f-jp, sans-serif); color: #1b2d55; will-change: transform, opacity; transform-origin: 50% 50%; }
.sg-memo__pin { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe7a0, #d9a93a); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.sg-memo b { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #1b2d55; color: #fff; font: 800 9px/1.4 var(--f-jp, sans-serif); letter-spacing: .08em; }
.sg-memo span { display: block; margin-top: 4px; font: 700 8.5px/1.3 var(--f-jp, sans-serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-memo em { display: block; height: 1px; margin-top: 5px; background: rgba(27, 45, 85, .18); }
.sg-memo em:nth-of-type(2) { width: 82%; } .sg-memo em:nth-of-type(3) { width: 60%; }
.sg-memo-in { animation: sg-memo-bump .7s cubic-bezier(.3, 1.6, .5, 1); }
.sg-memo-in::before { content: ""; position: absolute; inset: -4px; border-radius: 14px; box-shadow: 0 0 0 2px var(--sg-gold, #f3d27a); animation: sg-memo-ring .8s ease-out forwards; pointer-events: none; }
@keyframes sg-memo-bump { 30% { transform: scale(1.25) rotate(-6deg); } 60% { transform: scale(.94) rotate(3deg); } }
@keyframes sg-memo-ring { from { opacity: 1; transform: scale(.8); } to { opacity: 0; transform: scale(1.5); } }
.nx-tabbar a.sg-memo-in { position: relative; }
.sg-memo-plus { position: fixed; z-index: 9999; transform: translateX(-50%); padding: 2px 8px; border-radius: 999px; background: var(--sg-gold, #f3d27a); color: #1b2d55; font: 800 11px/1.5 var(--f-jp, sans-serif); pointer-events: none; animation: sg-memo-plus 1s ease-out forwards; }
.sg-memo-plus.is-up { animation-name: sg-memo-plus-up; }
@keyframes sg-memo-plus { from { opacity: 0; translate: 0 -4px; } 25% { opacity: 1; } to { opacity: 0; translate: 0 10px; } }
@keyframes sg-memo-plus-up { from { opacity: 0; translate: 0 4px; } 25% { opacity: 1; } to { opacity: 0; translate: 0 -12px; } }
@media (prefers-reduced-motion: reduce) { .sg-memo-in, .sg-memo-in::before, .sg-memo-plus { animation: none !important; } }
:is(html.site-g[data-page="case"], html.site-g #nx-pane) .nx-block--state .cs__pill:is([data-s="prepare"], [data-s="submitted"]):not([aria-pressed="true"]) { display: none; }
:is(html.site-g[data-page="case"], html.site-g #nx-pane) .nx-block--state:not(:has(.cs__pill[data-s="submitted"][aria-pressed="true"])) .cs__pill:is([data-s="won"], [data-s="lost"]):not([aria-pressed="true"]) { display: none; }
:is(html.site-g[data-page="case"], html.site-g #nx-pane) .nx-block--state .cs__pill:is([data-s="prepare"], [data-s="submitted"], [data-s="won"], [data-s="lost"])[aria-pressed="true"] { pointer-events: none; }
