/* GIA Phone — Apple iOS liquid glass · pink/violet PA (not Studio) */
/* DNA brand background */
html, body {
  background:
    linear-gradient(180deg, rgba(242,242,247,.92), rgba(242,242,247,.88)),
    url("/img/dna-bg-phone.jpg") center top / cover no-repeat fixed !important;
}
body.standalone-lux {
  background:
    linear-gradient(180deg, rgba(12,6,20,.82), rgba(12,6,20,.92)),
    url("/img/dna-bg-phone.jpg") center top / cover no-repeat fixed !important;
}
.shell {
  background:
    radial-gradient(620px 420px at 50% -18%, rgba(191, 90, 242, 0.22), transparent 55%),
    radial-gradient(420px 320px at 100% 85%, rgba(255, 55, 95, 0.1), transparent 50%),
    rgba(255,255,255,.55) !important;
  backdrop-filter: blur(18px) saturate(160%);
}
body.standalone-lux .shell {
  background: transparent !important;
  backdrop-filter: none;
}

/* Full-name brand: HRGen Digital Universe — both corners */
.hrgen-corner {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.hrgen-corner-tl {
  top: 6px;
  left: 8px;
  max-width: min(160px, 42vw);
}
.hrgen-corner-br {
  bottom: 8px;
  right: 8px;
  align-items: flex-end;
  max-width: min(180px, 48vw);
}
.hrgen-full-logo {
  width: 100%;
  height: auto;
  max-height: 40px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(191, 90, 242, 0.35);
  opacity: 0.95;
}
.hrgen-full-logo.wide { max-height: 32px; opacity: 0.88; }
.hrgen-full-name {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(100deg, #bf5af2, #ff375f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 2px;
}
body.standalone-lux .hrgen-full-logo {
  box-shadow: 0 4px 20px rgba(255, 55, 95, 0.4);
}
.shell { padding-top: 4px; }

/* Side panel + background mini modes */
body.mode-side {
  background: transparent !important;
}
body.mode-side .shell {
  position: fixed !important;
  top: 0; right: 0; bottom: 0;
  width: min(400px, 100vw) !important;
  max-width: 400px !important;
  margin: 0 !important;
  box-shadow: -12px 0 40px rgba(0,0,0,.25) !important;
  border-left: 1px solid rgba(191,90,242,.25) !important;
  z-index: 9999;
}
body.mode-mini .shell { display: none !important; }
body.mode-mini .hrgen-corner { display: none !important; }
.gia-mini-fab {
  position: fixed; right: 16px; bottom: 20px; z-index: 10000;
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  color: #fff; font-weight: 800; font-size: .85rem; letter-spacing: .04em;
  background: linear-gradient(145deg, #bf5af2, #ff375f);
  box-shadow: 0 0 0 3px #fff, 0 12px 28px rgba(191,90,242,.5);
  animation: gFloat 3s ease-in-out infinite;
}
.gia-mini-fab[hidden] { display: none !important; }
#giaHeader, #giaOrb { cursor: pointer; user-select: none; }
#giaHeader:active, #giaOrb:active { opacity: 0.85; }
body.always-pulse #connTxt::after {
  content: " · always-on";
  font-size: 0.65rem;
  opacity: 0.75;
}
.decision-list { margin: 8px 0 0; padding-left: 1.2rem; font-size: .82rem; line-height: 1.55; color: var(--dim); }
.decision-list b { color: var(--text); }
.link-btn { display: inline-flex; align-items: center; text-decoration: none; color: #fff !important; }
.facilities { background: rgba(0,0,0,.04) !important; }

:root {
  --bg: #f2f2f7;
  --panel: rgba(255, 255, 255, 0.88);
  --border: rgba(0, 0, 0, 0.08);
  --pink: #ff375f;
  --purple: #bf5af2;
  --text: #1d1d1f;
  --dim: #6e6e73;
  --green: #30d158;
  --red: #ff453a;
  --yellow: #ffd60a;
  --blue: #0071e3;
}
html, body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: -apple-system, BlinkMacSystemFont, Inter, "SF Pro Text", "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
}
.shell {
  max-width: 430px;
  background:
    radial-gradient(620px 420px at 50% -18%, rgba(191, 90, 242, 0.28), transparent 55%),
    radial-gradient(420px 320px at 100% 85%, rgba(255, 55, 95, 0.14), transparent 50%),
    #f2f2f7 !important;
  border: none !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}
header {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--border) !important;
}
.orb {
  width: 56px !important;
  height: 56px !important;
  background: linear-gradient(145deg, #bf5af2, #ff375f) !important;
  box-shadow:
    0 0 0 3px #fff,
    0 10px 28px rgba(191, 90, 242, 0.45) !important;
  position: relative;
  overflow: hidden;
  border-radius: 50% !important;
  animation: gFloat 3.2s ease-in-out infinite;
}
.orb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 18%;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}
.orb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 50%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
  animation: sheen 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes gFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px) scale(1.03); }
}
@keyframes sheen {
  0%, 100% { opacity: 0.35; transform: translateX(-20%); }
  50% { opacity: 0.9; transform: translateX(20%); }
}
h1 {
  color: var(--text) !important;
  font-weight: 650 !important;
  letter-spacing: -0.02em;
  font-size: 1.05rem !important;
}
.sub { color: var(--dim) !important; font-weight: 500; }
.tabs {
  background: rgba(0, 0, 0, 0.045);
  margin: 8px 12px;
  border-radius: 14px;
  padding: 3px !important;
  gap: 2px !important;
}
.tabs button {
  border: none !important;
  border-radius: 12px !important;
  color: var(--dim) !important;
  font-weight: 550 !important;
  background: transparent !important;
}
.tabs button.on {
  background: #fff !important;
  color: var(--text) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}
.panel { background: transparent !important; }
.msg.me {
  background: linear-gradient(135deg, #bf5af2, #ff375f) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 18px 18px 4px 18px !important;
  box-shadow: 0 4px 14px rgba(191, 90, 242, 0.28);
}
.msg.gia {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 18px 18px 18px 4px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.msg.sys { color: var(--dim) !important; }
.composer textarea {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 22px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.composer button {
  background: linear-gradient(135deg, #bf5af2, #ff375f) !important;
  border-radius: 980px !important;
  font-weight: 650 !important;
  box-shadow: 0 6px 16px rgba(191, 90, 242, 0.35) !important;
  color: #fff !important;
  border: none !important;
}
.iconbtn {
  background: rgba(0, 0, 0, 0.05) !important;
  color: var(--text) !important;
  box-shadow: none !important;
  border-radius: 980px !important;
}
.card {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  color: var(--text) !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04) !important;
}
.card b { color: var(--text) !important; }
.hint { color: var(--dim) !important; }
a.link { color: var(--purple) !important; font-weight: 600; }
.dot.on { background: var(--green) !important; box-shadow: 0 0 8px var(--green); }
.agent-line { border-color: var(--border) !important; color: var(--text); }
#helpQ {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 14px !important;
}
