/* TESOURO DA GUILDA (23/10, SQL 2011): src/ui/tesouro-guilda-ui.js. Mesma paleta do Salão e da Guerra de Clã. */
.tesouro-guilda{display:grid;gap:12px;color:#f4e2b0;min-width:0}
.tg-topo{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tg-topo>div{flex:1 1 180px;min-width:0}
.tg-topo small{display:block;color:#a8966f;letter-spacing:.14em;font-size:11px}
.tg-topo h3{margin:2px 0 0;font:700 20px Georgia,serif;letter-spacing:.05em;color:#ffd978}
.tg-intro{margin:0;color:#cbbf9f;font-size:13px;line-height:1.45}
.tg-nota{margin:0;color:#a8966f;font-size:12px;line-height:1.4}
.tg-aviso{margin:0;padding:8px 10px;border-radius:8px;border:1px solid #6b5426;background:rgba(255,184,77,.08);color:#e9cf93;font-size:13px}
.tg-aviso-forte{border-color:#e2b85a;color:#ffe7a8;font-weight:700}
.tg-vazio{margin:0;color:#8d95a8;font-size:13px}
.tg-card{display:grid;gap:8px;border:1px solid #4a3a1c;border-radius:12px;padding:10px 12px;background:linear-gradient(#1a140b,#0f0c07);min-width:0}
.tg-card.tg-destaque{border-color:#8a6a22;background:linear-gradient(#241a0c,#120d06)}
.tg-card h4{margin:0;font-size:15px;color:#ffd978;overflow-wrap:anywhere}
.tg-card h4 small{color:#a8966f;font-size:12px;font-weight:600;margin-left:4px}
.tg-card-topo{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.tg-card-topo h4{flex:1 1 140px}
.tg-card-topo>small{color:#a8966f;font-size:12px}
.tg-sub{color:#a8966f;font-size:11px;letter-spacing:.12em;text-transform:uppercase}
.tg-total{margin:0;display:flex;align-items:center;gap:6px;font:800 20px Georgia,serif;color:#e9dcff}
.tg-total img{width:20px;height:20px}
.tg-metas{display:grid;gap:4px;padding:2px 0 4px}
.tg-barra{height:10px;border-radius:6px;background:#2a2014;overflow:hidden;border:1px solid #4a3a1c}
.tg-barra i{display:block;height:100%;background:linear-gradient(90deg,#7a4fd0,#c9a6ff)}
.tg-metas ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.tg-meta{display:grid;justify-items:center;text-align:center;padding:5px 2px;border-radius:8px;border:1px solid #2e2414;background:rgba(0,0,0,.3);min-width:0}
.tg-meta.batida{border-color:#3f9a4a;background:rgba(111,210,157,.08)}
.tg-meta b{font-size:13px;color:#cbbf9f}
.tg-meta small{font-size:11px;color:#8d95a8}
.tg-meta.batida b{color:#7fd17f}
.tg-ativo{margin:0;padding:7px 10px;border-radius:8px;background:rgba(111,210,157,.12);color:#9fe0bb;font-weight:700;font-size:13px}
.tg-qtds{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.tg-qtd{border:1px solid #6b5426;border-radius:8px;padding:6px 12px;background:rgba(0,0,0,.45);color:#f4e2b0;font-weight:700;cursor:var(--cur-mao,pointer)}
.tg-qtd.ativa{border-color:#c9a6ff;color:#e9dcff;background:rgba(201,166,255,.12)}
.tg-outra{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#a8966f}
.tg-outra input{width:calc(90px * var(--text-scale,1));padding:5px 8px;border-radius:8px;border:1px solid #6b5426;background:#0f0c07;color:#f4e2b0}
.tg-doar{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #c9a6ff;border-radius:10px;padding:9px 14px;background:linear-gradient(#3b2566,#1e1236);color:#f0e6ff;font-weight:800;letter-spacing:.06em;cursor:var(--cur-mao,pointer)}
.tg-doar img{width:18px;height:18px}
.tg-doar:disabled{opacity:.5;cursor:var(--cur-seta,default)}
.tg-lista{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.tg-lista li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;border:1px solid #2e2414;border-radius:9px;padding:6px 8px;background:rgba(0,0,0,.3);font-size:13px;color:#e9dcb8}
.tg-lista li span{min-width:0;overflow-wrap:anywhere}
.tg-lista li small{color:#a8966f;font-size:11px}
.tg-lista li.tg-eu{border-color:#e2b85a}
.tg-regras{margin:0;padding-left:18px;color:#cbbf9f;font-size:13px;display:grid;gap:2px}
