.cx-wrap { --cx-text: var(--kf2f2f2); --cx-muted: var(--k9a9a9f); --cx-dim: var(--k5f5f65); --cx-line: rgba(var(--fg),.12); --cx-line-2: rgba(var(--fg),.22); --cx-hi: rgba(var(--fg),.8); position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 16px; font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--cx-text); }
.cx-backdrop { position: absolute; inset: 0; background: rgba(var(--sh),.78); backdrop-filter: blur(6px); animation: cxFade .3s ease both; }
.cx-wrap.cx-closing .cx-backdrop { animation: cxFadeOut .44s ease-in both; }
@keyframes cxFade { from { opacity: 0; } }
@keyframes cxFadeOut { to { opacity: 0; } }
.cx-panel { position: relative; width: min(620px, 100%); max-height: calc(100svh - 32px); overflow: auto; background-color: var(--k0b0b0c); border: 1px solid var(--cx-line-2); padding: 26px 28px 24px; box-shadow: 0 40px 120px rgba(var(--sh),.8);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  background-image:
    linear-gradient(135deg, transparent 50%, var(--cx-hi) 50%, var(--cx-hi) calc(50% + 1.2px), transparent calc(50% + 1.2px)),
    linear-gradient(315deg, transparent 50%, var(--cx-hi) 50%, var(--cx-hi) calc(50% + 1.2px), transparent calc(50% + 1.2px)),
    linear-gradient(var(--cx-hi), var(--cx-hi)), linear-gradient(var(--cx-hi), var(--cx-hi)),
    linear-gradient(var(--cx-hi), var(--cx-hi)), linear-gradient(var(--cx-hi), var(--cx-hi)),
    repeating-linear-gradient(135deg, var(--cx-line-2) 0 1px, transparent 1px 6px);
  background-size: 14px 14px, 14px 14px, 18px 1px, 1px 18px, 18px 1px, 1px 18px, 60px 5px;
  background-position: top left, bottom right, top right, top right, bottom left, bottom left, right 24px bottom 9px;
  background-repeat: no-repeat; background-origin: border-box; }
.cx-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.cx-eyebrow { display: block; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--cx-dim); margin-bottom: 10px; }
.cx-head h2 { margin: 0; font-family: "Michroma", system-ui, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: 20px; }
.cx-x { width: 34px; height: 34px; flex: none; display: grid; place-items: center; background: none; border: 1px solid var(--cx-line); color: var(--cx-muted); font-size: 20px; line-height: 1; cursor: pointer; transition: color .2s, border-color .2s; }
.cx-x:hover { color: var(--cx-text); border-color: var(--cx-text); }
.cx-body { display: grid; gap: 14px; }
.cx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cx-field { display: grid; gap: 7px; min-width: 0; }
.cx-label { display: flex; justify-content: space-between; font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--cx-muted); }
.cx-count { letter-spacing: .08em; color: var(--cx-dim); }
.cx-field input, .cx-field select, .cx-field textarea { width: 100%; box-sizing: border-box; padding: 11px 13px; background: var(--k050505); border: 1px solid var(--cx-line); border-radius: 0; color: var(--cx-text); font: inherit; font-size: 14px; outline: none; transition: border-color .15s; }
.cx-field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.cx-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cx-muted) 50%), linear-gradient(135deg, var(--cx-muted) 50%, transparent 50%); background-position: right 16px center, right 11px center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.cx-field input:focus, .cx-field select:focus, .cx-field textarea:focus { border-color: var(--cx-text); }
.cx-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cx-err { margin: 0; color: var(--aff8a80); font-size: 13px; }
.cx-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; flex-wrap: wrap; }
.cx-note { font-size: 12px; color: var(--cx-dim); }
.cx-hold { position: relative; overflow: hidden; min-width: 200px; height: 46px; padding: 0 22px; border: 1px solid var(--cx-text); background: transparent; color: var(--cx-text); font: inherit; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none; }
.cx-hold-fill { position: absolute; inset: 0; background: var(--cx-text); transform: scaleX(0); transform-origin: left center; }
.cx-hold-label { position: relative; mix-blend-mode: difference; color: var(--kffffff); }
.cx-hold.holding { box-shadow: 0 0 0 4px rgba(var(--fg),.08); }
.cx-hold:disabled { cursor: default; opacity: .7; }
.cx-hold:focus-visible, .cx-x:focus-visible { outline: 1px solid var(--cx-text); outline-offset: 3px; }
.cx-done { display: grid; gap: 12px; justify-items: start; padding: 10px 0 4px; }
.cx-done h3 { margin: 0; font-family: "Michroma", system-ui, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .05em; font-size: 16px; }
.cx-done p { margin: 0 0 8px; color: var(--cx-muted); font-size: 14px; }
.cx-btn { height: 40px; padding: 0 20px; background: var(--solid); color: var(--on-solid); border: 0; font: inherit; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; box-shadow: var(--solid-shadow); }
@media (max-width: 560px) {
  .cx-panel { padding: 22px 18px 20px; }
  .cx-row { grid-template-columns: 1fr; }
  .cx-actions { flex-direction: column-reverse; align-items: stretch; }
  .cx-hold { width: 100%; }
  .cx-note { text-align: center; }
}

