/*
  ENCORE NiGHTS!! — shared interface framework
  v1.20

  DESIGN LOGIC
  - Brand line at upper left; home control at upper right.
  - Page title sits directly beneath the brand and is LEFT ALIGNED.
  - Page-title emoji is inline at the end of the title.
  - All public pages use the same canvas, shell width, spacing and title scale.
  - Page-specific cards/components keep their own local styling; this file does
    not apply surfaces to generic class names such as .section.
*/

:root {
  --encore-bg: #050505;
  --encore-text: #ffffff;
  --encore-border: #303030;
  --encore-divider: #292929;
  --encore-card-radius: 20px;
  --encore-shell: 720px;
  --encore-pad-x: 18px;
  --encore-pad-top: 28px;
  --encore-pad-bottom: 60px;
  --encore-card-bg: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
}

* { box-sizing: border-box; }

body.encore-ui {
  margin: 0;
  background: var(--encore-bg);
  color: var(--encore-text);
  font-family: "Courier New", Courier, monospace;
}

body.encore-ui .page {
  position: relative;
  width: min(100%, var(--encore-shell));
  margin: 0 auto;
  padding: var(--encore-pad-top) var(--encore-pad-x) var(--encore-pad-bottom);
}

body.encore-ui .home-link {
  position: absolute;
  top: var(--encore-pad-top);
  right: var(--encore-pad-x);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #333;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  opacity: .42;
  transition: opacity .15s ease, border-color .15s ease;
  z-index: 3;
}

body.encore-ui .home-link:hover,
body.encore-ui .home-link:focus-visible {
  opacity: .9;
  border-color: #555;
}

body.encore-ui .home-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.encore-ui .brand {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.15;
  margin: 0 44px 5px 0;
  opacity: 1;
  text-align: left;
}

/* Shared public-page title rule. */
body.encore-ui .encore-page-title,
body.encore-ui .hero h1 {
  margin: 0;
  font-size: 42px;
  line-height: .98;
  letter-spacing: 0;
  font-weight: 900;
  text-align: left;
}

body.encore-ui .encore-page-title {
  margin-bottom: 20px;
}

/* Rewards uses .hero as its page-title wrapper. Keep the wrapper aligned with
   the same header system without imposing card/surface styling. */
body.encore-ui .hero {
  text-align: left;
}

body.encore-ui .hero .tagline {
  text-align: left;
}

/* Shared typography rhythm only. Components retain their local visual rules. */
body.encore-ui .section-label,
body.encore-ui .kicker,
body.encore-ui .mix-label {
  letter-spacing: .15em;
}

body.encore-ui .lede,
body.encore-ui .tagline,
body.encore-ui .meta,
body.encore-ui .helper,
body.encore-ui .question-help,
body.encore-ui .mix-meta {
  line-height: 1.5;
}

@media (max-width: 500px) {
  body.encore-ui .encore-page-title,
  body.encore-ui .hero h1 {
    font-size: 37px;
  }
}
