/* ---------- 2.89 평소 재미 요소(대기 12, web/js/desk/fun.js) ---------- */
.desk-h1row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.desk-h1row h1 { min-width: 0; }
.fun-rings { display: inline-flex; align-items: center; gap: 6px; }
.fun-rings.compact { border: 0; background: transparent; padding: 2px 4px; border-radius: 999px; cursor: pointer; color: var(--ink); flex: none; }
.fun-rings.compact:hover { background: var(--nav-bg); }
.fun-rings .fr-arc { transition: stroke-dasharray .8s cubic-bezier(.2, .8, .2, 1); }
.fun-rings.still .fr-arc { transition: none; }
.fun-rings.closed .fr-svg { animation: fr-spark 1.2s ease-out 1; filter: drop-shadow(0 0 4px rgba(242, 201, 76, .55)); }
.fun-rings.closed.still .fr-svg { animation: none; }
@keyframes fr-spark { 0% { transform: scale(1); } 30% { transform: scale(1.12) rotate(-6deg); } 100% { transform: scale(1); } }
.fun-rings .fr-svg { display: inline-flex; line-height: 0; }
.fun-rings:not(.compact) { gap: 16px; flex-wrap: wrap; }
.fr-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.fr-legend li { display: flex; align-items: center; gap: 6px; }
.fr-legend li i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.fr-decide i { background: var(--decide); }
.fr-done i { background: var(--review); }
.fr-fast i { background: var(--urgent); }
.fr-ok { color: var(--review); font-weight: 700; }
.fun-streak { display: inline-flex; align-items: center; gap: 3px; color: var(--muted); font-size: 12px; }
.fun-streak.lit { color: var(--urgent); }
.fun-streak.sm b { font-size: 11px; }
.fun-panel { margin: 8px 0 0; padding: 12px 14px; }
.fun-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px; text-align: center; }
.fun-empty .fe-art { width: min(320px, 100%); }
.fun-empty .fe-art svg { display: block; border-radius: 14px; }
.fun-empty .fe-sun { animation: fe-float 6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.fun-empty.still .fe-sun { animation: none; }
@keyframes fe-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.fe-line { font-size: 14px; color: var(--ink); }
.fun-wrap { margin: 0 0 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.fw-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fw-stats { display: flex; gap: 18px; margin: 8px 0; flex-wrap: wrap; }
.fw-stats > div { display: flex; align-items: baseline; gap: 4px; }
.fw-n { font-size: 22px; font-weight: 800; }
.fw-top { margin: 4px 0; padding-left: 18px; font-size: 13px; }
.fw-next { margin-top: 4px; }
.fun-stamp-fly { position: fixed; z-index: 9000; pointer-events: none; overflow: hidden; border-radius: 12px; animation: fs-out .5s ease-in .55s forwards; }
.fun-stamp-fly > :first-child { width: 100%; height: 100%; margin: 0 !important; opacity: .96; }
.fun-stamp { position: absolute; left: 50%; top: 50%; padding: 4px 14px; border: 3px solid #C0392B; border-radius: 8px; color: #C0392B; font: 800 26px/1.1 sans-serif;
  letter-spacing: .08em; background: rgba(255, 255, 255, .55); transform: translate(-50%, -50%) rotate(-12deg); animation: fs-thunk .32s cubic-bezier(.2, 1.6, .4, 1) both; }
.fun-stamp-fly.hold .fun-stamp { border-color: #9A6B00; color: #9A6B00; }
.fun-stamp-fly.no .fun-stamp { border-color: #5C5C66; color: #5C5C66; }
.fun-stamp::after { content: ''; position: absolute; inset: -6px; border-radius: 12px; box-shadow: 0 0 0 2px currentColor; opacity: 0; animation: fs-ink .5s ease-out .12s; }
@keyframes fs-thunk { 0% { transform: translate(-50%, -50%) rotate(-18deg) scale(1.9); opacity: 0; } 60% { opacity: 1; } 100% { transform: translate(-50%, -50%) rotate(-12deg) scale(1); opacity: 1; } }
@keyframes fs-ink { 0% { opacity: .5; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes fs-out { to { transform: translateX(110%); opacity: 0; } }
.fun-stamp-fly.still, .fun-stamp-fly.still .fun-stamp, .fun-stamp-fly.still .fun-stamp::after { animation: none; }
@media (prefers-reduced-motion: reduce) { .fun-stamp-fly, .fun-stamp, .fun-stamp::after, .fun-rings .fr-svg, .fun-empty .fe-sun { animation: none !important; } }
:root[data-theme="dark"] .fun-stamp { background: rgba(0, 0, 0, .35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fun-stamp { background: rgba(0, 0, 0, .35); } }
@media (max-width: 760px) { .desk-h1row { gap: 6px; } .fun-rings.compact .fr-svg svg { width: 26px; height: 26px; } }
