@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&display=swap');

:root{
  --accent:#ff3636;
  --premium-gold:#b88a2d;
  --premium-gold-soft:#e7c66d;

  --bg:#f4f5f7;
  --bg-soft:#eef0f3;
  --surface:#ffffff;
  --surface-soft:#ffffff;
  --surface-strong:#ffffff;
  --surface-muted:#f3f5f8;

  --text:#151d28;
  --text-soft:#566272;
  --text-muted:#7e8996;

  --border:rgba(16, 24, 40, 0.08);
  --border-strong:rgba(16, 24, 40, 0.14);

  --shadow-xs:0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-sm:0 10px 24px rgba(15, 23, 42, 0.06);
  --shadow-md:0 18px 42px rgba(15, 23, 42, 0.09);
  --shadow-lg:0 26px 60px rgba(15, 23, 42, 0.12);

  --radius-sm:10px;
  --radius-md:14px;
  --radius-lg:18px;
  --radius-xl:22px;
  --radius-2xl:26px;

  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --space-7:32px;
  --space-8:40px;
  --space-9:48px;

  --public-column-max:36.25rem;
  --shell-bleed:8px;
  --frame-radius:24px;

  --shell-padding:clamp(8px, 1vw, 14px);
  --shell-space-top:12px;
  --shell-space-bottom:32px;
  --notice-space-after:16px;
  --hero-space-after:12px;
  --footer-space-before:20px;

  --banner-media-height:104px;

  --card-asset-axis:56px;
  --card-asset-lane:24px;
  --card-asset-gap:10px;

  --card-padding-y:10px;
  --card-padding-x:12px;
  --card-radius:16px;

  --page-bg-1:color-mix(in srgb, var(--accent) 16%, #09111a);
  --page-bg-2:color-mix(in srgb, var(--accent) 24%, #0f1722);
  --page-bg-3:color-mix(in srgb, var(--accent) 10%, #141c27);

  --frame-surface-top:color-mix(in srgb, #ffffff 76%, var(--accent) 8%);
  --frame-surface-bottom:color-mix(in srgb, #ffffff 64%, var(--accent) 14%);
  --frame-border:color-mix(in srgb, var(--accent) 18%, rgba(255, 255, 255, 0.24));
  --frame-glow:color-mix(in srgb, var(--accent) 24%, transparent);
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  color-scheme:light;
}

body{
  margin:0;
  min-height:100vh;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top center, color-mix(in srgb, var(--accent) 24%, transparent) 0%, transparent 28%),
    radial-gradient(circle at bottom center, color-mix(in srgb, var(--accent) 12%, transparent) 0%, transparent 32%),
    linear-gradient(180deg, var(--page-bg-2) 0%, var(--page-bg-1) 46%, var(--page-bg-3) 100%);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{
  display:block;
  max-width:100%;
}

a{
  color:inherit;
}

button{
  font:inherit;
}

.page-shell{
  min-height:100vh;
  padding:0;
}

.page-shell__frame{
  width:100%;
  margin:0 auto;
  padding-inline:10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.09) 100%),
    linear-gradient(180deg, var(--frame-surface-top) 0%, var(--frame-surface-bottom) 100%);
  box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter:saturate(116%) blur(12px);
  -webkit-backdrop-filter:saturate(116%) blur(12px);
}

.wrap{
  width:100%;
  max-width:var(--public-column-max);
  margin:0 auto;
  padding:var(--shell-space-top) 0 var(--shell-space-bottom);
}

.notice,
.title,
.bio,
.card-title,
.card-desc,
.empty,
.footer{
  overflow-wrap:anywhere;
}

.notice-host{
  position:sticky;
  top:clamp(10px, 1.4vw, 18px);
  z-index:60;
  margin-bottom:var(--notice-space-after);
}

.notice{
  position:relative;
  display:block;
  width:100%;
  padding:14px 58px 15px 15px;
  border:1px solid rgba(122, 11, 11, 0.22);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(139, 16, 16, 0.98) 0%, rgba(114, 10, 10, 0.98) 100%);
  color:#ffffff;
  box-shadow:0 14px 34px rgba(0, 0, 0, 0.18);
  overflow:hidden;
}

.notice::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.10);
  pointer-events:none;
}

