/* Alumia 2.3 — Mercados. Segue a identidade preta, marfim e dourado. */
.market-home {margin:0 0 22px;}
.market-home-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:20px}
.market-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.market-mini{display:flex;flex-direction:column;text-align:left;gap:7px;background:#201C18;border:1px solid #4C4031;border-radius:13px;padding:18px 17px;cursor:pointer;transition:background .2s,transform .2s;font-family:inherit;color:#EFE7D9;min-width:0}
.market-mini:hover,.market-mini:focus-visible{background:#292219;transform:translateY(-2px);outline-color:#CBA766}
.market-mini-label{font-size:12px;color:#B9A992}
.market-mini b{font-size:clamp(16px,2vw,23px);font-family:Georgia,'Times New Roman',serif;font-weight:500;white-space:nowrap}
.market-mini-change{color:#BBAF9F;font-size:11px}
.market-mini-change.up{color:#A8D5B5}.market-mini-change.down{color:#E39A91}
.market-mini-foot{margin:14px 0 0;color:#AFA18E;font-size:11px;line-height:1.6}
.market-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}
.market-tile{min-width:0;border:1px solid #514332;border-radius:16px;background:linear-gradient(145deg,#211E19,#171614);padding:19px 17px;display:flex;flex-direction:column;gap:15px;text-align:left;color:#F3EEE4;cursor:pointer;font:inherit;transition:transform .2s,border .2s,background .2s}
.market-tile:hover{transform:translateY(-2px);border-color:#987C4C}.market-tile.selected{border-color:#D0AA64;background:linear-gradient(125deg,#34291A,#1C1915);box-shadow:0 0 0 1px #C6A05A33 inset}
.market-tile-top{display:flex;align-items:center;gap:11px}.market-tile-icon{display:grid;place-items:center;width:40px;height:40px;border:1px solid #705B3C;border-radius:12px;background:#352B1C;color:#E9C586;font:25px Georgia,serif;flex-shrink:0}
.market-tile-top b{display:block;font-size:14px;font-weight:600}.market-tile-top small{display:block;font-size:11px;color:#AB9E8B;margin-top:3px}
.market-tile-price{font:normal clamp(19px,2.2vw,29px)/1.1 Georgia,'Times New Roman',serif;letter-spacing:-.4px;white-space:nowrap}
.market-tile-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#A89983}.market-change{font-weight:650;color:#D5C2A3}.market-change.up,.market-delta.up{color:#B6D5B6}.market-change.down,.market-delta.down{color:#E8A69E}
.market-grid .market-tile:nth-child(5){grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center;min-height:104px;gap:18px}
.market-grid .market-tile:nth-child(5) .market-tile-price{font-size:27px}
.market-main{margin-bottom:19px}
.market-chart-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;flex-wrap:wrap;margin-bottom:24px}
.market-title{font:normal 28px Georgia,'Times New Roman',serif;color:#F1E3C9;margin:5px 0 12px}
.market-current{font:normal 37px Georgia,'Times New Roman',serif;color:#FAF2E2;line-height:1.15}
.market-delta{margin-top:8px;font-size:13px;font-weight:650;color:#CFB58C}.market-delta span{font-weight:400;color:#A89C8B}
.market-range{background:#25211B;display:flex;gap:3px;padding:3px;border-radius:10px;border:1px solid #554431}
.market-range button{font:inherit;border:0;background:transparent;color:#A99B88;cursor:pointer;padding:9px 12px;font-size:11px;border-radius:8px;white-space:nowrap}
.market-range button.active{background:#B9904F;color:#15120F;font-weight:700}
.market-svg{width:100%;height:auto;aspect-ratio:720/248;max-height:320px;display:block;overflow:visible}
.market-chart-dates{display:flex;justify-content:space-between;gap:8px;margin-top:2px;color:#9D9386;font-size:11px}
.market-chart-empty{height:245px;display:flex;align-items:center;justify-content:center;text-align:center;padding:20px;background:#211E19;border:1px dashed #5B4935;border-radius:14px;color:#B8A992;font-size:13px}
.market-source{font-size:11px;color:#AFA391;line-height:1.75;margin:19px 0 0;border-top:1px solid #40362D;padding-top:14px}.market-source strong{color:#D1B27B}
.market-extras{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-bottom:24px}
.market-converter{display:grid;gap:9px;margin-top:18px}.market-converter label{font-size:11px;color:#C3AE8F}.market-converter input{background:#24201A;border:1px solid #75603F;border-radius:10px;color:#FFF3DD;padding:12px;font:inherit;width:100%;box-sizing:border-box;outline-color:#D1AD6E}
.market-converter-value{font:normal 30px Georgia,'Times New Roman',serif;color:#F5D9A6;margin-top:4px}
.market-explain{color:#B8A996;font-size:12px;line-height:1.7;margin-top:12px}.market-explain a{color:#E7C489;text-underline-offset:3px}
@media(max-width:1150px){.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-grid .market-tile:nth-child(5){grid-column:1/-1}}
@media(max-width:680px){.market-home{margin-bottom:15px}.market-home-heading{margin-bottom:12px}.market-mini-grid{gap:7px}.market-mini{padding:11px 9px;border-radius:10px;gap:6px}.market-mini-label{font-size:10px}.market-mini b{font-size:clamp(13px,3.5vw,19px)}.market-mini-change{font-size:9px}.market-mini-foot{font-size:10px;margin-top:10px}.market-grid{gap:9px;margin-bottom:17px}.market-tile{padding:13px 12px;gap:12px;border-radius:13px}.market-tile-top{gap:7px}.market-tile-icon{width:31px;height:31px;font-size:19px;border-radius:9px}.market-tile-top b{font-size:12px}.market-tile-top small{font-size:9px}.market-tile-price{font-size:clamp(16px,4.5vw,23px)}.market-tile-foot{font-size:9px;flex-wrap:wrap}.market-grid .market-tile:nth-child(5){min-height:89px}.market-grid .market-tile:nth-child(5) .market-tile-price{font-size:23px}.market-grid .market-tile:nth-child(5) .market-tile-foot{display:none}.market-chart-top{gap:10px}.market-title{font-size:24px}.market-current{font-size:31px}.market-range{width:100%;justify-content:center}.market-range button{flex:1;padding:8px 9px}.market-extras{grid-template-columns:1fr;gap:12px}.market-chart-empty{height:200px}.market-svg{min-height:150px}}
@media(max-width:370px){.market-mini-grid{grid-template-columns:repeat(2,1fr)}.market-mini:last-child{grid-column:1/-1}.market-tile-price{font-size:17px}}
