
:root {
  --fonte-base: 'Inter', 'Segoe UI', Arial, sans-serif;
  --fonte-indicador: 'Rajdhani', 'Arial Narrow', sans-serif;
  --raio-card: 12px; --raio-card-sm: 8px; --raio-pill: 999px;
  --bg-body: #f4f6f8; --bg-body-grad: linear-gradient(180deg,#fafbfc 0%,#f4f6f8 58%,#eef1f5 100%);
  --bg-elevado: #fff; --bg-card: #fff; --bg-card-2: #f7f8fa; --bg-sidebar: #fff;
  --bg-input: #fff; --bg-hover: rgba(27,26,31,.06);
  --texto-primario: #1b1a1f; --texto-secundario: #68636d; --texto-terciario: #8b8690;
  --borda-cor: #ddd9e0; --borda-forte: #c9c3cc;
  --sombra-cor: rgba(35,32,40,.10); --sombra-forte: rgba(35,32,40,.20);
  --accent: #ff5a00; --accent-forte: #ff7a1a; --accent-suave: rgba(255,90,0,.14);
  --accent-contraste: #fff; --accent-rgb: 255,90,0;
  --sucesso: #21825b; --erro: #c42d46; --overlay: rgba(27,26,31,.34);
  --galar-lilac: #eaf2ff; --galar-ink: #1b1a1f; --galar-rail: 222px;
}

