:root {
  color-scheme: dark;
  --surface: #111113;
  --ink: #fff7f7;
  --soft: #bdb5ba;
  --accent: #f5c2d2;
}
* { box-sizing: border-box; }
html { min-width: 280px; background: var(--surface); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  background: var(--surface);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.page {
  width: 100%;
  max-width: 360px;
  min-height: 620px;
  padding: 34px 25px 30px;
  text-align: center;
}
.eyebrow {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 2.2px;
  font-weight: 700;
  color: var(--soft);
}
.portrait {
  position: relative;
  width: 226px;
  height: 226px;
  max-width: 100%;
  margin: 28px auto;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid var(--accent);
  background: #151411;
  box-shadow: 0 0 0 7px #ffffff05;
}
.portrait img {
  position: absolute;
  display: block;
  width: 150%;
  height: 150%;
  max-width: none;
  left: -25%;
  top: -8%;
  object-fit: cover;
  object-position: 50% 0;
}
.name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.name-badge {
  display: block;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}
h1 {
  margin: 0;
  padding-left: 6px;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: 6px;
  font-weight: 800;
}
.welcome {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: .1px;
  color: var(--soft);
}
.chat-link {
  display: flex;
  width: 100%;
  min-height: 70px;
  margin: 30px 0 0;
  padding: 14px 16px;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-radius: 17px;
  background: var(--accent);
  color: #24171d;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: .5px;
  font-weight: 800;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, filter .15s ease;
  animation: soft-pulse 3.2s ease-in-out infinite;
  touch-action: manipulation;
}
.chat-link span { flex: 1; }
.chat-link .icon { flex: none; width: 22px; height: 22px; }
.chat-link:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.chat-link:active { transform: scale(.98); }
@keyframes soft-pulse {
  0%, 100% { box-shadow: 0 0 0 0 #f5c2d200, 0 8px 24px #f5c2d20a; }
  50% { box-shadow: 0 0 0 7px #f5c2d214, 0 8px 32px #f5c2d233; }
}
@media (hover: hover) {
  .chat-link:hover { filter: brightness(1.07); transform: translateY(-2px); }
}
.hint {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--soft);
}
@media (max-width: 360px) {
  .page { padding-left: 20px; padding-right: 20px; }
  .name-row { gap: 8px; }
  .name-badge { flex-basis: 25px; width: 25px; height: 25px; }
  h1 { font-size: 46px; letter-spacing: 5px; }
  .chat-link { padding-left: 13px; padding-right: 13px; gap: 9px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-link { transition: none; animation: none; }
}
