/* My Skyblock > Helpers > Upload custom skin (NX-CUSTOM v1, Claude BFD92, 9 Oct 2026). In-page panel, no pop-up. */
.cs-open { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border: 0; border-radius: 11px; background: #f4f4f5; color: #0b0b10; font: 700 13.5px Inter, sans-serif; cursor: pointer; box-shadow: 0 10px 26px -16px rgba(255,255,255,.6); transition: transform .2s cubic-bezier(.22,1,.36,1), background .2s; }
.cs-open:hover { background: #fff; transform: translateY(-1px); }
.cc .cs-open svg { width: 16px; height: 16px; }
.cs-panel { position: relative; margin: 0 0 26px; padding: 26px; border-radius: 20px; background: radial-gradient(120% 90% at 0% 0%, rgba(0,255,157,.07), transparent 55%), rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); animation: csIn .45s cubic-bezier(.22,1,.36,1) both; }
@keyframes csIn { from { opacity: 0; transform: translateY(8px); } }
.cs-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255,255,255,.05); color: #a1a1aa; cursor: pointer; }
.cs-x:hover { color: #fff; background: rgba(255,255,255,.1); }
.cc .cs-x svg { width: 16px; height: 16px; }
.cs-head h3, .cs-done h3 { margin: 0; color: #fff; font: 800 22px/1.2 Outfit, Inter, sans-serif; letter-spacing: -.01em; }
.cs-head p { margin: 6px 0 18px; max-width: 560px; color: #a1a1aa; font-size: 14px; line-height: 1.5; }
.cs-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: stretch; }
.cs-drop { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; min-height: 260px; padding: 18px; border-radius: 16px; background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12); color: #a1a1aa; text-align: center; cursor: pointer; transition: box-shadow .2s, background .2s; }
.cs-drop:not(.has) { background-image: repeating-linear-gradient(0deg, transparent 0 11px, rgba(255,255,255,.025) 11px 12px), repeating-linear-gradient(90deg, transparent 0 11px, rgba(255,255,255,.025) 11px 12px); }
.cs-drop:hover, .cs-drop.over { box-shadow: inset 0 0 0 1.5px rgba(0,255,157,.55); background-color: rgba(0,255,157,.04); }
.cs-drop b { color: #fff; font-size: 15px; }
.cs-drop span { font-size: 13.5px; }
.cs-drop small { margin-top: 8px; color: #6b6b76; font: 600 11px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .04em; }
.cs-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 15px; background: rgba(0,255,157,.08); color: #00ff9d; }
.cc .cs-ic svg { width: 24px; height: 24px; }
.cs-swap { margin-top: 6px; color: #a1a1aa; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
.cs-stage { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 12px; }
.cs-fig { width: 96px; height: 192px; image-rendering: pixelated; filter: drop-shadow(0 14px 18px rgba(0,0,0,.55)); }
.cs-form { display: flex; flex-direction: column; gap: 14px; }
.cs-form label { display: grid; gap: 6px; color: #a1a1aa; font: 600 12.5px Inter, sans-serif; }
.cs-form input { height: 44px; padding: 0 14px; border: 0; border-radius: 11px; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #fff; font: 600 15px Inter, sans-serif; outline: none; }
.cs-form input:focus { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.cs-rules { display: grid; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.cs-rules li { display: flex; align-items: center; gap: 9px; color: #d4d4d8; font-size: 13.5px; }
.cc .cs-rules svg { width: 15px; height: 15px; flex: none; color: #00ff9d; }
.cs-go { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; margin-top: auto; border: 0; border-radius: 13px; background: #f4f4f5; color: #0b0b10; font: 700 15px Inter, sans-serif; cursor: pointer; transition: transform .2s, background .2s, opacity .2s; }
.cs-go:hover { background: #fff; transform: translateY(-1px); }
.cs-go[disabled] { opacity: .35; pointer-events: none; }
.cc .cs-go svg { width: 18px; height: 18px; }
.cs-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: rgba(248,113,113,.08); box-shadow: inset 0 0 0 1px rgba(248,113,113,.25); color: #fecaca; font-size: 13.5px; line-height: 1.45; }
.cc .cs-note svg { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.cs-wait { display: flex; align-items: center; gap: 12px; padding: 30px 0; color: #a1a1aa; font: 600 13px "JetBrains Mono", ui-monospace, monospace; }
.cs-wait i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); border-top-color: #00ff9d; animation: csSpin .9s linear infinite; }
@keyframes csSpin { to { transform: rotate(360deg); } }
/* Checking: the skin under a scanning beam, steps ticking off */
.cs-checking { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: center; }
.cs-checking .cs-stage { height: 260px; background: rgba(0,0,0,.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.cs-scan { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(180deg, transparent, rgba(0,255,157,.28) 70%, rgba(0,255,157,.9) 98%, transparent); mix-blend-mode: screen; animation: csScan 1.6s cubic-bezier(.45,0,.55,1) infinite alternate; }
@keyframes csScan { from { transform: translateY(-60px); } to { transform: translateY(260px); } }
.cs-steps { display: grid; gap: 14px; }
.cs-steps div { display: flex; align-items: center; gap: 12px; color: #6b6b76; font: 600 14.5px Inter, sans-serif; transition: color .3s; }
.cs-steps i { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.15); }
.cs-steps .now { color: #fff; }
.cs-steps .now i { box-shadow: inset 0 0 0 2px rgba(0,255,157,.25); border-top: 2px solid #00ff9d; animation: csSpin .8s linear infinite; }
.cs-steps .done { color: #d4d4d8; }
.cs-steps .done i { background: #00ff9d; box-shadow: none; color: #04130b; }
.cc .cs-steps svg { width: 15px; height: 15px; stroke-width: 3; }
/* Approved / live */
.cs-done { text-align: center; padding: 34px 26px 30px; }
.cs-badge { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 18px; background: rgba(167,139,250,.12); color: #c4b5fd; }
.cs-badge.ok { background: rgba(0,255,157,.1); color: #00ff9d; }
.cc .cs-badge svg { width: 28px; height: 28px; }
.cs-done p { max-width: 520px; margin: 10px auto 0; color: #d4d4d8; font-size: 15px; line-height: 1.55; }
.cs-done p b { color: #fff; }
.cs-done .cs-sub { color: #a1a1aa; font-size: 13.5px; }
/* NX-CUSTOM v2: the player's skins, the count, the buy row and the Discord help line */
.cs-count { display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 99px; background: rgba(255,255,255,.07); color: #a1a1aa; font: 700 12px Inter, sans-serif; vertical-align: middle; }
.cs-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }
.cs-card { display: grid; justify-items: center; gap: 4px; width: 118px; padding: 12px 8px 10px; border-radius: 14px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); text-align: center; }
.cs-card .cs-fig { width: 48px; height: 96px; }
.cs-card b { max-width: 100%; overflow: hidden; color: #fff; font: 700 13px Inter, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.cs-card small { font: 600 11px Inter, sans-serif; color: #c4b5fd; }
.cs-card small.live { color: #00ff9d; }
.cs-note.ok { background: rgba(0,255,157,.07); box-shadow: inset 0 0 0 1px rgba(0,255,157,.25); color: #bbf7d0; }
.cs-note.info { background: rgba(167,139,250,.08); box-shadow: inset 0 0 0 1px rgba(167,139,250,.25); color: #ddd6fe; }
.cs-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 16px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.cs-buy div { display: grid; gap: 3px; }
.cs-buy b { color: #fff; font: 800 16px Outfit, Inter, sans-serif; }
.cs-buy span { color: #a1a1aa; font-size: 13.5px; }
.cs-buy .cs-go, .cc .cs-buy a.cs-go { margin: 0; padding: 0 18px; color: #0b0b10; text-decoration: none; flex: none; }
.cs-help { margin: 16px 0 0; color: #8b8b96; font-size: 12.5px; line-height: 1.5; }
.cs-help a { color: #d4d4d8; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .cs-buy { flex-direction: column; align-items: stretch; }

  .cs-panel { padding: 22px 18px; }
  .cs-grid, .cs-checking { grid-template-columns: minmax(0, 1fr); }
  .cs-drop { min-height: 220px; }
  .cs-open { height: 36px; padding: 0 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .cs-scan, .cs-panel { animation: none; } }
