/* Primary skin (usually Levels 1-2): Toby, playful font, big rounded tiles. */
body.skin-primary {
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 210, 63, .25) 0 120px, transparent 121px),
    radial-gradient(circle at 92% 30%, rgba(31, 181, 173, .18) 0 160px, transparent 161px),
    radial-gradient(circle at 20% 95%, rgba(240, 98, 146, .15) 0 140px, transparent 141px),
    linear-gradient(135deg, #e7f4ff 0%, #f1fbe6 55%, #fff6dc 100%);
  background-attachment: fixed;
}
.skin-primary h1, .skin-primary h2, .skin-primary h3 { font-weight: 800; color: var(--tb-navy); }

/* hero with Toby */
.tb-hero {
  display: grid; grid-template-columns: 1fr 170px; align-items: end; gap: 12px;
  background: linear-gradient(135deg, var(--tb-navy) 0%, #2f5fd0 100%); color: #fff;
  border-radius: 26px; padding: 22px 22px 0; margin: 8px 0 22px; overflow: hidden;
}
.tb-hero h1 { color: #fff; margin: 0 0 4px; font-size: 1.9rem; line-height: 1.15; }
.tb-hero p { margin: 0 0 22px; font-size: 1.1rem; opacity: .95; }
.tb-hero .toby {
  width: 170px; height: 190px; border-radius: 85px 85px 0 0; background: #fff;
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.tb-hero .toby img { height: 180px; width: auto; display: block; }
.tb-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.tb-stat { background: rgba(255, 255, 255, .16); border-radius: 999px; padding: 6px 14px; font-weight: 800; }
@media (max-width: 560px) {
  .tb-hero { grid-template-columns: 1fr 110px; padding: 18px 16px 0; }
  .tb-hero h1 { font-size: 1.45rem; }
  .tb-hero .toby { width: 110px; height: 130px; }
  .tb-hero .toby img { height: 122px; }
}

/* unit tiles */
.tb-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.tb-unit {
  display: flex; flex-direction: column; gap: 6px; min-height: 130px; padding: 16px;
  border-radius: 22px; background: #fff; text-decoration: none; color: var(--tb-ink);
  border: 3px solid transparent; box-shadow: 0 5px 0 var(--tb-line);
}
.tb-unit .num {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.3rem; color: #fff; background: var(--tb-btn-orange);
}
.tb-unit:nth-child(5n+2) .num { background: #13827b; }
.tb-unit:nth-child(5n+3) .num { background: var(--tb-purple); }
.tb-unit:nth-child(5n+4) .num { background: #d81b60; }
.tb-unit:nth-child(5n+5) .num { background: var(--tb-btn-green); }
.tb-unit .t { font-weight: 800; font-size: 1.1rem; line-height: 1.2; }
.tb-unit .stars { color: var(--tb-yellow); font-size: 1.2rem; letter-spacing: 2px; text-shadow: 0 1px 0 #c79a00; }
.tb-unit.locked { opacity: .55; }

.tb-empty {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center;
  background: #fff; border-radius: 22px; padding: 18px;
}
.tb-empty img { width: 120px; mix-blend-mode: multiply; }
@media (max-width: 480px) { .tb-empty { grid-template-columns: 80px 1fr; } .tb-empty img { width: 80px; } }
