/* The liquid-glass building blocks of the DOM pages (approved SLIMZ BLACK LIQUID GLASS STYLE, Section 15D).
   .gl        a glass surface: 3 % white and a hairline rim, brighter at the top, fading to the middle
   .gl-on     the selected / pressed item: label and icon white (the droplet itself is drawn by glass.js under the text)
   .gl-l      an uppercase label with wide tracking, kept exactly centred (the trailing tracking is taken back)
   .gl-s      a smaller label (tiles, segments), .gl-c a quiet caption
   .gl-row    a section row: icon at the left (19 pt in), label centred
   .gl-tile   a square tile: icon over label
   .gl-seg    a segmented control; its cells are .gl-sg
   .gl-back   the round back button
   .gl-title  a screen title; its <b> is the accent word
   .gl-btn    a primary button (white label), .gl-field a text field
*/
.gl {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background: rgba(255, 255, 255, .03);
  color: #8D96AA;
  transition: color .2s;
  -webkit-tap-highlight-color: transparent;
}
.gl::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .05) 46%, rgba(255, 255, 255, .1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.gl.gl-on, .gl-on { color: #fff; }
.gl-l {
  font: 600 11px/1 'SLIMZ GOOGLE', system-ui, sans-serif;
  letter-spacing: 2.4px;
  margin-right: -2.4px;
  white-space: nowrap;
}
.gl-s {
  font: 600 9px/1 'SLIMZ GOOGLE', system-ui, sans-serif;
  letter-spacing: 1px;
  margin-right: -1px;
  white-space: nowrap;
}
.gl-c {
  font: 600 8px/1.4 'SLIMZ GOOGLE', system-ui, sans-serif;
  letter-spacing: 1.2px;
  color: #6B7489;
  white-space: nowrap;
}
.gl-row > svg {
  position: absolute;
  left: 19px;
  top: 50%;
  margin-top: -11px;
}
.gl-tile {
  flex-direction: column;
  gap: 7px;
  border-radius: 20px;
}
.gl-seg {
  position: relative;
  display: flex;
}
.gl-sg {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #8D96AA;
  transition: color .2s;
}
.gl-back {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  color: #D9DFEA;
}
.gl-title {
  text-align: center;
  font: 700 13px/1 'SLIMZ GOOGLE', system-ui, sans-serif;
  letter-spacing: 1.6px;
  text-indent: 1.6px;
  white-space: nowrap;
  color: #D9DFEA;
}
.gl-title b {
  font-weight: 700;
  color: var(--ac, #FFB547);
  text-shadow: 0 0 14px var(--ag, rgba(255, 181, 71, .5));
  transition: color .25s;
}
.gl-btn { color: #EEF1F6; }
.gl-field {
  justify-content: flex-start;
  border-radius: 16px;
}
.gl-field input, .gl-field textarea {
  all: unset;
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 18px;
  font: 600 12px/1 'SLIMZ GOOGLE', system-ui, sans-serif;
  letter-spacing: .4px;
  color: #EEF1F6;
  caret-color: #FFB547;
  -webkit-user-select: text;
  user-select: text;
}
.gl-field input::placeholder, .gl-field textarea::placeholder { color: #6B7489; }
