/* The help's answers, the same on novelloplayer.com/help and the account site's manual (/account/help): the ask box,
   the best answer, topics, an answer's page with its steps, fixes and vote, and the card that points to the manual.
   Self-contained: it uses only the tokens and the .btn, .chip, .eyebrow and .hint of novello.css and site-shell.css. */

.hc-wrap {
    width: 100%;
    max-width: calc(var(--site-max, 1180px) + 2 * var(--site-gutter, 20px));
    margin: 0 auto;
    padding: 0 var(--site-gutter, 20px);
}
.hc-section { padding: 28px 0; }
.hc-section:last-child { padding-bottom: 72px; }
.hc-hero { position: relative; padding: 56px 0 28px; overflow: hidden; }
.hc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(50% 90% at 50% -10%, rgba(47, 107, 240, .30), transparent 70%),
        radial-gradient(35% 60% at 88% 20%, rgba(91, 234, 162, .10), transparent 70%);
    pointer-events: none;
}
.hc-hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.hc-hero__title { max-width: 14em; font-size: clamp(40px, 6.6vw, 76px); line-height: .92; }
.hc-hero--topic .hc-hero__inner { align-items: flex-start; text-align: left; }
.hc-lead { max-width: 38em; font-size: 18px; color: var(--text-body); }
@media (min-width: 980px) { .hc-hero { padding: 84px 0 36px; } }

.hc-ask {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(720px, 100%);
    padding: 7px 7px 7px 48px;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .35);
}
.hc-ask:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 18px 44px rgba(0, 0, 0, .35); }
.hc-ask__icon { position: absolute; left: 17px; color: var(--muted); }
.hc-ask__input { flex: 1; min-width: 0; padding: 11px 0; border: 0; background: transparent; color: var(--text); font: 500 17px var(--font-body); }
.hc-ask__input:focus { outline: none; }
.hc-ask__input::placeholder { color: var(--faint); }
.hc-topic-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hc-topic-chips--left { justify-content: flex-start; margin-top: 36px; }

.hc-h2 { margin-bottom: 18px; font-size: clamp(26px, 3.4vw, 36px); }

.hc-results { display: grid; gap: 14px; justify-items: center; }
.hc-card {
    width: min(780px, 100%);
    display: grid;
    gap: 14px;
    padding: 24px 26px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
}
.hc-card--best { border-color: var(--accent-border); box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.hc-card__q { font-size: clamp(24px, 3vw, 32px); line-height: 1; }
.hc-card__q a { color: var(--text); }
.hc-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.hc-card__foot .hint { margin: 0; }
.hc-others { width: min(780px, 100%); display: grid; gap: 6px; }
.hc-label {
    margin: 0;
    font: 700 12px var(--font-body);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--faint);
}
.hc-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 12px 16px;
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
}
.hc-row:hover { border-color: var(--accent-border); text-decoration: none; }
.hc-row small { flex: none; color: var(--muted); font-weight: 400; font-size: 13px; }

.hc-short { margin: 0; color: var(--text); font-size: 18px; line-height: 1.5; }

.hc-fixes { display: grid; gap: 8px; margin-top: 4px; }
.hc-fix { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2); }
.hc-fix summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    list-style: none;
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
}
.hc-fix summary::-webkit-details-marker { display: none; }
.hc-fix summary::before { content: "If"; color: var(--cyan); font-weight: 700; margin-right: -4px; }
.hc-fix summary::after { content: "+"; margin-left: auto; color: var(--cyan); font-size: 20px; line-height: 1; }
.hc-fix[open] summary::after { content: "–"; }
.hc-fix__then { display: grid; gap: 8px; padding: 0 16px 14px; }
.hc-more { display: grid; gap: 12px; }

.hc-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; counter-reset: hc-path; }
.hc-path li { counter-increment: hc-path; }
.hc-path a {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
}
.hc-path a:hover { border-color: var(--accent-border); text-decoration: none; }
.hc-path a::before {
    content: counter(hc-path);
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #04101c;
    font: 700 16px/1 var(--font-display);
}

.hc-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.hc-topic {
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--text-body);
    transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.hc-topic:hover { border-color: var(--accent-border); transform: translateY(-2px); text-decoration: none; }
.hc-topic strong { color: var(--text); font-size: 16.5px; }
.hc-topic span { font-size: 14px; color: var(--muted); }
.hc-topic small { margin-top: 4px; font-size: 12.5px; color: var(--faint); }
.hc-topic__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 6px;
    border-radius: 10px;
    background: var(--brand-gradient-soft);
    color: var(--cyan);
}
.hc-topic__icon--lg { width: 52px; height: 52px; border-radius: 14px; }
@media (prefers-reduced-motion: reduce) { .hc-topic { transition: none; } .hc-topic:hover { transform: none; } }

