:root {
    --fundo: #14161c;
    --card: #1d2028;
    --borda: #2c303b;
    --texto: #e8e6e1;
    --suave: #a7a9b3;
    --apagado: #7d808b;
    --tag: #2a2e38;
    --ouro: #f0b54a;
}
* { box-sizing: border-box; margin: 0; }
html { color-scheme: dark; }
body {
    background: var(--fundo);
    background-image: radial-gradient(circle at 20% 0%, #2a2340 0, transparent 45%), radial-gradient(circle at 90% 100%, #3a1c1c 0, transparent 40%);
    background-attachment: fixed;
    color: var(--texto);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
}
.topo, .hero, .grade { max-width: 1040px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.topo { padding-top: 40px; padding-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: .5px; }
.logo span { color: var(--ouro); }
.idioma { display: flex; gap: 4px; background: #22252e; border-radius: 8px; padding: 3px; }
.idioma button { border: 0; background: none; color: #9aa; font: inherit; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 6px; cursor: pointer; }
.idioma button.on { background: var(--ouro); color: var(--fundo); }
.idioma button:focus-visible { outline: 2px solid var(--ouro); outline-offset: 2px; }
.hero { padding-top: 36px; padding-bottom: 28px; }
.hero h1 { font-size: clamp(30px, 6vw, 40px); line-height: 1.15; }
.hero p { color: var(--suave); margin-top: 10px; font-size: 17px; }
.grade { padding-top: 8px; padding-bottom: 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card {
    background: var(--card); border: 1px solid var(--borda); border-radius: 14px; overflow: hidden;
    display: flex; flex-direction: column; color: inherit; text-decoration: none;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.card:hover, .card:focus-visible { transform: translateY(-3px); border-color: var(--link); box-shadow: 0 10px 30px #0006; outline: none; }
.faixa { height: 120px; display: grid; place-items: center; }
.faixa img { width: 72px; height: 72px; image-rendering: pixelated; filter: drop-shadow(0 6px 10px #0008); transition: transform .15s ease; }
.card:hover .faixa img { transform: scale(1.08); }
.corpo { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.corpo h2 { font-size: 20px; }
.corpo p { color: var(--suave); font-size: 14px; line-height: 1.45; flex: 1; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.tag { font-size: 12px; padding: 3px 8px; border-radius: 99px; background: var(--tag); color: #c9cbd3; }
.ir { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.abrir { color: var(--link); font-size: 14px; font-weight: 700; }
.ir small { color: var(--apagado); font-size: 13px; overflow-wrap: anywhere; }
.rodape { text-align: center; color: #6c6f7a; font-size: 13px; padding: 0 16px 32px; }
.aviso { max-width: 1040px; margin: 0 auto; padding: 40px 24px; color: var(--suave); }
@media (max-width: 600px) {
    .topo, .hero, .grade { padding-left: 16px; padding-right: 16px; }
    .topo { padding-top: 24px; }
}
#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; padding: 10px 16px; background: #5a1020; color: #fff; }
#blazor-error-ui a { color: #fff; margin-left: 10px; }
#blazor-error-ui .dismiss { cursor: pointer; float: right; }
