/* TV ONLINE HD — CSS puro (substitui o Tailwind do projeto original) */
:root {
  --background: 220 22% 11%;
  --foreground: 210 20% 92%;
  --card: 220 20% 15%;
  --primary: 217 91% 60%;
  --primary-fg: 0 0% 100%;
  --secondary: 220 16% 22%;
  --muted-fg: 215 14% 64%;
  --accent: 220 16% 24%;
  --destructive: 0 72% 51%;
  --border: 220 15% 22%;
  --live: 0 84% 55%;
}
* { box-sizing: border-box; border-color: hsl(var(--border)); }
html, body { margin: 0; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  background: hsl(var(--background)); color: hsl(var(--foreground));
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5; min-height: 100vh;
}
img { -webkit-user-drag: none; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.25rem; height: 1.25rem; flex: none; }
.ic-sm { width: 1rem; height: 1rem; }
.ic-lg { width: 1.5rem; height: 1.5rem; }
.ic-xl { width: 2.5rem; height: 2.5rem; }
.spin { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .5; } }
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 1rem; }
.container.narrow { max-width: 56rem; }
.container.tight { max-width: 32rem; }
.muted { color: hsl(var(--muted-fg)); }
.player-vh { height: 100vh; height: 100dvh; }

/* ---------- cabeçalhos ---------- */
.home-header { position: sticky; top: 0; z-index: 20; background: hsl(var(--background)); border-bottom: 1px solid hsl(var(--border)); }
.home-header .row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; padding: .75rem 1rem; max-width: 1400px; margin: 0 auto; }
.home-logo { order: 1; display: flex; align-items: center; flex: none; min-width: 0; }
.home-logo img { height: 1.5rem; width: auto; max-width: 60vw; object-fit: contain; }
.home-actions { order: 2; margin-left: auto; display: flex; align-items: center; gap: .25rem; flex: none; }
.search-box { order: 3; position: relative; width: 100%; }
.search-box .ic { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: hsl(var(--muted-fg)); pointer-events: none; }
.search-input {
  width: 100%; height: 2.75rem; padding: 0 2.5rem; border-radius: 9999px; border: 1px solid transparent;
  background: hsl(var(--secondary)); outline: none; transition: border-color .15s, background-color .15s;
}
.search-input.sm { height: 2.25rem; border-radius: .5rem; padding: 0 2.25rem; border-color: hsl(var(--border)); }
.search-input:focus-visible { border-color: hsl(var(--primary) / .7); }
.search-input::placeholder { color: hsl(var(--muted-fg)); }
.search-clear { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); padding: .25rem; border-radius: 9999px; color: hsl(var(--muted-fg)); display: flex; }
.search-clear .ic { position: static; transform: none; }
.search-clear:hover { color: hsl(var(--foreground)); }
.pill-btn { display: flex; align-items: center; gap: .4rem; padding: .5rem .75rem; border-radius: 9999px; font-size: .875rem; font-weight: 700; color: hsl(var(--muted-fg)); transition: background-color .15s, color .15s; }
.pill-btn:hover { color: hsl(var(--foreground)); background: hsl(var(--secondary)); }
.icon-btn { position: relative; padding: .6rem; border-radius: 9999px; color: hsl(var(--muted-fg)); transition: background-color .15s, color .15s; display: flex; }
.icon-btn:hover { color: hsl(var(--foreground)); background: hsl(var(--secondary)); }
.icon-btn[aria-pressed="true"] { background: rgb(234 179 8 / .2); color: #facc15; }
.icon-btn[aria-pressed="true"] .ic { fill: #facc15; }
.badge { position: absolute; top: -2px; right: -2px; min-width: 1.1rem; height: 1.1rem; padding: 0 .25rem; border-radius: 9999px; background: hsl(var(--primary)); color: hsl(var(--primary-fg)); font-size: 10px; font-weight: 700; line-height: 1.1rem; text-align: center; }
@media (min-width: 640px) {
  .home-header .row { flex-wrap: nowrap; gap: 1rem; }
  .home-logo img { height: 1.75rem; max-width: none; }
  .home-actions { order: 3; margin-left: 0; }
  .search-box { order: 2; flex: 1; max-width: 28rem; margin: 0 auto; width: auto; }
}
@media (min-width: 768px) { .home-logo img { height: 2rem; } }
@media (min-width: 1024px) { .home-logo img { height: 2.5rem; } .search-box { max-width: 32rem; } }
@media (min-width: 1280px) { .home-logo img { height: 2.75rem; } }

.sub-header { position: sticky; top: 0; z-index: 20; background: hsl(var(--background) / .92); border-bottom: 1px solid hsl(var(--border)); }
.sub-header .row { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; max-width: 1400px; margin: 0 auto; }
.sub-header h1 { font-size: 1.125rem; font-weight: 800; }
.sub-header h1.ellipsis { font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sub-header .search-box { order: 0; margin-left: auto; max-width: 24rem; flex: 1; width: auto; }
.back-btn { padding: .5rem; margin-left: -.5rem; border-radius: .5rem; display: flex; }
.back-btn:hover { background: hsl(var(--secondary)); }

main.page { padding: 1.25rem 1rem 7rem; max-width: 1400px; margin: 0 auto; }
main.page > * + * { margin-top: 1.5rem; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.section-head h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.125rem; font-weight: 800; }
.section-head .count { font-size: .75rem; font-weight: 600; color: hsl(var(--muted-fg)); }
.fav-title-ic { color: #facc15; fill: #facc15; }

/* ---------- categorias ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: .6rem .5rem; }
.chip {
  padding: .5rem 1.25rem; border-radius: 9999px; font-size: .9rem; font-weight: 600; line-height: 1.25;
  color: hsl(var(--foreground)); background: hsl(var(--secondary)); border: 1px solid hsl(var(--border));
  transition: background-color .15s, color .15s, border-color .15s;
}
.chip[aria-pressed="true"] { color: hsl(var(--primary-fg)); background: hsl(var(--primary)); border-color: hsl(var(--primary)); }
.chip:focus-visible, .channel-card-main:focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: 2px; }
@media (hover: hover) { .chip[aria-pressed="false"]:hover { background: hsl(var(--accent)); } }
@media (min-width: 768px) {
  .chip-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -ms-overflow-style: none; scrollbar-width: none; }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip { flex: none; white-space: nowrap; }
}

/* ---------- grade de canais ---------- */
.channel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: .75rem; }
@media (max-width: 480px) { .channel-grid { gap: .6rem; } }
.channel-card { position: relative; content-visibility: auto; contain-intrinsic-size: 150px 150px; }
.channel-card-main { display: block; width: 100%; text-align: left; border-radius: .85rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); overflow: hidden; transition: border-color .15s, background-color .15s; }
.channel-card-main:active { background: hsl(var(--accent)); }
@media (hover: hover) { .channel-card-main:hover { border-color: hsl(var(--primary) / .6); background: hsl(var(--accent) / .6); } }
.channel-logo { display: flex; align-items: center; justify-content: center; height: 6.25rem; padding: .75rem; background: hsl(var(--background) / .45); }
.channel-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.channel-initials { display: flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 9999px; font-size: 1rem; font-weight: 800; color: hsl(var(--primary)); background: hsl(var(--primary) / .14); }
.channel-name { display: block; padding: .55rem .7rem .65rem; font-size: .8rem; font-weight: 600; line-height: 1.25; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.channel-fav { position: absolute; top: .3rem; right: .3rem; z-index: 2; display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 9999px; color: hsl(var(--muted-fg)); opacity: .55; transition: color .15s, background-color .15s, opacity .15s; }
.channel-fav .ic { width: 1rem; height: 1rem; }
.channel-fav[aria-pressed="true"] { color: #facc15; opacity: 1; }
.channel-fav[aria-pressed="true"] .ic { fill: #facc15; }
@media (hover: hover) { .channel-fav:hover { background: hsl(var(--background) / .6); opacity: 1; } }
.empty { text-align: center; padding: 3rem 0; color: hsl(var(--muted-fg)); }
.empty .ic { width: 2.5rem; height: 2.5rem; margin: 0 auto .75rem; opacity: .3; display: block; }
.empty p:first-of-type { font-size: .875rem; }
.empty p + p { font-size: .75rem; margin-top: .25rem; }

/* ---------- menu flutuante ---------- */
.fab-backdrop { position: fixed; inset: 0; background: rgb(0 0 0 / .4); z-index: 40; }
.fab-wrap { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: .75rem; }
.fab { width: 3.5rem; height: 3.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; background: hsl(var(--primary)); color: hsl(var(--primary-fg)); box-shadow: 0 10px 15px rgb(0 0 0 / .35); transition: transform .3s, background-color .3s; }
.fab .ic { width: 1.5rem; height: 1.5rem; }
.fab.open { background: hsl(var(--destructive)); transform: rotate(45deg); }
.fab-item { display: flex; align-items: center; gap: .75rem; animation: fabin .2s both; }
.fab-item .lbl { font-size: .75rem; font-weight: 500; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); padding: .375rem .75rem; border-radius: .5rem; white-space: nowrap; }
.fab-item .btn { width: 2.75rem; height: 2.75rem; border-radius: 9999px; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 6px rgb(0 0 0 / .3); transition: transform .15s; }
.fab-item .btn:hover { transform: scale(1.1); }
.fab-item .btn.active { box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px #facc15; }
.fab-item .btn.active .ic { fill: #fff; }
@keyframes fabin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.dub { position: absolute; top: .375rem; left: .375rem; background: hsl(var(--primary) / .9); color: hsl(var(--primary-fg)); font-size: 10px; font-weight: 700; padding: .125rem .375rem; border-radius: .25rem; }
.hero { display: flex; gap: 1rem; align-items: flex-start; }
.hero img { width: 7rem; aspect-ratio: 2/3; border-radius: .5rem; object-fit: cover; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); flex: none; }
.hero h2 { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.hero .meta { font-size: .875rem; color: hsl(var(--muted-fg)); margin-top: .25rem; }
.hero .btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
@media (min-width: 640px) { .hero { gap: 1.5rem; } .hero img { width: 10rem; } .hero h2 { font-size: 1.5rem; } }
.btn-primary, .btn-secondary { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 9999px; font-size: .875rem; font-weight: 700; }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-fg)); }
.btn-primary .ic { fill: currentColor; width: 1rem; height: 1rem; }
.btn-secondary { background: hsl(var(--secondary)); }
.btn-secondary:hover { background: hsl(var(--secondary) / .8); }
.cap-title { font-size: .875rem; font-weight: 700; margin: 2rem 0 .75rem; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
@media (min-width: 640px) { .cap-grid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 768px) { .cap-grid { grid-template-columns: repeat(8, 1fr); } }
.cap-btn { text-align: center; padding: .5rem 0; border-radius: .5rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); font-size: .875rem; font-weight: 600; transition: border-color .15s, background-color .15s; display: block; }
.cap-btn:hover { border-color: hsl(var(--primary) / .6); }
.cap-btn.on { background: hsl(var(--primary) / .2); border-color: hsl(var(--primary)); }
.cap-drawer .cap-btn.on { background: hsl(var(--primary)); color: hsl(var(--primary-fg)); }

/* ---------- configurações ---------- */
.settings-item { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: .75rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); text-align: left; transition: border-color .15s; }
.settings-item:hover { border-color: hsl(var(--primary) / .3); }
.settings-item + .settings-item { margin-top: .5rem; }
.settings-item .ico { width: 2.5rem; height: 2.5rem; border-radius: .5rem; background: hsl(var(--secondary)); display: flex; align-items: center; justify-content: center; }
.settings-item b { display: block; font-size: .875rem; font-weight: 600; }
.settings-item small { color: hsl(var(--muted-fg)); font-size: .75rem; }
.status-row { display: flex; align-items: center; justify-content: center; gap: .5rem; padding-top: 1.5rem; font-size: .75rem; color: hsl(var(--muted-fg)); }
.dot { width: .5rem; height: .5rem; border-radius: 9999px; background: #eab308; }
.dot.ok { background: #22c55e; }

/* ---------- player ---------- */
.player-body { background: #000; overflow: hidden; }
.pl { position: relative; width: 100%; background: #000; overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: manipulation; color: #fff; }
.sp { position: absolute; inset: 0; background: #000; }
.sp video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.sp iframe, .pl > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sp-center { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 0 1.5rem; text-align: center; color: #fff; }
.sp-loading { pointer-events: none; }
.sp-loading.first { background: #000; }
.sp-center p { font-size: .875rem; color: rgb(255 255 255 / .8); }
.sp-center p.small { font-size: .75rem; color: rgb(255 255 255 / .5); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-center .ic-xl { color: rgb(255 255 255 / .8); }
.sp-retry { display: flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 9999px; background: rgb(255 255 255 / .15); font-size: .875rem; }
.sp-retry:hover { background: rgb(255 255 255 / .25); }
.sp-controls { position: absolute; bottom: .75rem; left: .75rem; z-index: 20; display: flex; align-items: center; gap: 2px; border-radius: 9999px; background: rgb(0 0 0 / .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 2px 4px; transition: opacity .3s; }
.sp-controls button { padding: .5rem; color: rgb(255 255 255 / .9); display: flex; }
.sp-controls button:hover { color: #fff; }
.sp-controls input[type=range] { display: none; width: 5rem; accent-color: #fff; }
.sp-progress { position: absolute; bottom: 3.5rem; left: .75rem; right: .75rem; z-index: 20; display: flex; align-items: center; gap: .5rem; color: rgb(255 255 255 / .9); font-size: .75rem; font-variant-numeric: tabular-nums; transition: opacity .3s; }
.sp-progress span { width: 2.5rem; }
.sp-progress span:first-child { text-align: right; }
.sp-progress input { flex: 1; accent-color: #fff; height: 4px; }
.hidden-ctl { opacity: 0; pointer-events: none; }
@media (min-width: 640px) {
  .sp-controls { bottom: 1rem; left: 1.25rem; gap: .5rem; padding: 6px 8px; }
  .sp-controls input[type=range] { display: block; }
  .sp-progress { bottom: 4rem; left: 1.25rem; right: 1.25rem; }
}

.ov { position: absolute; inset: 0; z-index: 10; pointer-events: none; transition: opacity .3s; }
.ov.off { opacity: 0; }
.ov .pe { pointer-events: auto; }
.ov.off .pe { pointer-events: none; }
.topbar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: .25rem; padding: .375rem .5rem; background: linear-gradient(to bottom, rgb(0 0 0 / .8), transparent); }
.topbar .back { flex: none; display: flex; align-items: center; gap: .5rem; padding: .5rem; margin-left: -.25rem; color: rgb(255 255 255 / .9); }
.topbar .back span { font-size: .875rem; display: none; }
.topbar .mid { display: flex; align-items: center; justify-content: center; gap: .5rem; flex: 1; min-width: 0; }
.topbar .mid img { width: 1.5rem; height: 1.5rem; object-fit: contain; border-radius: .25rem; display: none; flex: none; }
.topbar .title { color: #fff; font-weight: 600; font-size: .875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tag-live, .tag-cap { flex: none; margin-left: .25rem; padding: 2px 6px; border-radius: .25rem; font-size: 9px; color: #fff; font-weight: 700; display: flex; align-items: center; gap: .25rem; white-space: nowrap; }
.tag-live { background: hsl(var(--live)); }
.tag-live i { width: 6px; height: 6px; border-radius: 9999px; background: #fff; animation: pulse 2s infinite; }
.tag-cap { background: hsl(var(--primary)); color: hsl(var(--primary-fg)); }
.topbar .tools { flex: none; display: flex; align-items: center; }
.topbar .tools button { position: relative; padding: .5rem; color: rgb(255 255 255 / .7); display: flex; }
.topbar .tools button:hover { color: #fff; }
.topbar .tools button:disabled { opacity: .3; }
.topbar .tools button.on { color: hsl(var(--primary)); }
.topbar .tools button small { position: absolute; bottom: -2px; right: -2px; font-size: 9px; font-weight: 700; line-height: 1; background: hsl(var(--primary)); color: hsl(var(--primary-fg)); border-radius: .25rem; padding: 0 2px; }
.list-btn-wrap { position: absolute; bottom: .75rem; right: .75rem; }
.list-btn, .fs-btn { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border-radius: 9999px; background: rgb(0 0 0 / .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: rgb(255 255 255 / .9); font-size: .875rem; transition: background-color .15s; }
.list-btn:hover { background: rgb(0 0 0 / .8); }
.list-btn .ic { width: 1rem; height: 1rem; }
.fs-wrap { position: absolute; bottom: .75rem; left: .75rem; }
.fs-btn { padding: .5rem; }
.show-zone { position: absolute; top: 0; left: 0; right: 0; height: 2.5rem; z-index: 11; background: transparent; }
.numbuf { position: absolute; top: 3.5rem; right: 1rem; z-index: 20; border-radius: .5rem; background: rgb(0 0 0 / .75); padding: .5rem 1rem; font-family: ui-monospace, monospace; font-size: 1.875rem; font-weight: 700; color: #fff; pointer-events: none; }
@media (min-width: 640px) {
  .topbar { gap: .75rem; padding: .75rem 1.25rem; }
  .topbar .back span { display: inline; }
  .topbar .title { font-size: 1rem; }
  .tag-live, .tag-cap { margin-left: .5rem; padding: 2px 8px; font-size: 10px; }
  .list-btn-wrap { bottom: 1rem; right: auto; left: 50%; transform: translateX(-50%); }
  .list-btn { padding: .5rem 1rem; }
  .fs-wrap { bottom: 1rem; left: 1.25rem; }
  .show-zone { height: 3rem; }
}
@media (min-width: 768px) { .topbar .mid img { display: block; } }
.center-msg { background: hsl(var(--background)); color: hsl(var(--foreground)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.center-msg.dark { background: #000; color: #fff; gap: .75rem; }
.center-msg .btn-secondary { font-size: .875rem; font-weight: 400; }

/* gaveta de canais / capítulos */
.drawer { position: absolute; inset: 0; z-index: 30; display: flex; justify-content: flex-end; }
.drawer.dim { background: rgb(0 0 0 / .6); }
.drawer-panel { width: 100%; height: 100%; max-width: 100%; background: hsl(var(--background) / .96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border-left: 1px solid hsl(var(--border)); display: flex; flex-direction: column; animation: slidein .2s both; color: hsl(var(--foreground)); }
@media (min-width: 640px) { .drawer-panel { width: 24rem; } }
.drawer-panel.sm { max-width: 24rem; }
@keyframes slidein { from { transform: translateX(100%); } to { transform: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .75rem 1rem; border-bottom: 1px solid hsl(var(--border)); }
.drawer-head h2 { font-size: 1rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-head button { padding: .25rem; color: hsl(var(--muted-fg)); display: flex; }
.drawer-head button:hover { color: hsl(var(--foreground)); }
.drawer-search { padding: .5rem 1rem; }
.drawer-cats { padding: .5rem 1rem; display: flex; gap: .375rem; overflow-x: auto; scrollbar-width: none; }
.drawer-cats::-webkit-scrollbar { display: none; }
.drawer-cats button { padding: .25rem .75rem; border-radius: 9999px; font-size: .75rem; font-weight: 500; white-space: nowrap; background: hsl(var(--secondary)); border: 1px solid hsl(var(--border)); transition: background-color .15s; flex: none; }
.drawer-cats button:hover { background: hsl(var(--accent)); }
.drawer-cats button.on { background: hsl(var(--primary)); color: hsl(var(--primary-fg)); border-color: hsl(var(--primary)); }
.drawer-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: .25rem .5rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: .75rem; }
.drawer-body .cap-grid { grid-template-columns: repeat(4, 1fr); }
.d-item { width: 100%; display: flex; align-items: center; gap: .75rem; padding: .625rem .75rem; border-radius: .5rem; text-align: left; border: 1px solid transparent; transition: background-color .15s; }
.d-item:hover { background: hsl(var(--secondary)); }
.d-item.cur { background: hsl(var(--primary) / .15); border-color: hsl(var(--primary) / .3); }
.d-item .n { font-size: .75rem; font-family: ui-monospace, monospace; color: hsl(var(--muted-fg)); width: 1.75rem; text-align: right; flex: none; }
.d-item img { width: 2rem; height: 2rem; object-fit: contain; border-radius: .25rem; flex: none; }
.d-item .t { font-size: .875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-item.cur .t { color: hsl(var(--primary)); font-weight: 600; }
.d-item .live { margin-left: auto; padding: 2px 6px; border-radius: .25rem; background: hsl(var(--live)); color: #fff; font-size: 8px; font-weight: 700; display: flex; align-items: center; gap: .25rem; flex: none; }
.d-item .live i { width: 4px; height: 4px; border-radius: 9999px; background: #fff; animation: pulse 2s infinite; }
.toast-wrap { position: fixed; left: 50%; bottom: 5.5rem; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: .5rem; align-items: center; pointer-events: none; width: max-content; max-width: 92vw; }
.toast { background: hsl(var(--card)); color: hsl(var(--foreground)); border: 1px solid hsl(var(--border)); border-radius: .5rem; padding: .625rem 1rem; font-size: .875rem; box-shadow: 0 10px 15px rgb(0 0 0 / .4); animation: fabin .2s both; }
.toast.err { border-color: hsl(var(--destructive)); }
.toast.ok { border-color: #22c55e; }
body.player-body .toast-wrap { bottom: 4.5rem; }

:root { --primary: 0 84% 56%; --accent: 0 45% 22%; }
.home-header { background: hsl(var(--background) / .97); box-shadow: 0 5px 20px rgb(0 0 0 / .16); }
.home-header .row { gap: .65rem 1rem; padding-top: .65rem; padding-bottom: .65rem; }
.home-actions { gap: .4rem; }
.pill-btn { min-height:2.55rem; padding:.55rem .95rem; color:#fff; background:linear-gradient(135deg,hsl(var(--primary)),hsl(0 78% 42%)); border:1px solid hsl(0 90% 68% / .35); box-shadow:0 4px 14px hsl(0 84% 45% / .2); }
.pill-btn .ic { width:1.05rem; height:1.05rem; }
.pill-btn:hover { color:#fff; filter:brightness(1.08); background:hsl(var(--primary)); }
.icon-btn { background:hsl(var(--secondary)); border:1px solid hsl(var(--border)); }
.search-input { background:hsl(220 20% 17%); border-color:hsl(var(--border)); }
.chip-row { gap:.45rem; }
.chip { padding:.48rem .95rem; font-size:.82rem; }
.chip[aria-pressed="true"] { box-shadow:0 3px 12px hsl(var(--primary) / .2); }
main.page { padding-top:1rem; }
.sub-header { background:hsl(var(--background) / .97); box-shadow:0 4px 16px rgb(0 0 0 / .14); }
.sub-header .row { min-height:3.7rem; }
.sub-header .back-btn { background:hsl(var(--secondary)); border:1px solid hsl(var(--border)); }
.sub-header .back-btn:active { transform:scale(.96); }
.hero { padding:1rem; border:1px solid hsl(var(--border)); border-radius:1rem; background:linear-gradient(145deg,hsl(var(--card)),hsl(var(--background))); box-shadow:0 8px 24px rgb(0 0 0 / .16); }
.hero img { width:6.5rem; border-radius:.7rem; }
.hero h2 { font-size:1.35rem; }
.hero .meta { line-height:1.6; }
.cap-title { display:flex; align-items:center; gap:.5rem; font-size:1rem; margin:1.5rem 0 .8rem; }
.cap-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:.55rem; }
.cap-btn { padding:.65rem .25rem; border-radius:.65rem; font-size:.82rem; background:hsl(var(--card)); border-color:hsl(var(--border)); }
.cap-btn:active { transform:scale(.97); }
.cap-btn.on { color:#fff; background:hsl(var(--primary)); border-color:hsl(var(--primary)); }
@media (min-width:640px) { .cap-grid { grid-template-columns:repeat(6,minmax(0,1fr)); } }
@media (min-width:900px) { .cap-grid { grid-template-columns:repeat(8,minmax(0,1fr)); } }
@media (max-width:420px) { .home-logo img { max-width:42vw; } .pill-btn { padding:.48rem .7rem; font-size:.78rem; } .hero { padding:.75rem; gap:.8rem; } .hero img { width:5.6rem; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; } }

/* ---------- banner de parceria (acima das categorias) ---------- */
.site-banner { position:relative; display:flex; align-items:center; gap:.8rem; width:100%; padding:.7rem .85rem; color:#fff; text-decoration:none; overflow:hidden; border-radius:1rem; border:1px solid hsl(0 90% 70% / .35); background:radial-gradient(120% 160% at 100% 0%,hsl(220 70% 32% / .75),transparent 55%),linear-gradient(115deg,hsl(0 80% 36%),hsl(0 84% 52%) 55%,hsl(14 90% 55%)); box-shadow:0 6px 22px hsl(0 84% 40% / .28); isolation:isolate; }
.site-banner::before { content:""; position:absolute; inset:0; z-index:-1; background:repeating-linear-gradient(135deg,rgb(255 255 255 / .05) 0 10px,transparent 10px 22px); }
.site-banner::after { content:""; position:absolute; top:0; bottom:0; width:40%; left:-60%; z-index:-1; background:linear-gradient(100deg,transparent,rgb(255 255 255 / .22),transparent); transform:skewX(-20deg); animation:sbShine 4.5s ease-in-out infinite; }
@keyframes sbShine { 0%,55% { left:-60%; } 100% { left:130%; } }
.sb-tv { flex:none; width:2.6rem; height:2.3rem; filter:drop-shadow(0 3px 6px rgb(0 0 0 / .35)); }
.sb-body { display:flex; flex-direction:column; min-width:0; gap:.1rem; flex:1; }
.sb-live { display:inline-flex; align-items:center; gap:.35rem; align-self:flex-start; padding:.1rem .5rem; font-size:.62rem; font-weight:800; letter-spacing:.08em; background:rgb(0 0 0 / .35); border-radius:9999px; }
.sb-live i { width:.5rem; height:.5rem; border-radius:50%; background:#fff; animation:sbPulse 1.2s ease-in-out infinite; }
@keyframes sbPulse { 50% { opacity:.25; transform:scale(.7); } }
.site-banner-title { font-size:1.05rem; font-weight:900; letter-spacing:.03em; line-height:1.15; text-shadow:0 2px 6px rgb(0 0 0 / .3); }
.site-banner-text { font-size:.74rem; font-weight:500; line-height:1.25; opacity:.95; }
.sb-cta { flex:none; display:inline-flex; align-items:center; gap:.4rem; padding:.5rem .85rem; font-size:.78rem; font-weight:800; color:hsl(0 80% 38%); background:#fff; border-radius:9999px; box-shadow:0 3px 10px rgb(0 0 0 / .25); white-space:nowrap; }
.sb-cta b { font-size:.6rem; }
.site-banner.has-img { padding:0; background:none; border:0; box-shadow:none; }
.site-banner.has-img::before, .site-banner.has-img::after { display:none; }
.site-banner.has-img img { display:block; width:100%; height:auto; max-height:10rem; object-fit:cover; border-radius:1rem; }
main.page > .site-banner + * { margin-top:1rem; }
@media (hover:hover) { a.site-banner { transition:transform .15s, box-shadow .15s; } a.site-banner:hover { transform:translateY(-2px); box-shadow:0 10px 28px hsl(0 84% 40% / .4); } }
@media (max-width:460px) { .sb-cta { padding:.45rem .65rem; font-size:.72rem; } .sb-cta b { display:none; } .sb-tv { width:2.1rem; height:1.9rem; } .site-banner-title { font-size:.95rem; } .site-banner-text { font-size:.68rem; } }
@media (min-width:768px) { .site-banner { padding:.85rem 1.25rem; gap:1.1rem; } .sb-tv { width:3.4rem; height:3rem; } .site-banner-title { font-size:1.3rem; } .site-banner-text { font-size:.86rem; } .sb-cta { padding:.6rem 1.2rem; font-size:.88rem; } }
@media (prefers-reduced-motion:reduce) { .site-banner::after, .sb-live i { animation:none; } }

/* ---------- rodapé ---------- */
.site-footer { margin-top: 2.5rem; padding: 2rem 1rem 1.25rem; background: hsl(var(--card)); border-top: 1px solid hsl(var(--border)); }
.sf-inner, .sf-bottom { width: 100%; max-width: 1400px; margin: 0 auto; }
.sf-inner { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.sf-brand img { display: block; height: 2rem; width: auto; max-width: 70vw; margin-bottom: .75rem; }
.sf-brand p { max-width: 26rem; font-size: .82rem; line-height: 1.55; color: hsl(var(--muted-fg)); }
.sf-col h3 { margin-bottom: .6rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--muted-fg)); }
.sf-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.sf-col a { font-size: .85rem; font-weight: 600; color: hsl(var(--foreground)); }
@media (hover: hover) { .sf-col a:hover { color: hsl(var(--primary)); } }
.sf-bottom { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid hsl(var(--border)); font-size: .74rem; color: hsl(var(--muted-fg)); }
@media (min-width: 768px) {
  .site-footer { padding: 2.25rem 1.5rem 1.25rem; }
  .sf-inner { grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
}

.home-logo a { display:flex; align-items:center; }
@media (min-width:640px) { .home-header .home-actions { order:3; margin-left:0; } }

/* ---------- aviso "conecte-se ao Wi-Fi" no player ---------- */
.wifi-gate { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 4.5rem 1.5rem 5rem; text-align: center; background: #000; color: #fff; overflow-y: auto; }
.wifi-gate h2 { font-size: clamp(1.15rem, 4.5vw, 1.6rem); font-weight: 800; line-height: 1.2; }
.wifi-gate p { max-width: 26rem; font-size: .95rem; line-height: 1.55; color: rgb(255 255 255 / .75); }
.wifi-ic { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 9999px; background: hsl(var(--primary) / .18); color: hsl(var(--primary)); }
.wifi-ic .ic { width: 2rem; height: 2rem; }
.wifi-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .5rem; }
.wifi-btns .btn-secondary { background: rgb(255 255 255 / .14); color: #fff; }
.wifi-btns .btn-primary .ic { fill: none; }


/* ---------- avisos sobre a imagem do player ---------- */
.avisos { position: absolute; top: 3.6rem; left: 0; right: 0; z-index: 12; display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 0 .75rem; pointer-events: none; }
.aviso { pointer-events: auto; display: flex; align-items: flex-start; gap: .6rem; width: 100%; max-width: 34rem; padding: .65rem .75rem; border-radius: .75rem; color: #fff; font-size: .82rem; line-height: 1.35; background: rgb(15 18 25 / .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgb(255 255 255 / .12); border-left: 4px solid var(--av, #3b82f6); box-shadow: 0 8px 24px rgb(0 0 0 / .45); animation: avin .25s both; transition: opacity .25s, transform .25s; }
.aviso.out { opacity: 0; transform: translateY(-6px); }
.aviso.info { --av: #3b82f6; }
.aviso.aviso { --av: #f59e0b; }
.aviso.erro { --av: #ef4444; }
.aviso.sucesso { --av: #22c55e; }
.aviso-ic { flex: none; color: var(--av); display: flex; padding-top: 1px; }
.aviso-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.aviso-tx b { font-size: .85rem; }
.aviso-tx span { color: rgb(255 255 255 / .88); overflow-wrap: anywhere; }
.aviso-x { flex: none; padding: .15rem; color: rgb(255 255 255 / .6); display: flex; }
.aviso-x:hover { color: #fff; }
@keyframes avin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 640px) { .avisos { top: 4.4rem; } .aviso { font-size: .9rem; } }


/* ---------- Jogos ao vivo e próximos (grade, sem efeitos) ---------- */
.games { display: flex; flex-direction: column; gap: 1.5rem; }
.games[hidden] { display: none; }
.games-block .section-head { margin-bottom: .75rem; }
.games-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 640px) { .games-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; } }
.game-card { display: flex; flex-direction: column; min-width: 0; text-align: left; border-radius: .85rem; padding: .75rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); position: relative; overflow: hidden; isolation: isolate; }
/* logo do site como marca d'água no fundo do card (fixa, sem efeito) */
.game-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../logo.png) center 58% / 84% auto no-repeat; opacity: .07; pointer-events: none; }
.game-card.live::before { opacity: .11; }
.game-card.live { border-color: hsl(var(--live) / .6); }
.game-card.off { cursor: default; }
.g-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-bottom: .6rem; margin-bottom: .75rem; border-bottom: 1px solid hsl(var(--border)); }
.g-league { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: hsl(var(--muted-fg)); }
.g-live { flex: none; padding: .1rem .45rem; border-radius: .25rem; background: hsl(var(--live)); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .03em; }
.g-time { flex: none; font-size: 11px; font-weight: 600; color: hsl(var(--muted-fg)); white-space: nowrap; }
.g-teams { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: .35rem; }
.g-teams.solo { grid-template-columns: 1fr; }
.g-team { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.g-shield { display: flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; border-radius: .6rem; background: hsl(var(--background) / .45); }
.g-shield img { width: 2.3rem; height: 2.3rem; object-fit: contain; }
.g-shield b { font-size: .95rem; font-weight: 800; color: hsl(var(--muted-fg)); }
@media (min-width: 640px) { .g-shield { width: 3.5rem; height: 3.5rem; } .g-shield img { width: 2.75rem; height: 2.75rem; } .g-teams { gap: .6rem; } }
.g-name { width: 100%; text-align: center; font-size: .72rem; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.g-mid { display: flex; flex-direction: column; align-items: center; min-width: 2.9rem; padding-top: .35rem; }
.g-vs { font-size: .65rem; font-weight: 800; letter-spacing: .08em; color: hsl(var(--muted-fg)); }
.g-when { margin-top: .2rem; font-size: .95rem; font-weight: 800; line-height: 1.1; }
.g-day { margin-top: .1rem; font-size: 10px; font-weight: 600; color: hsl(var(--muted-fg)); white-space: nowrap; }
.g-onair { margin-top: .3rem; padding: .1rem .35rem; border-radius: .25rem; background: hsl(var(--live)); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.g-cta { margin-top: .85rem; padding: .5rem .4rem; border-radius: .5rem; background: hsl(var(--secondary)); text-align: center; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-card.live .g-cta { background: hsl(var(--live)); color: #fff; }
.g-chans { margin-top: .85rem; display: flex; flex-direction: column; gap: .35rem; }
.g-chan { display: block; padding: .5rem .4rem; border-radius: .5rem; background: hsl(var(--secondary)); text-align: center; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-card.live .g-chan { background: hsl(var(--live)); color: #fff; }
@media (hover: hover) { a.game-card:hover, .g-chan:hover { filter: brightness(1.12); } }
.game-card:focus-visible, .g-chan:focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: 2px; }
.g-skel { height: 11rem; border-radius: .85rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); }

/* ---------- banner de parceria (plano, sem efeitos) ---------- */
.partner { display: flex; align-items: center; gap: .85rem; padding: .8rem .9rem; border-radius: .85rem; border: 1px solid hsl(var(--border)); border-left: 4px solid hsl(var(--primary)); background: hsl(var(--card)); color: hsl(var(--foreground)); }
.partner-ic { flex: none; display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .6rem; background: hsl(var(--primary) / .14); color: hsl(var(--primary)); }
.partner-ic .ic { width: 1.4rem; height: 1.4rem; }
.partner-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.partner-tag { font-size: 10px; font-weight: 800; letter-spacing: .1em; color: hsl(var(--muted-fg)); }
.partner-title { font-size: 1rem; font-weight: 800; line-height: 1.2; }
.partner-text { font-size: .78rem; line-height: 1.3; color: hsl(var(--muted-fg)); }
.partner-cta { flex: none; display: inline-flex; align-items: center; gap: .25rem; padding: .5rem .9rem; border-radius: .5rem; background: hsl(var(--primary)); color: hsl(var(--primary-fg)); font-size: .8rem; font-weight: 700; }
.partner-cta .ic { width: .9rem; height: .9rem; }
@media (hover: hover) { .partner:hover .partner-cta { filter: brightness(1.12); } }
.partner:focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: 2px; }
@media (max-width: 460px) { .partner { gap: .65rem; padding: .7rem; } .partner-ic { width: 2.4rem; height: 2.4rem; } .partner-title { font-size: .92rem; } .partner-text { font-size: .72rem; } .partner-cta { padding: .45rem .7rem; font-size: .75rem; } }

/* ---------- painel admin ---------- */
.adm-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.adm-card { width: 100%; max-width: 24rem; display: flex; flex-direction: column; gap: .9rem; padding: 1.25rem; border-radius: .9rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); }
.adm-card.wide { max-width: 34rem; margin: 0 auto; }
.adm-card h1 { font-size: 1.15rem; }
.adm-card label { display: flex; flex-direction: column; gap: .3rem; font-size: .8rem; font-weight: 600; }
.adm-card label small { font-weight: 400; color: hsl(var(--muted-fg)); }
.adm-card input[type=text], .adm-card input[type=password], .adm-bar input[type=search] { width: 100%; height: 2.5rem; padding: 0 .75rem; border-radius: .5rem; border: 1px solid hsl(var(--border)); background: hsl(var(--secondary)); outline: none; }
.adm-card input:focus-visible, .adm-bar input:focus-visible { border-color: hsl(var(--primary) / .7); }
.adm-card input[readonly] { opacity: .6; }
.adm-card fieldset { border: 1px solid hsl(var(--border)); border-radius: .5rem; padding: .6rem .75rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.adm-card legend { font-size: .8rem; font-weight: 600; padding: 0 .3rem; }
.adm-card label.adm-check { flex-direction: row; align-items: center; gap: .4rem; font-weight: 400; }
.adm-actions { display: flex; justify-content: flex-end; gap: .5rem; }
.adm-link { font-size: .8rem; color: hsl(var(--muted-fg)); text-align: center; }
.adm-flash { padding: .6rem .8rem; border-radius: .5rem; font-size: .85rem; margin: 0 0 .75rem; background: rgb(34 197 94 / .15); color: #86efac; }
.adm-flash.err { background: rgb(239 68 68 / .15); color: #fca5a5; }
.adm-flash.warn { background: rgb(234 179 8 / .15); color: #fde047; }
.adm-flash code { background: rgb(255 255 255 / .1); padding: 0 .25rem; border-radius: .25rem; }
.adm-top { position: sticky; top: 0; z-index: 20; background: hsl(var(--background)); border-bottom: 1px solid hsl(var(--border)); }
.adm-row { max-width: 1100px; margin: 0 auto; padding: .6rem 1rem; display: flex; align-items: center; gap: 1rem; }
.adm-row nav { display: flex; gap: .25rem; flex: 1; }
.adm-row nav a { padding: .35rem .75rem; border-radius: 9999px; font-size: .85rem; color: hsl(var(--muted-fg)); }
.adm-row nav a.on, .adm-row nav a:hover { background: hsl(var(--secondary)); color: hsl(var(--foreground)); }
.adm-main { max-width: 1100px; margin: 0 auto; padding: 1rem; }
.adm-bar { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.adm-bar h1 { font-size: 1.1rem; flex: 1; }
.adm-search { flex: 1; min-width: 12rem; }
.adm-btn { display: inline-flex; align-items: center; padding: .3rem .7rem; border-radius: .5rem; border: 1px solid hsl(var(--border)); background: hsl(var(--secondary)); font-size: .78rem; font-weight: 600; }
.adm-btn:hover, .adm-btn.on { border-color: hsl(var(--primary) / .6); }
.adm-btn.ghost { background: none; }
.adm-btn.danger { color: #f87171; }
.adm-table { border: 1px solid hsl(var(--border)); border-radius: .6rem; overflow-x: auto; }
.adm-table table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.adm-table th { text-align: left; padding: .6rem .75rem; background: hsl(var(--secondary) / .5); color: hsl(var(--muted-fg)); font-weight: 600; }
.adm-table td { padding: .5rem .75rem; border-top: 1px solid hsl(var(--border)); vertical-align: middle; }
.adm-table td img { width: 2rem; height: 2rem; object-fit: contain; }
.adm-table td.act { text-align: right; white-space: nowrap; }
.adm-table td.act > * { margin-left: .25rem; }
.mono { font-family: ui-monospace, monospace; font-size: .75rem; color: hsl(var(--muted-fg)); }
.tag { display: inline-block; margin-right: .25rem; padding: .05rem .4rem; border-radius: .25rem; background: hsl(var(--primary) / .12); color: hsl(var(--primary)); font-size: .72rem; }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* ---------- aviso com GIF ---------- */
.aviso.has-gif { align-items: center; }
.aviso-gif { flex: none; width: 4rem; height: 4rem; border-radius: .6rem; object-fit: cover; background: hsl(var(--card)); }
@media (min-width: 640px) { .aviso-gif { width: 4.6rem; height: 4.6rem; } }

.g-chans { margin-top: .75rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.g-chan { flex: 1 1 auto; text-align: center; padding: .4rem .6rem; border-radius: .5rem; background: hsl(var(--secondary)); font-size: 11px; font-weight: 700; transition: background-color .15s, color .15s; }
.g-chan:hover { background: hsl(var(--primary)); color: hsl(var(--primary-fg)); }
.game-card.live .g-chan { background: #ef4444; color: #fff; }
.game-card.live .g-chan:hover { background: #dc2626; }

/* ---------- orientação inicial das categorias ---------- */
.category-hint {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  margin: 0 0 .65rem; padding: .55rem .8rem; border-radius: .7rem; scroll-margin-top: 105px;
  color: hsl(var(--foreground)); background: hsl(var(--primary) / .10);
  border: 1px solid hsl(var(--primary) / .28); font-size: .88rem; font-weight: 700;
  text-align: center; animation: categoryHintPulse 1s ease-in-out infinite alternate;
}
.category-hint-arrow { color: hsl(var(--primary)); font-size: 1.55rem; line-height: 1; font-weight: 900; }
@keyframes categoryHintPulse { from { opacity: .72; transform: translateY(0); } to { opacity: 1; transform: translateY(2px); } }
@media (prefers-reduced-motion: reduce) { .category-hint { animation: none; } }
