/* free_door.css - the look of the welcome screen (free_door.js; F0)
   ------------------------------------------------------------------------
   Every number here is the approved renders': Concept Art/F0_free_door.html
   round 6 for the phone (.page, .col, .cbody, .cinner, .voff at 14%, .cpad,
   .vhead, .vhead.bur, .vprose, .bur, .brows, .cbtn, .tlit, .tneut, .cbname,
   .cblit, .cbplain), logo_and_background.html and CONCEPT_ART §1h for the
   44 px logo bar above the panel (shell.css's .st-logobar, 530 + 10 + 62 +
   10 + 62 = 674 under it), and wide_placement_test.html F1 for a computer
   and a tablet on its side (.wtop.logo, .wlogo, .ppanel2, .pblock, .pb14,
   .tblock, .wkiosk, .btn); little_sai_thura_and_big_moments.html F0 for
   Little Sai Thura in the space above the welcome (figure.css), with the
   panel lit (surface_numbers_and_type.html A6) and the welcome in the
   website's font (its A5, .ty-head .vhead: 800, -0.02 em) (ART_FIX 0001).
   Loaded from this origin, which is what the page's
   Content Security Policy allows: style-src 'self', so there is no inline
   style anywhere. Every number is before nav.js's scale s (the page's frame
   is scaled as a whole); .nv-wide on the page's screen is nav.js's wide
   layout. */

/* ══ THE PAGE: nav's body, from Telegram's inset to 10 px above the frame's
   bottom, with its own 10 px at the foot (844 − 96 − 10 − 10 = 728). ══ */
.fd-page {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}

/* The column: the panel, then the two buttons, 10 px apart, 14 px from each
   side (.col). */
.fd-col {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 14px;
}

.fd-panel {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid #2C3850;
  border-radius: 18px;
  background-color: #1D2739;
}

.fd-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

/* The welcome starts 14% down the panel's own height: ⛔ F0 is the only
   screen that uses 14% (every other statement panel 24%, D553). Little Sai
   Thura takes the space instead, 124 px (figure.css .ls-hold.ls-f0v). */
.fd-off {
  flex: none;
  height: 14%;
}

.fd-pad {
  flex: 1;
  min-height: 0;
  padding: 0 18px 22px;
}

.fd-pad .tt-piece {
  display: block;
}

.fd-pad .tt-text p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.62;
  color: #AEBBD0;
}

.fd-pad .tt-text p:first-child {
  font-family: var(--font-headline);
  font-size: 27.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #EAF0FA;
}

.fd-pad .tt-text p + p {
  margin-top: 18px;
}

/* After ဘာသာပြန်: the Founder's Burmese in Noto Sans Myanmar at 1.95, the
   welcome 23 px (Burmese sits taller). */
.fd-pad [lang="my"] .tt-text p,
.fd-pad translate-text[lang="my"] p {
  font-family: "Noto Sans Myanmar", system-ui, sans-serif;
  line-height: 1.95;
  letter-spacing: 0;
}

.fd-pad [lang="my"] .tt-text p:first-child {
  font-size: 23px;
  font-weight: 700;
}

/* ══ THE TWO BUTTONS: the app's 62 px page buttons, 10 px apart (.brows,
   .cbtn); Take the Assessment in §1b's one blue, its edge and its words
   (D602); Get my starter cards neutral. ══ */
.fd-rows {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fd-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  min-width: 0;
  height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #39445C;
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  color: #EAF0FA;
}

.fd-lit {
  border-color: #6FAEFF;
  background: rgba(111, 174, 255, .07);
  color: #6FAEFF;
}

.fd-name {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 17.5px;
  font-weight: 600;
}

/* ══ WIDE (wide_placement_test.html F1): the logo alone in the 52 px top
   row, centered, 11 px between the dots and the name; the panel the full
   width less 24 px each side, its block 14% down, 40 px in, the welcome 33
   px; the two buttons sharing one 84 px row, 12 px apart, 10 px under the
   panel (kiosk's row: no tiles). The page runs to the frame's bottom with
   its 10 px. ══ */
.nv-wide .fd-page {
  bottom: 0;
}

.nv-wide .fd-logobar {
  height: 52px;
  margin: 0;
  gap: 11px;
}

.nv-wide .fd-logobar .st-mark {
  --ms: 32px;
}

.nv-wide .fd-logobar .st-name {
  height: 28px;
  width: 123.228px;
}

.nv-wide .fd-col {
  gap: 10px;
  padding: 0 24px;
}

.nv-wide .fd-off {
  display: none;
}

.nv-wide .fd-pad {
  position: absolute;
  top: 14%;
  left: 0;
  right: 0;
  padding: 0 40px;
}

.nv-wide .fd-pad .tt-piece {
  display: table;
  max-width: 100%;
}

.nv-wide .fd-pad .tt-text p {
  font-size: 19px;
}

.nv-wide .fd-pad .tt-text p:first-child {
  font-size: 33px;
  line-height: 1.22;
}

.nv-wide .fd-pad [lang="my"] .tt-text p:first-child {
  font-size: 28px;
  line-height: 1.75;
}

.nv-wide .fd-rows {
  flex-direction: row;
  gap: 12px;
}

.nv-wide .fd-button {
  flex: 1;
  height: 84px;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .045);
  color: #C8D3E4;
}

.nv-wide .fd-lit {
  border-color: #6FAEFF;
  background: rgba(111, 174, 255, .07);
  color: #9CC6FF;
}

.nv-wide .fd-name {
  font-size: 20px;
}