/* Paleta clara: o laranja conduz as acoes e o azul fica para comunicacao e mapa. */
body .galar-page-watermark { color: #1b1a1f; opacity: .045; }
body .sidebar { background: #fff !important; border-color: #ddd9e0 !important; }
body .sidebar-link { color: #1b1a1f; }
body .sidebar-link:hover { background: #fff0e8; color: #1b1a1f; }
body .galar-top-icon { border-color: #ddd9e0; color: #2563eb; background: #fff; }
body .galar-top-icon:hover { color: #fff; background: #2563eb; }
body .galar-social-menu,
body .top-menu-panel,
body :is(.social-panel,.album-modal-card,.detalhe-caixa,.modal-caixa,.busca-modal-caixa,.auth-card) {
  background: #fff;
  color: #1b1a1f;
  border-color: #ddd9e0;
}
body .galar-social-menu > header button,
body .galar-social-menu > nav > a { background: #fff; color: #1b1a1f; border-color: #ddd9e0; }
body .galar-social-menu > nav > a:hover { background: #eaf2ff; border-color: #2563eb; }
body .galar-social-menu > nav > a small,
body .galar-social-menu > p,
body .galar-nav-caption,
body .galar-nav-note,
body .page-wrap > footer { color: #68636d; }
body #wishlist-page .wishlist-mode-tabs { border-color: #ddd9e0; background: #fff; }
body #wishlist-page .wishlist-mode-tab { color: #68636d; }
body #wishlist-page .wishlist-search-field,
body #wishlist-page .album-search-field { border-color: #ddd9e0; background: #fff; }
body #wishlist-page .wishlist-search-field input,
body #wishlist-page .album-search-field input { color: #1b1a1f; }
body #wishlist-page .wishlist-search-field input::placeholder { color: #8b8690; }
body #wishlist-page .wishlist-collection-filter { border-color: #ddd9e0; background: rgba(255,255,255,.82); color: #1b1a1f; }
body #wishlist-page .wishlist-collection-filter.is-active { border-color: #ff5a00; background: #fff0e8; }
body #wishlist-page .wishlist-collection-logo,
body #wishlist-page .wishlist-collection-all { background: #f7f8fa; }
body #wishlist-page .wishlist-grid-actions button,
body #wishlist-page .wishlist-pagination-arrow { border-color: #ddd9e0; background: #fff; color: #1b1a1f; }
body #wishlist-page .wishlist-convite-vazio { border-color: #ddd9e0; background: #fff; }
body #wishlist-page .wishlist-convite-copy h3,
body #wishlist-page .inventory-preview-copy h2 { color: #1b1a1f; }
body #wishlist-page .inventory-preview-copy p,
body #wishlist-page .inventory-preview-empty { color: #68636d; }
body #wishlist-page .inventory-preview-actions button { border-color: #ddd9e0; background: #fff; color: #1b1a1f; }
body .trade-card { border-color: #ddd9e0; background: #fff; }
body .trade-card > img { background: #f7f8fa; }
body.auth-body .auth-panel-visual { background: transparent; }
body.auth-body .auth-visual-overlay { background: transparent; }
html { scroll-padding-top: 100px; }
body { background: var(--bg-body-grad); color: var(--texto-primario); animation: none; }
body section, body header, body footer { animation: none; }
body button, body input, body select, body textarea { font: inherit; }
body button, body a { -webkit-tap-highlight-color: transparent; }
body button:disabled { cursor: not-allowed; opacity: .5; }
body :is(a,button,input,select,textarea,[tabindex]):focus-visible { outline: 3px solid #ff5a00; outline-offset: 4px; }
body :is(input,textarea,select) { accent-color: var(--accent); }
body h1 { letter-spacing: -.055em; font-weight: 900; }
.galar-skip { position: fixed; top: -100px; left: 20px; z-index: 10000; padding: 14px 20px; background: #19171f; color: #fff; }
.galar-skip:focus { top: 12px; }
.galar-masthead { position: fixed; top: 0; left: 0; right: 0; height: 82px; z-index: 510; display: flex; align-items: center; gap: 40px; padding: 0 32px; background: #fff; border-bottom: 1px solid var(--borda-cor); }
.galar-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--galar-ink); font-size: 21px; font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.galar-brand b { color: var(--accent); }
.galar-brand small { display: block; font-size: 9px; font-weight: 600; letter-spacing: .01em; color: var(--texto-secundario); margin-top: 7px; }
.galar-ball { display: inline-block; flex: 0 0 auto; width: 32px; height: 32px; border: 3px solid currentColor; border-radius: 50%; position: relative; background: linear-gradient(transparent 43%,currentColor 43% 57%,transparent 57%); }
.galar-ball::after { content: ''; position: absolute; width: 10px; height: 10px; border: 3px solid currentColor; background: #fff; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.galar-edition { font-size: 9px; letter-spacing: .14em; font-weight: 800; color: #6f625b; }
.galar-brand,.galar-edition { display: none; }
.galar-masthead { top: 24px; right: 86px; left: auto; width: auto; height: auto; padding: 0; border: 0; background: transparent; pointer-events: none; }
.galar-masthead .galar-top-actions { pointer-events: auto; }
.galar-top-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.galar-top-profile { display: inline-flex; height: 56px; min-width: 200px; align-items: center; padding: 0; overflow: hidden; border: 0; border-radius: 0; color: #fff; background: #ff5a00; cursor: pointer; }
.galar-top-profile img { width: 56px; height: 56px; flex: 0 0 56px; padding: 7px; object-fit: contain; background: #29242f; }
.galar-top-profile span { min-width: 0; padding: 0 20px; overflow: hidden; font-size: 14px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.galar-top-icon { display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid var(--borda-cor); color: #ff5a00; background: #fff; text-decoration: none; }
.galar-top-icon svg { width: 25px; height: 25px; stroke-width: 2.7; }
.galar-top-icon[type='button'] { padding: 0; cursor: pointer; }
.galar-top-profile:hover { background: #19171f; }
.galar-top-icon:hover { color: #fff; background: #ff5a00; }
.galar-social-menu-overlay[hidden],.galar-social-menu[hidden] { display: none; }
.galar-social-menu-overlay { position: fixed; inset: 88px 0 78px; z-index: 680; background: transparent; }
.galar-social-menu { position: fixed; top: 86px; right: 30px; z-index: 690; width: min(360px,calc(100vw - 32px)); max-height: calc(100dvh - 182px); padding: 22px; overflow-y: auto; border: 1px solid var(--borda-cor); border-top: 5px solid var(--accent); border-radius: 8px; color: var(--texto-primario); background: #fff; box-shadow: 0 20px 70px var(--sombra-forte); transform-origin: top right; animation: galarMenuEnter .3s cubic-bezier(.22,1,.36,1) both; }
body .top-menu-panel { transform-origin: top right; animation: galarMenuEnter .3s cubic-bezier(.22,1,.36,1) both; }
@keyframes galarMenuEnter {
  from { opacity: 0; transform: translateY(-12px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.galar-social-menu > header { display: flex; align-items: center; justify-content: space-between; padding: 0 0 16px; border-bottom: 1px solid var(--borda-cor); }
.galar-social-menu > header div { display: grid; gap: 4px; }
.galar-social-menu > header small { color: var(--accent); font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.galar-social-menu > header strong { font-size: 22px; letter-spacing: -.04em; }
.galar-social-menu > header button { display: grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 1px solid var(--borda-cor); border-radius: 50%; color: var(--texto-primario); background: #fff; cursor: pointer; }
.galar-social-menu > header button svg { width: 18px; height: 18px; }
.galar-social-menu > p { margin: 16px 0 18px; color: var(--texto-secundario); font-size: 12px; line-height: 1.55; }
.galar-social-menu > nav { display: grid; gap: 8px; }
.galar-social-menu > nav > a { display: grid; min-height: 68px; grid-template-columns: 38px minmax(0,1fr) 18px; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--borda-cor); border-radius: 6px; color: var(--texto-primario); background: #fff; text-decoration: none; }
.galar-social-menu > nav > a:hover,.galar-social-menu > nav > a:focus-visible { border-color: var(--galar-ink); color: #fff; background: var(--galar-ink); }
.galar-social-menu > nav > a > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--accent); background: var(--accent-suave); }
.galar-social-menu > nav > a > span svg { width: 18px; height: 18px; }
.galar-social-menu > nav > a > strong { display: grid; gap: 4px; min-width: 0; font-size: 13px; }
.galar-social-menu > nav > a small { color: var(--texto-secundario); font-size: 9px; font-weight: 500; }
.galar-social-menu > nav > a:hover small,.galar-social-menu > nav > a:focus-visible small { color: #ffd9c5; }
.galar-social-menu > nav > a > svg { width: 16px; height: 16px; }
body.galar-social-menu-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .galar-social-menu,
  body .top-menu-panel { animation-duration: .01ms; }
}
body .top-menu-root > .top-menu-button,
body .top-menu-root > .top-menu-catalog-action { display: none; }
body .sidebar, body .sidebar:has(.sidebar-link[href='/Perfil_usuario']) { position: fixed; inset: 82px auto 0 0; transform: none; width: var(--galar-rail); max-width: none; height: auto; min-height: 0; padding: 35px 14px 24px; display: flex; flex-direction: column; align-items: stretch; gap: 0; border: 0; border-right: 1px solid #f0c6ad; border-radius: 0; background: linear-gradient(112deg,#fff0e8 50%,#ffe0cf 50% 67%,#fff0e8 67%); box-shadow: none; filter: none; backdrop-filter: none; z-index: 500; }
body .sidebar-logo { display: none; }
.galar-nav-caption { padding: 0 14px; margin-bottom: 26px; font-size: 9px; font-weight: 900; letter-spacing: .12em; color: #8a4a29; }
body .sidebar-nav { width: 100%; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 8px; padding: 0; margin: 0; border: 0; border-radius: 0; overflow: visible; background: none; box-shadow: none; backdrop-filter: none; }
body .sidebar-nav::before, body .sidebar-nav::after { display: none; }
body .sidebar-link { width: 100%; min-width: 0; min-height: 52px; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; padding: 13px 14px; border: 0; border-radius: 5px 26px 26px 5px; color: #4a3429; background: transparent; font-size: 12px; font-weight: 700; text-transform: none; letter-spacing: 0; box-shadow: none; transition: background .16s,color .16s; }
body .sidebar-link:hover { background: #ffd9c5; color: #19171f; }
body .sidebar-link.ativo { background: linear-gradient(110deg,#ff5a00 0 28%,#19171f 28%); color: #fff; box-shadow: 0 4px 0 rgba(112,48,12,.09); }
body .sidebar-link.ativo::before { content: ''; position: absolute; left: -7px; top: 20px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 7px solid #19171f; }
body .sidebar-icon, body .sidebar-icon svg { width: 22px; height: 22px; color: inherit; filter: none; flex-shrink: 0; }
body .sidebar-notification-dot { top: 8px; right: 13px; background: #c42d46; border: 2px solid #fff; }
.galar-nav-note { margin-top: auto; padding: 30px 13px 0; color: #8a5b43; }
.galar-nav-note .galar-ball { display: block; width: 38px; height: 38px; margin-bottom: 15px; opacity: .65; }
.galar-nav-note strong { display: block; font-size: 11px; }
.galar-nav-note p { font-size: 10px; margin-top: 5px; }
body .page-wrap { margin: 82px 0 0 var(--galar-rail); width: calc(100% - var(--galar-rail)); min-height: calc(100vh - 82px); padding: 0; background: transparent; }
body .page-wrap > main { max-width: 1380px; width: calc(100% - 72px); margin: 0 auto; padding: 38px 0 28px; min-width: 0; }
body .top-menu-root { position: fixed; top: 20px; right: 30px; left: auto; bottom: auto; transform: none; z-index: 520; display: flex; gap: 8px; }
body .top-menu-button, body .top-menu-catalog-action { min-height: 40px; height: 40px; border: 1px solid var(--borda-cor); border-radius: 5px; background: #fff; color: #19171f; box-shadow: none; backdrop-filter: none; font-size: 11px; padding: 0 14px; }
body .top-menu-catalog-action { position: relative; inset: auto; background: #19171f; color: #fff; border-color: #19171f; }
body .top-menu-catalog-icon, body .top-menu-button-icon { width: 22px; height: 22px; flex: 0 0 22px; background: transparent; color: inherit; box-shadow: none; }
body .top-menu-catalog-text { font-size: 11px; }
body .top-menu-button:hover, body .top-menu-catalog-action:hover { background: var(--accent); color: #fff; }
body .top-menu-panel { top: 72px; background: #fff; border: 1px solid var(--borda-cor); border-top: 5px solid var(--accent); border-radius: 8px; box-shadow: 0 20px 70px var(--sombra-forte); max-height: calc(100dvh - 110px); }
body .page-wrap > footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 36px; margin: auto 0 0; border-top: 1px solid var(--borda-cor); background: transparent; color: #696171; font-size: 10px; }
.galar-footer span { font-size: 8px; letter-spacing: .12em; font-weight: 700; }
.galar-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.galar-eyebrow { font-size: 9px; font-weight: 900; letter-spacing: .15em; color: #a04418; margin: 0 0 9px; }
.galar-page-heading h1 { font-size: clamp(30px,3.5vw,46px); line-height: 1.08; margin: 0; }
.galar-page-heading h1 span { color: var(--accent); }
.galar-section-index { font-size: 10px; font-weight: 800; letter-spacing: .1em; color: #76665e; padding-bottom: 6px; }
.galar-hub { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(290px,1fr); gap: 24px; }
.galar-feature { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; overflow: hidden; min-height: 420px; background: #ffb184; border-radius: 12px; isolation: isolate; }
.galar-feature::before { content: ''; position: absolute; inset: 0; background: linear-gradient(112deg,transparent 0 57%,#ff9254 57% 64%,transparent 64% 88%,#ffd0b5 88%); z-index: -1; }
.galar-feature-copy { padding: 34px 0 56px 30px; z-index: 2; }
.galar-tag { display: flex; align-items: center; gap: 6px; font-size: 8px; font-weight: 900; letter-spacing: .07em; }
.galar-tag svg { width: 14px; height: 14px; }
.galar-feature h2 { margin: 23px 0 15px; color: #19171f; font-size: clamp(27px,2.8vw,40px); line-height: 1.05; letter-spacing: -.06em; font-weight: 900; }
.galar-feature-copy > p { max-width: 230px; font-size: 12px; line-height: 1.65; color: #4a3429; margin: 0 0 24px; }
.galar-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 46px; padding: 13px 18px; border-radius: 4px 22px 22px 4px; background: #19171f; color: #fff; text-decoration: none; font-size: 11px; font-weight: 800; box-shadow: 0 4px 0 #d94700; transition: background .16s; }
.galar-button:hover { background: #d94700; }
.galar-button svg { width: 17px; height: 17px; }
.galar-card-art { margin: 0; position: relative; align-self: center; padding: 5px 24px 45px 10px; }
.galar-card-art img { display: block; width: 100%; height: auto; max-width: 200px; margin: auto; border-radius: 8px; transform: rotate(9deg); box-shadow: 10px 18px 22px #8a351f55; position: relative; }
.galar-orbit { position: absolute; width: 250px; height: 250px; border: 26px solid #fff2; border-radius: 50%; top: 0; left: -16px; }
.galar-orbit::after { content: ''; position: absolute; inset: 45px; border: 14px solid #fff2; border-radius: 50%; }
.galar-card-art figcaption { position: relative; margin: 20px 0 -15px 15px; display: grid; gap: 4px; transform: rotate(-3deg); }
.galar-card-art figcaption span { font-size: 7px; letter-spacing: .15em; font-weight: 900; }
.galar-card-art figcaption strong { font-size: 17px; letter-spacing: -.03em; }
.galar-card-art figcaption small { font-size: 9px; color: #72452f; }
.galar-feature-foot { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; padding: 12px 22px; background: #19171f; color: #fff; font-size: 7px; letter-spacing: .1em; font-weight: 700; }
.galar-feature-foot > span { color: #ffb184; }
.galar-destinations { display: grid; grid-template-rows: repeat(4,1fr); gap: 12px; }
.galar-destination { position: relative; display: flex; align-items: center; gap: 15px; padding: 20px; min-width: 0; background: #fff; border: 1px solid #f0d6c7; border-radius: 8px; color: #19171f; text-decoration: none; transition: color .16s,background .16s,border-color .16s; }
.galar-destination-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff0e8; color: #ff5a00; flex: 0 0 auto; }
.galar-destination-icon svg { width: 22px; height: 22px; }
.galar-destination > span:nth-child(2) { display: grid; gap: 5px; min-width: 0; }
.galar-destination small { color: #8a624e; font-size: 7px; letter-spacing: .12em; font-weight: 800; }
.galar-destination strong { font-size: 16px; letter-spacing: -.035em; }
.galar-destination > span > span { font-size: 10px; color: #6b5b53; }
.galar-destination > svg { width: 16px; height: 16px; margin-left: auto; flex: 0 0 auto; }
.galar-destination:hover, .galar-destination:focus-visible { background: #19171f; border-color: #19171f; color: #fff; }
.galar-destination:hover small, .galar-destination:hover > span > span, .galar-destination:focus-visible small, .galar-destination:focus-visible > span > span { color: #ffd9c5; }
.galar-destination:hover .galar-destination-icon { background: #ff5a00; color: #fff; }
.galar-community { display: flex; align-items: center; gap: 20px; margin-top: 24px; padding: 25px; background: #fff0e8; border-radius: 8px; border: 1px solid #f0d6c7; }
.galar-community-symbol { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; color: #a85a32; border: 1px solid #e7b99f; }
.galar-community-symbol svg { width: 26px; height: 26px; }
.galar-community .galar-eyebrow { font-size: 7px; margin-bottom: 7px; }
.galar-community h2 { font-size: 20px; letter-spacing: -.04em; margin: 0 0 7px; }
.galar-community p:last-child { font-size: 11px; color: #66574f; line-height: 1.6; margin: 0; }
.galar-text-link { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; color: #33251f; font-size: 10px; font-weight: 800; text-decoration: none; flex-shrink: 0; min-height: 44px; }
.galar-text-link:hover { text-decoration: underline; }
.galar-text-link svg { width: 18px; height: 18px; }
.galar-tip { margin-top: 24px; padding: 0 3px; display: flex; gap: 16px; align-items: center; }
.galar-tip-label { display: inline-flex; align-items: center; gap: 6px; font-size: 8px; letter-spacing: .05em; font-weight: 900; flex-shrink: 0; color: #a04418; }
.galar-tip-label svg { width: 15px; height: 15px; }
.galar-tip p { font-size: 10px; line-height: 1.6; color: #78665c; margin: 0; }
/* Shared content surfaces and selected rows follow the game's flat panel hierarchy. */
body :is(.social-panel,.public-profile-hero,.public-profile-stats article,.social-auth-required,.auth-card,.album-modal-card,.detalhe-caixa,.modal-caixa,.busca-modal-caixa,.quick-profile-card,.lojas-mapa-wrap) { border-radius: 10px; border-color: var(--borda-cor); box-shadow: 0 6px 22px var(--sombra-cor); }
body :is(.social-panel,.album-modal-card,.detalhe-caixa,.modal-caixa,.busca-modal-caixa,.auth-card) { background: #fff; }
body :is(.social-tabs,.wishlist-mode-tabs,.busca-tabs) { background: #fff0e8; border: 1px solid #f0d6c7; border-radius: 7px; box-shadow: none; backdrop-filter: none; padding: 5px; }
body :is(.social-tab,.wishlist-mode-tab,.busca-tab-btn) { min-height: 44px; border-radius: 4px 22px 22px 4px; color: #5c3a29; }
body :is(.social-tab.is-active,.social-tab.active,.wishlist-mode-tab.is-active,.busca-tab-btn.active) { background: linear-gradient(110deg,#ff5a00 0 18%,#19171f 18%); color: #fff; box-shadow: none; border-color: transparent; }
/* The catalog filters stand on their own, without a background panel. */
body .busca-tabs { background: transparent; border: 0; border-radius: 0; padding: 0; }
body .wishlist-mode-tabs { background: transparent; border: 0; border-radius: 0; padding: 0; }
body .search-input-wrap { background: transparent; border: 0; border-radius: 0; min-height: 0; }

body :is(.auth-btn-principal,.album-primary-button,.social-button.primary,.btn-mini:not(.btn-mini-secundario)) { background: #19171f; color: #fff; border-color: #19171f; border-radius: 4px 22px 22px 4px; min-height: 44px; box-shadow: none; }
body :is(.auth-btn-principal,.album-primary-button,.social-button.primary,.btn-mini:not(.btn-mini-secundario)):hover { background: #d94700; color: #fff; }
body :is(.wishlist-search-field,.album-search-field,.lojas-search,.search-input-wrap) { background: #fff; border: 1px solid #e4ad8d; border-radius: 7px; box-shadow: none; min-height: 48px; }
body :is(.wishlist-search-field,.album-search-field,.lojas-search,.search-input-wrap):focus-within { outline: 2px solid #ff5a00; outline-offset: 2px; }
body .busca-modal-caixa { border-top: 6px solid #ffb184; }
body .social-kicker, body .social-section-heading span { color: #d94700; }
body :is(.social-page-header h1,#wishlistTitle,#storesTitle) { font-size: clamp(30px,3.5vw,46px); color: #19171f; letter-spacing: -.055em; }
body #wishlist-main, body #wishlist-page, body #lojas-page { margin-top: 0; padding-top: 0; }
body .public-profile-banner { background-color: #ffb184; }
body .public-profile-stats article { border-top: 3px solid #ffb184; }
body .public-profile-stats strong { color: #d94700; }
body #wishlist-page .wishlist-mode-tabs { background: #fff0e8; border: 1px solid #f0d6c7; border-radius: 7px; box-shadow: none; backdrop-filter: none; }
body #wishlist-page .wishlist-mode-tab { border-radius: 4px 22px 22px 4px; min-height: 48px; flex-direction: row; gap: 8px; color: #5c3a29; }
body #wishlist-page .wishlist-mode-tab.is-active { background: linear-gradient(110deg,#ff5a00 0 18%,#19171f 18%); color: #fff; box-shadow: none; }
body #wishlist-page .inventory-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
body #wishlist-page .inventory-add-card-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 4px 22px 22px 4px; background: #19171f; color: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
body #wishlist-page .inventory-add-card-button:hover { background: #19171f; color: #fff; }
body #wishlist-page .inventory-add-card-button svg { width: 16px; height: 16px; }
@media (max-width: 620px) {
  body #wishlist-page .inventory-page-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  body #wishlist-page .inventory-add-card-button { width: 100%; }
}
body #wishlist-page .album-card-add { background: #fff0e8; border-color: #e4ad8d; color: #ff5a00; }
body .album-grid-options input:checked + span { background: #fff0e8; color: #d94700; border-color: #ff5a00; }
body .album-grid-options input:focus-visible + span { outline: 3px solid #ff5a00; outline-offset: 3px; }
body .social-auth-required { margin: 38px auto; padding: 36px; background: #fff; }
body.auth-body { padding: 82px 0 0 var(--galar-rail); background: var(--bg-body-grad); }
body.auth-body .auth-shell { min-height: calc(100vh - 82px); }
body.auth-body .auth-panel-form { min-width: 0; padding: 48px 5%; background: var(--bg-body-grad); }
body.auth-body .auth-card { border-top: 6px solid #ffb184; padding: 32px; }
body.auth-body .auth-panel-visual { background: #ffb184; }
body.auth-body .auth-visual-overlay { background: linear-gradient(115deg,#ffb18480,#ff5a0055); }
body.auth-body .auth-card h1 { font-size: 36px; letter-spacing: -.05em; }
body.auth-body .auth-form input { border-radius: 5px; }
@media (min-width:1600px) { .galar-feature { min-height: 460px; } .galar-feature-copy { padding: 40px 0 60px 40px; } .galar-card-art img { max-width: 235px; } }
@media (max-width:1200px) { :root { --galar-rail: 192px; } .galar-edition { display: none; } body .page-wrap > main { width: calc(100% - 48px); } .galar-hub { gap: 16px; grid-template-columns: minmax(0,1.4fr) minmax(260px,1fr); } .galar-feature-copy { padding-left: 24px; } .galar-feature h2 { font-size: 30px; } .galar-feature { min-height: 410px; } .galar-destination { gap: 10px; padding: 16px; } .galar-destination strong { font-size: 15px; } .galar-community { flex-wrap: wrap; } .galar-text-link { margin-left: 76px; } }
@media (min-width:769px) and (max-width:1000px) { .galar-hub { grid-template-columns: 1fr; } .galar-feature { min-height: 345px; } .galar-feature h2 { font-size: 38px; } .galar-card-art img { max-width: 160px; } .galar-destinations { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; } .galar-destination { min-height: 108px; } .galar-destination-icon { width: 34px; height: 34px; } .galar-destination > svg { display: none; } }
@media (max-width:768px) {
  html { scroll-padding-top: 84px; }
  .galar-masthead { top: 18px; right: 18px; height: auto; padding: 0; }
  .galar-brand { font-size: 18px; gap: 9px; }
  .galar-brand small { font-size: 7px; max-width: 138px; }
  .galar-brand .galar-ball { width: 28px; height: 28px; }
  .galar-brand,.galar-edition { display: none; }
  .galar-masthead { justify-content: flex-end; }
  .galar-top-actions { width: 100%; gap: 10px; justify-content: flex-end; }
  .galar-top-profile { min-width: min(200px,calc(100vw - 168px)); }
  .galar-masthead { top: 12px; right: 12px; }
  .galar-top-actions { gap: 6px; }
  .galar-top-profile { height: 48px; min-width: min(160px, calc(100vw - 124px)); }
  .galar-top-profile img { width: 48px; height: 48px; flex-basis: 48px; }
  .galar-top-profile span { padding: 0 12px; font-size: 12px; }
  .galar-top-icon { width: 56px; height: 48px; }
  .galar-top-icon svg { width: 22px; height: 22px; }
  .galar-social-menu-overlay { inset: 82px 0 calc(68px + env(safe-area-inset-bottom)); }
  .galar-social-menu { top: 82px; right: 0; width: 100%; max-height: calc(100dvh - 150px - env(safe-area-inset-bottom)); border-right: 0; border-left: 0; border-radius: 0 0 8px 8px; }
  body .sidebar, body .sidebar:has(.sidebar-link[href='/Perfil_usuario']) { inset: auto 0 0; width: 100%; height: auto; min-height: 68px; padding: 5px 8px calc(5px + env(safe-area-inset-bottom)); flex-direction: row; border: 0; background: #19171f; }
  .galar-nav-caption,.galar-nav-note { display: none; }
  body .sidebar-nav { flex-direction: row; gap: 2px; justify-content: space-between; }
  body .sidebar-link { flex: 1 1 0; min-width: 0; width: auto; flex-direction: column; justify-content: center; gap: 5px; padding: 8px 2px; border-radius: 5px; color: #ded2cb; font-size: 8px; min-height: 54px; }
  body .sidebar-link.ativo { background: #ff5a00; color: #fff; box-shadow: none; }
  body .sidebar-link:hover { background: #3a2d51; color: #fff; }
  body .sidebar-link.ativo::before { display: none; }
  body .sidebar-link.ativo .sidebar-icon { color: #fff; }
  body .sidebar-notification-dot { top: 3px; right: calc(50% - 18px); }
  body .page-wrap { width: 100%; margin: 0; min-height: 100dvh; padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  body .page-wrap > main { width: calc(100% - 36px); padding: 27px 0 24px; }
  body .top-menu-root { top: 16px; right: 16px; gap: 6px; }
  body .top-menu-button, body .top-menu-catalog-action { display: flex; width: 38px; min-width: 38px; padding: 0; justify-content: center; }
  body .top-menu-button-text, body .top-menu-catalog-text { display: block; position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  body .top-menu-catalog-action::before,body .top-menu-catalog-action::after { display: none; }
  body .top-menu-panel { position: fixed; top: 76px; left: 12px; right: 12px; width: auto; max-width: none; max-height: calc(100dvh - 162px); }
  .galar-page-heading { margin-bottom: 22px; }
  .galar-section-index { font-size: 8px; }
  .galar-eyebrow { font-size: 8px; }
  .galar-hub { grid-template-columns: 1fr; gap: 18px; }
  .galar-feature { min-height: 360px; }
  .galar-feature-copy { padding: 25px 0 52px 24px; }
  .galar-feature h2 { font-size: clamp(29px,5vw,38px); margin-top: 20px; }
  .galar-feature-copy > p { font-size: 11px; max-width: 210px; }
  .galar-card-art { padding: 0 24px 35px 15px; }
  .galar-card-art img { max-width: 160px; }
  .galar-destinations { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 10px; }
  .galar-destination { min-height: 143px; padding: 16px; flex-wrap: wrap; gap: 11px; align-content: flex-start; }
  .galar-destination-icon { width: 35px; height: 35px; }
  .galar-destination-icon svg { width: 19px; height: 19px; }
  .galar-destination > span:nth-child(2) { order: 3; width: 100%; gap: 6px; }
  .galar-destination > svg { margin-left: auto; }
  .galar-destination strong { font-size: 15px; }
  .galar-destination small { font-size: 6px; }
  .galar-destination > span > span { font-size: 9px; line-height: 1.5; }
  .galar-community { gap: 14px; padding: 21px; margin-top: 18px; }
  .galar-community-symbol { display: none; }
  .galar-community h2 { font-size: 21px; }
  .galar-community p:last-child { font-size: 11px; }
  .galar-text-link { margin: 0; min-height: 32px; }
  .galar-tip { align-items: flex-start; flex-direction: column; gap: 7px; margin-top: 20px; }
  body .page-wrap > footer { padding: 18px; font-size: 9px; }
  .galar-footer span { font-size: 6px; letter-spacing: .03em; }
  body.auth-body { padding: 72px 0 calc(78px + env(safe-area-inset-bottom)); }
  body.auth-body .auth-shell { min-height: calc(100dvh - 150px); }
  body.auth-body .auth-panel-form { padding: 28px 20px; }
  body.auth-body .auth-card { max-width: 460px; padding: 28px 24px; }
  body .social-auth-required { margin: 24px auto; padding: 24px; }
}
@media (max-width:380px) { .galar-brand small { display: none; } .galar-page-heading { gap: 8px; } .galar-section-index { display: none; } .galar-feature-copy { padding-left: 19px; } .galar-tag { font-size: 6px; } .galar-feature h2 { font-size: 27px; } .galar-card-art { padding-right: 18px; padding-left: 8px; } .galar-button { padding: 12px; gap: 8px; font-size: 10px; } .galar-destination { padding: 13px; } .galar-destination strong { font-size: 14px; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Navegacao global na base da tela em desktops. */
@media (min-width:769px) {
  :root { --galar-rail: 0px; }

  body .sidebar,
  body .sidebar:has(.sidebar-link[href='/Perfil_usuario']) {
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    height: 78px;
    min-height: 78px;
    padding: 8px 24px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border: 0;
    border-top: 1px solid #f0c6ad;
    background: #fff0e8;
    box-shadow: 0 -10px 30px rgba(112,48,12,.08);
  }

  .galar-nav-caption,
  .galar-nav-note {
    display: none;
  }

  body .sidebar-nav {
    width: min(100%, 860px);
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  body .sidebar-link {
    width: auto;
    min-width: 130px;
    min-height: 52px;
    flex: 1 1 0;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 5px 26px 26px 5px;
  }

  body .sidebar-link.ativo::before {
    display: none;
  }

  body .sidebar-notification-dot {
    top: 5px;
    right: 12px;
  }

  body .page-wrap {
    width: 100%;
    margin: 0;
    min-height: 100vh;
    padding-bottom: 78px;
  }

  body.auth-body {
    padding: 0 0 78px;
  }
}

/* Desktop navigation is a compact top pill; mobile keeps the bottom dock. */
@media (min-width:769px) {
  body .sidebar,
  body .sidebar:has(.sidebar-link[href='/Perfil_usuario']) {
    inset: 24px auto auto 50%;
    transform: translateX(-50%);
    width: auto;
    height: 48px;
    min-height: 48px;
    padding: 3px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #f5f3f1;
    box-shadow: 0 12px 28px rgba(25, 23, 31, .16);
    z-index: 530;
  }

  body .sidebar-nav {
    width: auto;
    gap: 2px;
  }

  body .sidebar-link {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    color: #19171f;
    font-size: 12px;
    line-height: 16px;
    font-weight: 800;
  }

  body .sidebar-link::after,
  body .sidebar-link.ativo::after {
    display: none !important;
  }

  body .sidebar-link .sidebar-icon {
    display: none;
  }

  body .sidebar-link.ativo {
    background: #ff5a00;
    color: #fff;
    border-bottom: 0;
    box-shadow: 0 3px 8px rgba(255, 81, 0, .28);
  }

  body .sidebar-link:hover {
    background: #ffeadf;
    color: #19171f;
  }

  body .sidebar-link.ativo:hover {
    background: #ff5a00;
    color: #fff;
  }

  body .page-wrap {
    min-height: 100vh;
    padding-top: 92px;
    padding-bottom: 0;
  }

  body.auth-body {
    padding: 92px 0 0;
  }
}

@media (min-width:769px) and (max-width:1050px) {
  body .sidebar,
  body .sidebar:has(.sidebar-link[href='/Perfil_usuario']) {
    left: 24px;
    transform: none;
  }
}

/* Community lobby menu. */
.galar-social-menu {
  width: min(370px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid #ead9ae;
  border-top: 1px solid #ead9ae;
  border-radius: 24px;
  background: #fff4d8;
  box-shadow: 0 22px 64px rgba(85, 56, 26, .24);
}

.galar-social-menu > header.galar-community-menu-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 10px;
  border-bottom: 1px solid #e6d5ab;
}

.galar-community-channel {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
  padding: 8px 9px;
  border: 1px solid #e4cf9d;
  border-radius: 12px;
  color: #413224;
  background: #fff9e9;
  text-decoration: none;
}

.galar-community-channel-icon,
.galar-community-avatar {
  display: grid;
  place-items: center;
  color: #ff5a00;
  background: #ffe0cf;
}

.galar-community-channel-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.galar-community-channel-icon svg { width: 18px; height: 18px; }
.galar-community-channel > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.galar-community-channel strong { font-size: 13px; line-height: 1.1; }
.galar-community-channel small { overflow: hidden; color: #927a5e; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.galar-community-channel > svg { width: 16px; height: 16px; }

.galar-social-menu > header.galar-community-menu-header > button {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-color: #e4cf9d;
  color: #7c6144;
  background: #fff9e9;
}

.galar-social-menu > p { display: none; }

.galar-community-tabs {
  display: flex;
  gap: 8px;
  margin: 10px 0;
}

.galar-social-menu > nav.galar-community-tabs > a {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: #8e7458;
  background: #f6eacd;
  font-size: 10px;
  font-weight: 800;
}

.galar-social-menu > nav.galar-community-tabs > a.is-active {
  color: #fff;
  background: #ff5a00;
}

.galar-social-menu > nav.galar-community-tabs > a > svg { width: 14px; height: 14px; }
.galar-social-menu > nav.galar-community-tabs > a > b { font-size: 9px; }

.galar-community-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin: 0 0 10px;
  padding: 0 12px;
  border: 1px solid #e4cf9d;
  border-radius: 12px;
  color: #9a8061;
  background: #fff9e9;
}

.galar-community-search svg { width: 16px; height: 16px; flex: 0 0 auto; }
.galar-community-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: #413224; background: transparent; font-size: 12px; }
.galar-community-search input::placeholder { color: #ad9679; }

.galar-social-menu > nav.galar-community-list {
  display: grid;
  max-height: min(380px, calc(100dvh - 280px));
  gap: 8px;
  padding-right: 3px;
  overflow-y: auto;
}

.galar-social-menu > nav.galar-community-list > a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 10px;
  border: 1px solid #ebddb9;
  border-radius: 16px;
  color: #443326;
  background: rgba(255, 252, 239, .84);
}

.galar-community-avatar { width: 42px; height: 42px; border-radius: 50%; }
.galar-community-avatar svg { width: 20px; height: 20px; }
.galar-social-menu > nav.galar-community-list > a > strong { display: grid; gap: 4px; min-width: 0; font-size: 12px; }
.galar-social-menu > nav.galar-community-list > a > strong small { overflow: hidden; color: #91795e; font-size: 9px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.galar-community-status { padding: 5px 7px; border-radius: 999px; color: #487c49; background: #e1f0d9; font-size: 8px; font-weight: 900; white-space: nowrap; }
.galar-social-menu > nav.galar-community-list > a:hover,.galar-social-menu > nav.galar-community-list > a:focus-visible { border-color: #ff5a00; color: #443326; background: #fff; }
.galar-social-menu > nav.galar-community-list > a:hover small,.galar-social-menu > nav.galar-community-list > a:focus-visible small { color: #91795e; }
.galar-social-menu:has(.galar-community-frame) { width: min(760px, calc(100vw - 56px)); height: min(760px, calc(100dvh - 118px)); max-height: none; padding: 0; overflow: hidden; }
.galar-social-menu:has(.galar-community-frame) > :not(.galar-community-frame) { display: none; }
.galar-community-frame { display: block; width: 100%; height: 100%; border: 0; background: #fff8f4; }

@media (max-width:768px) {
  .galar-social-menu {
    top: 72px;
    right: 12px;
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 158px - env(safe-area-inset-bottom));
    border-radius: 22px;
  }

  .galar-social-menu > nav.galar-community-list { max-height: min(440px, calc(100dvh - 320px)); }
}

@media (max-width:768px) {
  body .sidebar,
  body .sidebar:has(.sidebar-link[href='/Perfil_usuario']) {
    inset: auto auto calc(16px + env(safe-area-inset-bottom)) 50%;
    transform: translateX(-50%);
    width: auto;
    min-height: 48px;
    height: 48px;
    padding: 3px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #f5f3f1;
    box-shadow: 0 12px 28px rgba(25, 23, 31, .18);
  }

  body .sidebar-nav { width: auto; gap: 2px; }
  body .sidebar-link { flex: 0 0 auto; width: auto; min-width: 0; min-height: 42px; padding: 0 12px; border-radius: 999px; color: #19171f; font-size: 12px; line-height: 16px; font-weight: 800; }
  body .sidebar-link .sidebar-icon { display: none; }
  body .sidebar-link.ativo { background: #ff5a00; color: #fff; }
  body .sidebar-link:hover { background: #ffeadf; color: #19171f; }
  body .sidebar-link.ativo:hover { background: #ff5a00; color: #fff; }
  body .page-wrap { padding-top: 0; padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
}

/* Dark graphite palette and oversized page indicators. */
.galar-page-watermark {
  position: fixed;
  top: 92px;
  right: clamp(22px, 5vw, 86px);
  z-index: 3;
  color: #f7f4f1;
  font-family: var(--fonte-indicador);
  font-size: clamp(84px, 13vw, 248px);
  font-style: italic;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: .72;
  opacity: .035;
  pointer-events: none;
  user-select: none;
}
body .page-wrap { position: relative; z-index: 2; }
body .sidebar { background: linear-gradient(112deg,#17131f 0 50%,#211c28 50% 67%,#17131f 67%) !important; border-color: #34303a !important; }
body .sidebar-link { color: #d9d1db; }
body .sidebar-link:hover { background: #26232b; color: #fff; }
.galar-nav-caption,.galar-nav-note { color: #b9b1ba; }
.galar-nav-note { color: #b9b1ba; }
body .galar-top-icon { border-color: #34303a; color: #ff5a00; background: #1b1920; }
body .galar-top-icon:hover { color: #fff; background: #ff5a00; }
body .galar-social-menu,
body .top-menu-panel,
body :is(.social-panel,.album-modal-card,.detalhe-caixa,.modal-caixa,.busca-modal-caixa,.auth-card) { background: #1b1920; color: #f7f4f1; border-color: #34303a; }
body .galar-social-menu > header button,
body .galar-social-menu > nav > a { background: #26232b; color: #f7f4f1; border-color: #34303a; }
body .galar-social-menu > nav > a small,
body .galar-social-menu > p { color: #b9b1ba; }
body .galar-social-menu > nav > a:hover { background: #34303a; border-color: #ff5a00; }
body .page-wrap > footer { color: #8c848e; border-color: #34303a; }
body #wishlist-page .wishlist-mode-tabs { border-color: #34303a; background: #26232b; }
body #wishlist-page .wishlist-mode-tab { color: #b9b1ba; }
body #wishlist-page .wishlist-search-field,
body #wishlist-page .album-search-field { border-color: #34303a; background: #1b1920; }
body #wishlist-page .wishlist-search-field input,
body #wishlist-page .album-search-field input { color: #f7f4f1; }
body #wishlist-page .wishlist-search-field input::placeholder { color: #8c848e; }
body #wishlist-page .wishlist-collection-filter { border-color: #34303a; background: #1b1920; color: #f7f4f1; }
body #wishlist-page .wishlist-collection-filter.is-active { border-color: #ff5a00; background: #26232b; }
body #wishlist-page .wishlist-collection-all,
body #wishlist-page .wishlist-collection-logo { background: #26232b; }
body #wishlist-page .wishlist-grid-actions button,
body #wishlist-page .wishlist-pagination-arrow { border-color: #34303a; background: #26232b; color: #f7f4f1; }
body #wishlist-page .wishlist-convite-vazio { border-color: #34303a; background: #1b1920; }
body #wishlist-page .wishlist-convite-copy h3 { color: #f7f4f1; }

@media (max-width: 760px) {
  .galar-page-watermark { top: 78px; right: 14px; font-size: clamp(58px, 22vw, 110px); opacity: .03; }
  body .sidebar { background: #1b1920 !important; border-color: #34303a !important; }
  body .sidebar-link { color: #f7f4f1; }
  body .sidebar-link:hover { background: #26232b; color: #fff; }
  body #wishlist-page { padding-top: 108px; }
}

@media (min-width: 761px) {
  body .page-wrap > main {
    width: calc(100% - 96px);
    max-width: 1680px;
  }
  body #wishlist-page,
  body .trades-page {
    width: min(1520px, 100%);
  }
  body .page-wrap > main:has(#wishlist-page) {
    width: calc(100% - 48px);
    max-width: 1800px;
  }
  body #wishlist-page { width: 100%; padding-top: 180px; }
}

body #wishlist-page .wishlist-search-bar { align-items: center; }
body #wishlist-page .inventory-add-card-button {
  flex: 0 0 auto;
  min-height: 48px;
  background: #ff5a00;
  color: #fff;
  white-space: nowrap;
}
body #wishlist-page .inventory-add-card-button:hover { background: #ff5a00; color: #fff; }

/* Colecoes permanecem acessiveis sem consumir diversas linhas da biblioteca. */
body #wishlist-page .wishlist-collections-carousel {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
}
body #wishlist-page .wishlist-collection-icons {
  display: flex;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 2px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
body #wishlist-page .wishlist-collection-icons::-webkit-scrollbar { display: none; }
body #wishlist-page .wishlist-collection-filter {
  flex: 0 0 156px;
  min-height: 68px;
  margin: 0;
  padding: 8px 10px;
  scroll-snap-align: start;
  border-color: rgba(247,244,241,.16);
  border-radius: 8px;
  background: rgba(27,25,32,.78);
  box-shadow: none;
}
body #wishlist-page .wishlist-collection-filter:hover {
  border-color: #ff5a00;
  background: rgba(38,35,43,.94);
}
body #wishlist-page .wishlist-collections-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(247,244,241,.16);
  border-radius: 50%;
  background: rgba(27,25,32,.82);
  color: #ff8a4b;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
body #wishlist-page .wishlist-collections-arrow:hover {
  border-color: #ff5a00;
  background: #ff5a00;
  color: #fff;
}
body #wishlist-page .wishlist-collections-arrow svg { width: 18px; height: 18px; }

@media (max-width: 620px) {
  body #wishlist-page .inventory-add-card-button { width: 100%; }
  body #wishlist-page .wishlist-collections-carousel {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 7px;
    margin-bottom: 18px;
  }
  body #wishlist-page .wishlist-collection-icons { gap: 8px; }
  body #wishlist-page .wishlist-collection-filter { flex-basis: 132px; min-height: 62px; }
  body #wishlist-page .wishlist-collections-arrow { width: 32px; height: 32px; }
}

@media (min-width: 769px) {
  /* Centraliza o conjunto de perfil com a navbar horizontal de 48px. */
  .galar-masthead { top: 20px; }
}

/* Desktop inventory workspace: browse on the left, inspect on the right. */
body #wishlist-page .inventory-workspace { min-width: 0; }
body #wishlist-page .inventory-preview { display: none; }

@media (min-width: 901px) {
  body #wishlist-page .inventory-workspace {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(460px, 540px);
    align-items: start;
    gap: 36px;
  }
  body #wishlist-page .wishlist-card-grid {
    grid-template-columns: repeat(3, minmax(0, 230px));
    justify-content: start;
    gap: 14px;
  }
  body #wishlist-page .inventory-preview {
    position: sticky;
    top: 106px;
    display: grid;
    gap: 16px;
    min-height: 720px;
    padding: 24px 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body #wishlist-page .inventory-preview-card {
    display: block;
    width: min(100%, 390px);
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
  }
  body #wishlist-page .inventory-preview-card img { display: block; width: 100%; aspect-ratio: .716; object-fit: contain; }
  body #wishlist-page .inventory-preview-copy { display: grid; gap: 6px; }
  body #wishlist-page .inventory-preview-copy > span { color: #ff9b61; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  body #wishlist-page .inventory-preview-copy h2 { margin: 0; color: #f7f4f1; font-size: 30px; line-height: 1.1; }
  body #wishlist-page .inventory-preview-copy p { margin: 0; color: #b9b1ba; font-size: 14px; }
  body #wishlist-page .inventory-preview-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
  body #wishlist-page .inventory-preview-actions button {
    min-height: 40px;
    border: 1px solid rgba(247,244,241,.18);
    border-radius: 6px;
    background: rgba(38,35,43,.78);
    color: #f7f4f1;
    font: 800 11px var(--fonte-base, Arial, sans-serif);
    cursor: pointer;
  }
  body #wishlist-page .inventory-preview-actions .inventory-preview-owned { border-color: #ff5a00; background: #ff5a00; }
  body #wishlist-page .inventory-preview-actions button:disabled { cursor: wait; opacity: .6; }
  body #wishlist-page .inventory-preview-empty { align-self: center; margin: 0; color: #b9b1ba; text-align: center; }
  body #wishlist-page .wishlist-grid-item.is-selected .wishlist-grid-card { outline: 2px solid #ff5a00; outline-offset: 4px; }
  body #wishlist-page .wishlist-search-field,
  body #wishlist-page .wishlist-collection-filter { background: rgba(27,25,32,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}

/* Aplicacao final da paleta clara sobre estilos legados. */
body .galar-page-watermark { color: #1b1a1f; opacity: .045; }
body .sidebar { background: #fff !important; border-color: #ddd9e0 !important; }
body .sidebar-link { color: #1b1a1f; }
body .sidebar-link:hover { background: #fff0e8; color: #1b1a1f; }
body .galar-top-icon { border-color: #ddd9e0; color: #2563eb; background: #fff; }
body .galar-top-icon:hover { color: #fff; background: #2563eb; }
body .galar-social-menu,
body .top-menu-panel,
body :is(.social-panel,.album-modal-card,.detalhe-caixa,.modal-caixa,.busca-modal-caixa,.auth-card) { background: #fff; color: #1b1a1f; border-color: #ddd9e0; }
body .galar-social-menu > header button,
body .galar-social-menu > nav > a { background: #fff; color: #1b1a1f; border-color: #ddd9e0; }
body .galar-social-menu > nav > a:hover { background: #eaf2ff; border-color: #2563eb; }
body .galar-social-menu > nav > a small,
body .galar-social-menu > p,
body .galar-nav-caption,
body .galar-nav-note,
body .page-wrap > footer { color: #68636d; }
body #wishlist-page .wishlist-mode-tabs { border-color: #ddd9e0; background: #fff; }
body #wishlist-page .wishlist-mode-tab { color: #68636d; }
body #wishlist-page .wishlist-search-field,
body #wishlist-page .album-search-field { border-color: #ddd9e0; background: #fff; }
body #wishlist-page .wishlist-search-field input,
body #wishlist-page .album-search-field input { color: #1b1a1f; }
body #wishlist-page .wishlist-search-field input::placeholder { color: #8b8690; }
body #wishlist-page .wishlist-collection-filter { border-color: #ddd9e0; background: rgba(255,255,255,.9); color: #1b1a1f; }
body #wishlist-page .wishlist-collection-filter.is-active { border-color: #ff5a00; background: #fff0e8; }
body #wishlist-page .wishlist-collection-logo,
body #wishlist-page .wishlist-collection-all { background: #f7f8fa; }
body #wishlist-page .wishlist-grid-actions button,
body #wishlist-page .wishlist-pagination-arrow { border-color: #ddd9e0; background: #fff; color: #1b1a1f; }
body #wishlist-page .wishlist-convite-vazio { border-color: #ddd9e0; background: #fff; }
body #wishlist-page .wishlist-convite-copy h3,
body #wishlist-page .inventory-preview-copy h2 { color: #1b1a1f; }
body #wishlist-page .inventory-preview-copy p,
body #wishlist-page .inventory-preview-empty { color: #68636d; }
body #wishlist-page .inventory-preview-actions button { border-color: #ddd9e0; background: #fff; color: #1b1a1f; }
body .trade-card { border-color: #ddd9e0; background: #fff; }
body .trade-card > img { background: #f7f8fa; }
