body.p2p-help { background: #121218 !important; }
body.p2p-help [hidden] { display: none !important; }
.help-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.help-header { position: fixed; top: 0; inset-inline: 0; height: 66px; background: #1e1e20; border-bottom: 1px solid #292535; z-index: 100; }
.help-header > div { max-width: 640px; height: 100%; padding: 0 24px; margin: auto; display: flex; align-items: center; gap: 12px; }
.help-header h1 { font-size: 18px; font-weight: 600; }
body.p2p-help .help-back { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #37373c; border-radius: 12px; color: #ededf1; font-size: 22px; }
body.p2p-help main.help-main { display: block; max-width: 512px; min-height: 100dvh; padding: 106px 24px 40px; margin: auto; background: #121218; color: #fafafa; }
.help-tour { display: flex; position: relative; align-items: end; overflow: hidden; isolation: isolate; padding: 18px; min-height: 112px; border-radius: 24px; background: linear-gradient(115deg, #2820b0, #38318e 50%, #151128); color: #fff !important; }
.help-tour strong { z-index: 2; font-size: 14px; font-weight: 500; }
.help-tour-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .7; }
.help-tour-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 44px; height: 44px; border: 3px solid #fff; border-radius: 50%; color: #fff; font-size: 25px; z-index: 2; }
.help-tour-art { position: absolute; inset: 0; overflow: hidden; opacity: .6; z-index: -1; }
.help-art-card { position: absolute; width: 150px; height: 170px; left: 32%; top: -25px; padding: 15px; background: linear-gradient(140deg, #a198ff99, #452fec88); border: 1px solid #c9bfff66; border-radius: 14px; transform: rotate(35deg); box-shadow: 30px 16px 0 #7768e755, -30px 10px 0 #7768e733; }
.help-art-card img { width: 30px; height: 30px; margin-bottom: 15px; }
.help-art-card span { display: block; height: 8px; margin-top: 10px; background: #c1b9ff77; border-radius: 5px; }
.help-art-coin { position: absolute; left: 14%; top: 20%; border: 2px solid #a69bff; border-radius: 50%; width: 34px; height: 34px; text-align: center; font-size: 21px; color: #c6baff; transform: rotate(-20deg); }
.help-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; padding: 12px; background: #202021; border-radius: 12px; font-size: 13px; }
.help-contact > strong { margin-right: auto; }
body.p2p-help :is(.help-outline, .help-secondary) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 8px 12px; border: 1px solid #958fec; border-radius: 10px; background: transparent; color: #a198f1; font-size: 13px; font-weight: 500; cursor: pointer; }
body.p2p-help .help-outline:hover { background: #958fec18; }
.help-outline svg { width: 16px; height: 16px; }
body.p2p-help .help-secondary { border-color: #3b3a3d; color: #b3b1bb; }
.help-notice { display: flex; align-items: start; gap: 12px; border: 1px solid #72500a; background: #2a2218; padding: 14px 16px; border-radius: 12px; margin-top: 16px; }
.help-notice > span { color: #f4ab24; font-size: 19px; }
.help-notice p { font-size: 13px; line-height: 1.7; white-space: pre-line; }
.help-answer { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 16px; margin-top: 16px; border: 0; border-radius: 12px; background: #232131; color: #a198f1; text-align: left; font-size: 13px; font-weight: 500; cursor: pointer; }
.help-answer span:last-child { margin-left: auto; }
.help-section-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.help-section-title h2, .help-social h2 { font-size: 18px; font-weight: 500; }
.help-section-title a, .help-text-button { border: 0; background: transparent; padding: 0; color: #a198f1; font-size: 13px; cursor: pointer; }
.help-videos { margin-top: 40px; }
.help-video-list { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.help-video-list.show-all { flex-wrap: wrap; }
.help-video { width: 160px; flex: 0 0 160px; scroll-snap-align: start; }
.help-video > div { aspect-ratio: 16 / 9; background: linear-gradient(130deg, #2d2855, #141126); border: 1px solid #302a4b; border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.help-video img { width: 100%; height: 100%; object-fit: cover; }
.help-video-placeholder { font-size: 32px; color: #b1a6ff; }
.help-video strong { display: block; color: #f5f4f8; font-size: 13px; font-weight: 500; margin-top: 8px; }
.help-empty { color: #9f9cae; font-size: 13px; padding: 10px 0; }
.help-faqs { margin-top: 40px; }
.help-search { position: relative; display: block; margin-bottom: 16px; }
body.p2p-help .help-search input { width: 100%; padding: 12px 44px 12px 14px; font-size: 13px; background: #202027 !important; }
.help-search > span:last-child { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); font-size: 25px; color: #aaa7b5; }
.help-categories { display: flex; flex-direction: column; }
.help-categories a { display: flex; align-items: center; gap: 16px; padding: 24px 0; color: #f7f6fa !important; }
.help-categories a > span:first-child { display: flex; color: #a198f1; }
.help-categories svg { width: 20px; height: 20px; }
.help-categories strong { font-size: 14px; font-weight: 500; }
.help-categories a > span:last-child { margin-left: auto; color: #a09da8; font-size: 24px; }
.help-question { border-bottom: 1px solid #303039; padding: 19px 0; }
.help-question summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 500; }
.help-question summary::-webkit-details-marker { display: none; }
.help-question summary > span { color: #aaa5b4; transition: transform .2s; }
.help-question[open] summary > span { transform: rotate(180deg); }
.help-question p { padding-top: 14px; color: #b7b4c2; font-size: 13px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.help-question-category { display: inline-block; margin-top: 12px; font-size: 12px; }
.help-bottom-contact { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 45px; font-size: 13px; }
.help-social { margin-top: 36px; }
.help-social h2 { margin-bottom: 10px; }
.help-social a { margin-right: 18px; font-size: 13px; }
.support-chat { position: fixed; inset: auto 20px 20px auto; width: 380px; max-width: calc(100vw - 32px); height: min(620px, calc(100dvh - 96px)); max-height: calc(100dvh - 32px); margin: 0; padding: 0; border: 1px solid #353337; border-radius: 18px; background: #141415; color: #f5f4f8; box-shadow: 0 20px 80px #0005; z-index: 200; }
.support-chat[open] { display: flex; flex-direction: column; }
.support-chat-header { display: flex; align-items: center; gap: 9px; padding: 15px 17px; border-bottom: 1px solid #333136; }
.support-chat-header img { width: 26px; height: 26px; }
.support-chat-header h2 { font-size: 16px; font-weight: 600; }
.support-chat-header button { margin-left: auto; background: transparent; border: 0; color: #bbb7c1; font-size: 26px; cursor: pointer; padding: 0 5px; }
.support-chat-welcome { text-align: center; color: #a4a0ae; padding: 20px 24px 12px; font-size: 12px; line-height: 1.6; }
.support-chat-messages { flex: 1; min-height: 50px; padding: 10px 16px; overflow-y: auto; }
.support-chat-message { width: fit-content; max-width: 88%; margin: 0 0 12px; border-radius: 12px 12px 12px 2px; padding: 9px 12px; background: #28262f; overflow-wrap: anywhere; }
.support-chat-message.from-user { margin-left: auto; background: #3e3267; border-radius: 12px 12px 2px 12px; }
.support-chat-message p { font-size: 13px; white-space: pre-wrap; line-height: 1.6; }
.support-chat-message time { display: block; margin-top: 4px; color: #b2aabd; font-size: 10px; }
.support-chat-status { padding: 0 16px; color: #c6b8a3; font-size: 12px; }
.support-signin { margin: 12px 16px; }
.support-telegram { display: flex; flex-direction: column; gap: 3px; margin: 12px 16px; padding: 12px 14px; border: 1px solid #353136; border-radius: 14px; }
.support-telegram strong { color: #eae7f0; font-size: 13px; font-weight: 500; }
.support-telegram span { color: #9792a2; font-size: 12px; }
.support-chat-form { display: flex; align-items: end; gap: 8px; padding: 12px; border-top: 1px solid #302d34; }
body.p2p-help .support-chat-form textarea { resize: none; width: 100%; min-height: 42px; max-height: 120px; padding: 10px 12px; background: #1b191f !important; font-size: 12px; }
.support-chat-form button { width: 42px; height: 42px; flex-shrink: 0; border: 0; border-radius: 12px; background: #958fec; color: #171420; cursor: pointer; }
.support-chat-footer { padding: 0 12px 12px; text-align: center; color: #7f798c; font-size: 11px; }
.support-attach { position: relative; display: grid; place-items: center; width: 36px; height: 42px; flex-shrink: 0; border: 1px solid #39333f; border-radius: 10px; cursor: pointer; }
.support-attach input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; min-height: 0 !important; }
.support-file-selected { display: flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 12px; color: #c3b8df; overflow-wrap: anywhere; }
.support-file-selected button { margin-left: auto; background: transparent; border: 0; color: #e8dfff; font-size: 22px; cursor: pointer; }
.support-chat-message > a { display: block; margin-top: 7px; font-size: 12px; }
.help-assistant { width: min(480px, calc(100vw - 32px)); max-height: 85dvh; padding: 0 0 20px; margin: auto; border: 1px solid #464052; border-radius: 18px; background: #1c1825; color: #f4f0fa; }
.help-assistant::backdrop { background: #0009; backdrop-filter: blur(4px); }
.help-assistant > p, #helpAssistantAnswers, #helpAssistantForm { padding: 14px 20px; font-size: 13px; line-height: 1.7; }
#helpAssistantForm { display: flex; gap: 10px; }#helpAssistantInput { width: 100%; min-width: 0; padding: 10px; }
.help-assistant button:not(#helpAssistantClose) { background: #9e91ef; color: #1b1529; padding: 9px 12px; border: 0; border-radius: 9px; cursor: pointer; font: inherit; }
#helpAssistantAnswers article { border: 1px solid #44384f; padding: 14px; border-radius: 10px; margin-bottom: 12px; }#helpAssistantAnswers h3 { font-size: 14px; margin-bottom: 8px; }#helpAssistantAnswers p { white-space: pre-line; }#helpAssistantAnswers a { display: inline-block; margin-top: 10px; }#helpAssistantContact { margin-inline: 20px; }
@media(max-width:600px) {
  body.p2p-help main.help-main { padding: 92px 22px 32px; }
  .help-header > div { padding-inline: 22px; }
  .help-contact { gap: 10px; }
  .help-contact > strong { width: 100%; }
  .support-chat { inset: 80px 12px 12px; width: auto; max-width: none; height: auto; max-height: none; }
  .help-bottom-contact { align-items: start; flex-direction: column; }
}
