/* Cozy Games Hub — tokens
   Dusk plum (fondo), petal (acento), honey (premium), mint (en vivo), cream (texto) */
:root {
  --dusk: #2A1F3D;
  --dusk-2: #352850;
  --card: #3E2F5C;
  --line: #54447A;
  --cream: #FFF4E6;
  --muted: #CBBBD9;
  --petal: #FF9EC7;
  --honey: #FFC95C;
  --mint: #6EE7B7;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 999px;
  --font-display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

@property --aura { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #3A2A55 0%, #2A1F3D 55%, #241A36 100%) fixed;
  color: var(--cream);
  font: 16px/1.55 var(--font-body);
}
/* Escena cozy gamer fija detrás de todo (luna, guirnalda, colinas, casita con un gamer jugando) */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -10; pointer-events: none;
  background: url('bg-cozy.svg') center bottom / cover no-repeat;
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -9; pointer-events: none;
  background: linear-gradient(90deg, rgba(42,31,61,.55) 0%, rgba(42,31,61,.25) 45%, rgba(42,31,61,.15) 100%);
}
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--honey); color: var(--dusk); padding: 8px 14px; border-radius: 10px; font-weight: 800; z-index: 50; }
.skip:focus { left: 16px; }

.preview-note { margin: 0; padding: 8px 16px; text-align: center; background: #4A3A1E; color: var(--honey); font-weight: 800; font-size: 14px; }

/* ---------- Cabecera ---------- */
.top {
  display: flex; align-items: center; gap: 20px;
  max-width: 1320px; margin: 0 auto; padding: 16px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark svg { width: 34px; height: 34px; }
.brand-name { font: 700 22px/1 var(--font-display); letter-spacing: .2px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: var(--radius-sm); color: var(--muted); font-weight: 700; }
.nav a:hover { color: var(--cream); background: var(--dusk-2); }
.nav a[aria-current="page"] { color: var(--cream); background: var(--dusk-2); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.langs { display: flex; background: var(--dusk-2); border-radius: var(--radius-sm); padding: 3px; }
.langs a { text-decoration: none; font-weight: 800; font-size: 13px; padding: 5px 10px; border-radius: var(--radius-sm); color: var(--muted); }
.langs a[aria-current="true"] { background: var(--card); color: var(--cream); }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font: 800 15px/1 var(--font-body); padding: 11px 18px; border-radius: var(--radius-sm); }
.btn-honey { background: var(--honey); color: var(--dusk); }
.btn-honey:hover { background: #FFD682; }

/* ---------- Anuncios ---------- */
.ad {
  display: grid; place-items: center;
  border: 2px dashed #6A5A90; border-radius: var(--radius-md);
  color: #9E8DBD; font-size: 13px; font-weight: 700;
  background: rgba(255,255,255,.02);
}
.ad-leader { max-width: 728px; height: 90px; margin: 4px auto 8px; }
.ad-side { width: 300px; height: 600px; position: sticky; top: 20px; }
.ad-feed { grid-column: 1 / -1; height: 120px; }
.ad-anchor { display: none; }

/* ---------- Layout ---------- */
.layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px;
  max-width: 1320px; margin: 0 auto; padding: 8px 24px 64px;
}
.main-col { min-width: 0; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 20px; max-width: 760px; }
.hero h1 {
  font: 700 clamp(32px, 4.6vw, 54px)/1.05 var(--font-display);
  margin: 0 0 12px; letter-spacing: -.5px;
}
.live-num {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--mint);
}
.live-num::before {
  content: ''; width: .36em; height: .36em; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 0 0 rgba(110,231,183,.6);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse { to { box-shadow: 0 0 0 14px rgba(110,231,183,0); } }
.hero-sub { margin: 0; color: var(--muted); font-size: 18px; max-width: 60ch; }

/* ---------- Herramientas ---------- */
.tools { margin: 8px 0 36px; }
.tools h2 { font: 600 22px/1.2 var(--font-display); margin: 0 0 12px; }
.tool-games { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tools-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tool-flag { display: inline-block; margin: 6px 6px 0 0; font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: var(--radius-sm); background: var(--card); color: var(--muted); }
.tool-flag-acc { background: #2F3B5E; color: #BFD9FF; }
.btn-login { background: var(--cream); color: var(--dusk); }
.btn-login:hover { background: #fff; }

/* ---------- Diálogo de cuenta ---------- */
.login { border: 0; border-radius: var(--radius-lg); padding: 28px; max-width: 420px; width: calc(100% - 32px); background: var(--dusk-2); color: var(--cream); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.login::backdrop { background: rgba(20,14,32,.7); backdrop-filter: blur(3px); }
.login h2 { font: 600 26px/1.15 var(--font-display); margin: 0 0 8px; }
.login p { margin: 0 0 8px; color: var(--muted); }
.login ul { margin: 0 0 20px; padding-left: 20px; }
.login li { margin: 4px 0; }
.login-close { position: absolute; right: 14px; top: 10px; }
.login-close button { background: none; border: 0; color: var(--muted); font-size: 28px; cursor: pointer; line-height: 1; }
.btn-google { width: 100%; justify-content: center; background: #fff; color: #1F1F1F; padding: 13px 18px; }
.login-note { font-size: 13px; margin-top: 12px !important; }
.sheet { max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; }
.steps { margin: 16px 0 8px; padding-left: 22px; display: grid; gap: 16px; }
.steps > li::marker { font: 700 16px var(--font-display); color: var(--honey); }
.steps > li > strong { display: block; margin-bottom: 4px; }
.steps .is-locked { opacity: .45; }
.substeps { margin: 6px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }
.substeps b { color: var(--cream); }
.substeps a { color: var(--honey); font-weight: 800; }
.hint { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row input { flex: 1 1 220px; }
.sheet input[type=url], .sheet input[type=text], .sheet select {
  width: 100%; background: var(--card); color: var(--cream); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; font: 600 15px var(--font-body);
}
.row input[type=url] { width: auto; }
.code { user-select: all; font: 800 18px/1 ui-monospace, Consolas, monospace; background: var(--dusk); border: 1px dashed var(--honey); color: var(--honey); padding: 10px 14px; border-radius: 10px; letter-spacing: .5px; }
.btn-ghost { background: var(--card); color: var(--cream); border: 1px solid var(--line); }
.btn:disabled { opacity: .5; cursor: default; }
.field { display: block; margin: 0 0 12px; }
.field > span { display: block; font-weight: 800; font-size: 14px; margin-bottom: 4px; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: 700 13px var(--font-body); margin-top: 14px; padding: 0; }
.login-error { background: #4A2233; color: #FFC2D6 !important; padding: 10px 12px; border-radius: 10px; font-weight: 700; }

/* ---------- Menú de cuenta ---------- */
.account { position: relative; }
.account[hidden] { display: none; }
.account summary { list-style: none; cursor: pointer; }
.account summary::-webkit-details-marker { display: none; }
.account summary img, .account-initial { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.account-initial { display: grid; place-items: center; background: var(--petal); color: var(--dusk); font: 700 13px/1 var(--font-display); }
.account summary span#accountName { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-pop { position: absolute; right: 0; top: calc(100% + 8px); background: var(--dusk-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 6px; min-width: 180px; z-index: 30; box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.account-pop button { width: 100%; text-align: left; background: none; border: 0; color: var(--cream); font: 700 14px var(--font-body); padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.account-pop button:hover { background: var(--card); }
.tool {
  display: flex; gap: 12px; align-items: center; text-decoration: none;
  background: var(--dusk-2); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 14px;
}
.tool:hover { border-color: var(--petal); }
.tool-ico { font-size: 26px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--card); border-radius: 12px; flex: none; }
.tool strong { display: block; font-weight: 800; line-height: 1.25; }
.tool small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.tool-soon { opacity: .6; border-style: dashed; }

/* ---------- Filtros ---------- */
.streams-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.streams-head h2 { font: 600 28px/1.1 var(--font-display); margin: 0; }
.lang-select select {
  appearance: none; background: var(--dusk-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23CBBBD9' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 9px 38px 9px 16px; font: 700 14px var(--font-body); cursor: pointer;
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--dusk-2); color: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 7px 13px; cursor: pointer;
  font: 700 14px var(--font-body);
}
.chip b { font-weight: 800; color: var(--muted); font-size: 12px; }
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--dusk); border-color: var(--cream); }
.chip[aria-pressed="true"] b { color: #6B5A8A; }
.chip:disabled { opacity: .45; cursor: default; }
.chip .p-ico { width: 18px; height: 18px; }
.game-art { width: 18px; height: 24px; border-radius: 4px; object-fit: cover; flex: none; background: var(--card); }
.tag .game-art { width: 14px; height: 19px; border-radius: 3px; }
.game-dot { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font: 700 10px/1 var(--font-display); color: var(--dusk); flex: none; }

/* ---------- Tarjetas ---------- */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px 18px; margin-top: 18px; align-items: start;
}
.card { position: relative; border-radius: var(--radius-lg); isolation: isolate; }
.card-in {
  position: relative; height: 100%;
  background: var(--card); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
}
.card a.cover { text-decoration: none; display: block; }
.thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.thumb-art { position: absolute; inset: 0; }
.thumb-initials {
  position: absolute; right: 12px; bottom: -6px;
  font: 700 72px/1 var(--font-display); color: rgba(255,255,255,.22);
}
.thumb-top { position: absolute; left: 10px; top: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; }
.live { background: #E5484D; color: #fff; font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.viewers { position: absolute; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; background: rgba(20,14,32,.78); padding: 4px 9px; border-radius: 8px; font-size: 13px; font-weight: 800; }
.viewers .p-ico { width: 16px; height: 16px; }
.body { display: flex; gap: 10px; padding: 12px 14px 14px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 16px/1 var(--font-display); color: var(--dusk); }
.meta { min-width: 0; }
.title { margin: 0; font-weight: 800; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.who { margin: 2px 0 8px; color: var(--muted); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 7px; background: var(--dusk-2); color: var(--cream); }
.tag .game-dot { width: 16px; height: 16px; font-size: 8px; border-radius: 4px; }
.tag-drops { background: #4A3A1E; color: var(--honey); }
.tag-mature { background: #4A2233; color: #FFC2D6; }
.tag-member { background: #1F4A3C; color: var(--mint); }
.plat-btn:disabled { opacity: .5; cursor: default; }
.plat-btn:disabled:hover { border-color: var(--line); }
.plat-btn.is-connected { border-color: var(--mint); }
.plat-btn.is-connected small { color: var(--mint); }
.connect-note { margin: -8px 0 18px !important; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.connect-note.ok { background: #1F4A3C; color: var(--mint) !important; }
.connect-note.err { background: #4A2233; color: #FFC2D6 !important; }
.thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--dusk-2); }
img.avatar { object-fit: cover; background: var(--dusk-2); }
.more-btn { display: flex; margin: 28px auto 0; background: var(--dusk-2); color: var(--cream); border: 1px solid var(--line); }
.more-btn:hover { border-color: var(--cream); }

/* ---------- Aura Premium / Ultra (el elemento memorable) ---------- */
.card.premium::before,
.card.ultra::before {
  content: ''; position: absolute; inset: -3px; border-radius: calc(var(--radius-lg) + 3px);
  z-index: -1; animation: aura 5s linear infinite;
}
.card.premium::after,
.card.ultra::after {
  content: ''; position: absolute; inset: -10px; border-radius: calc(var(--radius-lg) + 10px);
  z-index: -2; filter: blur(18px); opacity: .55; animation: aura 5s linear infinite;
}
.card.premium::before, .card.premium::after {
  background: conic-gradient(from var(--aura), #FFC95C, #FFF1B8, #FFB347, #FFE08A, #FFC95C);
}
.card.ultra::before, .card.ultra::after {
  background: conic-gradient(from var(--aura), #FF9EC7, #FFC95C, #6EE7B7, #8EC5FF, #C59BFF, #FF9EC7);
}
.card.ultra::after { opacity: .75; filter: blur(24px); }
@keyframes aura { to { --aura: 360deg; } }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: var(--radius-sm);
}
.badge-premium { background: var(--honey); color: #3B2A00; }
.badge-ultra { background: linear-gradient(90deg, #FF9EC7, #FFC95C, #6EE7B7); color: #2A1F3D; }

@media (min-width: 900px) {
  .card.ultra { grid-column: span 2; }
  .card.ultra .title { font-size: 18px; }
  .card.ultra .thumb-initials { font-size: 120px; }
}

/* ---------- Bloque streamer ---------- */
.connect {
  margin-top: 56px; padding: 28px; border-radius: var(--radius-lg);
  background: var(--dusk-2); border: 1px solid var(--line);
}
.connect-text h2 { font: 600 28px/1.15 var(--font-display); margin: 0 0 6px; }
.connect-text p { margin: 0 0 20px; color: var(--muted); }
.platforms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.plat-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--card); color: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 16px 8px; cursor: pointer; font: 700 14px var(--font-body);
}
.plat-btn:hover { border-color: var(--cream); }
.plat-btn .p-ico { width: 30px; height: 30px; }
.plat-btn small { color: var(--muted); font-weight: 700; font-size: 12px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.plan { border-radius: var(--radius-md); padding: 18px 20px; background: var(--card); }
.plan h3 { margin: 0; font: 600 20px/1.2 var(--font-display); }
.plan .price { margin: 4px 0 10px; font: 700 26px/1 var(--font-display); }
.plan .price small { font-size: 14px; color: var(--muted); }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); }
.plan-premium { box-shadow: inset 0 0 0 2px var(--honey); }
.plan-ultra { box-shadow: inset 0 0 0 2px var(--petal); }

.empty { color: var(--muted); padding: 24px 0; }
.foot { max-width: 1320px; margin: 0 auto; padding: 24px 24px 90px; color: #A898C2; font-size: 13px; border-top: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .tools-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .top { flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  .top-actions { display: contents; }
  .btn-honey { display: none; }
  .btn-login, .account { order: 2; margin-left: auto; }
  .btn-login { padding: 9px 14px; }
  .tool-games { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .nav { order: 3; flex: 1 1 calc(100% - 150px); min-width: 0; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .chip { white-space: nowrap; flex: none; }
  .nav a { white-space: nowrap; padding: 7px 10px; font-size: 14px; }
  .langs { order: 4; }
  .tools-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; }
  .tool { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .tool small { display: none; }
  .tool-ico { width: 36px; height: 36px; font-size: 20px; }
  .hero { padding: 16px 0 12px; }
  .brand-name { font-size: 19px; }
  .btn-honey { padding: 9px 14px; font-size: 14px; }
  .layout { padding: 4px 16px 48px; }
  .ad-leader { width: 320px; height: 100px; max-width: calc(100% - 32px); }
  .ad-anchor { display: grid; position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 320px; height: 50px; background: var(--dusk); border-radius: 10px 10px 0 0; z-index: 20; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .connect { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .card.premium::before, .card.premium::after, .card.ultra::before, .card.ultra::after, .live-num::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Ahora en Palia: parties (tarjetas) e intercambios ---------- */
.now { margin: 0 0 36px; }
.now-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.now-head h2 { font: 600 22px/1.2 var(--font-display); margin: 0; }
.now-head + .ecards + .now-head { margin-top: 24px; }
.now-more { color: var(--honey); font-weight: 800; text-decoration: none; font-size: 14px; }
.now-more:hover { text-decoration: underline; }
.ecards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ecard {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--cream);
  background: var(--dusk-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px;
}
.ecard:hover { border-color: var(--honey); }
.ecard.state-live { border-color: #E5484D; }
.ecard-top { display: flex; align-items: center; gap: 8px; }
.ecard-ico { font-size: 26px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--card); border-radius: 12px; margin-right: auto; }
.ecard strong { font-size: 16px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ecard-meta { color: var(--muted); font-size: 13px; }
.ecard-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; }
.ecard-host, .tmini-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; min-width: 0; }
.ecard-host img, .tmini-meta img { border-radius: 50%; }
.ecard-count { font: 700 18px/1 var(--font-display); color: var(--mint); }
.ecard-count.is-full { color: var(--petal); }
.badge-state { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 7px; background: var(--card); color: var(--muted); }
.state-open .badge-state { background: #1F4A3C; color: var(--mint); }
.state-live .badge-state { background: #E5484D; color: #fff; }
.tmini { display: grid; gap: 8px; }
.tmini-row { display: grid; gap: 4px; text-decoration: none; color: var(--cream); background: var(--dusk-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 10px 14px; }
.tmini-row:hover { border-color: var(--honey); }
.tmini-swap { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tmini-swap span { color: var(--honey); font-size: 18px; }
.tmini-swap b { overflow-wrap: anywhere; }
.now-empty { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--dusk-2); border: 1px dashed var(--line); border-radius: var(--radius-md); padding: 14px 16px; color: var(--muted); }
.btn.small { padding: 7px 12px; font-size: 13px; }
@media (max-width: 900px) { .ecards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ecards { grid-template-columns: minmax(0, 1fr); } }
.tmini-thumbs { display: inline-flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.tmini-thumbs img { width: 36px; height: 36px; object-fit: contain; background: var(--card); border-radius: 8px; padding: 2px; }
.tmini-thumbs small { font-weight: 800; color: var(--muted); }

/* Pie con enlaces a las herramientas */
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.foot-links a { color: var(--cream); font-weight: 700; text-decoration: none; }
.foot-links a:hover { color: var(--honey); text-decoration: underline; }

/* Sin bloques de AdSense configurados (assets/ads.js): no mostrar huecos vacíos */
.no-ad-slots .ad, .no-ad-slots aside.side { display: none !important; }
.no-ad-slots .layout { grid-template-columns: minmax(0, 1fr); }
