/* /public/assets/base.css */

html, body {
  height: 100%;
}

#home, #shuffle, #draw, #column, #legal, #about, #my-spreads, #my-spreads-make {
  display: flex; flex-direction: column;
  width: 100%; max-width: 600px;
  margin: 0 auto; padding-top: var(--safe-top);
  padding-left: var(--space-2); padding-right: var(--space-2);
}
#home {
  padding-left: 0; padding-right: 0;
}
#column {
  max-width: 42rem;
}

.sc-layout {
  flex: 1 1 auto;
  display: flex; flex-direction: column; gap: var(--space-4);
  min-height: 0;
  margin-top: var(--space-4); margin-bottom: var(--space-6);
}
#home .sc-layout, #shuffle .sc-layout, #draw .sc-layout {
  margin-bottom: var(--space-4);
}

/* ───────────────── HEADER ───────────────── */
.sc-home {
  line-height: 1;
  text-decoration: none;
  display: inline-flex; align-items: center;
  height: 38px;
}
.sc-home:focus-visible {
  border-radius: var(--radius-1);
}
.sc-home svg {
  color: var(--color-point-3);
  flex-shrink: 0;
  inline-size: 18px; block-size: 18px;
  margin-right: var(--space-1);
}
.sc-brand {
  line-height: 1;
  display: flex; justify-content: space-between; align-items: center;
  block-size: var(--height-2);
}
.sc-brand__name {
  color: var(--color-point-3); font-size: var(--font-size-2); font-weight:600;
  letter-spacing: .4px;
}
.sc-brand__tail {
  color: var(--color-point-2); font-size: var(--font-size-1);
  letter-spacing: .4px; text-transform: uppercase;
  transform: translateY(1px);
}
.sc-brand__actions {
  display:flex; align-items:center; gap: var(--space-1);
}

/* ───────────────── FOOTER ───────────────── */
.sc-footer {
  color: var(--color-text-5); font-size: var(--font-size-1);
  text-align: center; white-space: nowrap;
  display: flex; flex-direction: column; gap: .1rem;
  padding: var(--space-4) var(--space-2);
}
.sc-footer a {
  color: var(--color-text-5);
  text-decoration: none;
  padding-inline: 2px;
}
.sc-footer button {
  color: var(--color-text-5);
  font: inherit;
  text-decoration: none;
  padding-inline: 2px;
}
.sc-footer a:focus-visible {
  border-radius: var(--radius-1);
}
.sc-footer button:focus-visible {
  border-radius: var(--radius-1);
}
.sc-footer__copyright span {
  font-weight: 400;
}
.sc-footer__contact {
  white-space: normal;
}
.sc-footer__contact a {
  overflow-wrap: anywhere;
}

/* ───────────────── HR ───────────────── */
.hr {
  height:1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, #A77B55 70%, #000), transparent);
  opacity:.6;
}
.hr--silver {
  height: 1px;
  border: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0),
    rgba(255,255,255,0.08),
    rgba(255,255,255,0)
  );
}
