/* Help & support (/support): answers, then a ticket (maquettes/support 3 + 5 + 2). Namespaced sp-. */
.sp { --o: #ff6a2b; --o2: #e8642d; --pu: #a78bfa; --kf: #29abe0; --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14); --mu: #a9b2bb; --card: #131417; --ease: cubic-bezier(.2,.7,.2,1); display: block; color: #fff; padding-bottom: 80px; overflow-x: clip; }
.sp-w { width: min(calc(100% - 56px), 1040px); margin-inline: auto; }
.sp h1, .sp h2, .sp h3 { margin: 0; }
.sp em { font-style: normal; color: var(--o); }
.sp a { color: #ff8a55; }
.sp-k { margin: 0; color: #ff8a55; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 14px; border: 0; background: linear-gradient(135deg, #ff6a2b, #e8642d); color: #fff; font: 800 .98rem Manrope, sans-serif; cursor: pointer; text-decoration: none; transition: transform .2s, filter .2s; }
.sp-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.sp-btn:disabled { opacity: .55; cursor: wait; transform: none; }
.sp-btn2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 13px; border: 1px solid var(--line2); background: rgba(255,255,255,.05); color: #e9edf1; font: 800 .92rem Manrope, sans-serif; cursor: pointer; text-decoration: none; }
.sp-btn2:hover { border-color: rgba(255,106,43,.5); }
.sp-lnk { background: none; border: 0; padding: 0; color: #ff8a55; font: 700 .9rem Manrope, sans-serif; cursor: pointer; }

/* hero + search */
.sp-hero { text-align: center; padding: 56px 0 10px; }
.sp-hero h1 { margin-top: 12px; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -.05em; line-height: 1; }
.sp-lead { max-width: 600px; margin: 16px auto 0; color: var(--mu); line-height: 1.6; }
.sp-search { position: relative; max-width: 640px; margin: 26px auto 0; }
.sp-search svg { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: none; stroke: #7d8790; stroke-width: 2; }
.sp-search input { width: 100%; height: 60px; border-radius: 99px; border: 1px solid var(--line2); background: #0f1013; color: #fff; font: 500 1rem Manrope, sans-serif; padding: 0 24px 0 54px; box-shadow: 0 20px 50px rgba(0,0,0,.35); outline: none; }
.sp-search input:focus { border-color: rgba(255,106,43,.6); }
.sp-res { position: absolute; left: 0; right: 0; top: 66px; z-index: 10; text-align: left; border-radius: 18px; background: #1a1b1e; border: 1px solid var(--line2); padding: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.sp-res button { display: block; width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: 0; background: none; color: #fff; font: inherit; cursor: pointer; }
.sp-res button:hover, .sp-res button:focus-visible { background: rgba(255,106,43,.1); }
.sp-res b { display: block; font-size: .95rem; }
.sp-res small { display: block; color: #7d8790; font-size: .8rem; margin-top: 3px; }

/* topics */
.sp-topics { margin-top: 40px; }
.sp-tg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sp-tg button { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, transform .2s; }
.sp-tg button:hover, .sp-tg button.is-on { border-color: rgba(255,106,43,.55); transform: translateY(-2px); }
.sp-tg i { font-style: normal; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; background: rgba(255,106,43,.12); color: #ff8a55; flex: none; }
.sp-tg b { display: block; }
.sp-tg small { color: #7d8790; font-size: .82rem; }

/* answers */
.sp-answers { margin-top: 44px; }
.sp-answers h2 { font-size: 1.4rem; margin-bottom: 14px; letter-spacing: -.02em; }
.sp-acc { display: grid; gap: 10px; }
.sp-acc details { padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.sp-acc details.is-hit { border-color: rgba(255,106,43,.55); }
.sp-acc summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.sp-acc summary::-webkit-details-marker { display: none; }
.sp-acc summary::after { content: "+"; color: #ff8a55; font-size: 1.2rem; line-height: 1; }
.sp-acc details[open] summary::after { content: "–"; }
.sp-acc p { margin: 10px 0 0; color: var(--mu); line-height: 1.6; font-size: .95rem; }
.sp-acc .tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.06); color: #7d8790; font-size: .7rem; font-weight: 800; vertical-align: middle; }

/* still stuck */
.sp-stuck { margin-top: 40px; }
.sp-stuck-box { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 28px; border-radius: 24px; background: linear-gradient(135deg, rgba(255,106,43,.14), rgba(255,106,43,.03)); border: 1px solid rgba(255,106,43,.35); }
.sp-stuck h2 { font-size: 1.3rem; margin-bottom: 6px; }
.sp-stuck p { margin: 0; color: #c3cad1; }
.sp-who { display: flex; gap: 10px; align-items: center; margin-top: 12px !important; font-size: .86rem; color: var(--mu) !important; }
.sp-who span { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #ff6a2b, #ffb070); display: grid; place-items: center; color: #160903; font-weight: 800; font-size: .8rem; }

/* the ticket wizard */
.sp-wz { max-width: 760px; margin-top: 40px; scroll-margin-top: 100px; }
.sp-card { padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.sp-steps { display: flex; gap: 8px; margin-bottom: 22px; }
.sp-steps span { flex: 1; height: 5px; border-radius: 9px; background: rgba(255,255,255,.08); transition: background .3s; }
.sp-steps span.on { background: var(--o); }
.sp-card h2 { font-size: 1.3rem; margin-bottom: 4px; }
.sp-sub { color: var(--mu); margin: 0 0 18px; font-size: .93rem; line-height: 1.5; }
.sp-how { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
/* "Ask Camela first": her portrait beside the explanation */
.sp-cam { display: flex; gap: 16px; align-items: flex-start; }
.sp-cam img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(167,139,250,.5); }
.sp-cam h2 { margin-top: 0; }
.sp-how button, .sp-found button, .sp-topic-pick button { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: #17181b; border: 2px solid transparent; color: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s; }
.sp-how button:hover, .sp-found button:hover, .sp-topic-pick button:hover { border-color: rgba(255,106,43,.5); }
.sp-topic-pick button.is-on { border-color: var(--o); background: rgba(255,106,43,.08); }
.sp-how i { font-style: normal; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.sp-how b, .sp-found b { display: block; font-size: .93rem; line-height: 1.25; }
.sp-how small, .sp-found small { display: flex; gap: 6px; align-items: center; color: #7d8790; font-size: .78rem; margin-top: 3px; }
.sp-tabs { display: inline-flex; padding: 5px; border-radius: 99px; background: #17181b; margin-bottom: 14px; }
.sp-tabs button { padding: 9px 16px; border-radius: 99px; border: 0; background: none; color: var(--mu); font: 800 .86rem Manrope, sans-serif; cursor: pointer; }
.sp-tabs button.on { background: #fff; color: #0b0c0f; }
.sp-fl { display: grid; gap: 6px; margin-bottom: 14px; }
.sp-fl label { font-weight: 800; font-size: .88rem; }
.sp-fl input, .sp-fl textarea, .sp-fl select { width: 100%; min-height: 50px; border-radius: 14px; background: #0e0f12; border: 1px solid var(--line2); color: #fff; font: 500 .95rem Manrope, sans-serif; padding: 12px 14px; outline: none; }
.sp-fl textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.sp-fl input:focus, .sp-fl textarea:focus { border-color: rgba(255,106,43,.6); }
.sp-fl small { color: #7d8790; font-size: .8rem; line-height: 1.45; }
.sp-rcpt { position: relative; margin: 4px 0 16px; padding: 16px 14px 12px; border-radius: 14px; background: #f3efe6; color: #25221d; font: .8rem/1.6 ui-monospace, Menlo, monospace; }
.sp-rcpt::before { content: "Your Ko-fi receipt email"; position: absolute; top: -9px; left: 12px; background: var(--kf); color: #fff; font: 800 .66rem Manrope, sans-serif; padding: 2px 8px; border-radius: 99px; }
.sp-rcpt b { background: rgba(255,106,43,.35); padding: 1px 4px; border-radius: 4px; }
.sp-code { display: flex; gap: 8px; justify-content: center; margin: 18px 0; }
.sp-code input { width: 50px; height: 60px; text-align: center; font: 800 1.5rem Manrope, sans-serif; border-radius: 12px; background: #0e0f12; border: 1px solid rgba(255,255,255,.18); color: #fff; outline: none; }
.sp-code input:focus { border-color: var(--o); }
.sp-found, .sp-topic-pick { display: grid; gap: 8px; }
.sp-topic-pick { grid-template-columns: repeat(3, 1fr); }
.sp-topic-pick button { flex-direction: column; align-items: flex-start; padding: 14px; }
.sp-topic-pick i { font-style: normal; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.06); display: grid; place-items: center; }
.sp-topic-pick b { font-size: .9rem; }
.sp-found img, .sp-ctx img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; background: #212225; }
.sp-src { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 7px; font-size: .7rem; font-weight: 800; white-space: nowrap; background: rgba(41,171,224,.14); color: #8fd3f0; }
.sp-src.site { background: rgba(255,106,43,.12); color: #ffb08a; }
.sp-src.pro { background: rgba(167,139,250,.14); color: #c4b5fd; }
.sp-src.unverified { background: rgba(255,255,255,.06); color: #a9b2bb; }
.sp-ok { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.25); color: #bdf5cf; font-size: .9rem; margin-bottom: 14px; }
.sp-warn { padding: 12px 14px; border-radius: 14px; background: rgba(255,106,43,.08); border: 1px solid rgba(255,106,43,.3); color: #ffd2bd; font-size: .88rem; margin-top: 12px; line-height: 1.5; }
.sp-err { padding: 12px 14px; border-radius: 14px; background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.35); color: #fecaca; font-size: .9rem; margin-bottom: 14px; }
.sp-ctx { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; padding: 10px 12px; border-radius: 14px; background: #17181b; font-size: .88rem; }
.sp-fix { display: grid; gap: 10px; margin-bottom: 4px; }
.sp-fix details { padding: 14px 16px; border-radius: 16px; background: #17181b; border: 1px solid rgba(74,222,128,.25); }
.sp-fix summary { cursor: pointer; font-weight: 800; list-style: none; }
.sp-fix summary::before { content: "✦ "; color: #4ade80; }
.sp-fix p { color: var(--mu); margin: 8px 0 0; line-height: 1.5; font-size: .92rem; }
.sp-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.sp-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.sp-files span { padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.06); font-size: .78rem; }
.sp-done { text-align: center; padding: 18px 6px; }
.sp-done .ic { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: rgba(74,222,128,.12); color: #4ade80; font-size: 2rem; }

/* the thread (private link) */
.sp-thread { max-width: 760px; margin-top: 46px; }
.sp-th-top { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.sp-th-top img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.sp-th-top h1 { font-size: 1.5rem; letter-spacing: -.03em; }
.sp-th-top small { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; color: #7d8790; font-size: .82rem; margin-top: 4px; }
.sp-st { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; font-size: .74rem; font-weight: 800; white-space: nowrap; }
.sp-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sp-st.open { background: rgba(255,106,43,.12); color: #ff8a55; }
.sp-st.waiting { background: rgba(167,139,250,.14); color: #c4b5fd; }
.sp-st.resolved { background: rgba(74,222,128,.1); color: #4ade80; }
.sp-log { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 22px; background: #0e0f12; border: 1px solid var(--line); }
.sp-m { max-width: 82%; padding: 12px 15px; border-radius: 18px; line-height: 1.55; font-size: .94rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.sp-m.customer { align-self: flex-end; background: var(--o2); border-bottom-right-radius: 6px; }
.sp-m.admin { align-self: flex-start; background: #1a1b1e; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.sp-m small { display: block; margin-top: 6px; font-size: .72rem; opacity: .7; white-space: normal; }
.sp-m .att { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; white-space: normal; }
.sp-m .att a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 10px; background: rgba(0,0,0,.2); color: #fff; font-size: .78rem; text-decoration: none; }
.sp-m .att img { width: 120px; height: 80px; object-fit: cover; border-radius: 8px; display: block; }
.sp-sys { align-self: center; font-size: .76rem; color: #7d8790; padding: 5px 12px; border-radius: 99px; background: rgba(255,255,255,.04); text-align: center; }
.sp-reply { margin-top: 14px; }
.sp-acct { margin-top: 18px; display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(167,139,250,.14), rgba(124,92,240,.04)); border: 1px solid rgba(167,139,250,.3); flex-wrap: wrap; }
.sp-acct p { margin: 0; font-size: .9rem; color: #d6d0f5; flex: 1; min-width: 220px; }

@media (max-width: 860px) {
  .sp-w { width: calc(100% - 32px); }
  .sp-tg { grid-template-columns: 1fr 1fr; }
  .sp-stuck-box { grid-template-columns: 1fr; }
  .sp-topic-pick { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .sp-tg, .sp-how { grid-template-columns: 1fr; }
  .sp-card { padding: 18px; }
  .sp-code input { width: 42px; height: 52px; }
  .sp-m { max-width: 92%; }
}
.sp input[type=file] { padding: 10px 12px; color: var(--mu); font-size: .86rem; cursor: pointer; }
.sp input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(255,255,255,.06); color: #fff; font: 700 .84rem Manrope, sans-serif; cursor: pointer; }

/* What a ticket is for (above the form), and the reasons */
.sp-scope { margin: 0 0 18px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.1); border-left: 3px solid #ff6a2b; border-radius: 12px; background: rgba(255,106,43,.05); }
.sp-scope b { display: block; margin-bottom: 4px; font-size: .95rem; }
.sp-scope p { margin: 0 0 4px; color: #aab3bc; font-size: .85rem; line-height: 1.5; }
.sp-discord, .accs-discord { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 8px 14px; border-radius: 999px; background: #5865f2; color: #fff !important; font-weight: 800; font-size: .84rem; text-decoration: none; }
.sp-discord:hover, .accs-discord:hover { background: #4752c4; }
.sp-reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sp-reasons button { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: #17181b; border: 2px solid transparent; color: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s; }
.sp-reasons button:hover, .sp-reasons button.is-on { border-color: rgba(255,106,43,.5); }
.sp-reasons i { font-style: normal; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem; flex: none; background: rgba(255,255,255,.06); }
.sp-reasons b { display: block; font-size: .93rem; line-height: 1.25; } .sp-reasons small { display: block; color: #7d8790; font-size: .78rem; margin-top: 3px; }
.sp-reasons .is-general { border-color: rgba(88,101,242,.35); background: rgba(88,101,242,.08); } .sp-reasons .is-general i { background: rgba(88,101,242,.2); }
.sp-reasons .is-general:hover { border-color: rgba(88,101,242,.7); }
.sp-gen h2 { margin-top: 0; }
.sp-mini { color: #7d8790; font-size: .8rem; } .sp-mini a { color: #aab3bc; }
@media (max-width: 640px) { .sp-reasons { grid-template-columns: 1fr; } .sp-reasons button { padding: 12px; } }

/* Two levels: Camela, a report, Pro tickets */
.sp-notice { margin: 16px auto 0; max-width: 760px; padding: 12px 16px; border: 1px solid rgba(96,165,250,.3); border-radius: 14px; background: rgba(96,165,250,.07); color: #cfe3ff; font-size: .88rem; line-height: 1.55; text-align: left; }
.sp-stuck-box:has(.sp-lv) { display: block; }
.sp-lv { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.sp-lvc { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(11,12,15,.55); }
.sp-lvc b { font-size: 1rem; } .sp-lvc p { margin: 0 0 4px; flex: 1; color: #aab3bc; font-size: .85rem; line-height: 1.5; }
.sp-lvc.cam { border-color: rgba(255,106,43,.4); } .sp-lvc.pro { border-color: rgba(167,139,250,.4); background: linear-gradient(150deg, rgba(167,139,250,.1), rgba(11,12,15,.55) 60%); }
.sp-scopeline { margin: 14px 0 0; color: #8b949c; font-size: .8rem; line-height: 1.55; } .sp-scopeline a { color: #ffb27a; }
@media (max-width: 860px) { .sp-lv { grid-template-columns: minmax(0, 1fr); } }
