.ccore-effects-preferences{box-sizing:border-box;max-width:1100px;margin:8px auto 12px;color:#263244;font:13px/1.5 system-ui,sans-serif}
.ccore-effects-preferences summary{cursor:pointer;min-height:36px;padding:8px 12px;width:fit-content;border-radius:10px;background:#eef2ff;color:#263244}
.ccore-effects-preferences>div{display:grid;gap:12px;padding:16px;border:1px solid #c7d2fe;border-radius:12px;background:#fff}
.ccore-effects-preferences label{display:flex;align-items:center;gap:10px;min-height:44px;color:#14213d}.ccore-effects-preferences input{width:20px;height:20px;accent-color:#2563eb}.ccore-effects-preferences small{color:#475569}
.ccore-celebration{position:fixed;z-index:100050;left:50%;top:max(56px,calc(env(safe-area-inset-top) + 16px));transform:translateX(-50%);display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100vw - 24px);box-sizing:border-box;padding:16px 18px;border:1px solid #c7d2fe;border-radius:20px;background:#fff;color:#14213d;box-shadow:0 12px 36px #14213d29;font:14px/1.45 system-ui,sans-serif;pointer-events:none;animation:ccore-celebrate-in .28s ease-out both}
.ccore-celebration>div:not(.ccore-celebration-particles){min-width:0}.ccore-celebration strong,.ccore-celebration span{display:block;overflow-wrap:anywhere}.ccore-celebration strong{font-size:16px;color:#14213d}.ccore-celebration span{color:#263244}.ccore-celebration .ccore-celebration-symbol{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:#eef2ff;color:#4f46e5;font-size:27px;font-weight:800}
.ccore-celebration>button{pointer-events:auto;align-self:flex-start;flex:0 0 36px;width:36px;height:36px;padding:0;border:0;border-radius:10px;background:#eef2ff;color:#14213d;cursor:pointer;font:24px/1 system-ui,sans-serif}.ccore-celebration>button:focus-visible,.ccore-effects-preferences :focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.ccore-celebration-particles{position:absolute;inset:0;overflow:visible;pointer-events:none;z-index:-1}.ccore-celebration-particles i{position:absolute;left:50%;top:40%;width:7px;height:11px;border-radius:2px;background:#2563eb;opacity:0;animation:ccore-celebrate-particle 1.25s ease-out var(--delay) both}.ccore-celebration-particles i:nth-child(3n){background:#818cf8}.ccore-celebration-particles i:nth-child(3n + 1){background:#4f46e5}.ccore-celebration.is-static{animation:none}.ccore-celebration.is-milestone{border-color:#818cf8}
@keyframes ccore-celebrate-in{from{opacity:0;transform:translate(-50%,8px) scale(.97)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
@keyframes ccore-celebrate-particle{0%{opacity:0;transform:translate(0,0) rotate(0)}15%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r))}}
@media(max-width:480px){.ccore-celebration{padding:12px;gap:8px;max-width:calc(100vw - 20px)}.ccore-celebration strong{font-size:14px}.ccore-celebration span{font-size:12px}.ccore-celebration>button{width:44px;height:44px;flex-basis:44px}.ccore-celebration .ccore-celebration-symbol{width:32px;height:32px;flex-basis:32px}}
@media(prefers-reduced-motion:reduce){.ccore-celebration{animation:none}.ccore-celebration-particles{display:none}}

