  /* ---------- FILTERS ---------- */
  .filters{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    padding:16px 16px 6px;
    max-width:1100px;
    margin:0 auto;
    align-items:center;
  }
  .chip{
    flex:none;
    padding:10px 18px;
    border-radius:30px;
    border:2px solid var(--line);
    background:var(--surface);
    color:var(--green-1);
    font-weight:700;
    font-size:.88rem;
    cursor:pointer;
    white-space:nowrap;
    transition:.15s ease;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
  }
  /* Botões de console com borda roxa e separador verde */
  .chip-console-pill{
    border:2.5px solid #8b2fd6;
    box-shadow:0 0 0 1px rgba(139,47,214,.15);
    position:relative;
  }
  .chip-console-pill + .chip-console-pill::before{
    content:'';
    position:absolute;
    left:-7px;
    top:15%;
    height:70%;
    width:2px;
    background:var(--green-bright);
    border-radius:2px;
  }
  .chip-console-pill:hover{
    border-color:#6d1faf;
    box-shadow:0 0 0 3px rgba(139,47,214,.22);
  }
  .chip-icon-img{
    width:20px;height:20px;
    object-fit:contain;
    border-radius:4px;
    flex:none;
  }
  /* Promoção: ícone + texto, pílula normal (igual aos outros chips) */
  .chip-promo .chip-icon-img{
    width:20px;height:20px;
  }
  .chip.active{
    background:var(--green-bright);
    border-color:var(--green-bright);
    color:var(--white);
    box-shadow:0 4px 14px rgba(82,208,23,.35);
  }
  .chip-console-pill.active{
    border-color:#8b2fd6;
    background:rgba(139,47,214,.12);
    color:var(--ink);
    box-shadow:0 0 0 3px rgba(139,47,214,.28), 0 4px 14px rgba(139,47,214,.2);
  }
  .chip:hover:not(.chip-console-pill){border-color:var(--green-3);}

  .results-bar-row{
    max-width:1100px;
    margin:6px auto 0;
    padding:0 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    flex-wrap:wrap;
  }
  .results-bar{
    padding:6px 0;
    font-size:.82rem;
    color:var(--muted);
    flex:1;
  }
  .filter-actions-wrap{ display:flex;align-items:center;gap:8px;flex:none;flex-wrap:wrap; }
  .clear-filters-btn{
    background:none;border:1.5px solid transparent;
    color:var(--muted);font-size:.74rem;font-weight:700;
    padding:7px 8px;border-radius:8px;cursor:pointer;
    text-decoration:underline;
  }
  .clear-filters-btn:hover{ color:var(--green-bright); }
  .sort-dropdown-wrap{ position:relative;flex:none; }
  .sort-btn{
    display:flex;align-items:center;gap:6px;
    background:var(--surface);border:1.5px solid var(--line);
    border-radius:10px;padding:7px 12px;
    font-size:.78rem;font-weight:700;color:var(--ink);
    cursor:pointer;white-space:nowrap;
    transition:border-color .15s ease,background .15s ease;
    position:relative;
  }
  .sort-btn:hover{ border-color:var(--green-bright); }
  .sort-btn.filter-is-active{ border-color:var(--green-bright);background:rgba(82,208,23,.1); }
  .sort-btn svg{ width:15px;height:15px;flex:none; }
  .filter-active-dot{
    width:8px;height:8px;border-radius:50%;
    background:var(--green-bright);flex:none;
    box-shadow:0 0 0 2px var(--surface);
  }
  .filter-panel-label{
    font-size:.68rem;font-weight:800;color:var(--muted);
    text-transform:uppercase;letter-spacing:.4px;
    padding:6px 10px 4px;
  }
  .sort-dropdown-menu{
    position:absolute;top:calc(100% + 8px);right:0;
    background:var(--surface);border:1.5px solid var(--line);
    border-radius:12px;box-shadow:var(--shadow-lg);
    padding:6px;min-width:190px;z-index:50;
    display:flex;flex-direction:column;gap:2px;
    opacity:0;visibility:hidden;
    transform:translateY(-6px) scale(.98);
    transform-origin:top right;
    transition:opacity .18s ease, transform .18s cubic-bezier(.25,.8,.4,1), visibility .18s;
  }
  .sort-dropdown-menu.open{ opacity:1;visibility:visible;transform:translateY(0) scale(1); }
  .sort-option{
    text-align:left;background:none;border:none;
    padding:9px 10px;border-radius:8px;
    font-size:.8rem;font-weight:600;color:var(--ink);
    cursor:pointer;
    transition:background .12s ease;
  }
  .sort-option:hover{ background:rgba(82,208,23,.12); }
  .sort-option.active{ color:var(--green-bright);font-weight:800; }

  /* ---------- GRID ---------- */
  .grid{
    max-width:1100px;
    margin:0 auto;
    padding:14px 16px 60px;
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
    gap:16px;
  }
  .card{
    background:linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.01)), var(--surface);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,.18);
    display:flex;
    flex-direction:column;
    transition:transform .3s cubic-bezier(.25,.8,.4,1), box-shadow .3s ease, border-color .3s ease;
    border:1px solid var(--line);
    position:relative;
    height:100%;
  }
  .card:hover{
    transform:translateY(-5px);
    box-shadow:0 14px 30px rgba(0,0,0,.35), 0 0 18px rgba(82,208,23,.25), 0 0 2px rgba(82,208,23,.5);
    border-color:rgba(82,208,23,.55);
  }
  .cover-wrap{
    width:100%;
    aspect-ratio:3/4;
    background:linear-gradient(160deg,#16241a,#0e1812);
    position:relative;
    overflow:hidden;
  }
  .cover-wrap img{
    width:100%;height:100%;object-fit:cover;display:block;
    transition:transform .45s ease;
  }
  .card:hover .cover-wrap img{ transform:scale(1.08); }
  .cover-wrap::after{
    content:"";
    position:absolute;left:0;right:0;bottom:0;height:46%;
    background:linear-gradient(to top, rgba(0,0,0,.55), transparent);
    pointer-events:none;
  }
  .cover-placeholder{
    position:absolute;inset:0;
    display:flex;align-items:center;justify-content:center;
    flex-direction:column;gap:6px;
    color:var(--green-2);
    font-size:.7rem;
    text-align:center;
    padding:10px;
    font-weight:700;
  }
  .cover-placeholder svg{width:30px;height:30px;opacity:.55;}
  /* console-tag redefinido mais abaixo */
  .card-body{
    padding:11px 13px 13px;
    display:flex;
    flex-direction:column;
    gap:7px;
    flex:1;
  }
  .game-codigo{
    font-size:.62rem;
    font-weight:700;
    color:var(--muted);
    letter-spacing:.4px;
    margin-bottom:0;
    text-transform:uppercase;
  }
  .game-name{
    font-size:.9rem;
    font-weight:800;
    line-height:1.28;
    color:var(--ink);
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:2.6em;
    letter-spacing:.1px;
  }
  /* .game-price substituído por .pix-price mais abaixo */
  .buy-btn{
    margin-top:6px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    background:linear-gradient(135deg,#27d96b,#1eb955);
    color:#fff;
    border:none;
    border-radius:11px;
    padding:10px 8px;
    font-weight:800;
    font-size:.8rem;
    cursor:pointer;
    transition:filter .15s ease, transform .15s ease;
    box-shadow:0 3px 10px rgba(30,185,85,.3);
  }
  .buy-btn:hover{filter:brightness(1.08);transform:translateY(-1px);}
  .buy-btn svg{width:16px;height:16px;flex:none;}

  .card-actions-row{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:6px;
  }
  .card-actions-row .buy-btn{
    margin-top:0;
    flex:1;
  }
  .buy-btn-pay{
    flex-basis:100%;
    background:var(--bg);
    color:var(--ink);
    border:1.5px solid var(--line);
    border-radius:11px;
    padding:8px 8px;
    font-weight:700;
    font-size:.76rem;
    cursor:pointer;
    transition:.15s ease;
  }
  .buy-btn-pay:hover{ border-color:var(--green-bright);background:rgba(82,208,23,.1); }
  .share-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    background:var(--surface);
    color:var(--ink);
    border:1.5px solid #d8dce1;
    border-radius:10px;
    padding:9px 10px;
    font-weight:700;
    font-size:.8rem;
    cursor:pointer;
    transition:.15s ease;
    flex:none;
  }
  .share-btn:hover{background:#f3f4f6;border-color:#c2c7ce;}
  .share-btn svg{width:16px;height:16px;flex:none;}

  .empty-state{
    grid-column:1/-1;
    text-align:center;
    padding:60px 20px;
    color:var(--muted);
  }
  .empty-state svg{width:54px;height:54px;color:var(--green-3);margin-bottom:10px;}

  /* ---------- LAUNCHES SECTION ---------- */
  .launches-section{
    max-width:1100px;
    margin:40px auto 0;
    padding:0 16px;
  }
  .launches-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:20px;
    padding:0 4px;
  }
  .launches-title{
    font-size:1.3rem;
    font-weight:800;
    color:var(--ink);
    margin:0;
    display:flex;
    align-items:center;
    gap:10px;
    letter-spacing:.2px;
  }
  .launches-title::before{
    content:"";
    width:5px;
    height:1.3rem;
    border-radius:3px;
    background:linear-gradient(180deg,var(--green-bright),var(--green-2));
    flex:none;
  }
  .launches-add-btn{
    background:var(--green-bright);
    color:var(--white);
    border:none;
    border-radius:10px;
    padding:10px 16px;
    font-weight:700;
    cursor:pointer;
    font-size:.9rem;
    transition:.15s ease;
  }
  .launches-add-btn:hover{
    background:var(--green-3);
    transform:translateY(-2px);
  }
  /* Lançamentos agora em carrossel */
  .launches-grid{
    display:flex;
    gap:14px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:14px;
    scrollbar-width:none;
  }
  .launches-grid::-webkit-scrollbar{display:none;}
  .launches-grid .card{flex:none;width:162px;}
  @media(min-width:480px){.launches-grid .card{width:178px;}}

  /* Modal para editar lançamentos */
  .launch-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    z-index:1000;
    align-items:center;
    justify-content:center;
    padding:20px;
  }
  .launch-modal.show{display:flex;}
  .launch-modal-content{
    background:var(--surface);
    border-radius:var(--radius);
    padding:30px;
    max-width:500px;
    width:100%;
    box-shadow:var(--shadow-lg);
    max-height:90vh;
    overflow-y:auto;
  }
  .launch-modal-title{
    font-size:1.3rem;
    font-weight:800;
    margin:0 0 20px;
    color:var(--ink);
  }
  .launch-form-group{
    margin-bottom:16px;
    display:flex;
    flex-direction:column;
    gap:6px;
  }
  .launch-form-label{
    font-weight:700;
    font-size:.9rem;
    color:var(--ink);
  }
  .launch-form-input, .launch-form-textarea{
    border:1.5px solid var(--line);
    border-radius:10px;
    padding:10px 12px;
    font-family:inherit;
    font-size:.95rem;
    color:var(--ink);
    transition:.15s ease;
  }
  .launch-form-input:focus, .launch-form-textarea:focus{
    outline:none;
    border-color:var(--green-bright);
    box-shadow:0 0 0 3px rgba(82,208,23,.1);
  }
  .launch-form-textarea{
    resize:vertical;
    min-height:80px;
  }
  .launch-modal-buttons{
    display:flex;
    gap:10px;
    margin-top:24px;
  }
  .launch-modal-save, .launch-modal-cancel{
    flex:1;
    border:none;
    border-radius:10px;
    padding:12px;
    font-weight:700;
    cursor:pointer;
    transition:.15s ease;
    font-size:.95rem;
  }
  .launch-modal-save{
    background:var(--green-bright);
    color:var(--white);
  }
  .launch-modal-save:hover{background:var(--green-3);}
  .launch-modal-cancel{
    background:var(--line);
    color:var(--ink);
  }
  .launch-modal-cancel:hover{background:#e0e8da;}

