/* =========================================================
   Bio Link - styles (main interface + admin panel)
   ========================================================= */

* { box-sizing: border-box; }

:root {
  --purple: #652d8c;
  --purple-dark: #542477;
  --purple-soft: #f6f4f9;
  --ink: #14142b;
  --muted: #575757;
  --faint: #a9a0b5;
  --line: rgba(101, 45, 140, 0.09);
  --card: #f6f4f9;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 12px 30px -18px rgba(101, 45, 140, 0.55);
  --danger: #c0392b;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, color-mix(in srgb, var(--site-bg, #f4effb), white 35%) 0%, var(--site-bg, #f4effb) 58%, color-mix(in srgb, var(--site-bg, #f4effb), #d9cae8 35%) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }
button, input, textarea, select { font-family: inherit; }

/* ---------------- SPA pages ---------------- */
.page { min-height: 100vh; min-height: 100dvh; }
.page.hidden { display: none; }

.cover {
  height: 235px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eadcf5, #f7f3fb);
  box-shadow: 0 8px 22px -18px rgba(35, 18, 48, 0.75);
}
.cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cover::after {
  content: none;
}

.wrap {
  width: min(100%, 560px);
  max-width: 560px;
  margin: -74px auto 0;
  padding: 0 16px 34px;
  position: relative;
  z-index: 2;
}

.avatar {
  width: 114px;
  height: 114px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  background: var(--purple-soft);
  box-shadow: var(--shadow);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.small { width: 66px; height: 66px; border-width: 3px; }

.name {
  text-align: center;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin: 16px 0 5px;
  color: var(--ink);
}

.bio {
  text-align: center;
  color: var(--purple);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 9px;
}

.desc {
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
  margin: 0 auto 25px;
  max-width: 470px;
}

/* social icons row */
.socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 0 30px;
  flex-wrap: wrap;
}
.social {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.social:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -14px rgba(101, 45, 140, 0.85);
  background: #fbfaff;
}
.social img { width: 24px; height: 24px; object-fit: contain; }
.social svg { width: 24px; height: 24px; color: var(--purple); }

/* main link buttons */
.links { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }

.link-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 11px 16px;
  background: var(--button-item-bg, var(--button-bg, #fff));
  border: 1px solid var(--button-border, #e8dff0);
  border-radius: var(--button-radius, 14px);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--button-item-text, var(--button-text, var(--ink)));
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  text-align: right;
  direction: rtl;
  box-shadow: 0 10px 22px -18px rgba(55, 25, 80, 0.85), inset 0 1px 0 rgba(255,255,255,.92);
  animation: fadeUp 0.35s ease both;
  animation-delay: calc(var(--order, 0) * 45ms);
  filter: brightness(var(--button-brightness, 1));
}
.link-btn::before {
  content: "";
  position: absolute;
  inset: 1px 18% auto 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent);
  opacity: var(--button-item-shine, var(--button-shine, .35));
  pointer-events: none;
}
.link-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px -18px rgba(101, 45, 140, 0.85);
  background: var(--button-item-bg, var(--button-bg, #fff));
  border-color: var(--button-border, #e8dff0);
}
.link-btn:active { transform: translateY(-1px) scale(0.99); }
.link-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #eee4f7, #ffffff);
  border: 1px solid rgba(101,45,140,.08);
  color: var(--purple);
}
.link-btn svg,
.link-btn .ico { width: 22px; height: 22px; color: var(--purple); }
.link-btn img { width: 24px; height: 24px; object-fit: contain; }
.link-label { min-width: 0; line-height: 1.5; overflow-wrap: anywhere; font-size: 15px; letter-spacing: -.1px; }
.link-arrow { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(101,45,140,.09); color: var(--purple); font-size: 17px; transition: transform .18s ease, background .18s ease; }
.link-btn:hover .link-arrow { transform: translateX(-3px); background: rgba(101,45,140,.15); }

.footer {
  text-align: center;
  color: var(--faint);
  font-size: 11.5px;
  margin-top: 28px;
  letter-spacing: 0.4px;
}

@media (max-width: 560px) {
  .cover { height: 220px; }
  .wrap { padding-inline: 12px; margin-top: -68px; }
  .link-btn { min-height: 60px; padding: 8px 11px; font-size: 14px; grid-template-columns: 38px minmax(0, 1fr) 22px; gap:10px; }
  .link-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .link-arrow { width:22px; height:22px; font-size:15px; }
  .content-hero .name { font-size:18px; }
}

/* content page */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 17px;
  font-weight: 700;
  font-size: 13px;
  color: var(--purple);
  cursor: pointer;
  margin: 4px 0 20px;
  box-shadow: 0 6px 16px -12px rgba(101, 45, 140, 0.9);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.back-btn:hover { transform: translateX(-2px); box-shadow: var(--shadow); }

.content-hero { display:flex; align-items:center; justify-content:flex-start; gap:13px; margin:0 auto 24px; padding:14px 16px; max-width:520px; border:1px solid rgba(101,45,140,.1); border-radius:18px; background:rgba(255,255,255,.78); box-shadow:0 16px 32px -28px rgba(101,45,140,.8); }
.content-hero > div:last-child { flex:1; min-width:0; }
.content-hero .name { text-align:right; margin:0; font-size:20px; line-height:1.45; letter-spacing:-.2px; overflow-wrap:anywhere; }
.ccontent { margin-top:0; display:grid; gap:14px; max-width:520px; margin-inline:auto; }

.c-block { animation: fadeUp 0.35s ease both; }
.c-block + .c-block { margin-top: 0; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.c-image { padding:8px; border:1px solid rgba(101,45,140,.1); border-radius:20px; background:rgba(255,255,255,.72); box-shadow:0 16px 34px -26px rgba(101,45,140,.6); }
.c-image img { display:block; max-height:min(62vh, 620px); object-fit:contain; border-radius:12px; box-shadow:none; margin-inline:auto; }
.c-text { padding:18px 20px; border:1px solid rgba(101,45,140,.09); border-radius:16px; background:rgba(255,255,255,.86); box-shadow:0 12px 28px -25px rgba(101,45,140,.7); }
.c-text p { margin:0; line-height:1.95; white-space:pre-line; word-break:break-word; }
.c-center { text-align: center; }
.c-left  { text-align: left; }
.c-right { text-align: right; }

.c-btns { text-align: center; }
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(100%, 360px);
  padding: 14px 22px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  border: none;
  cursor: pointer;
}
.c-btn:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 16px 34px -18px rgba(101, 45, 140, 0.7); }
.c-btn-arrow { font-size:18px; opacity:.8; transition: transform .18s ease; }
.c-btn:hover .c-btn-arrow { transform: translateX(-4px); }

/* isolated content page layout */
#contentPage .cover { height: 180px; }
#contentPage .wrap { margin-top: -48px; }
#contentPage .back-btn { position: relative; z-index: 3; }
#contentPage .content-hero { position: relative; z-index: 2; }
#contentPage .ccontent { position: relative; z-index: 1; padding-bottom: 20px; }
#contentPage .c-image { overflow: hidden; }
#contentPage .c-btn { position: relative; z-index: 2; }

/* =========================================================
   ADMIN PANEL
   ========================================================= */
.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.auth-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 32px 30px;
  box-shadow: 0 40px 90px -50px rgba(101, 45, 140, 0.55);
  animation: fadeUp 0.3s ease;
}
.auth-logo {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.auth-logo svg { width: 28px; height: 28px; }
.err { color: var(--danger); font-size: 13px; text-align: center; margin: 12px 0 0; }

.admin-shell { display: flex; min-height: 100vh; }

.admin-side {
  width: 258px;
  flex: none;
  background: #fff;
  border-inline-end: 1px solid var(--line);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  padding: 4px 10px 18px;
}
.admin-logo > span:last-child { display:flex; flex-direction:column; gap:2px; }
.admin-logo small { color:var(--faint); font-size:9px; font-weight:600; }
.al-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}
.tabs { display: flex; flex-direction: column; gap: 4px; }
.tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: right;
  padding: 12px 14px;
  border: none;
  background: transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tab-btn span { opacity: 0.7; font-size: 13px; }