@keyframes fvRails {
  0% { clip-path: polygon(calc(50% - 1px) 0, calc(50% - 1px + 2px) 0, calc(50% - 1px + 2px) 50%, calc(50% + 1px - 2px) 50%, calc(50% + 1px - 2px) 0, calc(50% + 1px) 0, calc(50% + 1px) 100%, calc(50% + 1px - 2px) 100%, calc(50% + 1px - 2px) calc(100% - 50%), calc(50% - 1px + 2px) calc(100% - 50%), calc(50% - 1px + 2px) 100%, calc(50% - 1px) 100%); }
  22% { clip-path: polygon(calc(46%) 0, calc(46% + 2px) 0, calc(46% + 2px) 9%, calc(54% - 2px) 9%, calc(54% - 2px) 0, calc(54%) 0, calc(54%) 100%, calc(54% - 2px) 100%, calc(54% - 2px) calc(100% - 9%), calc(46% + 2px) calc(100% - 9%), calc(46% + 2px) 100%, calc(46%) 100%); }
  46% { clip-path: polygon(calc(37%) 0, calc(37% + 2px) 0, calc(37% + 2px) 6%, calc(63% - 2px) 6%, calc(63% - 2px) 0, calc(63%) 0, calc(63%) 100%, calc(63% - 2px) 100%, calc(63% - 2px) calc(100% - 6%), calc(37% + 2px) calc(100% - 6%), calc(37% + 2px) 100%, calc(37%) 100%); }
  70% { clip-path: polygon(calc(22%) 0, calc(22% + 2px) 0, calc(22% + 2px) 3%, calc(78% - 2px) 3%, calc(78% - 2px) 0, calc(78%) 0, calc(78%) 100%, calc(78% - 2px) 100%, calc(78% - 2px) calc(100% - 3%), calc(22% + 2px) calc(100% - 3%), calc(22% + 2px) 100%, calc(22%) 100%); }
  100% { clip-path: polygon(calc(0%) 0, calc(0% + 2px) 0, calc(0% + 2px) 0%, calc(100% - 2px) 0%, calc(100% - 2px) 0, calc(100%) 0, calc(100%) 100%, calc(100% - 2px) 100%, calc(100% - 2px) calc(100% - 0%), calc(0% + 2px) calc(100% - 0%), calc(0% + 2px) 100%, calc(0%) 100%); }
}
@keyframes fvRailsOut {
  0% { clip-path: polygon(calc(0%) 0, calc(0% + 2px) 0, calc(0% + 2px) 0%, calc(100% - 2px) 0%, calc(100% - 2px) 0, calc(100%) 0, calc(100%) 100%, calc(100% - 2px) 100%, calc(100% - 2px) calc(100% - 0%), calc(0% + 2px) calc(100% - 0%), calc(0% + 2px) 100%, calc(0%) 100%); }
  30% { clip-path: polygon(calc(22%) 0, calc(22% + 2px) 0, calc(22% + 2px) 3%, calc(78% - 2px) 3%, calc(78% - 2px) 0, calc(78%) 0, calc(78%) 100%, calc(78% - 2px) 100%, calc(78% - 2px) calc(100% - 3%), calc(22% + 2px) calc(100% - 3%), calc(22% + 2px) 100%, calc(22%) 100%); }
  54% { clip-path: polygon(calc(37%) 0, calc(37% + 2px) 0, calc(37% + 2px) 6%, calc(63% - 2px) 6%, calc(63% - 2px) 0, calc(63%) 0, calc(63%) 100%, calc(63% - 2px) 100%, calc(63% - 2px) calc(100% - 6%), calc(37% + 2px) calc(100% - 6%), calc(37% + 2px) 100%, calc(37%) 100%); }
  78% { clip-path: polygon(calc(46%) 0, calc(46% + 2px) 0, calc(46% + 2px) 9%, calc(54% - 2px) 9%, calc(54% - 2px) 0, calc(54%) 0, calc(54%) 100%, calc(54% - 2px) 100%, calc(54% - 2px) calc(100% - 9%), calc(46% + 2px) calc(100% - 9%), calc(46% + 2px) 100%, calc(46%) 100%); }
  100% { clip-path: polygon(calc(50% - 1px) 0, calc(50% - 1px + 2px) 0, calc(50% - 1px + 2px) 50%, calc(50% + 1px - 2px) 50%, calc(50% + 1px - 2px) 0, calc(50% + 1px) 0, calc(50% + 1px) 100%, calc(50% + 1px - 2px) 100%, calc(50% + 1px - 2px) calc(100% - 50%), calc(50% - 1px + 2px) calc(100% - 50%), calc(50% - 1px + 2px) 100%, calc(50% - 1px) 100%); }
}
@keyframes fvRailL {
  0% { left: calc(50% - 1px); }
  22% { left: calc(46%); }
  46% { left: calc(37%); }
  70% { left: calc(22%); }
  100% { left: calc(0%); }
}
@keyframes fvRailR {
  0% { right: calc(calc(100% - (50% + 1px))); }
  22% { right: calc(calc(100% - (54%))); }
  46% { right: calc(calc(100% - (63%))); }
  70% { right: calc(calc(100% - (78%))); }
  100% { right: calc(calc(100% - (100%))); }
}
@keyframes fvRailLOut {
  0% { left: calc(0%); }
  30% { left: calc(22%); }
  54% { left: calc(37%); }
  78% { left: calc(46%); }
  100% { left: calc(50% - 1px); }
}
@keyframes fvRailROut {
  0% { right: calc(calc(100% - (100%))); }
  30% { right: calc(calc(100% - (78%))); }
  54% { right: calc(calc(100% - (63%))); }
  78% { right: calc(calc(100% - (54%))); }
  100% { right: calc(calc(100% - (50% + 1px))); }
}
@keyframes fvRailsFill { 0%, 70% { background-color: var(--kf2f2f2); } }
@keyframes fvRailsFillOut { 30%, 100% { background-color: var(--kf2f2f2); } }
@keyframes fvRailsContent { 0%, 74% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fvRailsContentOut { 0% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes fvRailsGone { 0%, 99% { opacity: 1; } 100% { opacity: 0; } }
:is(.fx-rails, #fx-x) { animation: fvRails .56s cubic-bezier(.3, .7, .3, 1) backwards, fvRailsFill .56s linear backwards !important; }
:is(.fx-rails, #fx-x) > * { animation: fvRailsContent .56s linear backwards !important; }
:is(.fx-rails, .fx-rails-out, #fx-x)::before, :is(.fx-rails, .fx-rails-out, #fx-x)::after { content: "" !important; position: absolute !important; top: 0 !important; bottom: 0 !important; width: 2px !important; height: auto !important; border-radius: 0 !important; background: var(--kf2f2f2) !important; opacity: 0; pointer-events: none !important; z-index: 51 !important; clip-path: none !important; }
:is(.fx-rails, .fx-rails-out, #fx-x)::before { left: 0; right: auto !important; }
:is(.fx-rails, .fx-rails-out, #fx-x)::after { right: 0; left: auto !important; inset: 0 0 0 auto; }
:is(.fx-rails, #fx-x)::before { animation: fvRailL .56s cubic-bezier(.3, .7, .3, 1) backwards, fvRailsGone .56s linear backwards !important; }
:is(.fx-rails, #fx-x)::after { animation: fvRailR .56s cubic-bezier(.3, .7, .3, 1) backwards, fvRailsGone .56s linear backwards !important; }
:is(.fx-rails-out, #fx-x) { animation: fvRailsOut .44s cubic-bezier(.7, 0, .7, .3) forwards, fvRailsFillOut .44s linear forwards !important; pointer-events: none; }
:is(.fx-rails-out, #fx-x) > * { animation: fvRailsContentOut .44s linear forwards !important; }
:is(.fx-rails-out, #fx-x)::before { opacity: 1; animation: fvRailLOut .44s cubic-bezier(.7, 0, .7, .3) forwards !important; }
:is(.fx-rails-out, #fx-x)::after { opacity: 1; animation: fvRailROut .44s cubic-bezier(.7, 0, .7, .3) forwards !important; }
html.reduce-motion :is(.fx-rails, .fx-rails-out, #fx-x), html.reduce-motion :is(.fx-rails, .fx-rails-out, #fx-x) > *, html.reduce-motion :is(.fx-rails, .fx-rails-out, #fx-x)::before, html.reduce-motion :is(.fx-rails, .fx-rails-out, #fx-x)::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  html :is(.fx-rails, .fx-rails-out, #fx-x), html :is(.fx-rails, .fx-rails-out, #fx-x) > *, html :is(.fx-rails, .fx-rails-out, #fx-x)::before, html :is(.fx-rails, .fx-rails-out, #fx-x)::after { animation: none !important; }
}
.cx-who { margin: 0 0 4px; color: var(--cx-muted); font-size: 13.5px; line-height: 1.55; }
.cx-who b { color: var(--cx-text); font-weight: 500; }
.cx-done-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cx-btn { display: inline-flex; align-items: center; text-decoration: none; }
.cx-btn.ghost { background: transparent; color: var(--cx-text); border: 1px solid var(--cx-line-2); }
.cx-btn.ghost:hover { border-color: var(--cx-text); }
.cx-tabs { display: flex; gap: 0; margin: -6px 0 18px; border-bottom: 1px solid var(--cx-line); }
.cx-tabs[hidden] { display: none; }
.cx-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: none; border: 0; color: var(--cx-dim); font: inherit; font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: color .2s; }
.cx-tab:hover { color: var(--cx-muted); }
.cx-tab.on { color: var(--cx-text); }
.cx-tab.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--cx-text); }
.cx-dot { min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; display: inline-grid; place-items: center; background: var(--solid); color: var(--on-solid); font-size: 9.5px; letter-spacing: 0; box-shadow: var(--solid-shadow); }
.cx-link { padding: 0; background: none; border: 0; color: var(--cx-muted); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cx-link:hover { color: var(--cx-text); }
.cx-btn.cx-discord::before { content: ""; width: 7px; height: 7px; margin-right: 10px; background: currentColor; transform: rotate(45deg); }
.cx-thread { border: 1px solid var(--cx-line); background: var(--k070708); }
.cx-thread summary { display: flex; align-items: center; gap: 12px; padding: 13px 15px; cursor: pointer; list-style: none; }
.cx-thread summary::-webkit-details-marker { display: none; }
.cx-thread[open] summary { border-bottom: 1px solid var(--cx-line); }
.cx-topic { font-size: 14px; font-weight: 500; }
.cx-state { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--cx-dim); }
.cx-state.new { color: var(--cx-text); }
.cx-state.new::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: var(--cx-text); vertical-align: middle; }
.cx-thread time { margin-left: auto; color: var(--cx-dim); font-size: 12px; white-space: nowrap; }
.cx-convo { display: grid; gap: 10px; padding: 14px 15px; }
.cx-bubble { padding: 10px 12px; border-left: 2px solid var(--cx-line-2); background: rgba(var(--fg),.02); }
.cx-bubble.staff { border-left-color: var(--cx-text); background: rgba(var(--fg),.05); }
.cx-bubble p { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.55; }
.cx-by { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--cx-dim); }
.cx-reply { display: grid; gap: 10px; padding: 0 15px 15px; }
.cx-reply textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; background: var(--k050505); border: 1px solid var(--cx-line); color: var(--cx-text); font: inherit; font-size: 14px; resize: vertical; outline: none; }
.cx-reply textarea:focus { border-color: var(--cx-text); }
.cx-closed { padding: 0 15px 15px; margin: 0; }
@media (max-width: 560px) { .cx-thread summary { flex-wrap: wrap; } .cx-thread time { margin-left: 0; } }
