/* Mantém o submenu acima das seções da home, inclusive após o salto para #recursos. */
.home-site .site-header, .plan-site .site-header { z-index: 110; isolation: isolate; }
.nav-help { position: relative; z-index: 1; }
.nav-help[open] { z-index: 2; }
.nav-help summary {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: rgba(255,255,255,.68);
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.nav-help summary::-webkit-details-marker { display: none; }
.nav-help summary::after { content: "▾"; font-size: .72rem; line-height: 1; }
.nav-help[open] summary,
.nav-help.is-current summary,
.nav-help summary:hover { color: #f6d653; }
.nav-help summary:focus-visible { outline: 2px solid #f6d653; outline-offset: 4px; }
.nav-help-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 168px;
  padding: 6px;
  border: 1px solid rgba(246,241,229,.16);
  border-radius: 10px;
  background: #171a16;
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
  transform: translateX(-50%);
}
.nav-help-menu a {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border-radius: 7px;
  color: #f6f1e5 !important;
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
}
.nav-help-menu a:hover,
.nav-help-menu a[aria-current="page"] { background: rgba(246,214,83,.12); color: #f6d653 !important; text-decoration: none; }
.nav-account-menu form { margin: 0; }
.nav-account-menu button { display: flex; width: 100%; min-height: 38px; align-items: center; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: #f6f1e5; font: 700 .84rem inherit; text-align: left; cursor: pointer; }
.nav-account-menu button:hover,
.nav-account-menu button:focus-visible { outline: 0; background: rgba(241,124,114,.15); color: #ffaca3; }
html[data-theme=light] .nav-account-menu button { color: #24271f; }
html[data-theme=light] .nav-account-menu button:hover,
html[data-theme=light] .nav-account-menu button:focus-visible { background: rgba(178,54,42,.1); color: #9a3027; }

.help-main { padding: 64px 0 80px; }
.help-hero { max-width: 740px; }
.help-hero h1 { margin: 0; color: #f6f1e5; font-family: "Archivo Black", Impact, sans-serif; font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 400; line-height: .86; letter-spacing: -.05em; text-transform: uppercase; }
.help-hero h1 em { color: #f6d653; font-style: normal; }
.help-hero > p { max-width: 620px; margin: 1.3rem 0 0; color: #c7c9bd; font-size: 1.05rem; line-height: 1.7; }
.help-link { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(240px,.7fr); gap: 28px; margin-top: 48px; }
.help-link h2, .help-group h2 { margin: 0 0 18px; color: #f6f1e5; font-family: "Archivo Black", Impact, sans-serif; font-size: 1.35rem; font-weight: 400; letter-spacing: -.03em; text-transform: uppercase; }
.help-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: help-step; }
.help-steps li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; align-items: start; color: #d7d9d0; line-height: 1.6; }
.help-steps li::before { counter-increment: help-step; content: counter(help-step); display: grid; width: 34px; height: 34px; place-items: center; border-radius: 8px; background: #f6d653; color: #171912; font-weight: 800; }
.help-steps a { color: #f6d653; font-weight: 700; }
.help-url { color: #f6f1e5; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
.help-link aside { align-self: start; padding: 22px; border: 1px solid rgba(246,214,83,.35); border-radius: 14px; background: #1c201b; }
.help-link aside p { margin: 0 0 10px; color: #f6d653; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.help-link aside code, .help-note code, .help-command code { color: #f6d653; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.help-link aside code { display: block; color: #f6f1e5; font-size: 1.05rem; line-height: 1.45; overflow-wrap: anywhere; }
.help-link aside small { display: block; margin-top: 14px; color: #b7bbae; line-height: 1.55; }
.help-link aside small span { color: #f6f1e5; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.help-note { display: grid; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(246,241,229,.12); }
.help-note p { margin: 0; color: #c7c9bd; line-height: 1.6; }
.help-commands { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; margin-top: 54px; }
.help-command { padding: 14px 0; border-top: 1px solid rgba(246,241,229,.12); }
.help-command code { display: block; margin-bottom: 6px; font-size: .92rem; overflow-wrap: anywhere; }
.help-command p { margin: 0; color: #b7bbae; line-height: 1.55; }

html[data-theme=light] .nav-help summary { color: #5c6257; }
html[data-theme=light] .nav-help[open] summary,
html[data-theme=light] .nav-help.is-current summary,
html[data-theme=light] .nav-help summary:hover { color: #806b10; }
html[data-theme=light] .nav-help-menu { border-color: rgba(36,39,31,.14); background: #fffdf8; box-shadow: 0 16px 34px rgba(54,48,32,.12); }
html[data-theme=light] .nav-help-menu a { color: #24271f !important; }
html[data-theme=light] .nav-help-menu a:hover,
html[data-theme=light] .nav-help-menu a[aria-current="page"] { background: rgba(138,109,18,.1); color: #806b10 !important; }
html[data-theme=light] .help-hero h1,
html[data-theme=light] .help-link h2,
html[data-theme=light] .help-group h2,
html[data-theme=light] .help-url,
html[data-theme=light] .help-link aside code { color: #24271f; }
html[data-theme=light] .help-hero > p,
html[data-theme=light] .help-steps li,
html[data-theme=light] .help-note p,
html[data-theme=light] .help-command p,
html[data-theme=light] .help-link aside small { color: #5c6256; }
html[data-theme=light] .help-link aside { border-color: rgba(138,109,18,.35); background: #fffdf8; }
html[data-theme=light] .help-link aside small span,
html[data-theme=light] .help-command code,
html[data-theme=light] .help-note code { color: #806b10; }
html[data-theme=light] .help-command,
html[data-theme=light] .help-note { border-color: rgba(36,39,31,.12); }

/* Tratamento editorial: ritmo de leitura e superfícies menos utilitárias. */
.help-page .site-main { position: relative; }
.help-page .site-main::before { content: "LAST.FM"; position: absolute; z-index: -1; top: 28px; right: -12px; color: rgba(246,214,83,.035); font: clamp(5rem,15vw,12rem)/.8 "Archivo Black",Impact,sans-serif; letter-spacing: -.08em; pointer-events: none; }
.help-hero { position: relative; padding: 4px 0 12px; }
.help-hero .section-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: #e9d873; }
.help-hero .section-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.help-hero > p { max-width: 560px; font-size: 1.08rem; }
.lastfm-intro { display: grid; grid-template-columns: 68px minmax(0,1.25fr) minmax(250px,.85fr); gap: 22px; align-items: start; max-width: 1120px; margin-top: 52px; padding: 26px 0; border-block: 1px solid rgba(246,241,229,.14); }
.lastfm-intro-mark { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(246,214,83,.45); border-radius: 50%; color: #f6d653; font: .77rem/1 "Archivo Black",Impact,sans-serif; letter-spacing: -.06em; }
.lastfm-intro .section-kicker { margin: 0 0 8px; color: #e9d873; font-size: .66rem; }
.lastfm-intro .section-kicker::before { width: 18px; }
.lastfm-intro h2 { margin: 0; color: #f6f1e5; font: 400 clamp(1.45rem,2.2vw,2rem)/1 "Archivo Black",Impact,sans-serif; letter-spacing: -.045em; text-transform: uppercase; }
.lastfm-intro h2 em { color: #f6d653; font-style: normal; }
.lastfm-intro > div > p:last-child, .lastfm-intro-note p { margin: 12px 0 0; color: #b8bdb2; font-size: .9rem; line-height: 1.65; }
.lastfm-intro strong { color: #f6f1e5; }
.lastfm-intro-note { padding-left: 22px; border-left: 1px solid rgba(246,241,229,.14); }
.lastfm-intro-note strong { display: block; color: #e9d873; font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; }
.lastfm-intro-note p { margin-top: 8px; font-size: .82rem; }
.spotify-guide { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 12px 20px; align-items: center; max-width: 1120px; margin-top: 26px; padding: 22px 0 24px; border-bottom: 1px solid rgba(246,241,229,.14); }
.spotify-guide-symbol { display: grid; width: 42px; height: 42px; place-items: center; }
.spotify-guide-symbol svg { display: block; width: 42px; height: 42px; }
.spotify-guide-symbol .spotify-disc { fill: #1ED760; }
.spotify-guide-symbol .spotify-waves { fill: #191414; }
.spotify-guide .section-kicker { margin: 0 0 6px; color: #79cc98; font-size: .64rem; }
.spotify-guide .section-kicker::before { width: 17px; }
.spotify-guide h2 { margin: 0; color: #f6f1e5; font: 400 clamp(1.25rem,2vw,1.7rem)/1 "Archivo Black",Impact,sans-serif; letter-spacing: -.045em; text-transform: uppercase; }
.spotify-guide h2 em { color: #62c488; font-style: normal; }
.spotify-guide > div > p:last-child { max-width: 700px; margin: 10px 0 0; color: #b8bdb2; font-size: .88rem; line-height: 1.62; }
.spotify-guide-link { display: inline-flex; align-items: center; gap: 13px; min-height: 38px; padding: 0 12px 0 14px; border: 1px solid rgba(98,196,136,.4); border-radius: 7px; color: #a6ddb9; font-size: .74rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.spotify-guide-link b { font-size: 1rem; }
.spotify-guide-link:hover { border-color: #62c488; background: rgba(98,196,136,.1); color: #d2f1dc; text-decoration: none; }
.spotify-guide-steps { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 7px 22px; margin: 4px 0 0; padding: 0; color: #92998e; font-size: .75rem; list-style: none; counter-reset: spotify; }
.spotify-guide-steps li { counter-increment: spotify; }
.spotify-guide-steps li::before { content: counter(spotify) "."; margin-right: 5px; color: #62c488; font-weight: 800; }
.spotify-guide-steps strong { color: #d8ded4; }
.scrobbler-guide { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(28px,5vw,68px); max-width: 1120px; margin-top: 34px; padding: 30px 0; border-bottom: 1px solid rgba(246,241,229,.14); }
.scrobbler-guide .section-kicker { margin: 0 0 9px; color: #e9d873; font-size: .66rem; }
.scrobbler-guide .section-kicker::before { width: 18px; }
.scrobbler-guide h2 { margin: 0; color: #f6f1e5; font: 400 clamp(1.35rem,2.1vw,1.85rem)/1.05 "Archivo Black",Impact,sans-serif; letter-spacing: -.05em; text-transform: uppercase; }
.scrobbler-guide h2 em { color: #f6d653; font-style: normal; }
.scrobbler-guide-heading > p:last-child { margin: 14px 0 0; color: #b8bdb2; font-size: .88rem; line-height: 1.62; }
.scrobbler-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.scrobbler-option { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid rgba(246,241,229,.13); border-radius: 10px; background: rgba(246,241,229,.025); }
.scrobbler-option-top { display: grid; gap: 7px; }
.scrobbler-platform { color: #9ca397; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.scrobbler-option strong { color: #f6f1e5; font-size: .9rem; }
.scrobbler-option p { margin: 12px 0 16px; color: #aeb4a8; font-size: .79rem; line-height: 1.55; }
.scrobbler-option a { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; color: #f6d653; font-size: .72rem; font-weight: 800; }
.scrobbler-option a:hover { color: #fff2a6; text-decoration: none; }
.scrobbler-option a b { font-size: .95rem; }
.help-link { position: relative; gap: clamp(30px,5vw,68px); margin-top: 56px; padding-top: 30px; border-top: 1px solid rgba(246,241,229,.14); }
.help-link > div { max-width: 680px; }
.help-link h2, .help-group h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 1.1rem; letter-spacing: .02em; }
.help-link h2::before, .help-group h2::before { content: ""; width: 9px; height: 9px; border: 2px solid #f6d653; border-radius: 50%; box-sizing: border-box; }
.help-steps { gap: 18px; }
.help-steps li { grid-template-columns: 28px minmax(0,1fr); gap: 14px; color: #d0d4ca; }
.help-steps li::before { width: 28px; height: 28px; border: 1px solid rgba(246,214,83,.42); border-radius: 50%; background: transparent; color: #f6d653; font-size: .72rem; font-variant-numeric: tabular-nums; }
.help-steps strong { color: #f6f1e5; }
.help-link aside { position: relative; overflow: hidden; padding: 26px; border-color: rgba(246,214,83,.28); border-radius: 12px; background: linear-gradient(145deg,rgba(246,214,83,.10),rgba(28,32,27,.98) 44%); box-shadow: inset 0 1px rgba(255,255,255,.05),0 18px 44px rgba(0,0,0,.16); }
.help-link aside::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #f6d653; }
.help-link aside p { color: #e9d873; }
.command-snippet { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.command-snippet code { min-width: 0; overflow: hidden; color: #f3d972; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }
.command-snippet-primary { margin: 14px 0 18px; padding: 12px 0; border-block: 1px solid rgba(246,241,229,.13); }
.command-snippet-primary code { color: #f6f1e5; font-size: .94rem; }
.copy-command { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; min-height: 30px; padding: 0 9px; border: 1px solid rgba(246,241,229,.17); border-radius: 6px; background: rgba(246,241,229,.04); color: #c9cdc1; font: 700 .68rem/1 "DM Sans",sans-serif; letter-spacing: .03em; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease; }
.copy-command > span:first-child { font-size: .94rem; line-height: 1; }
.copy-command:hover { border-color: rgba(246,214,83,.55); background: rgba(246,214,83,.10); color: #f6d653; }
.copy-command:active { transform: scale(.96); }
.copy-command:focus-visible { outline: 2px solid #f6d653; outline-offset: 3px; }
.copy-command.is-copied { border-color: rgba(123,202,150,.65); background: rgba(123,202,150,.12); color: #abdbb7; }
.help-link aside small { font-size: .78rem; }
.help-note { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; padding: 16px 0 0 18px; border-top-color: rgba(246,241,229,.15); border-left: 2px solid #f6d653; }
.help-note p { font-size: .9rem; }
.help-note code { color: #f6f1e5; font-size: .9em; }
.command-catalog { margin-top: 78px; }
.command-catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.command-catalog-head .section-kicker { margin: 0 0 8px; color: #e9d873; font-size: .66rem; }
.command-catalog-head .section-kicker::before { width: 18px; }
.command-catalog h2 { margin: 0; color: #f6f1e5; font: 400 clamp(1.55rem,2.5vw,2.25rem)/1 "Archivo Black",Impact,sans-serif; letter-spacing: -.05em; text-transform: uppercase; }
.command-catalog h2 em { color: #f6d653; font-style: normal; }
.command-search { display: flex; align-items: center; width: min(100%,310px); height: 42px; gap: 8px; padding: 0 12px; border: 1px solid rgba(246,241,229,.18); border-radius: 8px; background: rgba(246,241,229,.035); color: #aeb4a8; }
.command-search:focus-within { border-color: rgba(246,214,83,.7); box-shadow: 0 0 0 3px rgba(246,214,83,.1); }
.command-search span { color: #f6d653; font-size: 1.15rem; }
.command-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #f6f1e5; font: 500 .82rem "DM Sans",sans-serif; }
.command-search input::placeholder { color: #858b80; }
.command-filters { display: flex; gap: 8px; margin-top: 26px; padding-bottom: 18px; overflow-x: auto; scrollbar-width: thin; }
.command-filter { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; min-height: 34px; padding: 0 11px; border: 1px solid rgba(246,241,229,.13); border-radius: 6px; background: transparent; color: #aeb4a8; font: 700 .7rem "DM Sans",sans-serif; letter-spacing: .035em; cursor: pointer; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.command-filter span { color: #747a70; font-size: .62rem; }
.command-filter:hover { border-color: rgba(246,214,83,.4); color: #f6f1e5; }
.command-filter.is-active { border-color: #f6d653; background: #f6d653; color: #171912; }
.command-filter.is-active span { color: #62571e; }
.command-filter:focus-visible { outline: 2px solid #f6d653; outline-offset: 3px; }
.command-empty { margin: 24px 0 0; padding: 20px; border-left: 2px solid #f6d653; background: rgba(246,214,83,.06); color: #c7c9bd; font-size: .9rem; }
.command-empty code { color: #f6d653; }
.help-commands { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 50px 52px; margin-top: 26px; }
.help-group { min-width: 0; }
.help-group:not(.is-visible) { display: none; }
.help-group h2 { justify-content: flex-start; padding-bottom: 14px; border-bottom: 1px solid rgba(246,241,229,.16); }
.help-group h2 span { margin-left: auto; color: #858b80; font-family: "DM Sans",sans-serif; font-size: .66rem; font-weight: 700; letter-spacing: .09em; }
.help-command { position: relative; padding: 17px 0 17px 14px; border-top-color: rgba(246,241,229,.08); }
.help-command::before { content: ""; position: absolute; left: 0; top: 29px; width: 3px; height: 3px; border-radius: 50%; background: #777d70; }
.help-command:hover::before { background: #f6d653; }
.help-command p { max-width: 490px; margin-top: 7px; color: #aeb4a8; font-size: .9rem; }
html[data-theme=light] .help-page .site-main::before { color: rgba(128,107,16,.05); }
html[data-theme=light] .lastfm-intro { border-color: rgba(36,39,31,.14); }
html[data-theme=light] .lastfm-intro-mark { border-color: rgba(128,107,16,.45); color: #806b10; }
html[data-theme=light] .lastfm-intro h2, html[data-theme=light] .lastfm-intro strong { color: #24271f; }
html[data-theme=light] .lastfm-intro h2 em, html[data-theme=light] .lastfm-intro .section-kicker, html[data-theme=light] .lastfm-intro-note strong { color: #806b10; }
html[data-theme=light] .lastfm-intro > div > p:last-child, html[data-theme=light] .lastfm-intro-note p { color: #5c6256; }
html[data-theme=light] .lastfm-intro-note { border-color: rgba(36,39,31,.14); }
html[data-theme=light] .help-hero .section-kicker { color: #806b10; }
html[data-theme=light] .spotify-guide { border-color: rgba(36,39,31,.14); }
html[data-theme=light] .spotify-guide h2, html[data-theme=light] .spotify-guide-steps strong { color: #24271f; }
html[data-theme=light] .spotify-guide > div > p:last-child { color: #5c6256; }
html[data-theme=light] .spotify-guide-link { border-color: rgba(44,141,80,.42); color: #287645; }
html[data-theme=light] .spotify-guide-link:hover { border-color: #287645; background: rgba(44,141,80,.08); color: #1d5c34; }
html[data-theme=light] .spotify-guide-steps { color: #5c6256; }
html[data-theme=light] .scrobbler-guide { border-color: rgba(36,39,31,.14); }
html[data-theme=light] .scrobbler-guide h2, html[data-theme=light] .scrobbler-option strong { color: #24271f; }
html[data-theme=light] .scrobbler-guide-heading > p:last-child, html[data-theme=light] .scrobbler-option p { color: #5c6256; }
html[data-theme=light] .scrobbler-option { border-color: rgba(36,39,31,.14); background: rgba(36,39,31,.018); }
html[data-theme=light] .scrobbler-option a { color: #806b10; }
html[data-theme=light] .scrobbler-option a:hover { color: #5d4d0b; }
html[data-theme=light] .help-link { border-top-color: rgba(36,39,31,.14); }
html[data-theme=light] .help-link h2::before, html[data-theme=light] .help-group h2::before { border-color: #806b10; }
html[data-theme=light] .help-steps strong, html[data-theme=light] .help-note code { color: #24271f; }
html[data-theme=light] .help-steps li::before { border-color: rgba(128,107,16,.45); color: #806b10; }
html[data-theme=light] .help-link aside { border-color: rgba(128,107,16,.28); background: linear-gradient(145deg,rgba(246,214,83,.20),#fffdf8 48%); box-shadow: inset 0 1px rgba(255,255,255,.86),0 16px 34px rgba(54,48,32,.08); }
html[data-theme=light] .help-link aside p, html[data-theme=light] .command-snippet code { color: #806b10; }
html[data-theme=light] .command-snippet-primary code { color: #24271f; }
html[data-theme=light] .command-snippet-primary { border-color: rgba(36,39,31,.12); }
html[data-theme=light] .copy-command { border-color: rgba(36,39,31,.16); background: rgba(36,39,31,.03); color: #5c6256; }
html[data-theme=light] .copy-command:hover { border-color: rgba(128,107,16,.52); background: rgba(138,109,18,.09); color: #806b10; }
html[data-theme=light] .copy-command.is-copied { border-color: rgba(55,130,83,.55); background: rgba(55,130,83,.1); color: #27693f; }
html[data-theme=light] .help-link aside code { border-color: rgba(36,39,31,.12); }
html[data-theme=light] .help-note { border-top-color: rgba(36,39,31,.14); border-left-color: #806b10; }
html[data-theme=light] .command-catalog h2, html[data-theme=light] .command-search input { color: #24271f; }
html[data-theme=light] .command-catalog h2 em, html[data-theme=light] .command-catalog-head .section-kicker, html[data-theme=light] .command-search span { color: #806b10; }
html[data-theme=light] .command-search { border-color: rgba(36,39,31,.17); background: rgba(36,39,31,.025); }
html[data-theme=light] .command-search:focus-within { border-color: rgba(128,107,16,.6); box-shadow: 0 0 0 3px rgba(138,109,18,.1); }
html[data-theme=light] .command-filter { border-color: rgba(36,39,31,.15); color: #5c6256; }
html[data-theme=light] .command-filter span { color: #858b80; }
html[data-theme=light] .command-filter:hover { border-color: rgba(128,107,16,.44); color: #24271f; }
html[data-theme=light] .command-filter.is-active { border-color: #806b10; background: #806b10; color: #fffdf8; }
html[data-theme=light] .command-filter.is-active span { color: #f3dd9b; }
html[data-theme=light] .command-empty { background: rgba(138,109,18,.06); border-color: #806b10; color: #5c6256; }
html[data-theme=light] .command-empty code { color: #806b10; }
html[data-theme=light] .help-group h2 { border-color: rgba(36,39,31,.14); }
html[data-theme=light] .help-command { border-color: rgba(36,39,31,.09); }
html[data-theme=light] .help-command::before { background: #98a092; }
html[data-theme=light] .help-command:hover::before { background: #806b10; }

@media (max-width: 900px) {
  body.menu-open .site-header,
  body.hub-menu-open .games-shell,
  body.hub-menu-open .hub-site-header { z-index: 1400; }
  .site-nav .nav-help summary { display: flex; min-height: 48px; padding: 0 1rem; border-radius: 8px; }
  .hub-site-nav .nav-help summary { display: flex; min-height: 48px; padding: 0 1rem; }
  /* Conta no topo do drawer, abaixo do título Menu, com ações sempre visíveis. */
  .site-nav .mobile-nav-head, .hub-site-nav .hub-mobile-nav-head { order: -2; }
  .site-nav .nav-account, .hub-site-nav .nav-account { order: -1; width: 100%; padding: .8rem; margin: 0 0 .45rem; border: 1px solid rgba(246,214,83,.26); border-radius: 11px; background: linear-gradient(135deg,rgba(246,214,83,.11),rgba(246,214,83,.025)); }
  .site-nav .nav-account summary, .hub-site-nav .nav-account summary { min-height: 28px; padding: 0; color: #f6d653; font-weight: 800; }
  .site-nav .nav-account summary::after, .hub-site-nav .nav-account summary::after { display: none; }
  .site-nav .nav-account:not([open]) .nav-help-menu, .hub-site-nav .nav-account:not([open]) .nav-help-menu { display: grid; }
  .site-nav .nav-account .nav-help-menu, .hub-site-nav .nav-account .nav-help-menu { grid-template-columns: 1fr 1fr; gap: 7px; margin: .7rem 0 0; }
  .site-nav .nav-account .nav-help-menu a, .site-nav .nav-account .nav-help-menu button, .hub-site-nav .nav-account .nav-help-menu a, .hub-site-nav .nav-account .nav-help-menu button { min-height: 40px; justify-content: center; padding: 0 .6rem; border: 1px solid rgba(246,241,229,.15); border-radius: 7px; background: rgba(7,10,7,.18); font-size: .76rem; text-align: center; }
  .site-nav .nav-account .nav-help-menu a, .hub-site-nav .nav-account .nav-help-menu a { color: #f6f1e5 !important; }
  .site-nav .nav-account .nav-help-menu a:hover, .site-nav .nav-account .nav-help-menu a:focus-visible, .hub-site-nav .nav-account .nav-help-menu a:hover, .hub-site-nav .nav-account .nav-help-menu a:focus-visible { border-color: rgba(246,214,83,.6); background: rgba(246,214,83,.15); color: #f6d653 !important; }
  .nav-help-menu { position: static; min-width: 0; margin: 0 0 .35rem .35rem; padding: 0; border: 0; background: transparent; box-shadow: none; transform: none; }
  .nav-help-menu a { padding-left: 1.35rem; }
  .nav-account-menu a, .nav-account-menu button { padding-left: 1.35rem; }
  html[data-theme=light] .site-nav .nav-account, html[data-theme=light] .hub-site-nav .nav-account { border-color: rgba(128,107,16,.3); background: rgba(255,248,218,.8); }
  html[data-theme=light] .site-nav .nav-account .nav-help-menu a, html[data-theme=light] .hub-site-nav .nav-account .nav-help-menu a { border-color: rgba(36,39,31,.14); background: rgba(255,255,255,.58); color: #24271f !important; }
}
@media (max-width: 800px) {
  .help-main { padding: 42px 0 64px; }
  .lastfm-intro, .help-link, .help-commands, .help-note { grid-template-columns: 1fr; }
  .spotify-guide { grid-template-columns: 44px minmax(0,1fr); gap: 12px; }
  .scrobbler-guide, .scrobbler-options { grid-template-columns: 1fr; }
  .scrobbler-guide { gap: 22px; }
  .spotify-guide-link { grid-column: 2; justify-self: start; margin-top: 4px; }
  .spotify-guide-steps { grid-column: 1 / -1; display: grid; gap: 6px; margin-top: 10px; padding-top: 14px; border-top: 1px solid rgba(246,241,229,.12); }
  html[data-theme=light] .spotify-guide-steps { border-color: rgba(36,39,31,.12); }
  .command-catalog { margin-top: 58px; }
  .command-catalog-head { align-items: stretch; flex-direction: column; gap: 18px; }
  .command-search { width: 100%; }
  .lastfm-intro { gap: 16px; margin-top: 38px; }
  .lastfm-intro-note { padding: 16px 0 0; border-top: 1px solid rgba(246,241,229,.14); border-left: 0; }
  html[data-theme=light] .lastfm-intro-note { border-color: rgba(36,39,31,.14); }
  .help-link { gap: 26px; margin-top: 42px; }
  .help-commands { gap: 38px; margin-top: 58px; }
  .help-hero h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
}
@media (prefers-reduced-motion: reduce) { .help-command { transition: none; } }