.tab-btn:hover { background: var(--purple-soft); color: var(--ink); }
.tab-btn.active { background: var(--purple); color: #fff; box-shadow: var(--shadow); }

.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.side-link {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  background: var(--purple-soft);
  border: none;
  cursor: pointer;
  text-align: right;
  font-family: inherit;
}
.side-link:hover { background: #efeaf7; }
.side-link.danger { background: #fdecec; color: var(--danger); }
.side-link.danger:hover { background: #fbdede; }

.admin-main { flex: 1; min-width: 0; padding: 30px 36px 60px; }

.panel { display: none; }
.panel.active { display: block; animation: fadeUp 0.25s ease; }

.admin-h { font-size: 21px; font-weight: 800; margin: 0 0 6px; }
.admin-sub { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 0 0 24px; }

.card-pane {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 18px;
}

.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; color: #3b3b52; }
.field input[type="text"],
.field input[type="password"],
.field textarea,
.field select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13.5px;
  background: #fbfaff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(101, 45, 140, 0.13);
  background: #fff;
}
.field textarea { min-height: 92px; resize: vertical; line-height: 1.7; }
.field input[type="range"] { width: 100%; accent-color: var(--purple); }
.field input[type="color"] { width: 54px; height: 38px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.row4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.row2 .field, .row3 .field, .row4 .field { margin-bottom: 0; }

.chk { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.chk input { width: 16px; height: 16px; accent-color: var(--purple); }

.preview {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  object-fit: cover;
  margin-top: 8px;
  background: #f3effb;
  border: 1px solid var(--line);
}
.preview.icon {
  height: 54px;
  object-fit: contain;
  background: var(--purple-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.preview.icon img { max-width: 70%; max-height: 100%; object-fit: contain; }
.preview.icon svg { width: 24px; height: 24px; color: var(--purple); }
.preview.cover { height: 120px; width: 100%; max-width: 280px; object-fit: cover; }

.btn {
  padding: 11px 22px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--purple-dark); }
.btn-ghost { background: var(--purple-soft); color: var(--purple); }
.btn-ghost:hover { background: #efeaf7; }
.btn-danger { background: #fdecec; color: var(--danger); }
.btn-danger:hover { background: #fbdede; }
.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 8px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* items (socials / buttons list) */
.item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  animation: fadeUp 0.25s ease;
}
.item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}
.item-title { font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.item-title svg { width: 17px; height: 17px; color: var(--purple); }
.item-title img { width: 17px; height: 17px; object-fit: contain; }
.item-order { display: flex; align-items: center; gap: 5px; }
.item-order .btn { padding: 5px 9px; }
.button-style-row { margin-top: 4px; }
.design-pane { border-color: rgba(101, 45, 140, 0.16); box-shadow: 0 14px 34px -28px rgba(101, 45, 140, 0.8); }
.design-sliders { margin-top: 16px; }

/* content editor */
.btn-list { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.btn-chip {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-chip:hover { border-color: var(--purple); color: var(--purple); }
.btn-chip.active { background: var(--purple); color: #fff; border-color: var(--purple); }

.content-editor {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.blk {
  background: #fbfaff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 13px;
}
.blk-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 8px; }
.blk-label { font-weight: 800; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.blk-label svg { width: 16px; height: 16px; color: var(--purple); }
.blk-tools { display: flex; gap: 6px; }
.blk-tools button {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.12s ease;
}
.blk-tools button:hover { background: var(--purple-soft); color: var(--purple); }
.blk-tools .blk-del:hover { background: #fdecec; color: var(--danger); }

.save-bar {
  position: sticky;
  bottom: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 16px 0 4px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.empty-note {
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  padding: 30px 0;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--purple-soft);
}

/* toast */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%); }

/* dashboard */
.admin-welcome { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:24px; }
.eyebrow { display:block; color:var(--purple); font-size:11px; font-weight:800; margin-bottom:7px; letter-spacing:.4px; }
.admin-welcome .admin-sub { margin-bottom:0; }
.dashboard-preview { white-space:nowrap; text-decoration:none; }
.stats-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; margin-bottom:18px; }
.stat-card { display:flex; align-items:center; gap:12px; background:#fff; border:1px solid var(--line); border-radius:16px; padding:17px; box-shadow:0 12px 26px -25px rgba(101,45,140,.7); }
.stat-icon { width:38px; height:38px; flex:none; display:flex; align-items:center; justify-content:center; border-radius:12px; background:var(--purple-soft); color:var(--purple); font-size:18px; font-weight:800; }
.stat-card strong, .stat-card span { display:block; }
.stat-card strong { font-size:21px; line-height:1.2; }
.stat-card div span { color:var(--muted); font-size:11px; margin-top:3px; }
.dashboard-grid { display:grid; grid-template-columns:1.35fr 1fr; gap:18px; }
.dashboard-grid .card-pane { margin-bottom:0; }
.dashboard-grid h3 { margin:0 0 5px; font-size:16px; }
.dashboard-grid p { color:var(--muted); font-size:12.5px; margin:0 0 16px; }
.quick-actions { display:grid; gap:9px; }
.quick-action { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:12px; background:#fbfaff; color:var(--ink); text-align:right; cursor:pointer; font-family:inherit; transition:transform .15s ease, border-color .15s ease, background .15s ease; }
.quick-action:hover { transform:translateX(-3px); border-color:rgba(101,45,140,.28); background:#fff; }
.quick-action b, .quick-action span { display:block; }
.quick-action b { font-size:13px; }
.quick-action span { color:var(--muted); font-size:11px; margin-top:3px; }
.site-summary { display:flex; align-items:center; gap:12px; padding:13px; background:var(--purple-soft); border-radius:13px; margin:13px 0 15px; }
.summary-avatar { width:44px; height:44px; border-radius:50%; overflow:hidden; background:#fff; flex:none; }
.summary-avatar img { width:100%; height:100%; object-fit:cover; }
.site-summary strong, .site-summary span { display:block; }
.site-summary strong { font-size:14px; }
.site-summary span { color:var(--muted); font-size:11px; margin-top:3px; }
.status-row { display:flex; justify-content:space-between; padding:10px 0; border-top:1px solid var(--line); font-size:12px; }
.status-row b { color:#25834b; }

@media (max-width: 980px) {
  .stats-grid { grid-template-columns:repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns:1fr; }
}

/* responsive */
@media (max-width: 820px) {
  .admin-shell { flex-direction: column; }
  .admin-side {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px;
    gap: 8px;
  }
  .admin-logo { padding: 4px 10px; margin-inline-end: auto; }
  .admin-logo small { display:none; }
  .tabs { flex-direction: row; flex-wrap: wrap; }
  .tab-btn { width: auto; }
  .side-foot { margin-top: 0; flex-direction: row; border-top: none; padding-top: 0; }
  .admin-main { padding: 20px 16px 70px; }
  .row2, .row3, .row4 { grid-template-columns: 1fr; }
  .admin-welcome { align-items:stretch; flex-direction:column; gap:12px; }
  .dashboard-preview { align-self:flex-start; }
}

@media (max-width: 480px) {
  .cover { height: 185px; }
  .name { font-size: 23px; }
  .admin-h { font-size: 18px; }
}

@media (max-width: 560px) {
  #contentPage .cover { height: 155px; }
  #contentPage .wrap { margin-top: -34px; }
  .content-hero { padding: 12px 13px; margin-bottom: 18px; }
  #contentPage .wrap { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .content-hero .name { font-size: 18px; }
  .c-text { padding: 15px; }
  .c-btn { width: 100%; }
}
