/* web/public/css/home-experience.css
 * Experiência interativa da home (2026-10-05): montador de perfil,
 * simulações do Discord, trilha do Passe Âmbar e atmosfera (brasas,
 * contadores, entrada ao rolar). Comportamento em /js/home-experience.js.
 * Paleta do site: #F8DCC0 creme, #DCA15E dourado, #803E30/#BA462E
 * terracota, #FF4E3B vermelho, fundos #111111/#1F1D20/#131314. */

.hx-section { position: relative; width: 100%; max-width: 1100px; margin: 0 auto; padding: 60px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; box-sizing: border-box; }
.hx-sub { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(14px, 1.3vw, 17px); text-align: center; max-width: 640px; opacity: 0.9; margin: 0 0 16px; text-wrap: balance; }

/* ---------- Atmosfera ---------- */
.hx-embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
/* Entrada ao rolar: o estado "parado" é sempre visível; só ganha o
   deslocamento quando o JS marca a página (html.hx-js) e o elemento
   ainda não entrou na tela. */
@media (prefers-reduced-motion: no-preference) {
    html.hx-js .reveal:not(.is-in) { opacity: 0.25; transform: translateY(18px); }
    .reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
    .feat-media > img.feature-card, .feat-media .mockup-panel { transition: transform 0.25s ease, box-shadow 0.25s ease; }
}

/* ---------- Montador de perfil (card PERFIL GLOBAL) ----------
   Port do card real do /perfil (perfil.ejs, .pf-id-*), com escopo .hx-pf
   pra não vazar pro resto da home. Medidas em % e cqw iguais às de lá;
   a diferença é que aqui foto e informações ficam SEMPRE lado a lado
   (o card é pequeno na home) e as fontes têm piso menor. Cores por plano
   iguais a pfIdCardGradients de perfil.ejs. */