.notice-text{
  display:block;
  padding-right:4px;
  font-size:0.97rem;
  line-height:1.5;
  font-weight:650;
  color:rgba(255, 255, 255, 0.96);
}

.notice-close{
  position:absolute;
  top:50%;
  right:6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  min-width:42px;
  min-height:42px;
  border:0;
  border-radius:14px;
  background:rgba(255, 255, 255, 0.14);
  color:inherit;
  cursor:pointer;
  font:inherit;
  font-size:18px;
  line-height:1;
  padding:0;
  transform:translateY(-50%);
  transition:
    background-color .16s ease,
    transform .16s ease,
    box-shadow .16s ease;
}

.notice-close:hover{
  background:rgba(255, 255, 255, 0.22);
}

.notice-close:active{
  transform:translateY(-50%) scale(0.97);
}

.notice-close:focus-visible{
  outline:2px solid rgba(255, 255, 255, 0.98);
  outline-offset:2px;
  background:rgba(255, 255, 255, 0.26);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.12);
}

.notice-host[hidden]{
  display:none !important;
}

.profile{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  margin:0 0 var(--hero-space-after);
  text-align:center;
  font-family:'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.profile-head{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  width:100%;
  max-width:31rem;
}

.profile-copy{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  width:100%;
  min-width:0;
}

.avatar-shell{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  padding:8px;
  border:0;
  border-radius:30px;
  background:transparent;
  appearance:none;
  cursor:pointer;
}

.avatar-shell__corners,
.avatar-shell__pulse{
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
}

.avatar-shell__corners::before,
.avatar-shell__corners::after{
  content:"";
  position:absolute;
  width:28px;
  height:28px;
  border-color:color-mix(in srgb, var(--accent) 70%, white);
  opacity:0.92;
}

.avatar-shell__corners::before{
  top:0;
  right:0;
  border-top:3px solid currentColor;
  border-right:3px solid currentColor;
  border-color:color-mix(in srgb, var(--accent) 70%, white);
  border-top-right-radius:20px;
  filter:drop-shadow(0 4px 12px color-mix(in srgb, var(--accent) 18%, transparent));
}

.avatar-shell__corners::after{
  left:0;
  bottom:0;
  border-left:3px solid currentColor;
  border-bottom:3px solid currentColor;
  border-color:color-mix(in srgb, var(--accent) 70%, white);
  border-bottom-left-radius:20px;
  filter:drop-shadow(0 4px 12px color-mix(in srgb, var(--accent) 14%, transparent));
}

.avatar-shell__pulse{
  inset:4px;
  border-radius:26px;
  opacity:0;
  transform:scale(0.88);
}

.avatar-shell__pulse::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  border:2px solid color-mix(in srgb, var(--accent) 62%, white);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 18%, white) inset,
    0 10px 26px color-mix(in srgb, var(--accent) 16%, transparent);
}

.avatar-shell:hover .avatar-shell__corners::before,
.avatar-shell:hover .avatar-shell__corners::after{
  border-color:color-mix(in srgb, var(--accent) 84%, white);
}

.avatar-shell:focus-visible{
  outline:none;
  background:color-mix(in srgb, var(--accent) 6%, transparent);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent),
    0 10px 24px rgba(15, 23, 42, 0.10);
}

.avatar-shell:focus-visible .avatar-shell__corners::before,
.avatar-shell:focus-visible .avatar-shell__corners::after{
  border-color:color-mix(in srgb, var(--accent) 88%, white);
}

.avatar-shell:focus-visible .avatar-shell__pulse{
  opacity:1;
  transform:scale(1);
}

.avatar-shell.is-pulsed .avatar-shell__pulse{
  animation:avatarRingPulse 1s ease;
}

