/* free_samples.css - the free samples pages on Reading and on Sprints
   (free_samples.js; FREE_SAMPLES 0001; D1665, D1671, D1675, D1684)
   ------------------------------------------------------------------------
   Every number here is Concept Art/free_samples.html's, round 6, approved
   (D1684): FR1 and FW1 (.fslist, .fsg, .fsh, .fsb, .trow, .ttx, .tname,
   .tdesc, .pdfb) and FS1 to FS4 and FW2 (.fso1, .fsbare). The Sprints
   page's two buttons and two boxes are sprints.css's own rules on
   sprints.js's own markup (.sp-btn, .sp-spr, .sp-quiz, .sp-ring, .sp-stx,
   .sp-name, .sp-qzl, .sp-qzs, .sp-go, .sp-dot, .sp-scrim, .sp-dialog and
   the rest); this file adds only what the free page draws differently: no
   bubble round them, each on the week panel's ground under its own tint,
   and the four filling the page.

   The settled look (D1656, D1657, D1699): FR1's rows are list bubbles, lit
   by shell.css's --lit-bubble tokens (D1709 (2)); everything else flat;
   the grain off every screen. Loaded from this origin (style-src 'self'):
   no inline style anywhere; the bean's size is set through the element's
   style object.

   THE FIT: the four groups share the page's height exactly (each a quarter,
   its bubble or its buttons the rest of the group), no scrolling and
   nothing left over, wherever their drawn sizes fit. Where they cannot (a
   phone too short for four 54 px buttons a group), the list scrolls, with
   §1e's bean, never a squeezed button (Not drawn). */

.fs-page {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

/* The list, its scroller and the column the groups share. */
.fs-list {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.fs-scroll {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.fs-scroll::-webkit-scrollbar {
  display: none;
}
/* .fslist: 14 px from the sides, 12 px between the groups (FR1). */
.fs-col {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 14px;
}

/* .fsg: a group, a quarter of the list each. */
.fs-group {
  flex: 1 1 0px;
  display: flex;
  flex-direction: column;
}

/* .fsh: the level's name above its bubble, 32 px, in its band's color
   (D550), a little larger than a week's label. */
.fs-head {
  flex: none;
  height: 32px;
  display: flex;
  align-items: flex-end;
  padding: 0 0 8px 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.1px;
  white-space: nowrap;
}
/* THE HEADING's sign (LADDER 0002; element_icon_buttons.html §5, option A,
   the kit's .ic and the render's .elA and .elwrap; D2087, D2096 (2)): the
   sign and the name one run inside the heading's row, the sign 1.18 em, .38
   em before the name, its middle on the capitals' middle (0.2265 em below
   the baseline). free_samples.js draws it and sizes the headings by FIT. */
.fs-elwrap {
  display: inline;
  white-space: nowrap;
}
.fs-sign {
  display: inline-block;
  width: 1.18em;
  height: 1.18em;
  margin-right: .38em;
  vertical-align: -.2265em;
}

.fs-earth {
  color: var(--earth);
}
.fs-water {
  color: var(--water);
}
.fs-fire {
  color: var(--fire);
}
.fs-air {
  color: var(--air);
}

/* ══ READING (FR1, FW1) ══ */

/* .fsb.wkp: the bubble, a list bubble lit by shell.css's tokens (D1699,
   D1709 (2)), the rest of its group. */
.fs-bubble {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #2C3850;
  border-radius: 18px;
  background-color: #1D2739;
  background-image: var(--lit-bubble);
  box-shadow: var(--lit-bubble-shadow);
}

/* .trow: the title over its description, the download mark on the right. */
.fs-row {
  flex: 1;
  min-height: 54px;
  display: flex;
  align-items: center;
  column-gap: 12px;
  padding: 5px 14px 5px 18px;
  -webkit-tap-highlight-color: transparent;
}
.fs-row.fs-opens {
  cursor: pointer;
}
.fs-ttx {
  flex: 1;
  min-width: 0;
}
.fs-tname {
  font-size: 16px;
  font-weight: 600;
  line-height: 21px;
  color: #EAF0FA;
}
.fs-tdesc {
  margin-top: 3px;
  font-size: 14px;
  line-height: 19px;
  color: #AEBBD0;
}

/* .pdfb: the download mark, 44 px, outlined; its drawing 19 px. */
.fs-pdfb {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  font: inherit;
  flex: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
  color: #C8D3E4;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}
.fs-icon {
  display: block;
  width: 19px;
  height: 19px;
  overflow: visible;
}

/* ══ SPRINTS (FS1 to FS4, FW2; round 6, the Founder's option 1) ══ */

/* .fso1: 10 px between the groups, the name 30 px: 4 × (30 + 54 + 8 + 54)
   + 3 × 10 = 614, the phone's whole list. */
.fs-col.fs-sprints {
  gap: 10px;
}
.fs-sprints .fs-head {
  height: 30px;
}

/* .fsbare: no bubble, the two buttons straight under the name, 8 px
   between them, each the rest of the group and at least 54 px. */
.fs-bare {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}
.fs-bare > .sp-btn {
  flex: 1 1 auto;
  min-height: 54px;
  height: auto;
}
.fs-bare > .sp-spr {
  padding-top: 0;
  padding-bottom: 0;
}
/* Each button on the week panel's own ground (.wkp's #1D2739) under its own
   tint, so it reads exactly as on the Sprints page and the moving
   background passes behind it, not through it. Flat (D1699). */
.fs-bare > .sp-btn {
  background: linear-gradient(rgba(255, 255, 255, .045), rgba(255, 255, 255, .045)), #1D2739;
}
.fs-bare > .sp-btn.sp-open {
  background: linear-gradient(rgba(237, 106, 118, .10), rgba(237, 106, 118, .10)), #1D2739;
}
.fs-bare > .sp-btn.fs-still {
  cursor: default;
}

/* ══ WIDE (FW1, FW2): the same four, the full width, between the top bar
   and the five tiles; a pointer needs less than a finger. ══ */
.nv-wide .fs-col {
  gap: 8px;
  padding: 2px 24px 0;
}
.nv-wide .fs-head {
  height: 26px;
  padding-bottom: 5px;
}
/* 4 × (24 + 44 + 8 + 44) + 3 × 4 = 492 of a laptop's 497. */
.nv-wide .fs-col.fs-sprints {
  gap: 4px;
}
.nv-wide .fs-sprints .fs-head {
  height: 24px;
  padding-bottom: 3px;
}
.nv-wide .fs-bare > .sp-btn {
  min-height: 44px;
}