.feat-row.is-builder .feat-media { max-width: 560px; }
@media (min-width: 1024px) { .feat-row.is-builder .feat-media { width: 54%; } }
.hx-pf {
    --font-head: 'Tilt Warp', sans-serif; --font-body: 'Poppins', sans-serif;
    --pf-text: #F8DCC0; --pf-accent: #DCA15E;
    display: flex; flex-direction: column; gap: 14px; width: 100%;
}
.hx-pf .pf-id-card {
    --pf-tier-a: #4B2427; --pf-tier-b: #803E30; --pf-tier-text: #DCA15E; --pf-tier-accent: #DE6045;
    --pf-rim-dark: #7A3526; --pf-rim-mid: #E89078; --pf-rim-light: #F0B7AB; --pf-tier-hunt-color: #DCA15E;
    position: relative; width: 100%; box-sizing: border-box; display: flex; flex-direction: column;
    padding: 3%; border-radius: 22px; aspect-ratio: 800 / 430; container-type: inline-size;
    background: radial-gradient(225.25% 94.36% at 0% 86.37%, #111111 0%, #1F1D20 57.07%, #29272A 91.53%);
    background-size: cover; background-position: center;
    box-shadow: -8px 15px 25px rgba(0, 0, 0, 0.55), 0.5px -0.5px 0.5px #F8DCC0;
    border: 1px solid rgba(0, 0, 0, 0.4);
    color: var(--pf-text); overflow: hidden;
    transition: background-image 0.3s ease;
}
.hx-pf .pf-id-card[data-tier="free"] { --pf-tier-a: #A6917D; --pf-tier-b: #F8DCC0; --pf-tier-text: #1F1D20; --pf-tier-accent: #F8DCC0; --pf-rim-dark: #A6917D; --pf-rim-mid: #F8DCC0; --pf-rim-light: #FFF8EF; --pf-tier-hunt-color: #F8DCC0; }
.hx-pf .pf-id-card[data-tier="compy"] { --pf-tier-a: #A25E2D; --pf-tier-b: #DCA15E; --pf-tier-text: #F8DCC0; --pf-tier-accent: #FFAB4C; --pf-rim-dark: #8C5E2A; --pf-rim-mid: #FFAB4C; --pf-rim-light: #FFD9AE; --pf-tier-hunt-color: #DCA15E; }
.hx-pf .pf-id-card.no-bg { background-image: radial-gradient(225.25% 94.36% at 0% 86.37%, #111111 0%, #1F1D20 57.07%, #29272A 91.53%) !important; }
.hx-pf .pf-id-top { display: flex; align-items: flex-start; flex: 1; min-height: 0; }
.hx-pf .pf-id-photo-col { flex: 0 0 52.4%; display: flex; flex-direction: column; }
.hx-pf .pf-id-photo-frame { position: relative; }
.hx-pf .pf-id-photo-shadow-wrap {
    position: relative; width: 100%; aspect-ratio: 399 / 262;
    filter: drop-shadow(0px 0px 1px #FFFDF5) drop-shadow(0px 0px 6px var(--pf-tier-accent)) drop-shadow(-2px 9px 14px rgba(0, 0, 0, 0.88));
}
.hx-pf .pf-id-photo-rim {
    position: absolute; width: 86.6%; height: 86.6%; left: -0.82%; top: 1.74%;
    background: linear-gradient(135deg, var(--pf-rim-light) 0%, var(--pf-rim-mid) 20%, var(--pf-rim-dark) 38%, var(--pf-rim-light) 52%, var(--pf-rim-dark) 68%, var(--pf-rim-mid) 85%, var(--pf-rim-light) 100%);
    clip-path: url(#pf-id-photo-clip);
}
.hx-pf .pf-id-photo {
    position: absolute; width: 84%; height: 84%; left: 0.5%; top: 3.05%;
    background-color: #1F1D20; background-size: cover; background-position: center;
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25); overflow: hidden;
    clip-path: url(#pf-id-photo-clip);
}
.hx-pf .pf-id-stars { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; padding: 0 0 4% 6%; }
.hx-pf .pf-id-star-wrap {
    position: relative; width: clamp(10px, 3.625cqw, 29px); height: clamp(10px, 3.625cqw, 29px);
    filter: drop-shadow(0px -2px 10px rgba(255, 226, 129, 0.65)) drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.49));
}
.hx-pf .pf-id-star-outline, .hx-pf .pf-id-star-fill { position: absolute; inset: 0; clip-path: url(#pf-id-star-shape); }
.hx-pf .pf-id-star-outline { background: #1F1D20; transform: scale(1.08); }
.hx-pf .pf-id-star-fill { background: linear-gradient(0deg, rgba(255, 145, 60, 0.22), rgba(255, 145, 60, 0.22)), conic-gradient(from 180deg at 50% 50%, #FFE9B8 0deg, #FFFDF5 360deg); }
.hx-pf .pf-id-photo-badges { position: absolute; right: 15.5%; bottom: 8.5%; z-index: 5; display: flex; gap: 5.19%; width: 38.6%; }
.hx-pf .badge-circle { width: 29.87%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; flex: none; }
.hx-pf .badge-circle img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0.5px -0.5px 0.5px #F8DCC0) drop-shadow(-4px 6px 8px rgba(0, 0, 0, 0.75)); }
.hx-pf .pf-id-species {
    box-sizing: border-box; display: flex; align-items: center; gap: 1cqw; width: 84%; height: clamp(18px, 5cqw, 40px); margin-top: -3.49%;
    padding: 0 2cqw 0 1.25cqw; border-radius: 5px; border: 1px solid var(--pf-tier-accent);
    background: linear-gradient(179.54deg, var(--pf-tier-a) 47.59%, var(--pf-tier-b) 99.6%);
    box-shadow: 0px 0px 2.3px #DCA15E, 8px 11px 6px rgba(0, 0, 0, 0.43);
    color: var(--pf-tier-text); font-family: var(--font-head); font-size: clamp(9px, 2.25cqw, 18px); text-transform: uppercase;
}
.hx-pf .pf-id-species img { width: clamp(11px, 3cqw, 24px); height: auto; flex: none; }
.hx-pf .pf-id-info { flex: 1; min-width: 0; margin-left: -4.98%; display: flex; flex-direction: column; gap: 0.6cqw; padding-top: 0.5cqw; position: relative; z-index: 2; }
.hx-pf .pf-id-nickname {
    font-family: var(--font-head); font-size: clamp(14px, 5.125cqw, 41px); line-height: 1.15; color: var(--pf-text);
    text-shadow: 3px 2px 6px rgba(0,0,0,0.9), -3px -2px 6px rgba(0,0,0,0.9);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hx-pf .pf-id-row {
    display: flex; align-items: center; gap: 1.5cqw; min-width: 0;
    font-family: var(--font-body); font-weight: 600; font-size: clamp(9px, 2cqw, 16px); color: var(--pf-text);
    filter: drop-shadow(3px 2px 6px rgba(0,0,0,0.9)) drop-shadow(-3px -2px 6px rgba(0,0,0,0.9));
    text-decoration: none;
}
.hx-pf .pf-id-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-pf .pf-id-row img { width: clamp(11px, 3.125cqw, 25px); height: auto; flex: none; object-fit: contain; }
.hx-pf .pf-id-row--title { font-size: clamp(10px, 2.625cqw, 21px); }
.hx-pf .pf-id-bottom-row { display: flex; gap: 1.25cqw; margin-top: auto; }
.hx-pf .pf-id-level {
    box-sizing: border-box; flex: 1 1 auto; display: flex; align-items: center; gap: 1.75cqw; padding: 1cqw 2.5cqw;
    background: linear-gradient(179.54deg, var(--pf-tier-a) 47.59%, var(--pf-tier-b) 99.6%);
    border: 1px solid var(--pf-tier-accent); box-shadow: 0px 0px 2.3px #DCA15E, 8px 11px 6px rgba(0, 0, 0, 0.43);
    border-radius: 10px; color: var(--pf-tier-text);
}
.hx-pf .pf-id-level img, .hx-pf .pf-id-hunt img { width: clamp(14px, 4.375cqw, 35px); height: auto; flex: none; }
.hx-pf .pf-id-level-label { font-family: var(--font-head); font-size: clamp(9px, 2cqw, 16px); white-space: nowrap; }
.hx-pf .pf-id-level-track { flex: 1; height: clamp(4px, 1cqw, 8px); border-radius: 10px; background: #3E3D38; border: 1px solid #2A2A2A; overflow: hidden; }
.hx-pf .pf-id-level-fill { width: 62%; height: 100%; background: var(--pf-accent); border-radius: 10px 0 0 10px; }
.hx-pf .pf-id-hunt {
    box-sizing: border-box; flex: 0 0 25%; display: flex; align-items: center; justify-content: center; gap: 1.5cqw; padding: 1cqw 2.5cqw;
    background: linear-gradient(90deg, #1F1D20 36.06%, #803E30 100%); border: 1px solid #803E30;
    box-shadow: 0px 0px 2.3px #DCA15E, 8px 11px 6px rgba(0, 0, 0, 0.43); border-radius: 10px;
}
.hx-pf .pf-id-hunt-label { font-family: var(--font-body); font-weight: 900; font-size: clamp(9px, 2cqw, 16px); color: var(--pf-tier-hunt-color); }

/* Controles compactos embaixo do card. */
.pb-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
@media (max-width: 480px) { .pb-controls { grid-template-columns: minmax(0, 1fr); } }
.pb-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pb-label { font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: #DCA15E; }
.pb-seg { display: flex; gap: 6px; flex-wrap: wrap; }
.pb-chip {
    font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 600; color: #F8DCC0; cursor: pointer;
    padding: 5px 12px; border-radius: 999px; background: #1F1D20; border: 1px solid #3E3D38;
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.pb-chip:hover { border-color: #803E30; }
.pb-chip.is-on { background: #4B2427; border-color: #DCA15E; }
.pb-thumbs { display: flex; gap: 6px; flex-wrap: wrap; }
.pb-thumb {
    width: 40px; height: 40px; border-radius: 8px; cursor: pointer; padding: 0;
    background-color: #1F1D20; background-size: cover; background-position: center;
    border: 2px solid #3E3D38; transition: border-color 0.15s ease, transform 0.15s ease;
    font-family: 'Poppins', sans-serif; font-size: 10px; color: #F8DCC0;
    display: flex; align-items: center; justify-content: center;
}
.pb-thumb:hover { transform: translateY(-2px); }
.pb-thumb.is-on { border-color: #DCA15E; box-shadow: 0 0 10px rgba(220, 161, 94, 0.45); }
.pb-chip:focus-visible, .pb-thumb:focus-visible { outline: 2px solid #DCA15E; outline-offset: 2px; }
.pb-note { min-height: 1.3em; font-family: 'Poppins', sans-serif; font-size: 12px; color: #DCA15E; margin: 0; }
@media (prefers-reduced-motion: no-preference) {
    .hx-pf .pf-id-card.is-flash { animation: pbFlash 0.45s ease; }
    @keyframes pbFlash { 0% { transform: scale(1); } 40% { transform: scale(1.015); } 100% { transform: scale(1); } }
}

/* ---------- Simulações do Discord (uma por card de feature) ----------
   Cores, tamanhos e espaçamentos do tema escuro do Discord e dos
   Components V2 (container com barra de destaque, seção com miniatura,
   galeria/banner, separador, rodapé "-#", botões). */
.dsim {
    --d-bg: #313338; --d-bg-2: #2B2D31; --d-bg-3: #1E1F22; --d-line: #3F4147;
    --d-text: #DBDEE1; --d-strong: #F2F3F5; --d-muted: #949BA4; --d-link: #00A8FC;
    width: 100%; border-radius: 10px; overflow: hidden; background: var(--d-bg); border: 1px solid var(--d-bg-3);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 2.3px #DCA15E;
    font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; color: var(--d-text);
    text-align: left; text-shadow: none;
}
.dsim-top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--d-bg); border-bottom: 1px solid var(--d-bg-3); box-shadow: 0 1px 0 rgba(0,0,0,0.2); font-weight: 600; font-size: 15px; color: var(--d-strong); }
.dsim-hash { color: #80848E; font-size: 22px; line-height: 1; font-weight: 400; }
.dsim-channel { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dsim-replay { flex: none; background: #4E5058; color: var(--d-strong); border: none; border-radius: 4px; padding: 4px 10px; font: inherit; font-size: 12px; cursor: pointer; }
.dsim-replay:hover { background: #6D6F78; }
.dsim-feed { height: 520px; overflow-y: auto; padding: 8px 0 12px; display: flex; flex-direction: column; scroll-behavior: smooth; }
.dsim-feed::-webkit-scrollbar { width: 8px; }
.dsim-feed::-webkit-scrollbar-thumb { background: var(--d-bg-3); border-radius: 4px; }
@media (max-width: 600px) { .dsim-feed { height: 460px; } }

.dsim-msg { position: relative; display: flex; gap: 14px; padding: 6px 14px 4px; animation: dsimIn 0.3s ease; }
.dsim-msg:hover { background: rgba(0, 0, 0, 0.06); }
.dsim-msg + .dsim-msg { margin-top: 10px; }
.dsim-msg.is-ephemeral { background: rgba(88, 101, 242, 0.05); }
.dsim-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; background-size: cover; background-position: center; background-color: var(--d-bg-2); margin-top: 2px; }
.dsim-body { flex: 1; min-width: 0; }
.dsim-reply { display: flex; align-items: center; gap: 4px; margin: 0 0 4px -2px; font-size: 13px; color: var(--d-muted); position: relative; }
.dsim-reply::before { content: ''; position: absolute; left: -36px; top: 50%; width: 30px; height: 12px; border-left: 2px solid #4E5058; border-top: 2px solid #4E5058; border-top-left-radius: 6px; }
.dsim-reply-av { width: 16px; height: 16px; border-radius: 50%; background-size: cover; background-position: center; flex: none; }
.dsim-reply b { color: var(--d-strong); font-weight: 600; }
.dsim-reply .dsim-cmdname { color: var(--d-link); }
.dsim-name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; line-height: 1.375; }
.dsim-name-text { font-weight: 600; font-size: 16px; }
.dsim-app { display: inline-flex; align-items: center; gap: 2px; height: 15px; padding: 0 4px; border-radius: 3px; background: #5865F2; color: #fff; font-size: 10px; font-weight: 700; line-height: 15px; }
.dsim-time { font-size: 12px; color: var(--d-muted); }
.dsim-content { font-size: 15px; line-height: 1.375; margin-top: 2px; overflow-wrap: anywhere; }
.dsim-eph { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--d-muted); }
.dsim-eph a { color: var(--d-link); }

/* Container (Components V2) */
.dsim-box { margin-top: 6px; max-width: 520px; position: relative; border-radius: 8px; background: var(--d-bg-2); border: 1px solid var(--d-line); padding: 14px 16px 14px 18px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.dsim-box::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--dsim-accent, #DCA15E); }
.dsim-banner { display: block; width: 100%; border-radius: 6px; }
.dsim-h2 { font-size: 20px; font-weight: 700; color: var(--d-strong); line-height: 1.3; margin: 2px 0; }
.dsim-h3 { font-size: 16px; font-weight: 700; color: var(--d-strong); line-height: 1.3; margin: 2px 0; }
.dsim-text { font-size: 14px; line-height: 1.45; }
.dsim-text b { color: var(--d-strong); }
.dsim-ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.45; list-style: disc; }
.dsim-sep { height: 1px; background: var(--d-line); margin: 2px 0; }
.dsim-section { display: flex; gap: 12px; align-items: flex-start; }
.dsim-section-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.dsim-thumb { width: 72px; height: 72px; border-radius: 8px; flex: none; background-size: cover; background-position: center; }
.dsim-code { margin: 0; padding: 8px 10px; border-radius: 4px; background: var(--d-bg-3); border: 1px solid #111214; font-family: Consolas, 'Andale Mono', monospace; font-size: 13px; color: var(--d-text); white-space: pre-wrap; }
.dsim-foot { font-size: 12px; color: var(--d-muted); line-height: 1.35; }
.dsim-img { display: block; width: 100%; border-radius: 6px; aspect-ratio: 16 / 7; object-fit: cover; }
.dsim-emoji { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -0.3em; object-fit: contain; margin: 0 1px; }
.dsim-h2 .dsim-emoji, .dsim-h3 .dsim-emoji { width: 1.2em; height: 1.2em; }
.dsim-mention { color: #C9CDFB; background: rgba(88, 101, 242, 0.3); border-radius: 3px; padding: 0 2px; font-weight: 500; }
.dsim-icode { font-family: Consolas, 'Andale Mono', monospace; font-size: 0.85em; background: var(--d-bg-3); border-radius: 4px; padding: 0.15em 0.3em; }
.dsim-sup { font-size: 10px; vertical-align: super; color: #C9CDFB; }

/* Botões */
.dsim-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.dsim-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: #fff; background: #4E5058; transition: filter 0.15s ease, transform 0.15s ease; }
.dsim-btn.is-primary { background: #5865F2; }
.dsim-btn.is-success { background: #248046; }
.dsim-btn.is-danger { background: #DA373C; }
.dsim-btn .dsim-emoji { width: 18px; height: 18px; vertical-align: middle; margin: 0; }
.dsim-btn.is-pressed { filter: brightness(0.75); transform: translateY(1px); }
.dsim-note { align-self: center; display: flex; align-items: center; gap: 8px; margin: 12px 14px 0; font-size: 12px; color: var(--d-muted); animation: dsimIn 0.3s ease; text-align: center; }
.dsim-note::before, .dsim-note::after { content: ''; flex: 1 1 24px; min-width: 24px; height: 1px; background: var(--d-line); }

.dsim-input { margin: 0 14px 14px; padding: 11px 14px; border-radius: 8px; background: #383A40; font-size: 15px; color: var(--d-text); min-height: 20px; display: flex; align-items: center; overflow: hidden; white-space: nowrap; }
.dsim-input-text { overflow: hidden; text-overflow: ellipsis; }
.dsim-input-text:empty::before { content: attr(data-placeholder); color: #6D6F78; }
.dsim-caret { width: 2px; height: 18px; background: var(--d-text); margin-left: 1px; flex: none; animation: dsimBlink 1s steps(1) infinite; }
@keyframes dsimIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes dsimBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dsim-msg, .dsim-note { animation: none; } .dsim-caret { animation: none; } }

/* ---------- Passe Âmbar ---------- */
.ap-wrap { width: 100%; max-width: 980px; display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 16px; background: linear-gradient(165deg, #1F1D20 0%, #131314 100%); border: 1px solid rgba(220, 161, 94, 0.22); box-sizing: border-box; }
.ap-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: 'Poppins', sans-serif; flex-wrap: wrap; }
.ap-season { font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 1px; color: #DCA15E; }
.ap-progress-label { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ap-progress-label strong { color: #DCA15E; font-size: 18px; }
.ap-scroll { overflow-x: auto; padding-bottom: 6px; }
.ap-track { --ap-cols: 10; display: grid; grid-template-columns: repeat(var(--ap-cols), 84px); grid-template-rows: auto 34px auto; gap: 10px 8px; position: relative; padding: 4px 2px; min-width: max-content; }
.ap-slot {
    min-height: 74px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 600; text-align: center; padding: 4px;
    background: #1A1A1A; border: 1px solid #3E3D38; cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.ap-slot img { width: 26px; height: 26px; object-fit: contain; }
.ap-slot.is-premium { border-color: rgba(186, 70, 46, 0.55); }
.ap-slot.is-free { border-color: rgba(220, 161, 94, 0.45); }
.ap-slot:not(.is-reached) { opacity: 0.45; }
.ap-slot.is-reached.is-premium { background: rgba(186, 70, 46, 0.16); }
.ap-slot.is-reached.is-free { background: rgba(220, 161, 94, 0.12); }
.ap-slot.is-selected { transform: translateY(-3px); border-color: #F8DCC0; opacity: 1; }
.ap-node {
    position: relative; z-index: 1; justify-self: center; align-self: center; width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    font-family: 'Tilt Warp', sans-serif; font-size: 14px; color: #F8DCC0; background: #2A2A2A; border: 2px solid #3E3D38;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.ap-node.is-reached { background: #803E30; border-color: #DCA15E; }
.ap-node.is-current { box-shadow: 0 0 0 4px rgba(220, 161, 94, 0.25); }
@media (prefers-reduced-motion: no-preference) { .ap-node.is-current { animation: apPulse 1.8s ease-in-out infinite; } }
@keyframes apPulse { 50% { box-shadow: 0 0 0 8px rgba(220, 161, 94, 0.08); } }
/* A linha ocupa a fileira do meio inteira; as bolinhas ficam por cima dela na mesma fileira. */
.ap-line { grid-row: 2; grid-column: 1 / -1; align-self: center; margin: 0 42px; height: 4px; border-radius: 4px; background: #3E3D38; overflow: hidden; z-index: 0; }
.ap-line-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #DCA15E, #BA462E); transition: width 1.4s ease; }
.ap-slot:focus-visible, .ap-node:focus-visible { outline: 2px solid #DCA15E; outline-offset: 2px; }
.ap-detail { min-height: 64px; display: flex; gap: 12px; flex-wrap: wrap; font-family: 'Poppins', sans-serif; font-size: 14px; }
.ap-detail-card { flex: 1 1 220px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #1A1A1A; border: 1px solid #3E3D38; }
.ap-detail-card img { width: 30px; height: 30px; object-fit: contain; flex: none; }
.ap-detail-card small { display: block; font-size: 11px; opacity: 0.65; text-transform: uppercase; letter-spacing: 0.5px; }
.ap-detail-card.is-premium { border-color: rgba(186, 70, 46, 0.55); }
.ap-detail-card.is-free { border-color: rgba(220, 161, 94, 0.45); }
.ap-legend { display: flex; gap: 16px; flex-wrap: wrap; font-family: 'Poppins', sans-serif; font-size: 12px; }
.ap-legend-item { display: inline-flex; align-items: center; gap: 6px; color: #F8DCC0; text-decoration: none; }
.ap-legend-item::before { content: ''; width: 10px; height: 10px; border-radius: 3px; }
.ap-legend-item.is-free::before { background: #DCA15E; }
.ap-legend-item.is-premium::before { background: #BA462E; }
.ap-legend-note { margin-left: auto; opacity: 0.55; font-family: 'Poppins', sans-serif; }
.pb-input { box-sizing: border-box; width: 100%; max-width: 220px; padding: 7px 10px; border-radius: 8px; background: #1F1D20; border: 1px solid #3E3D38; color: #F8DCC0; font-family: 'Poppins', sans-serif; font-size: 14px; }
.pb-input:focus { outline: none; border-color: #DCA15E; }
.pb-thumb.is-badge img { width: 70%; height: 70%; object-fit: contain; }

/* Passe Âmbar dentro do card MISSÕES E PASSE ÂMBAR (2026-10-05): versão
   compacta da trilha, cabe na coluna da imagem e rola de lado se precisar. */
.feat-media .ap-wrap { padding: 14px; gap: 12px; box-shadow: inset 0 4px 4px rgba(0,0,0,0.25), 12px 15px 11.5px rgba(0,0,0,0.36), 0 0 2.3px #DCA15E; }
.feat-media .ap-season { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; }
.feat-media .ap-season img { width: 22px; height: 22px; object-fit: contain; }
.feat-media .ap-track { grid-template-columns: repeat(var(--ap-cols), 64px); grid-template-rows: auto 30px auto; gap: 8px 6px; }
.feat-media .ap-slot { min-height: 62px; font-size: 10px; gap: 3px; }
.feat-media .ap-slot img { width: 22px; height: 22px; }
.feat-media .ap-node { width: 30px; height: 30px; font-size: 13px; }
.feat-media .ap-line { margin: 0 32px; }
.feat-media .ap-detail { min-height: 0; gap: 8px; font-size: 13px; }
.feat-media .ap-detail-card { flex: 1 1 180px; padding: 8px 10px; }
.feat-media .ap-detail-card img { width: 24px; height: 24px; }
.ap-missions { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid #3E3D38; }
.ap-missions-title { font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: #DCA15E; }
.feat-media .ap-legend-note { margin-left: 0; font-size: 11px; }
.dsim-ts { background: rgba(255, 255, 255, 0.06); border-radius: 3px; padding: 0 3px; }

/* Abas da imagem do card (Loja de Ossos: loja no site x presente no Discord). */
.ms { display: flex; flex-direction: column; gap: 12px; }
.ms-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.ms-tabs .feat-tab { font-size: 13px; padding: 6px 14px; }
.ms-panel[hidden] { display: none; }
.ms-img { display: block; width: 100%; height: auto; }

/* Novidades oficiais: último vídeo em destaque, tocando sem som (2026-10-05). */
.news-featured { width: 100%; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 20px; }
@media (max-width: 800px) { .news-featured { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.news-featured-player { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; box-shadow: inset 0 4px 4px rgba(0,0,0,0.25), 12px 15px 11.5px rgba(0,0,0,0.36), 0 0 2.3px #DCA15E; }
.news-featured-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.news-featured-info { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-family: 'Poppins', sans-serif; }
.news-featured-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: #FF4E3B; border: 1px solid rgba(255, 78, 59, 0.45); background: rgba(255, 78, 59, 0.12); padding: 3px 10px; border-radius: 999px; }
.news-featured-title { font-family: 'Tilt Warp', sans-serif; font-size: clamp(18px, 2vw, 24px); line-height: 1.2; color: #F8DCC0; text-wrap: balance; }
.news-featured-link { margin-top: 4px; }
.news-yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background-color: #000; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.news-yt-play { width: 68px; height: 48px; border-radius: 14px; background: rgba(255, 0, 0, 0.88); position: relative; transition: transform 0.15s ease; }
.news-yt-play::after { content: ''; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.news-yt-facade:hover .news-yt-play { transform: scale(1.08); }
.news-yt-facade:focus-visible { outline: 2px solid #DCA15E; outline-offset: -4px; }

/* Card DASHBOARD WEB: Análise geral do Game Server com dados fictícios (2026-10-18). */
.feat-row.is-overview .feat-media { max-width: 760px; }
@media (min-width: 1024px) { .feat-row.is-overview .feat-media { width: 62%; } }
.home-overview { pointer-events: auto; font-family: 'Poppins', sans-serif; color: #F8DCC0; text-align: left; }
.home-overview .titan-card-premium { margin: 0; }
/* A Home não carrega style.css: card e título da seção copiados de lá (mesmos valores). */
.home-overview .titan-card-premium {
    background: radial-gradient(225.25% 94.36% at 0% 86.37%, #111111 0%, #1F1D20 57.07%, #29272A 91.53%);
    box-shadow: 0.5px -0.5px 0.5px #F8DCC0, -25px 47px 68.1px rgba(0, 0, 0, 0.74);
    border-radius: 20px;
    display: flex;
    padding: 40px;
    width: 100%;
    box-sizing: border-box;
}
.home-overview .config-section-head { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 auto; }
.home-overview .config-section-title { font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 22px; letter-spacing: 0.3em; color: #DCA15E; text-transform: uppercase; margin: 0; }
.home-overview .config-section-subtitle { font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 13px; letter-spacing: 0.2em; color: #F8DCC0; opacity: 0.8; text-transform: uppercase; }
.home-overview .tp-body-xs { font-family: 'Poppins', sans-serif; font-size: 12px; }
@media (max-width: 767px) { .home-overview .titan-card-premium { padding: 18px; } }
@media (max-width: 480px) {
    .home-overview .config-section-title { font-size: 18px; letter-spacing: 0.15em; }
    .home-overview .config-section-subtitle { letter-spacing: 0.1em; }
}
