/* home_screen.css - the look of the home-screen ask (home_screen.js;
   HOME_SCREEN 0001; D2272, D2279, D2281). Claude outputs/home_screen.html:
   P1 and A2 (the pop-up family of wide_list_pages.html: .wscrim, .wdlg,
   .dtitle, .dtext, .drow, .dbtn, .dbtn.blue, .tline; the box in the middle
   of the screen), the little picture (.hs-mini and its parts, the render's
   PIC_CSS), S1's button (.hsrow, .hs-btn) and the tablet frames W1 and W3,
   written under home_screen.js's prefix, hs-. The four dots are the kit's
   logo dots ("The logo's four dots"), shell.css's .st-mark colors and order,
   at the render's size. Every box is flat (D1699): no light, grain or
   shadow but the picture's own ring and glow, as drawn. The title takes the
   headlines' font (ART_FIX 0001), as the family's titles do. Loaded from
   this origin (style-src 'self'): no inline style anywhere; the frame's
   scale, which home_screen.js computes, is set through the style object. */

/* The layer: over every page, the scrim the overlay family's. */
.hs-layer {
  position: fixed;
  inset: 0;
  z-index: 20;
  overflow: hidden;
}
.hs-scrim {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 16, .62);
}

/* The frame: the screen at nav's scale (home_screen.js sets its size and
   transform), the box centered on it, as the render centers .wdlg. */
.hs-frame {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
}
.hs-box {
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 330px;
  padding: 24px 20px 20px;
  transform: translate(-50%, -50%);
  background: #22304A;
  border: 1px solid #37476B;
  border-radius: 20px;
  text-align: center;
}

/* The title (.dtitle: 18 px, 600, white, at 1.35, centered) in the
   headlines' font, and the sentence (.dtext: 15.5 px at 1.5, #AEBBD0,
   8 px under it: translate_text.css's paragraph gap). */
.hs-words {
  font-size: 15.5px;
  line-height: 1.5;
  color: #AEBBD0;
  text-align: center;
}
.hs-box .tt-text p:first-child {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: #FFFFFF;
}

/* The two buttons side by side (.drow, .dbtn, .dbtn.blue): 54 px, the way
   forward on the right in the app's blue. */
.hs-drow {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 20px;
}
.hs-dbtn {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  flex: 1;
  min-width: 0;
  height: 54px;
  margin: 0;
  padding: 0;
  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);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  color: #C8D3E4;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hs-dbtn.hs-blue {
  border-color: #6FAEFF;
  background: rgba(111, 174, 255, .07);
  color: #6FAEFF;
}

/* ══ THE LITTLE PICTURE (P1, W1): a phone's home screen, upright, three
   apps across, Sai Thura App in the middle of the second row (the render's
   .hs-mini, Sai Thura, 2026-11-14). ══ */
.hs-mini {
  box-sizing: border-box;
  width: 128px;
  height: 256px;
  margin: 0 auto 16px;
  padding: 5px;
  border-radius: 22px;
  background: #05070D;
  box-shadow: 0 0 0 1.5px #3A4A6A;
}
.hs-scr {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 17px;
  overflow: hidden;
  background: radial-gradient(120px 110px at 20% 10%, #24345A 0%, rgba(36, 52, 90, 0) 70%),
    radial-gradient(110px 110px at 90% 80%, #3A2340 0%, rgba(58, 35, 64, 0) 70%), #0B0F1C;
}
.hs-bar {
  box-sizing: border-box;
  height: 18px;
  display: flex;
  justify-content: space-between;
  padding: 0 11px;
  font-size: 7px;
  font-weight: 600;
  line-height: 18px;
  color: #FFFFFF;
}
.hs-grid {
  display: grid;
  grid-template-columns: repeat(3, 30px);
  justify-content: center;
  gap: 10px 12px;
  margin-top: 14px;
}
.hs-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.hs-app > i {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.hs-app > span {
  height: 9px;
  font-size: 7px;
  font-weight: 600;
  line-height: 9px;
  white-space: nowrap;
  color: #FFFFFF;
}
.hs-st {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #0E1526;
  box-shadow: 0 0 0 1px #2C3850, 0 0 12px rgba(78, 155, 240, .6);
}
/* The logo's four dots (kit.html; shell.css's .st-mark: Fire, Air, Earth,
   Water), at the render's 15 px with a 2 px gap. */
.hs-dots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: none;
  width: 15px;
  height: 15px;
  gap: 2px;
}
.hs-dots i {
  display: block;
  border-radius: 50%;
  background: currentColor;
}
.hs-dots i:nth-child(1) { color: var(--fire); }
.hs-dots i:nth-child(2) { color: var(--air); }
.hs-dots i:nth-child(3) { color: var(--earth); }
.hs-dots i:nth-child(4) { color: var(--water); }
.hs-dock {
  box-sizing: border-box;
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 12px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 10px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .10);
}
.hs-dock i {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 6px;
}
.hs-home {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 40px;
  height: 3px;
  margin-left: -20px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .5);
}
/* The apps' and the dock's colors, the render's, in its order. */
.hs-a1 { background: #3E4C6B; }
.hs-a2 { background: #5A4A3A; }
.hs-a3 { background: #34574A; }
.hs-a4 { background: #4A3A5C; }
.hs-a5 { background: #2F4A66; }
.hs-a6 { background: #5C3A44; }
.hs-a7 { background: #46545F; }
.hs-a8 { background: #3B3F5E; }
.hs-d1 { background: #3F7B4E; }
.hs-d2 { background: #3A6EA8; }
.hs-d3 { background: #6B5A3A; }

/* ══ S1, W3: Settings' Add to Home Screen, the family's button, its words
   its width, centered under the last panel: the list's own 12 px gap and
   the row's 12 (.hsrow, .hs-btn). ══ */
.hs-row {
  flex: none;
  display: flex;
  justify-content: center;
  margin-top: 12px;
}
.hs-dbtn.hs-btn {
  flex: none;
  padding: 0 24px;
}
