:root {
  --bg: #0b0b0f;
  --card: #16161d;
  --line: #2a2a35;
  --text: #f2f2f5;
  --muted: #8b8b98;
  --accent: #e9e3d8;
}

* { box-sizing: border-box; margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

.page {
  max-width: 440px;
  margin: 0 auto;
  padding: calc(48px + env(safe-area-inset-top)) 20px calc(32px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.name { margin-top: 16px; font-size: 24px; font-weight: 600; letter-spacing: .01em; }
.bio { margin-top: 4px; color: var(--muted); font-size: 15px; }

.links { width: 100%; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }

.btn {
  display: block;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s, transform .1s;
}
.btn:hover { border-color: #444452; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #111; }

.photos { width: 100%; margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; display: block; }

.foot { margin-top: 32px; color: var(--muted); font-size: 13px; }

/* 18+ */
.gate {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(11, 11, 15, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.gate[hidden] { display: none; }
.gate__box { max-width: 340px; text-align: center; }
.gate__badge {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-size: 13px;
}
.gate h2 { margin-top: 14px; font-size: 22px; font-weight: 600; }
.gate__text { margin: 8px 0 22px; color: var(--muted); font-size: 15px; }
.gate__no { display: inline-block; margin-top: 14px; color: var(--muted); font-size: 14px; }

/* Подсказка для iOS */
.hint {
  position: fixed;
  top: calc(10px + env(safe-area-inset-top));
  left: 10px;
  right: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--accent);
  color: #111;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.hint[hidden] { display: none; }
.hint p { flex: 1; }
.hint__arrow { font-size: 26px; line-height: 1; }
.hint__close { border: 0; background: none; font-size: 18px; color: #111; cursor: pointer; padding: 4px; }

.about { width: 100%; margin-top: 28px; text-align: left; color: #c9c9d2; font-size: 15px; }
.about__title { margin-top: 18px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.about ul { list-style: none; padding: 0; margin-top: 8px; }
.about li { padding: 6px 0 6px 22px; position: relative; }
.about li::before { content: "→"; position: absolute; left: 0; color: var(--muted); }