.avatar{
  position:relative;
  z-index:1;
  width:86px;
  height:86px;
  border-radius:22px;
  object-fit:cover;
  border:1px solid rgba(18, 29, 44, 0.08);
  background:var(--surface);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

@keyframes avatarRingPulse{
  0%{
    opacity:0;
    transform:scale(0.82);
  }
  18%{
    opacity:1;
    transform:scale(0.94);
  }
  58%{
    opacity:1;
    transform:scale(1.02);
  }
  100%{
    opacity:0;
    transform:scale(1.12);
  }
}

.title{
  margin:0;
  max-width:17ch;
  font-size:clamp(1.98rem, 5.2vw, 2.42rem);
  line-height:1.03;
  letter-spacing:-0.045em;
  font-weight:780;
  color:var(--text);
  text-wrap:balance;
}

.bio{
  margin:0;
  max-width:38ch;
  font-size:0.93rem;
  line-height:1.4;
  color:var(--text-soft);
  text-wrap:pretty;
}

.bio b,
.bio strong{
  font-weight:780;
  color:var(--text);
}

.bio i,
.bio em{
  font-style:italic;
}

.socials{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin-top:4px;
  max-width:28rem;
}

.social{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  min-width:42px;
  min-height:42px;
  padding:0;
  border:1px solid rgba(16, 24, 40, 0.08);
  border-radius:16px;
  background:rgba(255, 255, 255, 0.90);
  box-shadow:var(--shadow-xs);
  color:color-mix(in srgb, var(--text-soft) 84%, transparent);
  text-decoration:none;
  transition:
    transform .14s ease,
    border-color .14s ease,
    background-color .14s ease,
    box-shadow .14s ease,
    color .14s ease;
}

.social-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
}

.social-icon__svg{
  display:block;
  width:100%;
  height:100%;
  fill:currentColor;
}

.social--link .social-icon__svg{
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.social:hover{
  transform:translateY(-2px);
  background:var(--surface-strong);
  box-shadow:0 12px 24px rgba(15, 23, 42, 0.10);
  border-color:rgba(16, 24, 40, 0.16);
}

.social:active{
  transform:translateY(0);
}

.social:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
  border-color:var(--accent);
  background:color-mix(in srgb, var(--accent) 8%, white);
  box-shadow:
    0 0 0 3px rgba(18, 29, 44, 0.08),
    0 10px 22px rgba(15, 23, 42, 0.08);
}

