/* Herald · Snake — app tweaks. Base in glass-core.css.
   High-contrast cells so it reads on the see-through display. */

.s-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0 2px;
}
.s-board {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  grid-template-rows: repeat(15, 1fr);
  gap: 2px;
  width: min(86vh, 100%);
  aspect-ratio: 1 / 1;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.s-cell {
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.045);
}
.s-body {
  background: #22c98a;
  box-shadow: 0 0 6px rgba(34, 201, 138, 0.5);
}
.s-head {
  background: #6affb4;
  box-shadow: 0 0 10px rgba(106, 255, 180, 0.8);
}
.s-food {
  background: #ffd166;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 209, 102, 0.85);
}
.s-over {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 16px;
  background: var(--iri), var(--frost-1);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--frost-border);
  box-shadow: var(--frost-inset), var(--frost-shadow);
}
.s-over.hidden { display: none; }
.s-over-t {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  text-align: center;
  padding: 0 16px;
}
.s-btn {
  min-height: 54px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 800;
  color: #06281c;
  background: linear-gradient(180deg, #6affb4, #22c98a);
  border: 0;
  border-radius: 980px;
  box-shadow: 0 10px 26px rgba(34, 201, 138, 0.32);
}
.s-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--focus-ring), 0 12px 28px rgba(34, 201, 138, 0.42);
  transform: translateY(-1px);
}
.s-foot {
  flex-shrink: 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  padding: 6px 0 2px;
}
.s-foot b { color: var(--text-secondary); }
