/* ===== Nullcord additions ===== */
.input { background: var(--bg-rail); border: 0; border-radius: 4px; padding: 8px 10px; outline: none; font-size: 14px; color: var(--text); }
.hidden { display: none !important; }
.grow { flex: 1; min-width: 0; }
.set-form.wide { max-width: 560px; }
.notice { background: rgba(240, 178, 50, .1); border: 1px solid rgba(240, 178, 50, .4); color: var(--text); border-radius: 4px; padding: 8px 12px; font-size: 14px; margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.cur-tag { background: var(--green); color: #fff; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.warn { color: var(--yellow) !important; }
.field .muted, .field .small, .field small { text-transform: none; font-weight: 400; letter-spacing: 0; display: inline-block; margin-top: 4px; }

/* ===== Auth ===== */
.auth { flex-direction: column; gap: 24px; }
.auth-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.auth-card { width: 784px; max-width: 100%; }
#register-form { max-width: 416px; margin: 0 auto; }
.auth-split { display: flex; gap: 64px; align-items: center; }
.auth-main { flex: 1; min-width: 0; }
.auth-side { width: 240px; text-align: center; }
.auth-side h2 { color: #f6f6f4; font-size: 22px; margin: 24px 0 8px; }
.auth-side p { color: #9a9aa3; font-size: 15px; margin: 0; }
.auth-qr { width: 176px; height: 176px; margin: 0 auto; background: #fff; border-radius: 8px; padding: 8px; }
.qr-art { width: 100%; height: 100%; position: relative; }
.qr-art svg { width: 100%; height: 100%; display: block; fill: #000; }
.qr-art::after { content: ''; position: absolute; inset: 38%; background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.2 4h5.6a4.2 4.2 0 0 1 4.2 4.2v7l2.6 4.6H8.2A4.2 4.2 0 0 1 4 15.6V8.2A4.2 4.2 0 0 1 8.2 4z' fill='none' stroke='%23fff' stroke-width='2.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; border: 4px solid #fff; border-radius: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-6l-5 4v-4H7a3 3 0 0 1-3-3z' fill='white'/%3E%3C/svg%3E"); }
@media (max-width: 760px) { .auth-side { display: none; } }
.auth label.invalid, .auth [data-field].invalid .dob-label { color: #fa777c; }
.field-msg { text-transform: none; font-style: italic; font-weight: 500; letter-spacing: 0; }
.auth .hint { color: #9a9aa3; font-size: 13px; margin: -14px 0 20px; display: none; }
.auth label:focus-within + .hint { display: block; }
.dob-field { margin-bottom: 20px; }
.dob-label { font-size: 12px; font-weight: 700; text-transform: uppercase; color: #b5bac1; margin-bottom: 8px; letter-spacing: .02em; }
.dob-row { display: flex; gap: 10px; }
.dob-row select { flex: 1; padding: 10px; border: 0; border-radius: 3px; background: #1e1f22; color: #dbdee1; font-size: 15px; outline: none; }
.auth .check-row { display: flex; gap: 10px; align-items: flex-start; text-transform: none; font-weight: 400; font-size: 13px; letter-spacing: 0; color: #9a9aa3; margin-bottom: 14px; cursor: pointer; }
.auth .check-row input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--brand); }
.auth .check-row.invalid span { color: #fa777c; }
.pw-meter { height: 4px; border-radius: 2px; background: #1e1f22; margin: -12px 0 20px; overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; transition: width .2s, background .2s; }
.pw-meter .pw1 { background: #f23f43; } .pw-meter .pw2 { background: #f0b232; } .pw-meter .pw3 { background: #f0b232; } .pw-meter .pw4, .pw-meter .pw5 { background: #23a55a; }
.invite-note { background: color-mix(in srgb, var(--brand) 15%, transparent); border-radius: 6px; padding: 10px 12px; color: #dbdee1; display: flex; gap: 8px; align-items: center; margin-bottom: 16px; font-size: 14px; }
.btn.loading { position: relative; color: transparent; }
.btn.loading::after { content: ''; position: absolute; width: 18px; height: 18px; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Composer & slash commands ===== */
.composer.disabled { opacity: .6; }
.composer-pad { width: 16px; }
.cmd-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: var(--bg-side); border-radius: 8px 8px 0 0; padding: 8px 12px; font-size: 13px; }
.cmd-bar + #reply-bar.reply-bar { border-radius: 0; }
.cmd-bar-name { font-weight: 700; color: var(--text-strong); }
.opt-chip { background: var(--bg-input); border-radius: 4px; padding: 2px 8px; color: var(--text-muted); display: inline-flex; gap: 6px; align-items: baseline; }
.opt-chip small { color: var(--text-faint); font-size: 11px; }
.opt-chip.req { color: var(--text); }
.opt-chip.filled { background: color-mix(in srgb, var(--brand) 30%, transparent); color: var(--text-strong); }
.cmd-bar-hint { margin-left: auto; color: var(--text-faint); font-size: 12px; }
.ac-title { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); padding: 4px 8px 8px; }
.ac-cmd { display: flex; flex-direction: column; min-width: 0; }
.ac-cmd small { color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-item > .muted { white-space: nowrap; }
.ac-cmd-icon { display: flex; width: 24px; justify-content: center; color: var(--text-muted); }
.opt-req { font-size: 12px; background: var(--bg-input); border-radius: 3px; padding: 0 4px; color: var(--text-muted); font-weight: 400; }
.cmd-name { color: var(--brand); font-weight: 500; }
.cmd-mention { cursor: default; }
.timestamp-tag { background: var(--bg-hover); border-radius: 3px; padding: 0 2px; }
.role-mention { background: color-mix(in srgb, var(--rc, var(--brand)) 15%, transparent); color: var(--rc, var(--mention-pill-text)); }
.role-mention:hover { background: color-mix(in srgb, var(--rc, var(--brand)) 30%, transparent); color: var(--rc, #fff); }

/* ===== Messages: ephemeral, interactions, thinking ===== */
.msg.ephemeral { background: color-mix(in srgb, var(--brand) 7%, transparent); }
.msg.ephemeral:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.eph-note { font-size: 12px; color: var(--text-muted); margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.eph-note a { color: var(--link); }
.thinking { color: var(--text-muted); font-style: italic; display: flex; align-items: center; gap: 8px; }
.thinking .dots i { background: var(--text-muted); }

/* ===== Embeds ===== */
.embeds { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.embed { max-width: 520px; background: var(--bg-side); border-left: 4px solid var(--embed-color, var(--bg-rail)); border-radius: 4px; display: grid; }
body[data-theme="light"] .embed { background: #f2f3f5; }
.embed-inner { padding: 8px 16px 16px 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; }
.embed-main { min-width: 0; display: flex; flex-direction: column; }
.embed-provider { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.embed-author { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--text-strong); }
.embed-author img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.embed-author a { color: inherit; }
.embed-title { font-size: 16px; font-weight: 600; color: var(--text-strong); margin-top: 8px; }
.embed-title a { color: var(--link); }
.embed-desc { font-size: 14px; margin-top: 8px; white-space: pre-wrap; line-height: 1.375; }
.embed-fields { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; margin-top: 8px; }
.embed-field { min-width: 0; overflow-wrap: anywhere; }
.ef-name { font-size: 14px; font-weight: 600; color: var(--text-strong); margin-bottom: 2px; }
.ef-value { font-size: 14px; white-space: pre-wrap; }
.embed-image { margin-top: 16px; max-width: 100%; max-height: 300px; border-radius: 4px; cursor: pointer; object-fit: contain; align-self: flex-start; }
.embed-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; margin-top: 8px; cursor: pointer; }
.embed-footer { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.embed-footer img { width: 20px; height: 20px; border-radius: 50%; }
.embed-video { position: relative; display: block; margin-top: 16px; border-radius: 4px; overflow: hidden; max-width: 400px; }
.embed-video img { width: 100%; display: block; }
.embed-video .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; display: flex; align-items: center; justify-content: center; }
.embed.video { --embed-color: #ff0000; }

/* ===== Components ===== */
.components { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.comp-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cbtn { height: 32px; min-width: 60px; padding: 2px 16px; border: 0; border-radius: 3px; font-size: 14px; font-weight: 500; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none !important; transition: filter .15s; }
.cbtn:hover:not(:disabled) { filter: brightness(1.12); }
.cbtn:disabled { opacity: .5; cursor: not-allowed; }
.cbtn.s1 { background: var(--brand); } .cbtn.s2 { background: #4e5058; } .cbtn.s3 { background: #248046; } .cbtn.s4 { background: #da373c; } .cbtn.s5 { background: #4e5058; color: var(--on-brand); }
.cbtn.busy { pointer-events: none; }
.cbtn .dots i { background: #fff; }
.cb-emoji { font-size: 16px; }
.cselect { min-width: 280px; max-width: 400px; height: 40px; background: var(--bg-rail); border: 1px solid var(--bg-rail); border-radius: 4px; padding: 0 8px; font-size: 14px; color: var(--text); cursor: pointer; }

/* ===== Profiles, roles ===== */
.pc-activity { font-size: 13px; color: var(--text-muted); margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.pc-roles { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.role-pill { display: inline-flex; align-items: center; gap: 4px; background: var(--bg-input); border-radius: 4px; padding: 2px 6px; font-size: 12px; font-weight: 500; color: var(--text); border: 0; }
.role-pill button { background: none; border: 0; color: var(--text-muted); padding: 0; display: none; }
.role-pill:hover button { display: inline-flex; }
.role-pill.add { color: var(--text-muted); padding: 3px 6px; cursor: pointer; }
.role-pill.add:hover { color: var(--text-strong); }
.role-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.role-dot.big { width: 14px; height: 14px; }
.pc-cmds { display: flex; flex-wrap: wrap; gap: 4px; }
.cmd-chip { background: var(--bg-input); border-radius: 4px; padding: 2px 6px; font-size: 12px; font-family: var(--code-font); }
.mn-text { overflow: hidden; text-overflow: ellipsis; }
.member-name .bot-tag { margin-left: 2px; }
.role-picker { width: 260px; max-height: 340px; overflow-y: auto; background: var(--bg-float); border-radius: 6px; box-shadow: var(--shadow); padding: 8px; }
.role-picker input[data-filter] { width: 100%; background: var(--bg-rail); border: 0; border-radius: 4px; padding: 8px; outline: none; margin-bottom: 6px; }
.rp-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 4px; cursor: pointer; font-size: 14px; }
.rp-item:hover { background: var(--bg-hover); }
.rp-item input { accent-color: var(--brand); }
.chan-ic-wrap { position: relative; display: flex; }
.chan-ic-wrap .lock { position: absolute; right: -3px; top: -3px; background: var(--bg-side); border-radius: 50%; color: var(--text-faint); display: flex; padding: 1px; }

/* ===== Settings: roles editor ===== */
.roles-layout, .ow-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.roles-list, .ow-list { position: sticky; top: 0; }
.rl-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); padding: 0 4px 8px; }
.rl-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 4px; cursor: pointer; color: var(--text-muted); font-weight: 500; }
.rl-item:hover { background: var(--bg-hover); color: var(--text); }
.rl-item.active { background: var(--bg-active); color: var(--text-strong); }
.rl-move { display: none; gap: 2px; }
.rl-item:hover .rl-move { display: inline-flex; }
.rl-move button { background: none; border: 0; color: var(--text-muted); padding: 0; display: flex; }
.rl-move button:hover:not(:disabled) { color: var(--text-strong); }
.rl-move button:disabled { opacity: .3; }
.role-edit h3 { margin-bottom: 12px; }
.role-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.role-fields:disabled { opacity: .6; }
.sub-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--divider); margin-bottom: 16px; }
.sub-tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 0; color: var(--text-muted); font-size: 15px; font-weight: 500; }
.sub-tab:hover { color: var(--text); }
.sub-tab.active { color: var(--text-strong); border-bottom-color: var(--brand); }
.color-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 8px; }
.swatch { width: 20px; height: 20px; border-radius: 4px; border: 0; padding: 0; cursor: pointer; position: relative; }
.swatch.big { width: 64px; height: 50px; display: flex; align-items: center; justify-content: center; color: #fff; }
.swatch.sel::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; text-shadow: 0 0 2px #000; }
.swatch.custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.swatch-grid { display: grid; grid-template-columns: repeat(10, 20px); gap: 8px; }
.perm-group { margin-top: 20px; }
.perm-row { padding: 12px 0; border-bottom: 1px solid var(--divider); }
.perm-row .switch:disabled { opacity: .4; cursor: not-allowed; }
.save-bar { position: sticky; bottom: 20px; margin-top: 24px; background: var(--bg-float); border-radius: 6px; padding: 10px 10px 10px 16px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); animation: pop .15s; z-index: 5; }
.save-bar span { flex: 1; font-weight: 500; }

/* ===== Settings: overwrites ===== */
.priv-row { padding: 12px 0; }
.ow-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--divider); }
.tri { display: inline-flex; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.tri button { width: 32px; height: 26px; background: none; border: 0; color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.tri button + button { border-left: 1px solid var(--border); }
.tri .tri-deny.on { background: var(--red); color: #fff; }
.tri .tri-neutral.on { background: #4e5058; color: #fff; }
.tri .tri-allow.on { background: var(--green); color: #fff; }

/* ===== Settings: webhooks, integrations, devices ===== */
.hook { background: var(--bg-side); border-radius: 8px; margin-bottom: 8px; }
.hook-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; }
.hook-body { padding: 0 16px 16px; border-top: 1px solid var(--divider); }
.hook-av { cursor: pointer; margin-top: 16px; }
.wh-av { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.wh-av img { width: 100%; height: 100%; object-fit: cover; }
.int-section { background: var(--bg-side); border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.int-head { display: flex; gap: 12px; align-items: flex-start; }
.int-head h3 { margin: 0 0 4px; }
.int-head .ic { color: var(--brand); margin-top: 2px; }
.device { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--divider); }
.device .ic { color: var(--text-muted); }
.field-toggle { margin-top: 16px; text-transform: none; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--text); }
.other-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.other-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-side); color: var(--text-strong); font-weight: 600; font-size: 15px; text-align: left; }
.other-card span { flex: 1; }
.other-card:hover { background: var(--bg-input); }
.add-other { padding: 20px 0; }
.add-other h2 { font-size: 16px; text-transform: uppercase; margin: 0; color: var(--text-strong); }

/* ===== Avatar decorations (CSS-only, scale with avatar size) ===== */
.avatar { container-type: size; }
.deco { position: absolute; inset: -14%; pointer-events: none; border-radius: 50%; z-index: 1; }
.deco::before, .deco::after { content: ''; position: absolute; pointer-events: none; }
.status-dot { z-index: 2; }
body.reduce-motion .deco, body.reduce-motion .deco::before, body.reduce-motion .deco::after { animation-play-state: paused !important; }
.ring-mask { -webkit-mask: radial-gradient(farthest-side, transparent 80%, #000 81%); mask: radial-gradient(farthest-side, transparent 80%, #000 81%); }

.deco-aurora { background: conic-gradient(#00ffa3, #00c3ff, #a855f7, #ff4fd8, #00ffa3); -webkit-mask: radial-gradient(farthest-side, transparent 80%, #000 82%); mask: radial-gradient(farthest-side, transparent 80%, #000 82%); animation: deco-spin 4s linear infinite; filter: drop-shadow(0 0 3px #00c3ff); }
.deco-flames { background: conic-gradient(from 0deg, #ff3d00, #ffb300, #ff6d00, #ffea00, #ff3d00, #ff9100, #ff3d00); -webkit-mask: radial-gradient(farthest-side, transparent 78%, #000 82%); mask: radial-gradient(farthest-side, transparent 78%, #000 82%); animation: deco-spin 2.5s linear infinite, deco-flicker .35s steps(2) infinite alternate; filter: drop-shadow(0 -2px 4px #ff6d00); }
.deco-neon { border: 3px solid #0ff; inset: -9%; animation: deco-neon 1.6s ease-in-out infinite; }
.deco-sparkle { -webkit-mask: none; mask: none; }
.deco-sparkle::before, .deco-sparkle::after { inset: 0; background:
  radial-gradient(circle at 12% 30%, #fff 0 1.2%, transparent 2.5%), radial-gradient(circle at 85% 18%, #ffe066 0 1.5%, transparent 3%),
  radial-gradient(circle at 92% 70%, #fff 0 1.2%, transparent 2.5%), radial-gradient(circle at 22% 88%, #ffe066 0 1.5%, transparent 3%),
  radial-gradient(circle at 50% 2%, #fff 0 1.2%, transparent 2.5%), radial-gradient(circle at 60% 98%, #fff 0 1.2%, transparent 2.5%);
  animation: deco-twinkle 1.6s ease-in-out infinite; }
.deco-sparkle::after { transform: rotate(45deg) scale(.95); animation-delay: .8s; }
.deco-halo::before { left: 18%; right: 18%; top: -6%; height: 16%; border-radius: 50%; border: 0; box-shadow: 0 0 0 3px #ffd54f, 0 0 10px 3px rgba(255, 213, 79, .8); animation: deco-float 2.4s ease-in-out infinite; }
.deco-hearts::before, .deco-hearts::after { content: '❤'; inset: 0; color: #ff4d8d; font-size: 18cqw; line-height: 1; display: flex; justify-content: center; animation: deco-spin 5s linear infinite; text-shadow: 0 0 4px #ff4d8d; }
.deco-hearts::after { content: '💕'; align-items: flex-end; animation-direction: reverse; animation-duration: 7s; font-size: 16cqw; }
.deco-glitch { border: 3px solid transparent; inset: -9%; box-shadow: 2px 0 0 #ff004c, -2px 0 0 #00e5ff; animation: deco-glitch 1.2s steps(1) infinite; }
.deco-galaxy { background: conic-gradient(from 45deg, #1a0b3d, #6d28d9, #ec4899, #1e3a8a, #1a0b3d); -webkit-mask: radial-gradient(farthest-side, transparent 78%, #000 81%); mask: radial-gradient(farthest-side, transparent 78%, #000 81%); animation: deco-spin 9s linear infinite; }
.deco-galaxy::before { inset: 0; background: radial-gradient(circle at 20% 20%, #fff 0 1%, transparent 2%), radial-gradient(circle at 80% 30%, #fff 0 1%, transparent 2%), radial-gradient(circle at 70% 85%, #fff 0 1%, transparent 2%); -webkit-mask: none; animation: deco-twinkle 2s infinite; }
.deco-lightning { border: 3px dashed #7df9ff; inset: -10%; animation: deco-spin 1.2s linear infinite, deco-zap 1.8s steps(1) infinite; filter: drop-shadow(0 0 4px #7df9ff); }
.deco-sakura::before, .deco-sakura::after { content: '🌸'; font-size: 22cqw; left: -4%; top: -6%; animation: deco-float 3s ease-in-out infinite; }
.deco-sakura::after { content: '🌸'; left: auto; top: auto; right: -2%; bottom: 0; font-size: 16cqw; animation-delay: 1.5s; }
.deco-pixel { inset: -10%; border-radius: 0; background:
  linear-gradient(90deg, #ff5555 25%, #ffd166 0 50%, #06d6a0 0 75%, #118ab2 0) top / 100% 8% no-repeat,
  linear-gradient(90deg, #118ab2 25%, #06d6a0 0 50%, #ffd166 0 75%, #ff5555 0) bottom / 100% 8% no-repeat,
  linear-gradient(#ff5555 25%, #ffd166 0 50%, #06d6a0 0 75%, #118ab2 0) left / 8% 100% no-repeat,
  linear-gradient(#118ab2 25%, #06d6a0 0 50%, #ffd166 0 75%, #ff5555 0) right / 8% 100% no-repeat;
  clip-path: polygon(8% 0, 92% 0, 92% 8%, 100% 8%, 100% 92%, 92% 92%, 92% 100%, 8% 100%, 8% 92%, 0 92%, 0 8%, 8% 8%); animation: deco-hue 2s steps(4) infinite; }
.deco-crown::before { content: '👑'; font-size: 34cqw; left: 50%; top: -22%; transform: translateX(-50%) rotate(-12deg); animation: deco-bob 2s ease-in-out infinite; }
.deco-void { background: radial-gradient(farthest-side, transparent 78%, #000 80%, #4c1d95 88%, transparent 100%); animation: deco-pulse 2.2s ease-in-out infinite; box-shadow: 0 0 12px 2px rgba(124, 58, 237, .6); }

@keyframes deco-spin { to { transform: rotate(360deg); } }
@keyframes deco-flicker { from { opacity: .85; } to { opacity: 1; } }
@keyframes deco-neon { 0%, 100% { box-shadow: 0 0 4px #0ff, 0 0 10px #0ff, inset 0 0 4px #0ff; border-color: #0ff; } 50% { box-shadow: 0 0 8px #f0f, 0 0 18px #f0f, inset 0 0 6px #f0f; border-color: #f0f; } }
@keyframes deco-twinkle { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes deco-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6%); } }
@keyframes deco-bob { 0%, 100% { transform: translateX(-50%) rotate(-12deg) translateY(0); } 50% { transform: translateX(-50%) rotate(-6deg) translateY(-8%); } }
@keyframes deco-glitch { 0% { transform: translate(0); } 20% { transform: translate(-2px, 1px); box-shadow: -3px 0 0 #ff004c, 3px 0 0 #00e5ff; } 40% { transform: translate(2px, -1px); } 60% { transform: translate(0); box-shadow: 2px 0 0 #ff004c, -2px 0 0 #00e5ff; } 80% { transform: translate(1px, 2px); } }
@keyframes deco-zap { 0%, 70%, 100% { opacity: 1; } 72%, 76% { opacity: .2; } }
@keyframes deco-hue { to { filter: hue-rotate(360deg); } }
@keyframes deco-pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }

.deco-grid { display: grid; grid-template-columns: repeat(auto-fill, 84px); gap: 10px; margin-top: 10px; text-transform: none; letter-spacing: 0; }
.deco-opt { background: var(--bg-side); border: 2px solid transparent; border-radius: 8px; padding: 14px 6px 6px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--text-muted); cursor: pointer; }
.deco-opt:hover { background: var(--bg-input); }
.deco-opt.sel { border-color: var(--brand); color: var(--text-strong); }
.deco-opt small { font-size: 11px; font-weight: 600; }
.deco-none { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--text-faint); }
