:root {
  color-scheme: light;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", Meiryo, system-ui, sans-serif;
  color: #233c4c;
  background: #d1e9f2;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, transparent 16%, #e2f2f526 55%, #e3f3f530),
    #d1e9f2 url("/background") left center / cover no-repeat;
}
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #386e92; outline-offset: 4px; }
[hidden] { display: none !important; }
.symbols { position: absolute; width: 0; height: 0; }
.profile { max-width: 548px; margin: auto; padding: clamp(43px, 9vh, 90px) 24px 34px; }
.intro { position: relative; text-align: center; }
.intro-without-avatar { padding-top: 48px; }
.share {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  color: #294655;
  border: 1px solid #ffffffba;
  border-radius: 50%;
  background: #ffffffc9;
}
.share:hover { background: white; }
.share svg { width: 21px; height: 21px; }
.avatar {
  display: grid;
  place-items: center;
  width: 102px;
  height: 102px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff3f4;
  border: 5px solid #fffaf7;
  color: #a34c6b;
  box-shadow: 0 0 0 1px #b56f8647, 0 9px 25px #496a801f;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar svg { width: 70px; height: 70px; }
.eyebrow { margin: 0 0 9px; font-size: .75rem; font-weight: 700; letter-spacing: .17em; color: #3f5767; }
h1 { margin: 0; font-size: clamp(1.37rem, 5.7vw, 2rem); font-weight: 750; letter-spacing: .025em; line-height: 1.4; }
.bio { margin: 12px auto 0; color: #385463; line-height: 1.75; font-size: .95rem; }
.channels { display: grid; gap: 12px; margin-top: 30px; }
.card {
  display: grid;
  text-decoration: none;
  grid-template-columns: 49px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 14px;
  text-align: left;
  min-height: 74px;
  width: 100%;
  padding: 11px 15px 11px 12px;
  color: #233c4c;
  background: #fffffff5;
  border: 1px solid #fff;
  border-radius: 15px;
  box-shadow: 0 5px 18px #244d631a;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover { background: #fff; box-shadow: 0 9px 22px #244d632b; transform: translateY(-2px); }
.tile { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 12px; }
.tile svg { width: 26px; height: 26px; }
.line { background: #e9f8ef; color: #14774a; }
.youtube { background: #fff0f1; color: #b53448; }
.tiktok { background: #edf3f7; color: #263d4a; }
.facebook { background: #edf4ff; color: #245dab; }
.instagram { background: #fff0f6; color: #9d3866; }
.x { background: #edf3f7; color: #263d4a; }
.copy { display: grid; gap: 3px; }
.copy strong { font-size: 1.02rem; line-height: 1.3; }
.copy small { font-size: .78rem; color: #506571; line-height: 1.45; }
.arrow { width: 22px; height: 22px; color: #596f7b; }
footer { margin: 56px 0 0; color: #3b5767; text-align: center; font-size: .73rem; letter-spacing: .05em; }
footer span { color: #9d4f69; margin-right: 4px; }
dialog { width: min(calc(100% - 40px), 415px); padding: 28px; border: 0; border-radius: 20px; color: #233c4c; background: #fff; box-shadow: 0 16px 70px #142f5050; }
dialog::backdrop { background: #17364a64; }
dialog h2 { margin: 0 36px 10px 0; font-size: 1.22rem; }
dialog p { margin: 0; line-height: 1.65; font-size: .9rem; overflow-wrap: anywhere; }
.close { position: absolute; right: 13px; top: 13px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #eef4f7; color: inherit; font-size: 1.4rem; }
#share-url { width: 100%; padding: 10px; border: 1px solid #9bb0bd; border-radius: 8px; margin-top: 14px; color: inherit; }
.action { display: inline-block; margin-top: 12px; padding: 10px 15px; border: 0; border-radius: 8px; background: #294e64; color: white; text-decoration: none; }
#share-status:not(:empty) { margin-top: 10px; }
@media (max-width: 560px) {
  body::before { background-position: center, 23% bottom; background-size: cover, auto 71%; }
  body::before { background-image: linear-gradient(180deg, #d8eef6 12%, #d8eef6d0 42%, #d8eef64d 100%), url("/background"); }
  .profile { padding-inline: 19px; }
  .avatar { width: 89px; height: 89px; }
  .avatar svg { width: 59px; height: 59px; }
  .bio { font-size: .88rem; }
  .card { gap: 11px; }
}
@media (max-width: 355px) { .desktop-break { display: none; } }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }

.privacy-link { text-align: center; font-size: .75rem; margin-top: 12px; }
.privacy-link a { color: #385463; text-underline-offset: 3px; }
