/* Brand selector only. Login, store navigation and playback keep their styles. */
.home-view {
  min-height: 100svh;
  padding: 0 0 64px;
  display: block;
  color: #303d25;
  background: radial-gradient(ellipse at 0 8%, #edf7e5 0, transparent 48%),
    radial-gradient(ellipse at 100% 95%, #fff6da 0, transparent 48%), #fffef7;
}
.home-view .home-top {
  max-width: none;
  width: 100%;
  display: block;
  border-bottom: 1px solid #e7ebdb;
  background: #fffffb85;
}
.home-nav-inner {
  width: min(100%, 1440px);
  min-height: 88px;
  padding: 18px clamp(28px, 4vw, 64px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.home-system-brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 650; }
.home-system-brand small { display: block; margin-top: 2px; color: #6e7a60; font-size: 12px; font-weight: 400; letter-spacing: .12em; }
.home-system-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #587a3d; background: #e5efc5; }
.home-system-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.home-system-icon svg path:last-child { fill: currentColor; stroke: none; }
.home-view .home-user { gap: 22px; color: #536246; font-size: 14px; }
.home-account { display: flex; align-items: center; gap: 10px; }
.home-account>span { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-account svg { width: 25px; height: 25px; fill: none; stroke: #788567; stroke-width: 1.6; }
.home-view .home-user button { padding: 8px 15px; color: #657254; border-color: #dce3cd; background: #fffffb; border-radius: 10px; font-size: 13px; }
.home-view .home-user button:hover { background: #f3f7e8; border-color: #a6bb80; }
.home-main { width: min(1180px, calc(100% - 96px)); margin: 64px auto 0; }
.home-view .home-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; text-align: left; }
.home-view .home-title h1 { font-size: 22px; font-weight: 550; line-height: 1.5; letter-spacing: 0; margin: 0; color: #4e6040; }
.home-view .home-title p { font-size: 14px; color: #6e7b61; }
.home-view .cards { width: 100%; max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.home-view .home-brand-card {
  display: block;
  min-width: 0;
  padding: 4px;
  border: 1px solid #dde6cb;
  border-radius: 22px;
  background: #fffffd;
  overflow: hidden;
  box-shadow: 0 8px 28px #77824709;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.home-view .home-brand-card:hover { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 12px 30px #6b7c4612; }
.home-view .home-brand-card:focus-visible,
.home-view .home-user button:focus-visible { outline: 3px solid #6d8c3f; outline-offset: 4px; }
.home-brand-art {
  aspect-ratio: 1.15;
  border-radius: 17px 17px 0 0;
  background-image: url('assets/brand-card-scenes.png?v=225d3a1b');
  background-repeat: no-repeat;
  background-size: 300% auto;
  background-position-y: center;
}
.home-art-ghost { background-position-x: 0%; }
.home-art-panda { background-position-x: 50%; }
.home-art-robot { background-position-x: 100%; }
.home-art-fallback { display: grid; place-items: center; background: var(--card-tint); font-size: 64px; color: var(--card-ink); }
.home-card-content { padding: 22px 22px 20px; }
.home-card-content h2 { color: var(--card-ink); font-size: clamp(21px, 1.9vw, 28px); font-weight: 650; line-height: 1.4; }
.home-card-counts { margin-top: 10px; color: #70796a; font-size: 15px; }
.home-card-counts>span { display: inline-block; padding: 0 9px; color: #939b87; }
.home-card-action { display: flex; justify-content: center; align-items: center; position: relative; margin-top: 26px; padding: 15px 36px; border-radius: 13px; background: var(--card-tint); color: var(--card-ink); font-size: 16px; font-weight: 600; }
.home-card-action svg { width: 21px; height: 21px; position: absolute; right: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home-view .home-note { max-width: none; text-align: left; margin-top: 28px; padding: 14px 18px; border: 1px solid #eddbb1; border-radius: 12px; background: #fff8e9; font-size: 14px; }
.home-view .home-note .warn { color: #8c5a1c; }
@media (min-width: 901px) and (max-height: 760px) {
  .home-main { margin-top: 38px; }
  .home-brand-art { aspect-ratio: 1.42; }
  .home-card-content { padding-top: 18px; }
  .home-card-action { margin-top: 20px; }
}
@media (max-width: 1050px) and (min-width: 901px) {
  .home-main { width: calc(100% - 64px); }
  .home-view .cards { gap: 18px; }
  .home-card-content { padding-left: 16px; padding-right: 16px; }
  .home-card-counts { font-size: 13px; }
}
@media (max-width: 900px) {
  .home-main { width: calc(100% - 40px); margin-top: 36px; }
  .home-nav-inner { padding-left: 20px; padding-right: 20px; }
  .home-view .cards { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .home-system-brand { font-size: 17px; }
  .home-account { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-view .home-brand-card { transition: none; }
  .home-view .home-brand-card:hover { transform: none; }
}