.social--web:hover,
.social--web:focus-visible{ color:#2563eb; border-color:color-mix(in srgb, #2563eb 34%, white); }
.social--instagram:hover,
.social--instagram:focus-visible{ color:#e1306c; border-color:color-mix(in srgb, #e1306c 34%, white); }
.social--youtube:hover,
.social--youtube:focus-visible{ color:#ff0033; border-color:color-mix(in srgb, #ff0033 34%, white); }
.social--threads:hover,
.social--threads:focus-visible{ color:#111111; border-color:color-mix(in srgb, #111111 24%, white); }
.social--bluesky:hover,
.social--bluesky:focus-visible{ color:#1185fe; border-color:color-mix(in srgb, #1185fe 34%, white); }
.social--telegram:hover,
.social--telegram:focus-visible{ color:#27a7e7; border-color:color-mix(in srgb, #27a7e7 34%, white); }
.social--link:hover,
.social--link:focus-visible{ color:var(--accent); border-color:color-mix(in srgb, var(--accent) 34%, white); }
.social--mastodon:hover,
.social--mastodon:focus-visible{ color:#6364ff; border-color:color-mix(in srgb, #6364ff 34%, white); }
.social--spotify:hover,
.social--spotify:focus-visible{ color:#1db954; border-color:color-mix(in srgb, #1db954 34%, white); }
.social--twitch:hover,
.social--twitch:focus-visible{ color:#9146ff; border-color:color-mix(in srgb, #9146ff 34%, white); }
.social--facebook:hover,
.social--facebook:focus-visible{ color:#1877f2; border-color:color-mix(in srgb, #1877f2 34%, white); }
.social--discord:hover,
.social--discord:focus-visible{ color:#5865f2; border-color:color-mix(in srgb, #5865f2 34%, white); }
.social--metrobus:hover,
.social--metrobus:focus-visible{ color:#87cefa; border-color:color-mix(in srgb, #87cefa 34%, white); }
.social--forendors:hover,
.social--forendors:focus-visible{ color:#ff6b3d; border-color:color-mix(in srgb, #ff6b3d 34%, white); }
.social--forendors .social-icon__svg{
  width:20px;
  height:20px;
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0, 0, 0, 0);
  white-space:nowrap;
  border:0;
}

.links{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.card{
  position:relative;
  display:block;
  overflow:hidden;
  isolation:isolate;
  padding:var(--card-padding-y) var(--card-padding-x);
  border:1px solid rgba(16, 24, 40, 0.07);
  border-radius:var(--card-radius);
  background:rgba(255, 255, 255, 0.96);
  box-shadow:0 5px 12px rgba(15, 23, 42, 0.045);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  color:var(--text);
  text-decoration:none;
  transition:
    transform .14s ease,
    border-color .14s ease,
    box-shadow .14s ease,
    background-color .14s ease,
    color .14s ease;
}

.card:hover{
  transform:translateY(-2px);
  border-color:rgba(16, 24, 40, 0.16);
  background:rgba(255, 255, 255, 0.99);
  box-shadow:0 14px 26px rgba(15, 23, 42, 0.10);
}

.card:active{
  transform:translateY(0) scale(0.996);
  box-shadow:0 8px 16px rgba(15, 23, 42, 0.075);
}

.card:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
  border-color:color-mix(in srgb, var(--accent) 50%, white);
  box-shadow:
    0 0 0 3px rgba(18, 29, 44, 0.07),
    0 10px 22px rgba(15, 23, 42, 0.08);
}

.card:focus-visible .card-title{
  text-decoration:underline;
  text-decoration-thickness:0.08em;
  text-underline-offset:0.14em;
}

.card-inner{
  position:relative;
  z-index:2;
  min-width:0;
}

.card-body{
  display:grid;
  grid-template-columns:var(--card-asset-axis) minmax(0, 1fr);
  column-gap:var(--card-asset-gap);
  align-items:center;
  min-width:0;
}

.card-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
}

.card-asset{
  width:var(--card-asset-axis);
  min-width:var(--card-asset-axis);
  display:flex;
  align-items:center;
  justify-content:center;
}

.card-asset-slot{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:rgba(16, 24, 40, 0.03);
  border:1px solid rgba(16, 24, 40, 0.05);
  transition:
    transform .14s ease,
    border-color .14s ease,
    background-color .14s ease,
    box-shadow .14s ease;
}

.card:hover .card-asset-slot,
.card:focus-visible .card-asset-slot{
  background:color-mix(in srgb, var(--accent) 8%, white);
  border-color:color-mix(in srgb, var(--accent) 24%, rgba(16, 24, 40, 0.08));
  box-shadow:0 4px 12px rgba(15, 23, 42, 0.06);
}

.card--square-slot .card-asset-slot{
  width:var(--card-asset-axis);
  height:var(--card-asset-axis);
  border-radius:13px;
}

.card--compact-lane .card-body{
  align-items:center;
  column-gap:10px;
}

.card--compact-lane .card-asset-slot{
  width:var(--card-asset-lane);
  height:30px;
  border-radius:10px;
}

.card-asset-media--icon{
  width:22px;
  height:22px;
  opacity:0.86;
}

.card--compact-lane .card-asset-media--icon{
  width:16px;
  height:16px;
  opacity:0.80;
}

.card-asset-fallback{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  font-family:'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size:0.92rem;
  line-height:1;
  font-weight:780;
  letter-spacing:-0.025em;
  color:color-mix(in srgb, var(--text) 88%, var(--accent) 12%);
}

.card--compact-lane .card-asset-fallback{
  font-size:0.80rem;
}

.card-title{
  min-width:0;
  font-size:0.96rem;
  line-height:1.24;
  font-weight:750;
  letter-spacing:-0.015em;
  color:var(--text);
  text-wrap:pretty;
  word-break:break-word;
  hyphens:auto;
  transition:color .14s ease;
}

.card:hover .card-title{
  color:color-mix(in srgb, var(--text) 84%, var(--accent) 16%);
}

.card-desc{
  margin-top:2px;
  width:100%;
  max-width:none;
  font-size:0.84rem;
  line-height:1.31;
  color:var(--text-soft);
  text-wrap:pretty;
  word-break:break-word;
  hyphens:auto;
}

.variant-primary{
  border-color:color-mix(in srgb, var(--accent) 58%, rgba(16, 24, 40, 0.14));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.985) 0%, color-mix(in srgb, var(--accent) 12%, white) 100%);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.07),
    0 0 0 1px color-mix(in srgb, var(--accent) 16%, transparent),
    0 0 22px rgba(255, 54, 54, 0.06);
}

.variant-primary::before{
  content:"";
  position:absolute;
  inset:-1px;
  z-index:0;
  border-radius:inherit;
  pointer-events:none;
  box-shadow:
    0 0 0 1px rgba(255, 54, 54, 0.22),
    0 0 0 10px rgba(255, 54, 54, 0),
    0 0 36px rgba(255, 54, 54, 0.34);
  opacity:0;
  animation:card-primary-glow 5.4s ease-in-out infinite;
}

.variant-primary:hover{
  border-color:color-mix(in srgb, var(--accent) 74%, rgba(16, 24, 40, 0.18));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.995) 0%, color-mix(in srgb, var(--accent) 16%, white) 100%);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.09),
    0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent),
    0 0 26px rgba(255, 54, 54, 0.08);
}

.variant-primary:active{
  box-shadow:
    0 9px 20px rgba(15, 23, 42, 0.08),
    0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent),
    0 0 16px rgba(255, 54, 54, 0.06);
}

.variant-primary:focus-visible{
  border-color:color-mix(in srgb, var(--accent) 82%, rgba(16, 24, 40, 0.18));
  box-shadow:
    0 0 0 3px rgba(18, 29, 44, 0.07),
    0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent),
    0 14px 28px rgba(15, 23, 42, 0.10),
    0 0 22px rgba(255, 54, 54, 0.10);
}

.variant-primary .card-asset-slot{
  background:color-mix(in srgb, var(--accent) 12%, white);
  border-color:color-mix(in srgb, var(--accent) 28%, rgba(16, 24, 40, 0.07));
}

.variant-primary .card-title{
  font-weight:790;
  color:color-mix(in srgb, var(--text) 88%, var(--accent) 12%);
}

.variant-primary .card-desc{
  color:color-mix(in srgb, var(--text-soft) 89%, var(--accent) 11%);
}

.variant-primary .card-asset-fallback{
  color:color-mix(in srgb, var(--text) 66%, var(--accent) 34%);
}

.variant-premium{
  border-color:color-mix(in srgb, var(--premium-gold) 64%, rgba(16, 24, 40, 0.16));
  background:color-mix(in srgb, var(--premium-gold-soft) 12%, #ffffff);
  box-shadow:0 7px 16px rgba(15, 23, 42, 0.06);
}

.variant-premium::before{
  content:none;
}

.variant-premium::after{
  content:none;
}

.variant-premium:hover{
  border-color:color-mix(in srgb, var(--premium-gold) 80%, rgba(16, 24, 40, 0.20));
  background:color-mix(in srgb, var(--premium-gold-soft) 17%, #ffffff);
  box-shadow:0 12px 24px rgba(15, 23, 42, 0.10);
}

.variant-premium:active{
  box-shadow:0 8px 18px rgba(15, 23, 42, 0.08);
}

.variant-premium:focus-visible{
  border-color:color-mix(in srgb, var(--premium-gold) 88%, rgba(16, 24, 40, 0.21));
  box-shadow:
    0 0 0 3px rgba(18, 29, 44, 0.07),
    0 0 0 1px color-mix(in srgb, var(--premium-gold) 30%, transparent),
    0 12px 24px rgba(15, 23, 42, 0.10);
}

.variant-premium .card-asset-slot{
  background:color-mix(in srgb, var(--premium-gold-soft) 22%, #ffffff);
  border-color:color-mix(in srgb, var(--premium-gold) 36%, rgba(16, 24, 40, 0.08));
}

.variant-premium .card-title{
  font-weight:805;
  color:color-mix(in srgb, var(--text) 75%, var(--premium-gold) 25%);
}

.variant-premium .card-desc{
  color:color-mix(in srgb, var(--text-soft) 80%, var(--premium-gold) 20%);
}

.variant-premium .card-asset-fallback{
  color:color-mix(in srgb, var(--text) 48%, var(--premium-gold) 52%);
}

@keyframes card-primary-glow{
  0%, 80%, 100%{
    opacity:0;
  }

  84%{
    opacity:0.35;
  }

  88%, 92%{
    opacity:1;
  }

  96%{
    opacity:0;
  }
}

@keyframes card-premium-glow{
  0%, 79%, 100%{
    opacity:0;
  }

  83%{
    opacity:0.42;
  }

  87%, 91%{
    opacity:1;
  }

  95%{
    opacity:0;
  }
}

@keyframes card-premium-sheen{
  0%, 81%, 100%{
    opacity:0;
    transform:translateX(-205%) skewX(-18deg);
  }

  84%{
    opacity:0.34;
    transform:translateX(-154%) skewX(-18deg);
  }

  88%{
    opacity:0.96;
  }

  94%{
    opacity:0;
    transform:translateX(500%) skewX(-18deg);
  }
}

.variant-banner{
  border-color:rgba(16, 24, 40, 0.08);
  background:rgba(255, 255, 255, 0.92);
}

.variant-banner.has-image{
  padding:0;
  min-height:0;
  border-color:rgba(16, 24, 40, 0.08);
  background:rgba(255, 255, 255, 0.94);
  box-shadow:0 14px 30px rgba(15, 23, 42, 0.10);
}

.variant-banner.has-image::before{
  content:"";
  display:block;
  height:var(--banner-media-height);
}

.variant-banner.has-image:hover{
  border-color:rgba(16, 24, 40, 0.12);
  box-shadow:0 18px 36px rgba(15, 23, 42, 0.12);
}

.variant-banner.has-image:focus-visible{
  border-color:rgba(16, 24, 40, 0.12);
  box-shadow:
    0 0 0 4px rgba(18, 29, 44, 0.08),
    0 18px 36px rgba(15, 23, 42, 0.12);
}

.variant-banner.has-image .card-inner{
  display:block;
  min-height:0;
  padding:14px 15px 14px;
  background:rgba(255, 255, 255, 0.97);
  border-top:1px solid rgba(16, 24, 40, 0.07);
}

.card-row{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.card-row > *{
  min-width:0;
}

.variant-banner.has-image .card-row{
  width:100%;
  align-items:flex-start;
}

.card-img{
  position:absolute;
  inset:0 0 auto 0;
  width:100%;
  height:var(--banner-media-height);
  object-fit:cover;
  object-position:center center;
  z-index:0;
  transform:scale(1.001);
  transition:transform .24s ease;
}

.variant-banner.has-image:hover .card-img,
.variant-banner.has-image:focus-visible .card-img{
  transform:scale(1.03);
}

.card-overlay{
  position:absolute;
  inset:0 0 auto 0;
  width:100%;
  height:var(--banner-media-height);
  z-index:1;
  background:
    linear-gradient(180deg, rgba(12, 19, 28, 0.03) 0%, rgba(12, 19, 28, 0.06) 58%, rgba(12, 19, 28, 0.12) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 76%, rgba(255, 255, 255, 0.10) 100%);
}

.variant-banner.has-image .card-title{
  width:100%;
  max-width:26ch;
  font-size:1.02rem;
  line-height:1.24;
  font-weight:780;
  letter-spacing:-0.016em;
}

.variant-banner.has-image .card-desc{
  margin-top:6px;
}

.variant-compact{
  min-height:0;
  padding:9px 12px;
  border-radius:14px;
  box-shadow:0 4px 10px rgba(15, 23, 42, 0.04);
}

.variant-compact:hover{
  box-shadow:0 8px 16px rgba(15, 23, 42, 0.06);
}

.variant-compact .card-title{
  font-size:0.92rem;
  line-height:1.18;
  font-weight:720;
}

.variant-compact .card-desc{
  display:none;
}

.empty{
  padding:15px 16px;
  border:1px dashed var(--border-strong);
  border-radius:16px;
  background:rgba(255, 255, 255, 0.88);
  box-shadow:var(--shadow-xs);
  color:var(--text-soft);
}

.footer{
  margin-top:var(--footer-space-before);
  color:rgba(255, 255, 255, 0.74);
  font-size:0.82rem;
  line-height:1.55;
  text-align:center;
  letter-spacing:-0.01em;
}

@media (max-width: 420px){
  :root{
    --shell-padding:8px;
    --shell-space-top:12px;
    --shell-space-bottom:28px;
    --notice-space-after:16px;
    --hero-space-after:16px;
    --footer-space-before:18px;
    --shell-bleed:6px;
    --banner-media-height:96px;

    --card-asset-axis:50px;
    --card-asset-lane:22px;
    --card-asset-gap:8px;

    --card-padding-y:9px;
    --card-padding-x:10px;
    --card-radius:14px;
  }

  .page-shell__frame{
    padding-inline:8px;
  }

  .wrap{
    padding-top:16px;
  }

  .avatar-shell{
    padding:7px;
    border-radius:26px;
  }

  .avatar-shell__corners::before,
  .avatar-shell__corners::after{
    width:24px;
    height:24px;
  }

  .avatar-shell__pulse{
    inset:4px;
    border-radius:22px;
  }

  .avatar{
    width:80px;
    height:80px;
    border-radius:20px;
  }

  .title{
    max-width:14ch;
    font-size:clamp(1.76rem, 8vw, 2.02rem);
    line-height:1.05;
  }

  .bio{
    max-width:30ch;
    font-size:0.94rem;
    line-height:1.48;
  }

  .socials{
    gap:8px;
    margin-top:5px;
  }

  .social{
    width:40px;
    height:40px;
    min-width:40px;
    min-height:40px;
    border-radius:14px;
  }

  .social-icon{
    width:19px;
    height:19px;
  }

  .links{
    gap:6px;
  }

  .card-row{
    gap:10px;
  }

  .card--square-slot .card-asset-slot{
    border-radius:12px;
  }

  .card--compact-lane .card-asset-slot{
    height:28px;
    border-radius:9px;
  }

  .card-title{
    font-size:0.95rem;
  }

  .card-desc{
    margin-top:2px;
    font-size:0.83rem;
    line-height:1.29;
  }

  .variant-banner.has-image .card-inner{
    padding:13px 13px 13px;
  }

  .variant-banner.has-image .card-title{
    max-width:22ch;
    font-size:0.98rem;
  }

  .variant-banner.has-image .card-desc{
    font-size:0.88rem;
  }

  .variant-compact{
    padding:8px 10px;
    border-radius:12px;
  }

  .variant-compact .card-title{
    font-size:0.88rem;
    line-height:1.16;
  }

  .empty{
    border-radius:14px;
  }

  .notice{
    border-radius:16px;
  }

  .notice-close{
    border-radius:10px;
  }
}

@media (min-width: 700px){
  :root{
    --shell-space-top:22px;
    --shell-space-bottom:40px;
    --notice-space-after:20px;
    --hero-space-after:20px;
    --footer-space-before:24px;
    --banner-media-height:118px;

    --card-padding-y:13px;
    --card-padding-x:15px;
  }

  .profile-head{
    max-width:33rem;
    gap:14px;
  }

  .avatar-shell{
    padding:11px;
    border-radius:32px;
  }

  .avatar-shell__corners::before,
  .avatar-shell__corners::after{
    width:30px;
    height:30px;
  }

  .avatar-shell__pulse{
    inset:5px;
    border-radius:28px;
  }

  .avatar{
    width:96px;
    height:96px;
    border-radius:24px;
  }

  .bio{
    max-width:46ch;
    font-size:0.98rem;
  }

  .links{
    gap:9px;
  }

  .variant-banner.has-image .card-inner{
    padding:15px 16px 15px;
  }

  .variant-banner.has-image .card-title{
    max-width:28ch;
  }

  .variant-compact{
    padding:9px 12px;
  }
}

@media (min-width: 640px){
  .page-shell{
    padding:clamp(14px, 2vw, 24px);
  }

  .page-shell__frame{
    width:min(100%, calc(var(--public-column-max) + 24px));
    padding-inline:12px;
    border:1px solid var(--frame-border);
    border-radius:var(--frame-radius);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.11) 100%),
      linear-gradient(180deg, var(--frame-surface-top) 0%, var(--frame-surface-bottom) 100%);
    box-shadow:
      0 24px 56px rgba(0, 0, 0, 0.24),
      0 1px 0 rgba(255, 255, 255, 0.18) inset,
      0 0 0 1px color-mix(in srgb, var(--frame-glow) 18%, transparent);
    backdrop-filter:saturate(124%) blur(16px);
    -webkit-backdrop-filter:saturate(124%) blur(16px);
  }

  .wrap{
    padding-top:24px;
  }
}

@media (hover:none){
  .social:hover,
  .card:hover,
  .notice-close:hover{
    transform:none;
  }
}

@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }

  .card,
  .card:hover,
  .card:active,
  .variant-banner.has-image:hover,
  .variant-banner.has-image:focus-visible{
    transform:none !important;
  }

  .card-img,
  .variant-banner.has-image:hover .card-img,
  .variant-banner.has-image:focus-visible .card-img{
    transform:none !important;
  }

  .variant-primary::before,
  .variant-premium::before,
  .variant-premium::after{
    opacity:0 !important;
  }

  .avatar-shell{
    cursor:default;
  }
}
