:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #17101b;
  color: #fff;
  --pink: #ef4bc4;
  --violet: #8f53ff;
  --panel: #321832;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #17101b; }
body { margin: 0; min-width: 320px; overflow-x: hidden; }
a { color: inherit; }
.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 16px max(24px, env(safe-area-inset-bottom));
  overflow: hidden;
  background: #17101b;
}
.page-shell::before,
.page-shell::after {
  position: absolute;
  inset: -42px;
  content: "";
  pointer-events: none;
}
.page-shell::before {
  z-index: -2;
  background: var(--profile-background-image, #321832);
  background-position: center;
  background-size: cover;
  filter: blur(28px);
  transform: scale(1.08);
}
.page-shell::after {
  z-index: -1;
  background: rgba(24, 10, 29, .58);
}
.profile-card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  min-height: min(900px, calc(100svh - 64px));
  padding: 34px 20px 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(48, 17, 51, .92), #371b39 70%, #321832);
  box-shadow: 0 24px 70px rgba(20, 4, 25, .35), inset 0 1px rgba(255,255,255,.08);
}
.profile-header { text-align: center; }
.profile-image { display: block; width: 160px; height: 160px; margin: 0 auto 18px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.62); box-shadow: 0 0 28px rgba(229, 53, 208, .45); }
h1 { margin: 0; font-size: clamp(1.8rem, 6vw, 2.25rem); letter-spacing: -.04em; }
.verified-badge { display: inline-grid; place-items: center; width: 21px; height: 21px; margin-left: 7px; border-radius: 50%; font-size: .8rem; vertical-align: .22em; background: linear-gradient(135deg, #aa61ff, #6545e8); box-shadow: 0 0 12px #b94dff; }
.username, .description { margin: 6px 0 0; color: #dec9e2; }
.username { font-size: .93rem; font-weight: 700; }
.description { font-size: .94rem; color: #bdaabe; }
.social-links { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.social-link { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; text-decoration: none; font-weight: 800; font-size: 1.15rem; background: #21152a; box-shadow: 0 0 16px rgba(221, 64, 213, .55); transition: transform .2s ease, background .2s ease; }
.social-icon { display: block; width: 28px; height: 28px; object-fit: contain; }
.social-link:hover, .social-link:active { transform: translateY(-3px); background: linear-gradient(135deg, #ec4da6, #714bff); }
.social-link:focus-visible, .content-card:focus-visible, .site-footer a:focus-visible, .hint-close:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.content-card { position: relative; display: block; overflow: hidden; margin-top: 28px; aspect-ratio: 3 / 2; border-radius: 20px; text-decoration: none; box-shadow: 0 0 0 2px #e33bd7, 0 0 26px rgba(235, 49, 205, .72); transition: transform .2s ease, box-shadow .2s ease; }
.content-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px #ff72e9, 0 0 38px rgba(235, 49, 205, .9); }
.content-card img, .card-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.content-card img { object-fit: cover; }
.card-shade { background: linear-gradient(180deg, transparent 35%, rgba(25, 7, 27, .86)); }
.content-label { position: absolute; bottom: 20px; left: 22px; right: 22px; text-align: center; font-size: clamp(1rem, 3.8vw, 1.3rem); font-weight: 800; letter-spacing: .02em; }
.site-footer { display: flex; justify-content: center; gap: 18px; margin-top: 104px; font-size: .72rem; color: #a786a9; }
.site-footer a:hover { color: #fff; }
.browser-hint { position: fixed; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 5; width: min(420px, calc(100% - 36px)); padding: 22px 46px 22px 22px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(31, 14, 35, .96); box-shadow: 0 16px 50px rgba(0,0,0,.5); backdrop-filter: blur(16px); }
.browser-hint[hidden] { display: none; }
.hint-icon { color: #ff7cdd; font-size: 1.7rem; }
.browser-hint h2 { margin: 5px 0 6px; font-size: 1.1rem; }
.browser-hint p { margin: 0; color: #ddcde1; font-size: .86rem; line-height: 1.5; }
.hint-close { position: absolute; top: 12px; right: 13px; width: 32px; height: 32px; border: 0; border-radius: 50%; color: #fff; background: transparent; font-size: 1.7rem; cursor: pointer; }
/* Light grey theme, enabled only on Pia's page. */
html.theme-light-blue { color-scheme: light; color: #222; background: #dedede; }
.theme-light-blue .page-shell { background: #dedede; }
.theme-light-blue .page-shell::before, .theme-light-blue .page-shell::after { display: none; }
.theme-light-blue .profile-card { background: #eeeeee; box-shadow: 0 24px 70px rgba(0, 0, 0, .15), inset 0 1px rgba(255, 255, 255, .8); }
.theme-light-blue .profile-image { border-color: #fff; box-shadow: 0 0 28px rgba(0, 191, 255, .72); }
.theme-light-blue .username, .theme-light-blue .description, .theme-light-blue .site-footer { color: #595959; }
.theme-light-blue .site-footer a:hover { color: #222; }
.theme-light-blue .verified-badge, .theme-light-blue .content-label, .theme-light-blue .browser-hint { color: #fff; }
.theme-light-blue .content-card { box-shadow: 0 0 0 2px #00bfff, 0 0 26px rgba(0, 191, 255, .72); }
.theme-light-blue .content-card:hover { box-shadow: 0 0 0 2px #66d9ff, 0 0 38px rgba(0, 191, 255, .9); }
.theme-light-blue .social-link:focus-visible, .theme-light-blue .content-card:focus-visible, .theme-light-blue .site-footer a:focus-visible { outline-color: #006b99; }

/* Black theme, enabled only on Tina's page. */
html.theme-black { background: #000; }
.theme-black .page-shell { background: #000; }
.theme-black .page-shell::before, .theme-black .page-shell::after { display: none; }
.theme-black .profile-card { background: #050505; box-shadow: 0 24px 70px rgba(0, 0, 0, .7), inset 0 1px rgba(255, 255, 255, .08); }

@media (max-width: 560px) { .page-shell { padding: 0 10px max(18px, env(safe-area-inset-bottom)); align-items: start; } .profile-card { min-height: 100svh; border-radius: 0; padding-top: 44px; } .site-footer { margin-top: 76px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }