@charset "utf-8";
/* Customer support page. It has a layout of its own, outside the index.php shell, but the look of the site: the
   title on a muted sunset that melts into the calm deep blue of the dusk, the questions as panels with large
   corners, a quiet dawn under the footer, gold for the main action, pill buttons. No shadows and no outlines; only
   the form fields keep a border. The colours are those of :root in /style_3dxchat.css; that sheet is not loaded
   here. The fonts are served by the site (/fonts/sofia.css). */

:root {
	--sup-sunset: linear-gradient(180deg, #46305f 0%, #372a5c 50%, #1b2148 100%);
	--sup-surface: rgb(255 255 255 / 0.07);
	--sup-surface-hover: rgb(255 255 255 / 0.11);
	--sup-text-body: rgb(255 255 255 / 0.92);
	--sup-text-muted: rgb(255 255 255 / 0.84);
	--sup-gold: #ecb849;
	--sup-gold-light: #f5cf7c;
	--sup-butter: #fdefb2;
	--sup-peach: #ffd2a6;
	--sup-ink: #1f1424;
	--sup-field-bg: rgb(255 255 255 / 0.08);
	--sup-field-border: rgb(255 255 255 / 0.3);
	--sup-radius-block: clamp(1.25rem, 0.75rem + 1.5vw, 2rem);
	--sup-radius-media: 1.25rem;
	--sup-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16M4 12h16' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round'/%3E%3C/svg%3E");
	--sup-font-display: "Sofia Sans Semi Condensed", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--sup-font-ui: "Sofia Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	scrollbar-gutter: stable;
}

html {height: 100%; background: #1b2148;}
body {min-height: 100%; background: #1b2148; color: #fff; font-family: var(--sup-font-ui); -webkit-font-smoothing: antialiased;}
.trueBody {position: relative; min-height: 100%; margin: 0 auto; overflow-x: clip;}

a {color: var(--sup-gold-light); text-decoration: underline; text-underline-offset: 0.2em;}
@media (hover: hover) {a:hover {color: #fff;}}
::selection {background: var(--sup-gold); color: var(--sup-ink);}

.mainBlock {width: min(100% - 2rem, 60rem); margin: 0 auto;}
.devilBlock, .logoBlock {display: none;}

/* The title stands on the sunset of the site */
.headerBlock {position: relative; isolation: isolate; padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0 clamp(2rem, 1.25rem + 3vw, 3.5rem);}
.headerBlock::before {content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--sup-sunset);}
h1 {margin: 0; padding: 0; color: #fff; font: 800 clamp(2rem, 1rem + 4vw, 4.5rem)/0.92 var(--sup-font-display); text-transform: uppercase; text-wrap: balance;}
h1 a {color: #fff; text-decoration: none;}
@media (hover: hover) {h1 a:hover {color: var(--sup-butter);}}

.contentBlock {clear: both; padding: clamp(2rem, 1.25rem + 2vw, 3rem) 0 11rem; color: var(--sup-text-body); font-size: 1rem; line-height: 1.6;}
.contentBlock > p {margin: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) 0 0.75rem; color: var(--sup-text-muted); font: 700 0.9375rem/1.2 var(--sup-font-display); letter-spacing: 0.14em; text-transform: uppercase;}
.contentBlock > p:first-child {margin-top: 0;}
.contentBlock > p b {font-weight: 700;}
.contentBlock > br {display: none;}

/* Every question is a surface like the questions of "Before you join" on the home page (.faq-item): lighter under
   the pointer and while open, with a plus at the right that turns into a cross; its answer opens inside it */
.questionBlock {margin: 0 0 0.5rem; border-radius: var(--sup-radius-media); background: var(--sup-surface); transition: background-color 0.15s ease;}
.questionBlock.is-open {background: var(--sup-surface-hover);}
@media (hover: hover) {.questionBlock:hover {background: var(--sup-surface-hover);}}
.quest {display: grid; grid-template-columns: minmax(0, 1fr) 1.25rem; gap: 1rem; align-items: center; padding: 1.125rem 1.5rem; color: #fff; font: 700 clamp(1.125rem, 1rem + 0.4vw, 1.3125rem)/1.25 var(--sup-font-display); text-decoration: none; cursor: pointer;}
.quest::after {content: ""; width: 1.25rem; height: 1.25rem; background: var(--sup-peach); -webkit-mask: var(--sup-plus) center / 1.25rem no-repeat; mask: var(--sup-plus) center / 1.25rem no-repeat; transition: transform 0.2s ease;}
.questionBlock.is-open .quest::after {transform: rotate(45deg);}
.answerBlock {padding: 0;}
.answerText {margin: 0; padding: 0 1.5rem 1.375rem; color: var(--sup-text-body); font-size: 1rem; line-height: 1.65;}
.answerText img {max-width: 100%; height: auto; border-radius: 1rem;}
/* A picture drawn live from the site's own templates and styles (demo/*.php): it is looked at, not used */
.answerText iframe.answerDemo {display: block; width: min(100%, 38rem); height: 36rem; margin: 0.25rem 0 0; border: 0; background: transparent; pointer-events: none; -webkit-user-select: none; user-select: none;}
.shareText {display: inline-block; margin: 1rem 0 0; padding: 0.375rem 0.75rem; border-radius: 0.625rem; background: rgb(16 13 27 / 0.35); color: var(--sup-text-muted); font-size: 0.875rem;}

/* The contact form */
.submitBlock {margin: 0;}
.input {box-sizing: border-box; width: 100%; height: 3.25rem; margin: 0.5rem 0 1.25rem; padding: 0 1rem; border: 1px solid var(--sup-field-border); border-radius: 0.875rem; background: var(--sup-field-bg); color: #fff; font: 1.0625rem/1.3 var(--sup-font-ui); outline: none;}
.input:focus {border-color: var(--sup-gold);}
@media (hover: hover) {.input:hover {border-color: var(--sup-gold);}}
.input::placeholder {color: rgb(255 255 255 / 0.42);}
.input.string {max-width: 30rem;}
.input.select {max-width: 30rem; -webkit-appearance: none; -moz-appearance: none; appearance: none;}
.input.select option {background: #2a2f56; color: #fff;}
.input.textarea {max-width: 40rem; height: 9rem; padding: 0.75rem 1rem;}
/* The captcha is drawn by its script after the page opens; its place is kept from the start */
#support-turnstile {min-height: 65px;}

.button {height: 3.25rem; padding: 0 1.75rem; border: 0; border-radius: 62.5rem; background: rgb(255 255 255 / 0.16); color: #fff; font: 800 1.1875rem/1 var(--sup-font-display); letter-spacing: 0.03em; cursor: pointer;}
@media (hover: hover) {.button:hover {background: rgb(255 255 255 / 0.28);}}
.button.submit {display: block; margin: 1rem 0 0.5rem; background: var(--sup-gold); color: var(--sup-ink);}
@media (hover: hover) {.button.submit:hover {background: var(--sup-gold-light);}}

.succesBlock {margin: 1rem 0 0; padding: 1rem 1.5rem; border-radius: 1rem; background: rgb(143 214 29 / 0.14); color: #d6f5a8;}
.succesBlock.fail {background: rgb(255 120 120 / 0.14); color: #ffb0b0;}

.footerBlock {position: absolute; bottom: 0; width: 100%; padding: 4.5rem 0 1.75rem; background: linear-gradient(180deg, #1b2148 0%, #282350 55%, #3a2756 100%);}
.copyText {color: rgb(255 255 255 / 0.55); font-size: 0.875rem; text-align: center;}
