html {
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font: inherit;
}
.public-profile {
  position: relative;
  isolation: isolate;
  min-height: 100%;
  background: var(--p-bg);
  color: var(--p-text);
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.7;
}
.profile-cover {
  height: 144px;
  background-image: var(
    --p-image,
    linear-gradient(125deg, #e2d8ef, #f7e5f3 55%, #d6e9f4)
  );
  background-size: var(--p-fit, cover);
  background-position: var(--p-x, 50%) var(--p-y, 40%);
  background-repeat: no-repeat;
  background-color: var(--p-bg);
}
.profile-body {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 22px 20px;
}
.profile-intro {
  position: relative;
  text-align: center;
  margin-top: -39px;
  padding: 0 14px 22px;
  border-radius: var(--p-radius);
  background: color-mix(
    in srgb,
    var(--p-panel) calc(var(--p-opacity) * 100%),
    transparent
  );
}
.profile-avatar {
  display: block;
  object-fit: cover;
  width: 82px;
  height: 82px;
  position: relative;
  top: -2px;
  margin: 0 auto 12px;
  border: 5px solid var(--p-panel);
  border-radius: 50%;
  background: var(--p-panel);
}
.avatar-placeholder {
  font-size: 2.6429rem;
  line-height: 72px;
  color: var(--p-accent);
}
.profile-intro h1 {
  font-size: 1.4286rem;
  line-height: 1.5;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
  letter-spacing: 0.025em;
}
.profile-intro p {
  font-size: 0.85714rem;
  white-space: pre-line;
  line-height: 1.9;
  margin: 0;
  color: var(--p-muted);
  overflow-wrap: anywhere;
}
.profile-link {
  display: block;
  position: relative;
  text-decoration: none;
  background: color-mix(
    in srgb,
    var(--p-panel) calc(var(--p-opacity) * 100%),
    transparent
  );
  border: 1px solid var(--p-border);
  border-radius: var(--p-radius);
  padding: 16px;
  color: var(--p-text);
  transition:
    transform 0.16s,
    box-shadow 0.16s;
}
.profile-link[href]:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px #0000000d;
}
.profile-link:focus-visible {
  outline: 3px solid var(--p-focus);
  outline-offset: 4px;
}
.profile-link-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.profile-link-copy {
  min-width: 0;
  flex: 1;
}
.profile-link strong {
  display: block;
  font-size: 0.85714rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.profile-link small {
  display: block;
  font-size: 0.71429rem;
  line-height: 1.6;
  color: var(--p-muted);
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.platform-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: var(--p-accent);
  background: var(--p-bg);
  font-weight: 700;
  font-family: Arial, sans-serif;
  font-size: 1.0714rem;
}
.platform-youtube {
  color: #b53145;
}
.profile-link .link-arrow {
  font-size: 1.2857rem;
  color: var(--p-muted);
}
.profile-group {
  margin-top: 22px;
}
.profile-group h2 {
  margin: 0 0 10px 2px;
  font-size: 0.78571rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--p-muted);
}
.profile-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.profile-video {
  min-width: 0;
}
.is-featured {
  background: var(--p-accent);
  color: var(--p-buttonText);
  border-color: var(--p-accent);
  margin-top: 18px;
  box-shadow: 0 5px 15px #39294c14;
}
.is-featured small,
.is-featured .link-arrow {
  color: var(--p-buttonText);
}
.is-featured .platform-icon {
  background: var(--p-buttonText);
  color: var(--p-accent);
}
.pick-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font:
    600 0.64286rem/1.5 Arial,
    sans-serif;
  letter-spacing: 0.13em;
  margin-bottom: 12px;
}
.pick-label span {
  font-family: inherit;
  font-size: 0.64286rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.is-inactive .platform-icon {
  color: var(--p-muted);
}
.link-state {
  font-size: 0.71429rem;
  white-space: nowrap;
  color: var(--p-muted);
  border: 1px solid var(--p-border);
  border-radius: 5px;
  padding: 2px 5px;
}
.profile-bottom {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin: 28px 0 8px;
  color: var(--p-muted);
}
.small-flower {
  font-size: 1.2857rem;
}
.profile-bottom small {
  font-size: 0.64286rem;
}
.mode-background {
  background-image: var(--p-image);
  background-position: var(--p-x) var(--p-y);
  background-size: var(--p-fit);
  background-attachment: scroll;
}
.mode-background:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--p-overlay-color);
  opacity: var(--p-overlay);
}
.mode-background .profile-cover {
  background: none;
  height: 92px;
}
.mode-background .profile-intro {
  padding-bottom: 20px;
  padding-top: 1px;
}
.profile-empty {
  text-align: center;
  padding: 35px 15px;
  color: var(--p-muted);
}
.profile-empty small {
  font-size: 0.78571rem;
}
.standalone-profile {
  background: var(--p-bg, #f0edf7);
  min-height: 100vh;
}
.standalone-profile > .public-profile {
  min-height: 100vh;
}
.standalone-profile .profile-cover {
  height: 230px;
}
.standalone-profile .profile-body {
  padding-bottom: 32px;
}
.standalone-profile .profile-avatar {
  height: 104px;
  width: 104px;
}
.standalone-profile .profile-intro {
  margin-top: -48px;
}
.standalone-profile .profile-intro h1 {
  font-size: 1.7857rem;
}
.standalone-profile .profile-intro p {
  font-size: 1rem;
}
.standalone-profile .profile-link strong {
  font-size: 1.0714rem;
}
.standalone-profile .profile-link small {
  font-size: 0.85714rem;
}
.standalone-profile .profile-group h2 {
  font-size: 0.92857rem;
}
.standalone-profile .profile-link {
  padding: 20px;
}
.public-footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  padding: 18px 16px 24px;
  font-size: 0.78571rem;
  line-height: 1.6;
  color: #5b4f69;
  background: #f7f5fa;
  border-top: 1px solid #e4deee;
}
.public-footer p {
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.public-footer-brand a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d7cde7;
  color: #4f3577;
  font-weight: 600;
  text-decoration: none;
}
.public-footer-brand a:hover {
  background: #f2edf9;
}
.public-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
}
.public-footer-links a {
  color: #5b4f69;
  text-underline-offset: 3px;
}
.preview-notice {
  background: #332b46;
  color: #fff;
  padding: 13px;
  text-align: center;
  font-size: 0.85714rem;
}
.preview-notice a {
  display: inline-block;
  margin-left: 12px;
}
.error-page {
  max-width: 600px;
  padding: 100px 24px;
  margin: auto;
  text-align: center;
  color: #332b46;
}
.error-page h1 {
  font-size: 1.6429rem;
}
.error-page p {
  font-size: 1rem;
  color: #6e627e;
}
.error-flower {
  font-size: 3.4286rem;
  color: #70539b;
}
.error-page a {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 24px;
  border: 1px solid #70539b;
  border-radius: 30px;
}
@media (max-width: 400px) {
  .standalone-profile .profile-body {
    padding: 0 16px 24px;
  }
  .standalone-profile .profile-cover {
    height: 170px;
  }
  .standalone-profile .profile-intro h1 {
    font-size: 1.5rem;
  }
  .standalone-profile .profile-link {
    padding: 15px;
  }
  .profile-link-row {
    gap: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.profile-group h2 {
  display: table;
  background: color-mix(
    in srgb,
    var(--p-panel) calc(var(--p-opacity) * 100%),
    transparent
  );
  padding: 4px 8px;
  border-radius: 6px;
}
.profile-bottom small {
  background: color-mix(
    in srgb,
    var(--p-panel) calc(var(--p-opacity) * 100%),
    transparent
  );
  padding: 3px 8px;
  border-radius: 6px;
}
.profile-link:focus-visible {
  box-shadow: 0 0 0 8px var(--p-panel);
}
.avatar-crop {
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.avatar-crop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--avatar-x, 50%) var(--avatar-y, 50%);
  transform: scale(var(--avatar-zoom, 1));
  transform-origin: var(--avatar-x, 50%) var(--avatar-y, 50%);
  border: 0;
  border-radius: 0;
}
.custom-link-image {
  overflow: hidden;
  padding: 0;
}
.custom-link-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  margin: 0 -14px 14px;
  min-height: 210px;
}
.youtube-official-icon {
  display: block;
  width: 234px;
  height: auto;
  max-width: none;
  object-fit: contain;
  filter: none;
}
.public-profile:has(.brand-art) .profile-body {
  padding-inline: 10px;
}
.has-brand-art:hover {
  transform: none !important;
}
.has-brand-art .profile-link-row {
  padding-top: 4px;
}
.youtube-handle {
  display: block;
  max-width: 100%;
  padding: 0 8px 12px;
  font-size: 0.85714rem;
  line-height: 1.6;
  color: #332b46;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-text-block {
  margin-top: 22px;
  padding: 20px;
  background: color-mix(
    in srgb,
    var(--p-panel) calc(var(--p-opacity) * 100%),
    transparent
  );
  border: 1px solid var(--p-border);
  border-radius: var(--p-radius);
  text-align: left;
  overflow-wrap: anywhere;
}
.profile-text-block h2 {
  margin: 0 0 10px;
  font-size: 1.14286rem;
  line-height: 1.6;
  white-space: pre-wrap;
}
.profile-text-body {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.9;
  tab-size: 2;
}
.profile-video .video-poster {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 9px;
  background: var(--p-bg);
  color: var(--p-text);
  margin-bottom: 14px;
}
.video-poster-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 1.5rem;
  font-weight: 600;
}
.profile-video .video-poster-fallback small {
  color: var(--p-text);
}
.video-poster img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.video-poster img[hidden] {
  display: none;
}
.video-stage {
  position: relative;
}
.video-stage.is-loaded > :not(iframe) {
  display: none;
}
.video-stage iframe {
  display: block;
  border: 0;
  width: 100%;
  min-width: 200px;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
}
[data-video-provider="twitch"] .video-stage iframe {
  min-height: 300px;
  min-width: 400px;
}
.profile-video .video-connection-note,
.video-preview-note {
  display: block;
  margin: 10px 0;
  font-size: 0.78571rem;
  color: inherit;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.video-external-link {
  display: inline-block;
  margin-top: 6px;
  color: inherit;
  text-underline-offset: 4px;
  font-size: 0.92857rem;
}
.video-external-link:focus-visible {
  outline: 3px solid var(--p-focus);
  outline-offset: 3px;
}
.profile-video:hover {
  transform: none;
}
