/* welcome-entry.prefab.css — ISOLATED prototype, not canonical CSS.
   Restrained opener panel: solid surfaces, text hierarchy, 44px rows,
   usable at 390px with the keyboard open. */

.gp-welcome {
  position: relative;
  z-index: 60;
  pointer-events: auto;
  max-width: 560px;
  margin: 12vh auto 0;
  padding: 28px 24px;
  background: #232a31;
  color: #f2ede1;
  border: 1px solid #3d4a55;
  border-radius: 10px;
}

.gp-welcome__inner,
.gp-welcome__search,
#gp-welcome-input,
#gp-welcome-options {
  position: relative;
  z-index: 61;
  pointer-events: auto;
}

.gp-welcome-title {
  margin: 0 0 8px;
  font: 700 22px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.gp-welcome-sub {
  margin: 0 0 16px;
  font: 400 14px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #c8d0d8;
}

.gp-search-wrap {
  position: relative;
}

.gp-search-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 14px;
  font-size: 16px; /* prevents iOS auto-zoom on focus */
  color: #f2ede1;
  background: #161c21;
  border: 1px solid #5a6570;
  border-radius: 6px;
}

.gp-search-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #161c21;
  border: 1px solid #5a6570;
  border-radius: 6px;
  max-height: 352px; /* 8 rows × 44px, scrolls beyond */
  overflow-y: auto;
}

.gp-search-status {
  min-height: 20px;
  margin: 8px 0 0;
  font-size: 13px;
  color: #c8d0d8;
}

@media (max-width: 480px) {
  .gp-welcome {
    margin: 6vh 12px 0;
    padding: 20px 16px;
  }
  .gp-welcome-title {
    font-size: 19px;
  }
}
