/* Daily Puzzle SEO pages - board/rack chrome on top of the shared site CSS. */

.daily-page {
  max-width: 48rem;
}

/* Daily-only brand stack under the shared .brand-mark (favicon.svg logo). */
.daily-brand-mark {
  align-items: flex-start;
  min-width: 0;
  max-width: min(100%, 16rem);
}

.daily-brand-mark img {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
}

.daily-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  line-height: 1.15;
}

.daily-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
}

.daily-brand-tagline {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 430px) {
  .daily-brand-mark img {
    width: 32px;
    height: 32px;
  }

  .daily-brand-tagline {
    font-size: 0.72rem;
  }
}

.daily-play-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.25rem;
  border-radius: 14px;
  background: var(--logo);
  color: #fff8f2;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 42, 36, 0.22);
}

.daily-play-cta:hover {
  color: #fff;
  background: color-mix(in srgb, var(--logo) 88%, #000);
}

.daily-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  align-items: center;
  margin: 0.85rem 0 0.35rem;
}

.daily-store-row .store-btn {
  margin: 0;
}

.daily-board-wrap {
  margin: 1.25rem 0 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.daily-board {
  display: grid;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 28rem);
  margin: 0 auto;
  padding: 0.45rem;
  background: var(--board);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(15, 42, 36, 0.18);
  aspect-ratio: 1 / 1;
}

.daily-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 2px;
  background: color-mix(in srgb, #fff 82%, var(--board));
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.45rem, 1.7vw, 0.72rem);
  line-height: 1;
  color: var(--ink);
  user-select: none;
}

.daily-cell.prem-2L {
  background: #6ec8ff;
}

.daily-cell.prem-3L {
  background: #2f9fe0;
  color: #fff;
}

.daily-cell.prem-2W {
  background: #f0a878;
}

.daily-cell.prem-3W {
  background: #1a8a7a;
  color: #fff;
}

.daily-cell.has-letter {
  background: #fff8f0;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(31, 42, 68, 0.12);
}

.daily-cell.is-best {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  z-index: 1;
}

.daily-cell .prem-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  font-size: 0.55em;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.daily-cell.has-letter .prem-label {
  display: none;
}

.daily-cell .tile-letter {
  position: relative;
  z-index: 1;
  font-size: 1.15em;
}

.daily-cell .tile-points {
  position: absolute;
  right: 1px;
  bottom: 0;
  font-size: 0.45em;
  font-weight: 700;
  opacity: 0.7;
}

.daily-rack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.35rem 0 1.25rem;
  list-style: none;
  padding: 0;
}

.daily-rack li {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 6px;
  background: #fff8f0;
  border: 1px solid var(--panel-border);
  box-shadow: 0 4px 10px rgba(31, 42, 68, 0.1);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--logo);
}

.daily-rack .tile-points {
  position: absolute;
  right: 3px;
  bottom: 2px;
  font-family: var(--font-body);
  font-size: 0.55rem;
  opacity: 0.65;
}

.daily-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 1.35rem;
  padding: 0;
  list-style: none;
}

.daily-stats li {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
}

.daily-stats .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.daily-stats .value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--logo);
  word-break: break-word;
}

.daily-nav-days {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin: 1rem 0 0;
  font-weight: 700;
}

.daily-archive {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
}

.daily-archive a {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  color: var(--logo);
  font-weight: 700;
  text-decoration: none;
}

.daily-archive a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.daily-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}
