/*
 * Pico CSS v2.1.1 — locally extracted buttons, articles and details; scoped to .musehelp.
 * Source: data/ldo/pico/pico.css. Layout and theme adapted for Muse self-check.
 * MIT License
 *
 * Copyright (c) 2019-2024 Pico
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

/* Pico's local button/article/details rules remain scoped to this site. */
.musehelp-shell { width: 100%; max-width: 752px; margin: 0 auto; padding: 16px; }
.musehelp {
  --pico-line-height: 1.65;
  --pico-spacing: 1rem;
  --pico-border-width: 1px;
  --pico-border-radius: 1rem;
  --pico-outline-width: 3px;
  --pico-transition: .18s ease-in-out;
  --pico-form-element-spacing-vertical: .8rem;
  --pico-form-element-spacing-horizontal: 1rem;
  --pico-primary-background: #2873ff;
  --pico-primary-border: #2873ff;
  --pico-primary-hover-background: #1555cb;
  --pico-primary-hover-border: #1555cb;
  --pico-primary-inverse: #fff;
  --pico-primary-focus: #2873ff33;
  --pico-color: #171b22;
  --pico-card-background-color: #fff;
  --pico-card-box-shadow: 0 4px 18px #233e6805;
  --pico-block-spacing-vertical: 1.25rem;
  --pico-block-spacing-horizontal: 1.25rem;
  --pico-accordion-close-summary-color: #303b4d;
  --pico-accordion-open-summary-color: #2873ff;
  color: var(--pico-color);
  line-height: var(--pico-line-height);
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  overflow-wrap: anywhere;
}
.musehelp *, .musehelp *::before, .musehelp *::after { box-sizing: border-box; }
.musehelp [hidden] { display: none !important; }
.musehelp h1, .musehelp h2, .musehelp h3, .musehelp p { margin: 0 0 1rem; }
.musehelp h1 { font-size: clamp(2.1rem, 9.5vw, 3.25rem); line-height: 1.22; font-weight: 850; letter-spacing: -.045em; }
.musehelp h1 span { display: block; color: #2873ff; margin-top: .15rem; }
.musehelp h2 { font-size: 1.12rem; line-height: 1.4; font-weight: 750; }
.musehelp h3 { font-size: .95rem; line-height: 1.55; font-weight: 700; }
.musehelp ul, .musehelp ol { margin: 0; padding-left: 1.15rem; }
.musehelp li { padding-left: .2rem; margin: 0 0 .65rem; }
.musehelp li:last-child { margin-bottom: 0; }

/* Pico button base, applied only to controls owned by the self-check. */
.musehelp :is(button.mh-step, .mh-gate-cta, .mh-bonus-copy) {
  margin: 0;
  overflow: visible;
  font-family: inherit;
  text-transform: none;
  -webkit-appearance: button;
  --pico-background-color: var(--pico-primary-background);
  --pico-border-color: var(--pico-primary-border);
  --pico-button-color: var(--pico-primary-inverse);
  --pico-box-shadow: 0 0 0 transparent;
  padding: var(--pico-form-element-spacing-vertical) var(--pico-form-element-spacing-horizontal);
  border: var(--pico-border-width) solid var(--pico-border-color);
  border-radius: var(--pico-border-radius);
  outline: none;
  background-color: var(--pico-background-color);
  box-shadow: var(--pico-box-shadow);
  color: var(--pico-button-color);
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--pico-transition), border-color var(--pico-transition), color var(--pico-transition), box-shadow var(--pico-transition);
}
.musehelp :is(button.mh-step, .mh-gate-cta, .mh-bonus-copy):focus-visible {
  outline: 3px solid #175fe7;
  outline-offset: 4px;
}
.musehelp article {
  margin-bottom: var(--pico-block-spacing-vertical);
  padding: var(--pico-block-spacing-vertical) var(--pico-block-spacing-horizontal);
  border-radius: var(--pico-border-radius);
  background: var(--pico-card-background-color);
  box-shadow: var(--pico-card-box-shadow);
  border: 1px solid #dce5f4;
}
.musehelp details { display: block; margin-bottom: var(--pico-spacing); }
.musehelp details summary {
  line-height: var(--pico-line-height);
  list-style-type: none;
  cursor: pointer;
  transition: color var(--pico-transition);
  color: var(--pico-accordion-close-summary-color);
  font-weight: 600;
}
.musehelp details summary::-webkit-details-marker { display: none; }
.musehelp details summary::marker { display: none; }
.musehelp details summary::after {
  content: "";
  display: block;
  width: .5rem;
  height: .5rem;
  margin: .5rem 2px 0 calc(var(--pico-spacing) * .5);
  float: right;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--pico-transition);
}
.musehelp details[open] > summary { margin-bottom: var(--pico-spacing); color: var(--pico-accordion-open-summary-color); }
.musehelp details[open] > summary::after { transform: rotate(225deg); }
.musehelp details summary:focus-visible { outline: 2px solid #2873ff; outline-offset: 4px; }

/* Long-image v3: blue hero and five numbered cards. */
.musehelp .mh-top { display: grid; gap: 1.1rem; margin: .8rem 0 1.8rem; }
.musehelp .mh-hero { padding: .4rem 0; }
.musehelp .mh-pill { display: inline-block; margin: .15rem 0 0; border-radius: 2rem; background: #e7efff; color: #2561ce; padding: .55rem .8rem; font-size: .73rem; font-weight: 650; line-height: 1.6; }
.musehelp .mh-step-card { padding: 0; border: 0; box-shadow: none; background: transparent; scroll-margin-top: 1rem; margin-bottom: 1.5rem; }
.musehelp .mh-step-card > h2 { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .65rem; margin: 0 0 .7rem; }
.musehelp .mh-step-card > h2:focus { outline: none; }
.musehelp button.mh-step { display: flex; flex: 1 1 240px; align-items: center; gap: .65rem; min-width: 0; min-height: 48px; width: 100%; padding: 0; background: transparent; border: 0; border-radius: .5rem; color: #171b22; text-align: left; font-size: 1.13rem; font-weight: 800; line-height: 1.35; }
.musehelp .mh-number { flex: 0 0 36px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #2873ff; color: #fff; font-size: 1.4rem; font-weight: 700; }
.musehelp .mh-step-title { flex: 1; min-width: 0; }
.musehelp .mh-hot-badge { font-size: .72rem; font-weight: 700; color: #fff; background: #ff573f; padding: .28rem .65rem; border-radius: 1rem; white-space: nowrap; }
.musehelp .mh-unverified { display: inline-block; font-size: .7rem; font-weight: 700; color: #80520c; background: #fff1ce; padding: .25rem .6rem; border: 1px solid #f1d793; border-radius: 1rem; white-space: nowrap; }
.musehelp .mh-tested { display: inline-block; font-size: .7rem; font-weight: 650; color: #2869dd; background: #eaf1ff; padding: .3rem .6rem; border-radius: 1rem; }
.musehelp .mh-tested-label { margin-bottom: .3rem; color: #2869dd; font-size: .8rem; font-weight: 650; }
.musehelp .mh-preview { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: .9rem; align-items: center; padding: 1rem; border: 1px solid #d8e5ff; border-radius: .9rem; background: #fff; }
.musehelp .mh-icon { display: block; width: 32px; height: 32px; object-fit: contain; }
.musehelp .mh-preview-copy p { margin: 0 0 .4rem; line-height: 1.65; font-size: .87rem; }
.musehelp .mh-preview-copy p:last-child { margin: 0; }
.musehelp .mh-preview-copy b { font-weight: 750; color: #171b22; }
.musehelp .mh-problem span, .musehelp .mh-solution span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.musehelp .mh-solution { color: #2869dd; font-weight: 600; }
.musehelp .mh-network-note { margin: .75rem 0; padding: 1rem; border: 1px solid #ebc76b; border-radius: .9rem; background: #fff5da; color: #775411; }
.musehelp .mh-network-note p { margin: 0 0 .5rem; font-size: .87rem; line-height: 1.75; }
.musehelp .mh-card-hot .mh-preview { border: 2px solid #2873ff; background: #f4f8ff; }
.musehelp .mh-active .mh-preview { border: 2px solid #2873ff; border-radius: .9rem .9rem 0 0; }
.musehelp .mh-result { margin-top: .65rem; padding: 1.1rem; border: 1px solid #d8e5ff; border-radius: .9rem; background: #fff; }
.musehelp .mh-active .mh-result { margin-top: 0; border: 2px solid #2873ff; border-top: 0; border-radius: 0 0 .9rem .9rem; }
.musehelp .mh-label { font-size: .74rem; line-height: 1.7; color: #6e7c91; }
.musehelp .mh-facts { margin-bottom: 1.2rem; }
.musehelp .mh-facts h3 { color: #42536e; font-size: .84rem; }
.musehelp .mh-advice { background: #f0f5ff; border-radius: .7rem; padding: 1rem; margin-bottom: 1.15rem; }
.musehelp .mh-advice h3 { color: #2465d7; }
.musehelp .mh-advice .mh-unverified { margin: .25rem 0 .1rem .4rem; vertical-align: middle; }
.musehelp .mh-source { color: #758197; font-size: .7rem; line-height: 1.8; margin: 0; }
.musehelp .mh-exits:not(:empty) { border-top: 1px solid #e4ebf6; margin-top: 1.1rem; padding-top: 1.1rem; }

/* Step ④ keeps the Muse code inside its own amber card. */
.musehelp .mh-card-bonus { padding: 1rem; border: 1px solid #ffc65c; border-radius: 1rem; background: #fff8e9; }
.musehelp .mh-card-bonus .mh-number { background: #f0a51d; }
.musehelp .mh-card-bonus .mh-step { color: #775210; }
.musehelp .mh-card-bonus .mh-preview { border: 0; border-radius: .5rem; background: transparent; padding: .4rem 0; }
.musehelp .mh-card-bonus .mh-problem span { display: inline; overflow: visible; -webkit-line-clamp: unset; }
.musehelp .mh-card-bonus .mh-preview-copy b, .musehelp .mh-card-bonus .mh-problem { color: #775a20; }
.musehelp .mh-card-bonus .mh-solution { display: none; }
.musehelp .mh-bonus-box { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin: .8rem 0 0; }
.musehelp #mh-bonus-code { display: block; padding: .35rem .75rem; border: 2px solid #efa52a; border-radius: .6rem; background: #fff; color: #bd710e; font-family: inherit; font-size: 1.65rem; font-weight: 850; letter-spacing: .03em; }
.musehelp .mh-bonus-copy { min-height: 48px; background: #eda521; border-color: #eda521; color: #38270a; padding: .5rem .9rem; border-radius: .6rem; font-size: .85rem; }
.musehelp .mh-bonus-copy:disabled { opacity: .5; cursor: default; }
.musehelp #mh-bonus-copy-status { color: #775210; font-size: .75rem; }
.musehelp .mh-card-bonus .mh-result { border-color: #f3cd7b; margin-top: 1rem; border-radius: .8rem; }
.musehelp .mh-card-bonus.mh-active .mh-result { border-top: 1px solid #f3cd7b; border-width: 1px; }

/* Both Gate positions use the requested blue gradient, with local counted CTAs. */
.musehelp .mh-gate { background: linear-gradient(135deg, #2c75ff, #1645c2); color: #fff; border-radius: 1rem; padding: 1.25rem; text-align: center; }
.musehelp .mh-gate h2, .musehelp .mh-gate h3 { color: #fff; font-size: 1.4rem; font-weight: 800; margin-bottom: .45rem; }
.musehelp .mh-gate p { font-size: 1rem; margin-bottom: .9rem; }
.musehelp .mh-gate strong { font-weight: 650; letter-spacing: .02em; }
.musehelp .mh-ad-label { display: block; font-size: .68rem; color: #dce8ff; margin-bottom: .35rem; }
.musehelp .mh-gate-cta { display: block; width: 100%; min-height: 48px; background: #fff; border-color: #fff; border-radius: .6rem; color: #1d56d3; font-size: .95rem; }
.musehelp .mh-gate-cta:hover { background: #edf3ff; }
.musehelp #mh-gate-box { width: 100%; max-width: none; margin: 0 0 1rem; }
.musehelp #mh-gate-box .mh-gate-summary { font-size: .85rem; line-height: 1.7; color: #e7efff; }
.musehelp .mh-funding { margin-bottom: 1.75rem; }
.musehelp .mh-exits .mh-gate { margin-bottom: 1rem; }
.musehelp .okx-card { margin: 0; }
.musehelp .okx-title { font-size: 1rem; line-height: 1.55; }
.musehelp .okx-btns { flex-wrap: wrap; }
.musehelp .okx-copy { white-space: normal; overflow-wrap: anywhere; }
.musehelp #mh-faq { margin-top: 1.5rem; }
.musehelp #mh-faq details { padding: .9rem 0; border-bottom: 1px solid #e7edf7; margin: 0; }
.musehelp #mh-faq details:last-child { border-bottom: 0; }
.musehelp #mh-faq summary { padding-right: 1rem; font-size: .87rem; }
.musehelp #mh-faq summary::after { margin-right: -.8rem; }
.musehelp #mh-faq p { font-size: .85rem; margin: 0; color: #62728a; }
.musehelp .mh-footer { margin: 2rem 0; font-size: .74rem; color: #768299; text-align: center; }

@media (min-width: 700px) {
  .musehelp .mh-top { margin-top: 1.4rem; }
  .musehelp h1 { font-size: 2.75rem; }
  .musehelp .mh-pill { font-size: .78rem; }
  .musehelp button.mh-step { font-size: 1.35rem; }
  .musehelp .mh-preview { grid-template-columns: 40px minmax(0, 1fr); padding: 1.3rem 1.5rem; gap: 1.4rem; }
  .musehelp .mh-icon { width: 36px; height: 36px; }
  .musehelp .mh-preview-copy p { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .musehelp *, .musehelp *::before, .musehelp *::after { transition: none !important; }
}
