/* Contact and support tickets (contact.php, support.php) — the site's black & white, auth.css fields. */

.nav.is-page { border-bottom-color: var(--line); background: rgb(10 10 10 / .92); }

.sp { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); }
.sp-head { max-width: 640px; margin-bottom: 32px; }
.sp-kicker { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--mute); }
.sp-head h1 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 46px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.sp-head p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--mute); }
.sp-head p a, .sp-fine a, .sp-side a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.sp-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 20px; align-items: start; }
.sp-card { padding: 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.sp-card h2 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.sp-card > p { margin: 0 0 20px; font-size: 14.5px; color: var(--mute); }
.sp-side { display: grid; gap: 14px; }
.sp-side .sp-card { padding: 22px; }
.sp-fine { margin: 0; font-size: 13px; line-height: 1.55; color: var(--mute-2); }

.sp select, .sp textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; background: #0a0a0a; border: 1px solid var(--line-2);
  color: var(--text); font: inherit; font-size: 15px;
}
.sp select { height: 48px; padding-left: 14px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.sp textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.sp select:focus, .sp textarea:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / .08); }
.sp .has-error select, .sp .has-error textarea { border-color: rgb(240 82 82 / .75); }
.sp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sp-count { display: block; margin-top: 6px; text-align: right; font-size: 12px; color: var(--mute-2); }

.sp-done { display: grid; justify-items: start; gap: 10px; }
.sp-done-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgb(60 207 145 / .14); color: var(--mint); font-size: 22px; }
.sp-link { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 8px 8px 12px; border-radius: 12px; background: #0a0a0a; border: 1px solid var(--line-2); }
.sp-link .mono { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--mute); }

/* a ticket */
.tk-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 6px; }
.tk-ref { font: 600 14px var(--mono, monospace); color: var(--mute); }
.tk-st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: #1c1c1c; color: #ddd; }
.tk-st.open { background: rgb(42 171 238 / .14); color: #7cc8f2; }
.tk-st.answered { background: rgb(60 207 145 / .14); color: var(--mint); }
.tk-st.pending { background: rgb(245 165 36 / .14); color: var(--amber, #f5a524); }
.tk-st.closed { background: #1c1c1c; color: #999; }
.tk-thread { display: grid; gap: 12px; margin: 22px 0; }
.tk-msg { max-width: 88%; padding: 14px 16px; border-radius: 16px; background: #141414; border: 1px solid var(--line); }
.tk-msg.admin { justify-self: end; background: #0f1a14; border-color: rgb(60 207 145 / .25); }
.tk-msg header { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 6px; font-size: 12.5px; color: var(--mute-2); }
.tk-msg header b { color: #fff; font-weight: 600; }
.tk-msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.6; }

@media (max-width: 860px) { .sp-grid { grid-template-columns: 1fr; } .tk-msg { max-width: 100%; } }

/* about.php: what PWF Auth does */
.ab-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ab-list li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.ab-list i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #0a0a0a; border: 1px solid var(--line-2); color: var(--mint); font-size: 15px; }
.ab-list b { display: block; margin-bottom: 3px; font-size: 15px; font-weight: 600; }
.ab-list span { display: block; font-size: 14px; line-height: 1.55; color: var(--mute); }