.hc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.hc-cards--list { grid-template-columns: 1fr; max-width: 820px; }
.hc-qcard {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--muted);
    font-size: 14.5px;
}
.hc-qcard:hover { border-color: var(--accent-border); text-decoration: none; }
.hc-qcard strong { color: var(--text); font-size: 16.5px; line-height: 1.35; }
.hc-qcard__topic { font: 700 11.5px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }

.hc-page { display: grid; gap: 32px; padding-block: 40px 72px; }
@media (min-width: 980px) { .hc-page { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-top: 64px; } }
.hc-side { display: none; }
@media (min-width: 980px) {
    .hc-side { display: grid; align-content: start; gap: 2px; position: sticky; top: 96px; }
    .hc-side .hc-label { margin-bottom: 8px; }
    .hc-side a { padding: 7px 10px; border-radius: var(--r-sm); color: var(--muted); font-size: 14.5px; }
    .hc-side a:hover { color: var(--text); text-decoration: none; }
    .hc-side a.is-current { color: var(--text); background: var(--accent-soft); }
}
.hc-article { display: grid; gap: 18px; max-width: 46em; min-width: 0; }
.hc-crumbs { font-size: 14px; color: var(--muted); }
.hc-crumbs a { color: var(--muted); }
.hc-article__title { font-size: clamp(36px, 5.4vw, 60px); line-height: .94; }
.hc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-tag { padding: 3px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); font: 600 12.5px var(--font-body); color: var(--text-body); }
.hc-tag--plan { color: var(--mint); border-color: rgba(91, 234, 162, .35); }
.hc-tag--plain { background: transparent; color: var(--muted); }
.hc-body { display: grid; gap: 16px; padding: 22px 0; border-block: 1px solid var(--line-soft); }
.hc-body .hc-short { font-size: 19px; padding: 14px 18px; border-left: 3px solid var(--mint); background: rgba(91, 234, 162, .06); border-radius: 0 var(--r-md) var(--r-md) 0; }

.hc-vote { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.hc-vote__form { display: grid; gap: 10px; }
.hc-vote__form--row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hc-vote__q { flex: 1; margin: 0; color: var(--text); font-weight: 600; }
.hc-vote__note { width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg-2); color: var(--text); font: 15px/1.45 var(--font-body); resize: vertical; }
.hc-vote__note:focus { outline: none; border-color: var(--accent); }
.hc-vote__actions { display: flex; gap: 8px; }
.hc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hc-stuck { margin: 0; }

kbd.key {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 26px;
    padding: 0 8px;
    border: 1px solid var(--line-strong);
    border-bottom-width: 3px;
    border-radius: 7px;
    background: var(--surface-2);
    color: var(--text);
    font: 700 12.5px/1 var(--font-body);
    vertical-align: 1px;
}

.hc-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: hc-step; }
.hc-steps li { position: relative; padding-left: 50px; min-height: 34px; font-size: 16.5px; counter-increment: hc-step; }
.hc-steps li::before {
    content: counter(hc-step);
    position: absolute;
    top: -3px;
    left: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--accent-border);
    border-radius: 50%;
    color: var(--cyan);
    font: 700 17px/1 var(--font-display);
}
.hc-steps strong { color: var(--text); }

.hc-page--single { grid-template-columns: minmax(0, 1fr) !important; }
.hc-results__manual { width: min(780px, 100%); justify-self: center; margin-top: 14px; }
.hc-cards--list + .hc-results__manual { justify-self: start; max-width: 820px; }

.hc-manual {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px 18px;
    align-items: start;
    padding: 22px 24px;
    border: 1px solid var(--accent-border);
    border-radius: var(--r-lg);
    background: var(--brand-gradient-soft), var(--surface);
}
.hc-manual__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--cyan); }
.hc-manual__text { display: grid; gap: 8px; color: var(--text-body); }
.hc-manual__title { font-size: clamp(22px, 2.6vw, 28px); line-height: 1; }
.hc-manual__list { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: var(--text); font-weight: 600; }
.hc-manual__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.hc-manual__alt { font-size: 14.5px; }
@media (min-width: 760px) {
    .hc-manual { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
    .hc-manual__actions { grid-column: auto; flex-direction: column; align-items: flex-end; }
}

/* Inside the account site's frame the page already has its gutter and width. */
.acct__main .hc-wrap { padding: 0; max-width: none; }
.acct__main .hc-hero { padding: 8px 0 20px; }
.acct__main .hc-hero::before { display: none; }
.acct__main .hc-hero__inner { align-items: flex-start; text-align: left; }
.acct__main .hc-hero__title { font-size: clamp(36px, 5vw, 52px); }
.acct__main .hc-topic-chips { justify-content: flex-start; }
.acct__main .hc-results { justify-items: start; }
.acct__main .hc-page { padding-top: 8px; }
/* The account's own menu is the side column there: the topic's other answers sit under Related instead. */
.acct__main .hc-page { grid-template-columns: minmax(0, 1fr); }
.acct__main .hc-side { display: none; }