/* BRASA 0.1 · R34 · 2H · invocación de amistad y amigos (candidato ?amistadR34=1). Selector inferior sobre un banner (REF-09), premios en cuadrícula (REF-10). */
.am-modos { display: flex; justify-content: center; gap: 8px; padding: 8px 6px 2px; }
.am-modos button { flex: 1 1 0; max-width: 168px; min-height: 52px; display: grid; justify-items: center; align-content: center; gap: 2px; border: 1px solid var(--line); border-radius: 10px; background: #14241d; color: var(--muted); font-weight: 800; font-size: 12px; }
.am-modos button .ico { width: 20px; height: 20px; opacity: .75; }
.am-modos button.active { border-color: var(--gold2); background: #2c3b2c; color: #fff3d6; box-shadow: inset 0 -3px 0 var(--gold2); }
.am-modos button.active .ico { opacity: 1; }
.am-invocar { display: flex; flex-direction: column; min-height: 100%; max-width: 620px; margin-inline: auto; width: 100%; }
.am-seccion { flex: 1; display: flex; min-height: 0; }
.am-banner { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 0 10px 4px; border-radius: 12px; background: radial-gradient(80% 46% at 50% 26%, #f2cf8a2e, #0000 70%), linear-gradient(#1c2f3a, #14241d 62%); }
.am-escena { flex: 1; display: grid; place-items: center; min-height: 150px; padding-top: 10px; }
.am-escena img { width: min(56vw, 240px, 30dvh); height: auto; aspect-ratio: 1; image-rendering: pixelated; filter: drop-shadow(0 8px 0 #0008); }
.am-cabeza { display: grid; gap: 2px; text-shadow: 0 2px 0 #000; }
.am-cabeza .eyebrow { color: var(--gold2); text-transform: uppercase; }
.am-cabeza h2 { margin: 0; font-size: 19px; line-height: 1.15; color: #fff3d6; }
.am-cabeza small { font-size: 11px; color: var(--gold); }
.am-bolsa { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.am-bolsa > span { display: flex; align-items: center; gap: 5px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: #0b1513; font-weight: 800; font-size: 13px; color: #fff3d6; }
.am-bolsa small { font-size: 10px; font-weight: 600; color: var(--muted); }
.am-consultas { display: flex; flex-wrap: wrap; gap: 8px; }
.am-consultas button { flex: 1 1 0; min-height: 44px; }
.am-tiradas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.am-tiradas button { min-height: 52px; }
.am-tiradas button:only-child { grid-column: 1 / -1; }
.am-invocar .am-estado, .am-panel .am-estado { min-height: 1.2em; margin: 0; padding: 0 10px 8px; font-size: 12px; color: var(--gold); text-align: center; }
.cst.m-amistad .ico { filter: hue-rotate(300deg) saturate(1.3); }
.cst.am-saldo { font-size: 17px; }
.cst.am-saldo .ico { width: 20px; height: 20px; }
.am-premios { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px; padding: 6px 0; }
.am-premio { display: grid; justify-items: center; gap: 1px; width: 64px; text-align: center; }
.am-premio .am-ret { display: grid; place-items: center; width: 52px; height: 52px; }
.am-premio .am-ret :is(img, svg, canvas) { width: 48px; height: 48px; image-rendering: pixelated; }
.am-premio .am-ret .ico { width: 40px; height: 40px; }
.am-premio b { font-size: 13px; color: #fff3d6; }
.am-premio small { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; color: var(--muted); }
.am-prob td { padding: 6px 4px; }
.am-prob td:last-child { text-align: right; white-space: nowrap; }
.am-panel { display: flex; flex-direction: column; gap: 8px; min-height: min(70dvh, 560px); max-width: 520px; margin-inline: auto; padding: 10px 10px 0; border: 2px solid #8a6a3a; border-radius: 14px; background: linear-gradient(#3a3122, #2a2419); box-shadow: inset 0 0 0 2px #1a150e, inset 0 0 0 3px #c99a4a55; }
.am-cab { display: flex; align-items: center; gap: 12px; }
.am-cupo { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #e6d5ab; }
.am-cupo .ico { width: 16px; height: 16px; }
.am-ayuda { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #8a6a3a; background: #1a150e; color: var(--gold2); font-weight: 800; font-size: 16px; }
.am-panel .am-estado { min-height: 1.3em; margin: 0; padding: 0; text-align: center; font-size: 12px; font-weight: 700; color: var(--gold2); }
.am-contador { margin: 0; text-align: center; font-size: 12px; color: #e6d5ab; }
.am-contador b { color: #a6e08c; }
.am-cuerpo { flex: 1; display: grid; align-content: start; gap: 8px; }
.am-vacio { margin: 28px 0; text-align: center; color: #b8a67c; font-size: 13px; }
.am-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.am-fila { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 6px 10px; border: 1px solid #6a5230; border-radius: 10px; background: linear-gradient(#55472f, #463a27); }
.am-avatar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #c99a4a; background: #1c2f3a; }
.am-avatar svg { width: 30px; height: 30px; image-rendering: pixelated; }
.am-nombre { flex: 1; min-width: 0; display: grid; }
.am-nombre b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff3d6; font-size: 14px; }
.am-nombre small { display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; color: #cbb98a; }
.am-nombre small .ico { width: 12px; height: 12px; }
.am-accion { min-width: 84px; min-height: 44px; padding: 0 12px; border: 2px solid #2f6f6a; border-radius: 22px; background: linear-gradient(#8fe0d0, #4fb3a6); color: #0f2a28; font-weight: 800; font-size: 13px; box-shadow: 0 2px 0 #1d4b47; }
.am-accion.hecho, .am-accion:disabled { border-color: #6a5230; background: #3a3122; color: #b8a67c; box-shadow: none; }
.am-mas { width: 44px; height: 44px; border: 0; background: none; color: #e6d5ab; font-size: 20px; font-weight: 800; }
.am-rombo { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; padding: 0; }
.am-rombo span { display: grid; place-items: center; width: 30px; height: 30px; transform: rotate(45deg); border: 2px solid #c99a4a; background: #1a150e; font-size: 15px; font-weight: 800; }
.am-rombo span::first-letter { }
.am-rombo.si span { color: #7fe06a; } .am-rombo.no span { color: #ff9a7a; }
.am-rombo span { line-height: 1; } .am-rombo span { text-indent: 0; }
.am-buscar { display: flex; gap: 8px; }
.am-buscar input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 2px solid #6a5230; border-radius: 8px; background: #6b5a3c; color: #fff3d6; }
.am-buscar input::placeholder { color: #cbb98a; }
.am-lupa { width: 56px; min-height: 44px; display: grid; place-items: center; border: 2px solid #6f7a7a; border-radius: 22px; background: linear-gradient(#d8dede, #9aa6a6); box-shadow: 0 2px 0 #4b5555; }
.am-lupa .ico { width: 20px; height: 20px; }
.am-pie { display: flex; justify-content: center; gap: 12px; padding: 4px 0; }
.am-lote { flex: 1 1 0; max-width: 200px; min-height: 48px; border: 2px solid #6a4a22; border-radius: 24px; background: linear-gradient(#b98a4e, #8a6232); color: #fff3d6; font-weight: 800; box-shadow: 0 2px 0 #4a3216; }
.am-lote.ok { border-color: #2f6f6a; background: linear-gradient(#8fe0d0, #4fb3a6); color: #0f2a28; box-shadow: 0 2px 0 #1d4b47; }
.am-lote:disabled { filter: grayscale(.7) brightness(.75); }
.am-pestanas { display: flex; justify-content: center; gap: 4px; margin: 4px -4px 0; }
.am-pestanas button { position: relative; flex: 1 1 0; min-height: 48px; padding: 0 2px 6px; border: 2px solid #5a3d1c; border-top: 0; border-radius: 0 0 10px 10px; background: linear-gradient(#6b4a26, #4f3519); color: #e6d5ab; font-weight: 800; font-size: 11.5px; }
.am-pestanas button::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; transform: translateX(-50%) rotate(45deg); background: inherit; border: inherit; border-top: 0; border-left: 0; }
.am-pestanas { padding-bottom: 8px; }
.am-pestanas button.active { background: linear-gradient(#c9772f, #8a4a1c); color: #fff3d6; }
.am-pestanas button i { position: absolute; top: -7px; right: 2px; z-index: 1; min-width: 16px; height: 16px; line-height: 16px; border-radius: 8px; background: #d9412f; color: #fff; font-style: normal; font-size: 10px; }
.sheet:has(.am-panel) #sheetBody, .sheet:has(.am-panel) .sheetbody { background: none; }
.am-rombo em { display: block; transform: rotate(-45deg); font-style: normal; line-height: 1; }
.am-banner { position: relative; }
.am-banner .am-bolsa { justify-content: center; margin-top: 8px; }
.am-banner .am-bolsa .wcount .ico { width: 16px; height: 16px; }
.am-lados { position: absolute; left: 6px; top: 56px; display: grid; gap: 8px; z-index: 2; }
.am-cabeza { justify-items: center; text-align: center; }
.am-invocar .am-estado:empty { display: none; }
