@property --page { syntax: "<color>"; inherits: true; initial-value: #f2f4fb; }
@property --surface { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
@property --surface-soft { syntax: "<color>"; inherits: true; initial-value: #e9edf8; }
@property --ink { syntax: "<color>"; inherits: true; initial-value: #202747; }
@property --muted { syntax: "<color>"; inherits: true; initial-value: #65708d; }
@property --line { syntax: "<color>"; inherits: true; initial-value: #dce1ed; }
@property --purple { syntax: "<color>"; inherits: true; initial-value: #6865b8; }
@property --purple-deep { syntax: "<color>"; inherits: true; initial-value: #4d4d9d; }

:root {
  --page: #f2f4fb;
  --surface: #ffffff;
  --surface-soft: #e9edf8;
  --ink: #202747;
  --muted: #65708d;
  --line: #dce1ed;
  --purple: #6865b8;
  --purple-deep: #4d4d9d;
  --peach: #ffbfaa;
  --shadow: 0 18px 52px rgba(33, 39, 86, .09);
  color-scheme: light;
}

:root.theme-ready {
  transition: --page .55s ease, --surface .55s ease, --surface-soft .55s ease,
    --ink .55s ease, --muted .55s ease, --line .55s ease,
    --purple .55s ease, --purple-deep .55s ease;
}

:root[data-theme="dark"] {
  --page: #141a2c;
  --surface: #202a40;
  --surface-soft: #26344e;
  --ink: #f3f5ff;
  --muted: #bbc7db;
  --line: #3a4764;
  --purple: #a7a2ef;
  --purple-deep: #8884df;
  --peach: #ffbfaa;
  --shadow: 0 18px 52px rgba(0, 0, 0, .22);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--page); font: 16px/1.65 "Segoe UI", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
.site-page { display: flex; flex-direction: column; min-height: 100vh; }
.site-page main { flex: 1; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { width: 1.2em; height: 1.2em; }
::selection { background: #c8c3ff; color: #25254e; }
:focus-visible { outline: 3px solid #f08b78; outline-offset: 4px; }
[hidden] { display: none !important; }
.section-wrap { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }

.site-backdrop { pointer-events: none; position: fixed; inset: 0; z-index: -1; overflow: hidden; background-image: linear-gradient(to right, rgba(92, 101, 158, .034) 1px, transparent 1px), linear-gradient(to bottom, rgba(92, 101, 158, .034) 1px, transparent 1px); background-size: 34px 34px; }
.site-backdrop span { position: absolute; width: 470px; height: 470px; border-radius: 50%; filter: blur(110px); opacity: .45; transition: opacity .55s ease; }
.site-backdrop span:first-child { top: 12%; left: -180px; background: #d2ccfa; }
.site-backdrop span:last-child { right: -170px; top: 55%; background: #c8e6f0; }
:root[data-theme="dark"] .site-backdrop span { opacity: .13; }

.site-header { position: sticky; top: 0; z-index: 30; padding: 16px 24px 0; }
.header-inner { width: min(1310px, 100%); min-height: 76px; margin: auto; display: flex; align-items: center; gap: 24px; padding: 9px 17px 9px 13px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.91); box-shadow: 0 9px 28px rgba(33,39,86,.07); backdrop-filter: blur(18px); transition: background-color .55s ease, border-color .55s ease, box-shadow .55s ease; }
:root[data-theme="dark"] .header-inner { background: rgba(32,42,64,.92); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; min-width: 0; line-height: 1; }
.brand-mark { display: grid; place-items: center; position: relative; width: 52px; height: 52px; border-radius: 17px; color: #fff; background: #6262b3; font: 900 30px/.9 Georgia, serif; transform: rotate(-5deg); box-shadow: 4px 5px 0 #c3c0f0; }
.brand-mark span { position: absolute; top: -8px; right: -8px; color: var(--peach); font: 700 19px/1 sans-serif; }
.brand-text { display: flex; flex-direction: column; gap: 5px; font: 900 18px/1 "Trebuchet MS", "Microsoft YaHei", sans-serif; letter-spacing: .04em; }
.brand-text span { font: 600 10px/1.1 "Microsoft YaHei", sans-serif; letter-spacing: .08em; color: var(--muted); }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 2px; flex: 1; }
.desktop-nav a { white-space: nowrap; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* UIverse: cssbuttons-io/friendly-dragon-76, adapted for compact controls. */
.uiverse-lift-link { position: relative; z-index: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 10px 12px; background: transparent; color: var(--ink); font-size: 13px; font-weight: 700; transition: transform .2s, box-shadow .2s, color .2s; }
.uiverse-lift-link::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--surface-soft); opacity: 0; transition: transform .35s, opacity .35s; }
.uiverse-lift-link:hover, .uiverse-lift-link:focus-visible { transform: translateY(-3px); color: var(--purple-deep); box-shadow: 0 9px 14px rgba(53,53,109,.08); }
.uiverse-lift-link:hover::after, .uiverse-lift-link:focus-visible::after { opacity: 1; transform: scale(1.08); }
.uiverse-lift-link:active { transform: translateY(-1px); }

/* UIverse: andrew-demchenk0/lucky-bobcat-25, adapted to navigation links. */
.uiverse-cyber-nav { gap: 2px; }
.cyber-nav-option { display: block; flex: none; width: 60px; height: 38px; margin: 2px; }
.cyber-nav-option:first-child { width: 54px; }
.cyber-nav-face {
  --primary: #ff184c;
  --shadow-primary: #fded00;
  --shadow-secondary: hsl(60 90% 60%);
  --clip: polygon(11% 0, 95% 0, 100% 25%, 90% 90%, 95% 90%, 85% 90%, 85% 100%, 7% 100%, 0 80%);
  --clip-one: polygon(0 2%, 100% 2%, 100% 95%, 95% 95%, 95% 90%, 85% 90%, 85% 95%, 8% 95%, 0 70%);
  --clip-two: polygon(0 78%, 100% 78%, 100% 100%, 95% 100%, 95% 90%, 85% 90%, 85% 100%, 8% 100%, 0 78%);
  --clip-three: polygon(0 44%, 100% 44%, 100% 54%, 95% 54%, 95% 54%, 85% 54%, 85% 54%, 8% 54%, 0 54%);
  --clip-four: polygon(0 0, 100% 0, 100% 0, 95% 0, 95% 0, 85% 0, 85% 0, 8% 0, 0 0);
  --clip-five: polygon(0 0, 100% 0, 100% 0, 95% 0, 95% 0, 85% 0, 85% 0, 8% 0, 0 0);
  --clip-six: polygon(0 40%, 100% 40%, 100% 85%, 95% 85%, 95% 85%, 85% 85%, 85% 85%, 8% 85%, 0 70%);
  --clip-seven: polygon(0 63%, 100% 63%, 100% 80%, 95% 80%, 95% 80%, 85% 80%, 85% 80%, 8% 80%, 0 70%);
  position: relative; isolation: isolate; display: grid; place-items: center; width: 100%; height: 100%; color: #fff; font-size: 12px; font-weight: 900; letter-spacing: 1px; white-space: nowrap; transition: font-size .3s ease, transform .2s ease;
}
.cyber-nav-face::before, .cyber-nav-face::after { position: absolute; inset: 0; z-index: -1; clip-path: var(--clip); content: ""; }
.cyber-nav-face::before { background: var(--shadow-primary); transform: translateX(4px); }
.cyber-nav-face::after { background: var(--primary); }
.cyber-nav-option[aria-current="page"] .cyber-nav-face { --primary: #8b00ff; --shadow-primary: #00e572; }
.cyber-nav-option:hover .cyber-nav-face { --primary: #cc133c; font-size: 13px; }
.cyber-nav-option:focus-visible { outline: 2px solid #00e572; outline-offset: 3px; }
.cyber-nav-option:active .cyber-nav-face { transform: scale(.96); }
.cyber-nav-glitch { position: absolute; inset: -5px; z-index: 1; isolation: isolate; display: none; place-items: center; clip-path: var(--clip); background: var(--shadow-primary); color: #fff; text-shadow: 2px 2px var(--shadow-primary), -2px -2px var(--shadow-secondary); animation: cyber-nav-glitch 2s infinite; }
.cyber-nav-glitch::before { position: absolute; inset: 5px; z-index: -1; clip-path: var(--clip); background: var(--primary); content: ""; }
.cyber-nav-option:hover .cyber-nav-glitch, .cyber-nav-option:focus-visible .cyber-nav-glitch { display: grid; }
.cyber-nav-option[aria-current="page"] .cyber-nav-glitch { display: grid; animation-duration: 5s; }
.cyber-nav-number { position: absolute; top: 0; left: 80%; z-index: 2; width: 14px; height: 7px; background: var(--shadow-primary); color: #323232; font-size: 6px; font-weight: 800; line-height: 7px; letter-spacing: 0; text-align: center; }
@keyframes cyber-nav-glitch {
  0% { clip-path: var(--clip-one); }
  2%, 8% { clip-path: var(--clip-two); transform: translateX(-5%); }
  6% { clip-path: var(--clip-two); transform: translateX(5%); }
  9% { clip-path: var(--clip-two); transform: translateX(0); }
  10% { clip-path: var(--clip-three); transform: translateX(5%); }
  13% { clip-path: var(--clip-three); transform: translateX(0); }
  14%, 21% { clip-path: var(--clip-four); transform: translateX(5%); }
  25% { clip-path: var(--clip-five); transform: translateX(5%); }
  30% { clip-path: var(--clip-five); transform: translateX(-5%); }
  35%, 45% { clip-path: var(--clip-six); transform: translateX(-5%); }
  40% { clip-path: var(--clip-six); transform: translateX(5%); }
  50% { clip-path: var(--clip-six); transform: translateX(0); }
  55% { clip-path: var(--clip-seven); transform: translateX(5%); }
  60% { clip-path: var(--clip-seven); transform: translateX(0); }
  31%, 61%, 100% { clip-path: var(--clip-four); }
}

/* UIverse: JustCode14/red-dingo-61, connected to the site's native theme checkbox. */
.uiverse-theme-switch { position: relative; display: inline-block; flex: none; width: 4em; height: 2.2em; border-radius: 30px; box-shadow: 0 0 10px rgba(0,0,0,.1); font-size: 17px; cursor: pointer; }
.uiverse-theme-switch input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.uiverse-theme-slider { position: absolute; inset: 0; overflow: hidden; border-radius: 30px; background: #2a2a2a; transition: .4s; }
.uiverse-theme-slider::before { position: absolute; bottom: .5em; left: .5em; width: 1.2em; height: 1.2em; border-radius: 20px; box-shadow: inset 8px -4px 0 0 #fff; content: ""; transition: .4s; transition-timing-function: cubic-bezier(.81,-.04,.38,1.5); }
.uiverse-theme-switch input:checked + .uiverse-theme-slider { background: #00a6ff; }
.uiverse-theme-switch input:checked + .uiverse-theme-slider::before { box-shadow: inset 15px -4px 0 15px #ffcf48; transform: translateX(1.8em); }
.theme-star { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff; transition: all .4s; }
.theme-star-1 { top: .5em; left: 2.5em; }
.theme-star-2 { top: 1.2em; left: 2.2em; }
.theme-star-3 { top: .9em; left: 3em; }
.uiverse-theme-switch input:checked + .uiverse-theme-slider .theme-star { opacity: 0; }
.theme-cloud { position: absolute; bottom: -1.4em; left: -1.1em; width: 3.5em; height: auto; opacity: 0; transition: all .4s; }
.uiverse-theme-switch input:checked + .uiverse-theme-slider .theme-cloud { opacity: 1; }
.uiverse-theme-switch input:focus-visible + .uiverse-theme-slider { outline: 3px solid #f08b78; outline-offset: 4px; }
.menu-button { display: none; width: 40px; height: 40px; padding: 9px; flex-direction: column; gap: 4px; }
.menu-button span { display: block; width: 19px; height: 2px; border-radius: 4px; background: currentColor; }
.mobile-nav { width: min(1310px, 100%); margin: 8px auto 0; display: none; grid-template-columns: repeat(3, 1fr); justify-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 14px; box-shadow: var(--shadow); }
.mobile-nav .cyber-nav-option, .mobile-nav .cyber-nav-option:first-child { width: 84px; height: 38px; margin: 3px 0; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: 630px; margin-top: 28px; border-radius: 38px; overflow: hidden; background: #6968b5; color: #fff; box-shadow: 0 25px 65px rgba(60,61,125,.19); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 91% 10%, rgba(255,255,255,.18), transparent 25%), radial-gradient(circle at 7% 94%, rgba(221,187,255,.18), transparent 29%), linear-gradient(125deg, #7775c7 3%, #6665b7 53%, #565aa3 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12; background-image: linear-gradient(to right, #fff 1px, transparent 1px), linear-gradient(to bottom, #fff 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to right, transparent 30%, #000); }
.hero-copy { position: relative; z-index: 2; padding: 86px 20px 72px 76px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 29px; border: 1px solid rgba(255,255,255,.45); border-radius: 100px; padding: 7px 15px; background: rgba(255,255,255,.13); color: #f6f4ff; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.hero-profile-row { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
/* UIverse: samuelfcosta18/silly-chicken-55; avatar shrinks while the caption flips up. */
.hero-profile-avatar.uiverse-avatar-card { position: relative; display: flex; flex: none; align-items: center; justify-content: center; width: 160px; height: 160px; overflow: hidden; padding: 0; border: 0; border-radius: 10px; background: #f2f2f2; color: #000; perspective: 1000px; cursor: pointer; transition: all .8s cubic-bezier(.175,.885,.32,1.275); }
.avatar-card-photo { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 3px; background: #f2f2f2; color: #333; font: 900 72px/1 Georgia, serif; transition: all .6s cubic-bezier(.175,.885,.32,1.275); }
.avatar-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.avatar-card-content { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: auto; box-sizing: border-box; padding: 14px; background: #f2f2f2; color: #000; text-align: left; transform: rotateX(-90deg); transform-origin: bottom; transition: all .6s cubic-bezier(.175,.885,.32,1.275); }
.avatar-card-title { margin: 0; padding-left: 5px; color: #000; font-size: 20px; font-weight: 700; line-height: 1.3; }
.avatar-card-description { margin-top: 10px; color: #000; font-size: 12px; font-weight: 400; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; }
.uiverse-avatar-card:is(:hover,:focus) { transform: scale(1.05); box-shadow: 0 8px 16px rgba(0,0,0,.45); }
.uiverse-avatar-card:is(:hover,:focus) .avatar-card-content { transform: rotateX(0deg); }
.uiverse-avatar-card:is(:hover,:focus) .avatar-card-photo { transform: scale(0); }
.uiverse-avatar-card:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.live-dot, .status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #a7f4d3; box-shadow: 0 0 0 4px rgba(167,244,211,.17); }
.hero-intro { max-width: 570px; margin: 25px 0 0; color: rgba(255,255,255,.94); font-size: 16px; line-height: 1.9; }
.hero blockquote { margin: 20px 0 0; padding-left: 15px; border-left: 3px solid #ffd4b3; color: #ffe3c8; font-size: 14px; font-weight: 700; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 35px; }

/* UIverse: Saad3092003/unlucky-panther-70; keep its circle, arrow and glow transitions. */
.uiverse-panther-button { position: relative; display: inline-block; width: 12rem; height: 3rem; padding: 0; border: 0; color: #fff; background: transparent; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.panther-circle { position: relative; display: block; width: 3rem; height: 3rem; margin: 0; border-radius: 1.625rem; background: #282936; box-shadow: 0 0 5px 1px #fff; transition: all .45s cubic-bezier(.65,0,.076,1); }
.panther-arrow { position: absolute; top: 0; bottom: 0; left: .625rem; width: 1.125rem; height: .125rem; margin: auto; background: transparent; transition: all .45s cubic-bezier(.65,0,.076,1); }
.panther-arrow::before { position: absolute; top: -.29rem; right: .0625rem; width: .625rem; height: .625rem; border-top: .125rem solid #fff; border-right: .125rem solid #fff; content: ""; transform: rotate(45deg); }
.panther-label { position: absolute; inset: 0; margin-left: 1.85rem; padding: .75rem 0; color: rgba(255,255,255,.75); line-height: 1.6; text-align: center; white-space: nowrap; transition: all .45s cubic-bezier(.65,0,.076,1); }
.uiverse-panther-button:hover .panther-circle, .uiverse-panther-button:focus-visible .panther-circle { width: 100%; box-shadow: 0 0 10px 2px #fff; }
.uiverse-panther-button:hover .panther-label, .uiverse-panther-button:focus-visible .panther-label { color: #fff; transform: translateX(-1.7rem); }
.uiverse-panther-button:hover .panther-arrow, .uiverse-panther-button:focus-visible .panther-arrow { background: #fff; transform: translateX(8.7rem); }
.uiverse-panther-button:focus-visible { outline: 2px solid #fff; outline-offset: 5px; border-radius: 1.625rem; }
.uiverse-panther-button:active .panther-circle { box-shadow: 0 0 5px .5px #fff; transform: scale(.9); transition: all .3s; }
.uiverse-panther-button:active .panther-arrow { transform: translateX(9.5rem); transition: all .3s; }
.uiverse-panther-button:active .panther-label { color: rgba(255,255,255,.459); }

/* UIverse: dexter-st/breezy-zebra-94; liquid layers and motion adapted for this link. */
.uiverse-liquid-link {
  --rad: 32px;
  --color-wrapper-border: #fff;
  --color-btn-bg: #f00;
  --color-btn-text: #000;
  --color-btn-text-shadow: #fff;
  --color-btn-inset-shadow: #558;
  --color-layer-a: #fff;
  --color-layer-b: #00f;
  --color-overlay-text: #000;
  --color-overlay-glow: #fff;
  --color-overlay-shadow: #0004;
  --color-overlay-highlight: #fff5;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: clip;
  overflow-clip-margin: 4px;
  border: 2px solid var(--color-wrapper-border);
  border-radius: var(--rad);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
  filter: saturate(.65) brightness(1.8);
}
.liquid-base {
  position: relative;
  z-index: -1;
  display: block;
  padding: 12px 30px;
  border-radius: var(--rad);
  color: var(--color-btn-text);
  background: var(--color-btn-bg);
  background-size: 200% 200%;
  box-shadow: inset 0 0 10px 9px var(--color-btn-inset-shadow);
  text-shadow: 0 1px 3px var(--color-btn-text-shadow);
  letter-spacing: .12rem;
  white-space: nowrap;
  mix-blend-mode: color-dodge;
  transition: color .3s ease, text-shadow .3s ease;
}
.liquid-base::after { position: absolute; inset: 0; z-index: 1; border-radius: var(--rad); background-size: 200% 200%; content: ""; pointer-events: none; mix-blend-mode: difference; }
.liquid-layer {
  position: absolute;
  left: -160px;
  width: 500%;
  aspect-ratio: 1;
  background: radial-gradient(ellipse at 65% 180%, var(--color-layer-a), var(--color-layer-b), var(--color-layer-a), var(--color-layer-b), var(--color-layer-a), var(--color-layer-b), var(--color-layer-a), var(--color-layer-b), var(--color-layer-a), var(--color-layer-b), var(--color-layer-a));
  pointer-events: none;
  mix-blend-mode: difference;
  animation: liquid-rotate 8s linear infinite;
}
.liquid-overlay {
  position: absolute;
  z-index: 2;
  padding: 12px 30px;
  border-radius: var(--rad);
  color: var(--color-overlay-text);
  text-shadow: 0 0 4px var(--color-overlay-glow);
  box-shadow: inset 0 -4px 4px 0 var(--color-overlay-shadow), inset 0 4px 4px 0 var(--color-overlay-highlight);
  letter-spacing: .12rem;
  white-space: nowrap;
  pointer-events: none;
  mix-blend-mode: multiply;
  transition: transform .3s ease;
  animation: liquid-opacity-pulse 5s ease infinite;
}
.liquid-light { position: absolute; z-index: 1; width: 80%; height: 1.9rem; border-radius: 50px; background: #fff5; filter: blur(5px); pointer-events: none; animation: liquid-pulse 3s ease-in-out infinite; }
.uiverse-liquid-link:hover .liquid-overlay, .uiverse-liquid-link:focus-visible .liquid-overlay { transform: scale(1.1); }
.uiverse-liquid-link:hover .liquid-base, .uiverse-liquid-link:focus-visible .liquid-base { color: transparent; text-shadow: 0 0 0 transparent; }
.uiverse-liquid-link:active .liquid-overlay { transform: scale(.95); }
.uiverse-liquid-link:active .liquid-base { color: transparent; text-shadow: 0 0 0 transparent; }
.uiverse-liquid-link:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@keyframes liquid-rotate { to { transform: rotate(360deg); } }
@keyframes liquid-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .1; } }
@keyframes liquid-opacity-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.hero-contact { display: flex; align-items: center; gap: 12px; margin-top: 49px; color: rgba(255,255,255,.7); font-size: 12px; }
.hero-contact a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.65); font-weight: 800; }
.hero-contact a:hover { color: #ffe2c6; }

/* UIverse: JkHuger/fat-bat-0 (original by Jhey), scoped to both mail links. */
.uiverse-sparkle-mail { --mail-active: 0; --mail-transition: .25s; --mail-spark: 1.8s; --mail-cut: .1em; --mail-play-state: paused; position: relative; display: inline-block; flex: none; isolation: isolate; }
.uiverse-sparkle-mail:is(:hover, :focus-within) { --mail-active: 1; --mail-play-state: running; }
.uiverse-sparkle-mail .mail-sparkle-button { --mail-bg: radial-gradient(40% 50% at center 100%, hsl(270 calc(var(--mail-active) * 97%) 72% / var(--mail-active)), transparent), radial-gradient(80% 100% at center 120%, hsl(260 calc(var(--mail-active) * 97%) 70% / var(--mail-active)), transparent), hsl(260 calc(var(--mail-active) * 97%) calc((var(--mail-active) * 44%) + 12%)); position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: .25em; min-width: 148px; min-height: 50px; padding: .8em 1.15em; border: 0; border-radius: 100px; background: var(--mail-bg); color: #fff; font-size: 14px; font-weight: 800; line-height: 1; white-space: nowrap; cursor: pointer; box-shadow: 0 0 calc(var(--mail-active) * 3em) calc(var(--mail-active) * 1em) hsl(260 97% 61% / .75), 0 .05em 0 0 hsl(260 calc(var(--mail-active) * 97%) calc((var(--mail-active) * 50%) + 30%)) inset, 0 -.05em 0 0 hsl(260 calc(var(--mail-active) * 97%) calc(var(--mail-active) * 60%)) inset; scale: calc(1 + (var(--mail-active) * .1)); transition: box-shadow var(--mail-transition), scale var(--mail-transition), background var(--mail-transition); }
.uiverse-sparkle-mail .mail-sparkle-button:hover { color: #fff; }
.mail-sparkle-button:active { scale: 1; }
.mail-sparkle-button::before { content: ""; position: absolute; inset: -.2em; z-index: -1; border: .25em solid hsl(260 97% 50% / .5); border-radius: inherit; opacity: var(--mail-active); transition: opacity var(--mail-transition); }
.mail-spark-ring { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; mask: linear-gradient(white, transparent 50%); animation: mail-spark-flip calc(var(--mail-spark) * 2) infinite steps(2, end); }
.mail-spark-ring::before { content: ""; position: absolute; top: 0; left: 50%; z-index: -1; width: 200%; aspect-ratio: 1; translate: -50% -15%; transform: rotate(-90deg); opacity: calc(var(--mail-active) + .4); background: conic-gradient(from 0deg, transparent 0 340deg, white 360deg); animation: mail-spark-rotate var(--mail-spark) linear infinite both; transition: opacity var(--mail-transition); }
.mail-spark-ring::after { content: ""; position: absolute; inset: var(--mail-cut); border-radius: inherit; }
.mail-spark-backdrop { position: absolute; inset: var(--mail-cut); border-radius: inherit; background: var(--mail-bg); transition: background var(--mail-transition); }
.mail-sparkle-icon, .mail-sparkle-text { position: relative; z-index: 1; }
.mail-sparkle-icon { width: 1.25em; height: 1.25em; overflow: visible; translate: -25% -5%; }
.mail-sparkle-icon path { --mail-base: 40%; color: hsl(0 0% calc((var(--mail-active) * 70%) + var(--mail-base))); fill: currentColor; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; animation-duration: .6s; animation-delay: calc((var(--mail-transition) * 1.5) + (var(--mail-delay) * 1s)); transition: color var(--mail-transition); }
.mail-sparkle-icon path:nth-of-type(1) { --mail-scale: .5; --mail-delay: .1; --mail-base: 74%; }
.mail-sparkle-icon path:nth-of-type(2) { --mail-scale: 1.5; --mail-delay: .2; --mail-base: 62%; }
.mail-sparkle-icon path:nth-of-type(3) { --mail-scale: 2.5; --mail-delay: .35; --mail-base: 68%; }
.mail-sparkle-button:is(:hover, :focus-visible) .mail-sparkle-icon path { animation-name: mail-spark-bounce; }
.mail-sparkle-text { translate: 2% -6%; letter-spacing: .01ch; background: linear-gradient(90deg, hsl(0 0% calc((var(--mail-active) * 100%) + 80%)), hsl(0 0% calc((var(--mail-active) * 100%) + 66%))); -webkit-background-clip: text; background-clip: text; color: transparent; transition: background var(--mail-transition); }
.mail-particle-pen { position: absolute; top: 50%; left: 50%; z-index: 0; width: 200%; aspect-ratio: 1; translate: -50% -50%; opacity: var(--mail-active); pointer-events: none; mask: radial-gradient(white, transparent 65%); transition: opacity var(--mail-transition); }
.mail-particle { position: absolute; top: calc(var(--y) * 1%); left: calc(var(--x) * 1%); width: calc(var(--size, .25) * 1rem); height: auto; aspect-ratio: 1; opacity: var(--alpha, 1); transform-origin: var(--origin-x, 1000%) var(--origin-y, 1000%); animation: mail-float-out calc(var(--duration, 1) * 1s) calc(var(--delay) * -1s) infinite linear; animation-play-state: var(--mail-play-state); }
.mail-particle:nth-child(even) { animation-direction: reverse; }
.mail-particle path { fill: hsl(0 0% 90%); stroke: none; }
@keyframes mail-spark-flip { to { rotate: 360deg; } }
@keyframes mail-spark-rotate { to { transform: rotate(90deg); } }
@keyframes mail-spark-bounce { 35%, 65% { scale: var(--mail-scale); } }
@keyframes mail-float-out { to { rotate: 360deg; } }

/* UIverse: Itskrish01/shaggy-eel-44, adapted from Tailwind to plain CSS. */
.hero-social-rail { display: grid; grid-template-columns: repeat(4, 56px); justify-content: center; gap: 12px; margin: 0 auto 28px; }
.hero-profile-row .hero-social-rail { display: grid; grid-template-columns: repeat(2, 56px); justify-content: start; align-content: center; gap: 12px; margin: 0; }
.hero-profile-row .uiverse-social-link { width: 56px; height: 56px; }
.uiverse-social-link { --social-color: #fff; --social-shine: rgba(255,255,255,.16); --social-glow: rgba(255,255,255,.22); --social-tilt: 3deg; position: relative; isolation: isolate; display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: linear-gradient(35deg, rgba(12,14,29,.75), rgba(12,14,29,.55)); color: var(--social-color); box-shadow: 0 9px 22px rgba(17,20,43,.18); backdrop-filter: blur(16px); transition: transform .3s ease-out, box-shadow .3s ease-out, border-color .3s ease-out, background .3s ease-out, color .3s ease-out; }
.uiverse-social-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent, var(--social-shine), transparent); transform: translateX(-110%); transition: transform .7s ease-out; }
.uiverse-social-link svg { width: 27px; height: 27px; fill: currentColor; transition: color .3s ease-out; }
.uiverse-social-link:hover, .uiverse-social-link:focus-visible { transform: scale(1.1) rotate(var(--social-tilt)); border-color: var(--social-color); background: linear-gradient(35deg, rgba(29,33,57,.82), rgba(12,14,29,.7)); box-shadow: 0 15px 34px var(--social-glow); }
.uiverse-social-link:hover::before, .uiverse-social-link:focus-visible::before { transform: translateX(110%); }
.uiverse-social-link:active { transform: scale(.95) rotate(0); }
.social-spotify { --social-color: #1ed760; --social-shine: rgba(74,222,128,.25); --social-glow: rgba(30,215,96,.3); --social-tilt: 2deg; }
.social-discord { --social-color: #9290f5; --social-shine: rgba(165,163,255,.25); --social-glow: rgba(116,112,232,.3); --social-tilt: -2deg; }
.social-youtube { --social-color: #fb646b; --social-shine: rgba(255,100,108,.25); --social-glow: rgba(240,70,82,.3); --social-tilt: 2deg; }

.hero-art { position: relative; min-height: 630px; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; right: -95px; top: 54px; }
.orbit-two { width: 400px; height: 400px; right: -35px; top: 116px; border-style: dashed; }
.spark { position: absolute; color: #f9d6c4; font-size: 39px; }
.spark-a { top: 68px; left: 22px; transform: rotate(-10deg); }
.spark-b { bottom: 72px; right: 33px; font-size: 30px; }
.portrait-shadow { position: absolute; width: 316px; height: 400px; top: 118px; left: 90px; border-radius: 19px; background: #393e82; transform: rotate(11deg); box-shadow: 0 18px 50px rgba(27,29,83,.3); }
.portrait { position: absolute; display: flex; flex-direction: column; width: 316px; height: 400px; top: 112px; left: 69px; border: 8px solid #f9f8ff; border-bottom-width: 18px; border-radius: 16px; overflow: hidden; background: #c3c8ed; transform: rotate(-7deg); box-shadow: 0 18px 45px rgba(27,29,83,.22); }
.portrait-grid { position: absolute; inset: 0; background: radial-gradient(circle at 30% 35%, #f3d5cd 0 20%, transparent 20%), radial-gradient(circle at 75% 73%, #8b96db 0 28%, transparent 28%), linear-gradient(135deg, #d2d7f5, #aab5e7); }
.portrait-avatar { position: absolute; display: grid; place-items: center; width: 205px; height: 205px; left: 48px; top: 78px; border: 5px solid rgba(255,255,255,.9); border-radius: 50%; background: #5d62ae; color: #fff; font: 900 135px/.9 Georgia, serif; box-shadow: 9px 11px 0 rgba(70,72,154,.2); }
.portrait-avatar img { width: 100%; height: 100%; object-fit: cover; }
.portrait-caption { position: relative; margin: auto 0 0; padding: 13px 14px 0; background: rgba(255,255,255,.85); color: #545b9f; text-align: center; font-size: 13px; font-weight: 900; letter-spacing: .04em; }
.hero-note { position: absolute; left: 7px; bottom: 78px; transform: rotate(7deg); border: 2px solid #3e427e; background: #ffe0cb; color: #44427c; padding: 13px 18px; box-shadow: 5px 5px 0 rgba(36,40,100,.26); font-size: 13px; font-weight: 900; }
.hero-note span { padding-left: 12px; font-size: 19px; }
.hero-stamp { position: absolute; top: 89px; right: 26px; display: grid; place-items: center; width: 85px; height: 85px; border: 2px dashed rgba(255,255,255,.82); border-radius: 50%; transform: rotate(15deg); text-align: center; font: 900 13px/1.2 "Trebuchet MS", sans-serif; letter-spacing: .09em; }

.stat-ribbon { display: flex; align-items: center; gap: 0; min-height: 104px; margin-top: 20px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.stat-ribbon > div { display: flex; align-items: baseline; gap: 9px; min-width: 153px; padding: 20px 26px; border-right: 1px solid var(--line); }
.stat-ribbon strong { color: var(--purple-deep); font: 900 32px/1 "Trebuchet MS", sans-serif; }
.stat-ribbon span { color: var(--muted); font-size: 13px; font-weight: 700; }
.stat-ribbon p { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 0 auto; padding: 0 26px; color: var(--muted); font-size: 13px; }
.stat-ribbon .status-dot { width: 7px; height: 7px; flex: none; background: #59ce9d; box-shadow: 0 0 0 4px rgba(89,206,157,.14); }
.stat-ribbon .site-uptime { color: var(--purple-deep); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-ribbon .uptime-separator { padding-inline: 2px; color: var(--line); font-weight: 400; }

.content-section { margin-top: 112px; }
.site-page .content-section, .site-page .about-section { margin-top: 46px; }
.site-page .site-footer { margin-top: 64px; }
.site-page [data-page]:not([hidden]) { animation: page-appear .35s ease both; }
@keyframes page-appear { from { opacity: .65; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading p { margin: 0 0 5px; color: var(--purple-deep); font-size: 13px; font-weight: 800; letter-spacing: .03em; }
.section-heading h2 { margin: 0; font-size: clamp(32px, 3.6vw, 49px); line-height: 1.25; letter-spacing: -.055em; font-weight: 900; }
.section-more { display: inline-flex; align-items: center; gap: 7px; padding-bottom: 6px; border-bottom: 1px solid var(--purple); color: var(--purple-deep); font-size: 13px; font-weight: 800; white-space: nowrap; }
.section-more span { transition: transform .2s; }
.section-more:hover span { transform: translate(3px,-3px); }
.section-side-note { color: var(--muted); font-size: 13px; }

/* UIverse: gharsh11032000/curly-newt-100, adapted circular reveal for content cards. */
.uiverse-reveal-card { position: relative; z-index: 0; isolation: isolate; overflow: hidden; transition: transform .3s cubic-bezier(.23,1,.32,1), box-shadow .3s, color .3s; }
.uiverse-reveal-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--card-hover, #6668b4); opacity: 0; transform: skew(-16deg); clip-path: circle(0% at 78% 13%); transition: opacity .55s cubic-bezier(.23,1,.32,1), transform .55s cubic-bezier(.23,1,.32,1), clip-path .55s cubic-bezier(.23,1,.32,1); }
.uiverse-reveal-card:hover, .uiverse-reveal-card:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(39,43,105,.16); color: #fff; }
.uiverse-reveal-card:hover::before, .uiverse-reveal-card:focus-visible::before { opacity: 1; transform: skew(0); clip-path: circle(160% at 78% 13%); }
.uiverse-reveal-card:active { transform: translateY(-2px); }

.posts-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 18px; }
.post-card, .chatter-card, .project-card, .album-card, .friend-card { border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); }
.post-card, .chatter-card { text-align: left; color: var(--ink); cursor: pointer; }
.post-card { --card-hover: #555baf; display: flex; flex-direction: column; min-height: 370px; padding: 31px 34px; }
.post-card:nth-child(2) { --card-hover: #397f90; }
.post-card .post-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.post-category { display: inline-flex; align-items: center; gap: 7px; width: fit-content; border-radius: 999px; padding: 6px 11px; color: var(--purple-deep); background: var(--surface-soft); font-size: 11px; font-weight: 800; }
.post-card:hover .post-category, .post-card:focus-visible .post-category { color: #fff; background: rgba(255,255,255,.2); }
.post-date { color: var(--muted); font: 700 11px/1.3 "Trebuchet MS", sans-serif; }
.post-card:hover .post-date, .post-card:focus-visible .post-date { color: rgba(255,255,255,.78); }
.post-card h3 { max-width: 530px; margin: 66px 0 10px; font-size: clamp(25px, 2.7vw, 37px); line-height: 1.32; letter-spacing: -.045em; }
.post-card p { max-width: 530px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.post-card:hover p, .post-card:focus-visible p { color: rgba(255,255,255,.88); }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 24px; font-size: 13px; font-weight: 800; }
.card-arrow { display: grid; place-items: center; flex: none; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; transition: transform .25s, border-color .25s; }
.uiverse-reveal-card:hover .card-arrow, .uiverse-reveal-card:focus-visible .card-arrow { transform: rotate(45deg); border-color: rgba(255,255,255,.62); }
.loading-card, .empty-state { display: grid; place-items: center; min-height: 160px; border: 1px dashed var(--line); border-radius: 24px; background: var(--surface); color: var(--muted); text-align: center; padding: 25px; }
.subsection-line { display: flex; align-items: baseline; gap: 18px; margin: 35px 0 15px; }
.subsection-line h3 { margin: 0; font-size: 20px; }
.subsection-line p { margin: 0; color: var(--muted); font-size: 12px; }
.chatter-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.chatter-card { --card-hover: #518590; display: block; padding: 22px 26px; }
.chatter-card h4 { margin: 20px 0 4px; font-size: 20px; }
.chatter-card p { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.chatter-card:hover p, .chatter-card:focus-visible p { color: rgba(255,255,255,.84); }

.projects-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.project-card { --card-hover: #4e5da6; min-height: 265px; display: flex; flex-direction: column; align-items: flex-start; padding: 29px; }
.project-card:nth-child(3n+2) { --card-hover: #47888c; }
.project-card:nth-child(3n) { --card-hover: #a66d91; }
.project-symbol { display: grid; place-items: center; width: 51px; height: 51px; border-radius: 16px; background: #e1e5fa; color: #6967b4; font-size: 26px; }
.project-card:hover .project-symbol, .project-card:focus-visible .project-symbol { background: rgba(255,255,255,.2); color: #fff; }
.project-card h3 { margin: 29px 0 6px; font-size: 22px; line-height: 1.35; }
.project-card p { margin: 0; color: var(--muted); font-size: 13px; }
.project-card:hover p, .project-card:focus-visible p { color: rgba(255,255,255,.88); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag-row span { border: 1px solid var(--line); border-radius: 99px; padding: 3px 8px; color: var(--muted); font-size: 10px; font-weight: 700; }
.project-card:hover .tag-row span, .project-card:focus-visible .tag-row span { color: #fff; border-color: rgba(255,255,255,.47); }
.project-card .card-bottom { width: 100%; }

.albums-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.album-card { --card-hover: #9470a9; display: flex; flex-direction: column; padding: 12px; text-align: left; color: var(--ink); }
.album-art { position: relative; display: grid; place-items: center; min-height: 220px; overflow: hidden; border-radius: 18px; background: linear-gradient(135deg,#d7e4f3,#c9c0ea 55%,#f8d8d1); }
.album-art::before, .album-art::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.9); }
.album-art::before { width: 270px; height: 270px; left: -55px; top: -118px; }
.album-art::after { width: 220px; height: 220px; right: -80px; bottom: -95px; }
.album-art img { width: 100%; height: 220px; object-fit: cover; }
.album-art span { color: #5f5eaa; font-size: 80px; font-weight: 900; line-height: 1; }
.album-info { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 10px 9px; }
.album-info h3 { margin: 0 0 4px; font-size: 18px; }
.album-info p { margin: 0; color: var(--muted); font-size: 12px; }
.album-card:hover .album-info p, .album-card:focus-visible .album-info p { color: rgba(255,255,255,.88); }
.album-card:hover .album-art, .album-card:focus-visible .album-art { box-shadow: 0 10px 24px rgba(44,33,81,.18); }

.music-panel { display: grid; grid-template-columns: minmax(220px,.45fr) minmax(0,1fr); gap: 36px; min-height: 300px; padding: 35px 45px; border-radius: 30px; background: #252c54; color: #fff; overflow: hidden; box-shadow: var(--shadow); }
.music-disc { display: grid; place-items: center; align-self: center; width: 230px; height: 230px; border: 24px solid #343d71; border-radius: 50%; background: repeating-radial-gradient(circle,#252c54 0 7px,#303a70 8px 9px); box-shadow: inset 0 0 0 1px #4d588f, 15px 19px 40px rgba(0,0,0,.25); }
.music-disc span { display: grid; place-items: center; width: 73px; height: 73px; border-radius: 50%; background: #f8c7b1; color: #323565; font-size: 36px; }
.music-content { align-self: center; }
.music-content h3 { margin: 0; font-size: 28px; }
.music-content > p { margin: 4px 0 20px; color: #c3cae7; font-size: 13px; }
.music-list { display: grid; gap: 9px; }
.music-row { display: flex; align-items: center; gap: 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 10px 13px; background: rgba(255,255,255,.06); }
.music-row .music-number { color: #b5bee6; font: 800 12px "Trebuchet MS", sans-serif; }
.music-row strong { display: block; font-size: 13px; }
.music-row small { display: block; color: #bac2df; font-size: 11px; }
.music-row button, .music-row a { margin-left: auto; padding: 6px 12px; border: 1px solid rgba(255,255,255,.55); border-radius: 99px; background: transparent; color: #fff; font-size: 11px; font-weight: 800; transition: background .2s, transform .2s; }
.music-row button:hover, .music-row a:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

.moments-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.moment-card { min-height: 174px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.moment-top { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; font-weight: 700; }
.moment-mood { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-soft); font-size: 15px; }
.moment-card p { margin: 23px 0 0; font-size: 16px; font-weight: 700; line-height: 1.8; }
.timeline-list { position: relative; display: grid; gap: 0; margin-left: 10px; border-left: 2px solid var(--line); }
.timeline-row { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 0 0 30px 31px; }
.timeline-row::before { content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 6px var(--page); }
.timeline-row time { color: var(--purple-deep); font: 800 13px/1.6 "Trebuchet MS", sans-serif; }
.timeline-row strong { display: block; font-size: 17px; }
.timeline-row p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.tree-list { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.tree-node { --card-hover: #6976ad; flex: 1 1 230px; max-width: 355px; display: block; min-height: 145px; padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); color: var(--ink); text-align: left; box-shadow: var(--shadow); }
.tree-node .tree-icon { display: block; color: var(--purple); font-size: 22px; }
.tree-node strong { display: block; margin: 7px 0 4px; font-size: 17px; }
.tree-node small { display: block; color: var(--muted); font-size: 12px; line-height: 1.6; }
.tree-node:hover small, .tree-node:focus-visible small { color: rgba(255,255,255,.82); }
.tree-node.is-child { margin-top: 27px; }
.friends-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.friend-card { --card-hover: #428a91; display: flex; align-items: center; gap: 15px; padding: 20px; }
.friend-avatar { display: grid; place-items: center; flex: none; width: 55px; height: 55px; overflow: hidden; border-radius: 18px; background: #d6e6ea; color: #3f7581; font-size: 24px; font-weight: 900; }
.friend-avatar img { width: 100%; height: 100%; object-fit: cover; }
.friend-card strong { display: block; font-size: 15px; }
.friend-card small { display: block; color: var(--muted); font-size: 11px; }
.friend-card:hover small, .friend-card:focus-visible small { color: rgba(255,255,255,.85); }
.friend-card .card-arrow { margin-left: auto; }

.about-section { position: relative; display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1fr); gap: 30px; min-height: 386px; align-items: center; overflow: hidden; margin-top: 114px; padding: 47px 68px; border-radius: 34px; background: #dfe2f5; transition: background-color .55s ease; }
:root[data-theme="dark"] .about-section { background: #2d3659; }
.about-mark { position: relative; width: 230px; height: 230px; display: grid; place-items: center; border: 3px solid rgba(98,98,179,.35); border-radius: 52px; background: #6e6ab9; box-shadow: 17px 17px 0 #b8bbed; color: #fff; font: 900 156px/1 Georgia, serif; transform: rotate(-9deg); }
.about-mark span { position: absolute; top: 0; right: -12px; color: #ffbc9d; font: 900 55px sans-serif; }
.about-copy > p { margin: 0; color: var(--purple-deep); font-size: 13px; font-weight: 800; }
.about-copy h2 { margin: 4px 0 15px; font-size: clamp(33px, 3.5vw, 48px); line-height: 1.2; }
.about-copy #site-about { max-width: 650px; margin-bottom: 23px; color: #4e5b78; font-size: 14px; line-height: 1.9; }
:root[data-theme="dark"] .about-copy #site-about { color: #cbd4e8; }

.site-footer { margin-top: 105px; background: #232b4f; color: #e8ecff; }
.footer-inner { display: flex; align-items: center; gap: 35px; min-height: 190px; padding-block: 30px; }
.footer-inner strong { font: 900 27px/1 "Trebuchet MS", sans-serif; }
.footer-inner strong span { color: #f4b49f; }
.footer-inner p { margin: 8px 0 0; color: #aab4da; font-size: 12px; }
.footer-links { display: flex; gap: 23px; margin-left: auto; font-size: 13px; font-weight: 700; }
.footer-links a:hover { color: #ffc6aa; }
.footer-thanks { display: flex; align-items: baseline; gap: 7px; max-width: 380px; color: #aab4da; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.footer-thanks strong { flex: none; color: #e8ecff; font-size: 11px; }
.footer-thanks[hidden] { display: none; }
.footer-inner small { color: #aab4da; font-size: 11px; }

.site-dialog { width: min(750px, calc(100% - 30px)); max-height: min(80vh, 900px); padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 100px rgba(10,18,50,.3); }
.site-dialog::backdrop { background: rgba(19,24,51,.68); backdrop-filter: blur(5px); }
.dialog-close { position: sticky; top: 0; float: right; width: 35px; height: 35px; padding: 0; font-size: 24px; line-height: 1; background: var(--surface-soft); }
.site-dialog h2 { margin: 18px 0 6px; font-size: 33px; line-height: 1.25; }
.dialog-meta { color: var(--muted); font-size: 12px; }
.article-body { margin-top: 27px; font-size: 15px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.article-body h3 { margin: 22px 0 9px; font-size: 22px; line-height: 1.4; }
.article-body p { margin: 12px 0; }
.gallery-dialog { width: min(900px, calc(100% - 30px)); }
.gallery-dialog h2 { margin-top: 6px; }
.gallery-images { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 20px; }
.gallery-images img { width: 100%; max-height: 450px; object-fit: cover; border-radius: 14px; }
.toast { position: fixed; left: 50%; bottom: 25px; z-index: 100; transform: translate(-50%,15px); min-width: 200px; max-width: calc(100vw - 40px); padding: 10px 18px; border-radius: 12px; background: #242b4e; color: #fff; box-shadow: var(--shadow); text-align: center; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; font-size: 13px; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.noscript { padding: 20px; text-align: center; }

/* Admin screens use the same palette and UIverse feedback classes. */
.admin-page { min-height: 100vh; background: var(--page); }
.admin-shell { width: min(1120px, calc(100% - 40px)); margin: 35px auto 70px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.admin-top h1 { margin: 0; font-size: 31px; letter-spacing: -.04em; }
.admin-top p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.admin-top-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-link { color: var(--purple-deep); font-size: 13px; font-weight: 800; }
.admin-link:hover { text-decoration: underline; }
.admin-auth-card, .admin-panel { border: 1px solid var(--line); border-radius: 25px; background: var(--surface); box-shadow: var(--shadow); }
.admin-auth-card { max-width: 470px; margin: 70px auto; padding: 34px; }
.admin-auth-card h2 { margin: 0 0 8px; font-size: 28px; }
.admin-auth-card p { margin: 0 0 23px; color: var(--muted); font-size: 13px; }
.admin-field { display: grid; gap: 7px; margin-bottom: 16px; }
.admin-field label { font-size: 12px; font-weight: 800; }
.admin-field input, .admin-field textarea, .admin-field select { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--ink); background: var(--page); outline: none; font-size: 13px; }
.admin-field textarea { min-height: 104px; resize: vertical; }
.admin-field input:focus, .admin-field textarea:focus, .admin-field select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(105,102,185,.15); }
.admin-error { min-height: 22px; margin: 5px 0 12px; color: #bd4c4c; font-size: 12px; }
/* UIverse Spacious74/selfish-dragon-64, scoped to the admin login form. */
.admin-auth-card.uiverse-spacious-login { width: min(100%, 410px); max-width: none; margin: 70px auto; padding: 24px; border: 1px solid #8d8d8d; border-radius: 20px; background: #fff; }
.uiverse-spacious-login h2 { margin: 0 0 8px; color: #202747; font-size: 1.3rem; font-weight: 800; }
.uiverse-spacious-login #auth-description { margin: 0 0 22px; color: #65708d; font-size: 13px; }
.spacious-login-form { display: flex; flex-direction: column; gap: 20px; }
.spacious-input-field { position: relative; }
.spacious-input-field input { width: 100%; min-height: 46px; padding: 10px 15px; border: 1px solid #8d8d8d; border-radius: 8px; outline: none; background: #fff; color: #202747; font-size: 1rem; letter-spacing: 1px; transition: border-color .3s ease, box-shadow .3s ease; }
.spacious-input-field label { position: absolute; top: 0; left: 15px; color: #8d8d8d; pointer-events: none; transform: translateY(.65rem); transform-origin: left center; transition: transform .3s ease, color .3s ease, background-color .3s ease; }
.spacious-input-field input:focus { border-color: #0034de; box-shadow: 0 0 0 3px rgba(0,110,255,.1); }
.spacious-input-field input:focus + label, .spacious-input-field input:not(:placeholder-shown) + label, .spacious-input-field input:-webkit-autofill + label { transform: translateY(-51%) translateX(-10px) scale(.8); padding: 0 5px; border-radius: 100px; background: #fff; color: #0034de; font-weight: 700; letter-spacing: 1px; }
.uiverse-spacious-login .admin-error { min-height: 18px; margin: -5px 0 -8px; color: #bd4c4c; font-size: 12px; }
.spacious-submit-row { display: flex; align-items: center; gap: 20px; }
.spacious-submit { min-height: 44px; padding: 10px 20px; border: 1px solid #1034aa; border-bottom-color: #90c2ff; border-radius: 10px; background: linear-gradient(135deg,#0034de,#006eff); color: #fff; box-shadow: 0 2px 3px #000d3848, inset 0 4px 5px #0070f0, inset 0 -4px 5px #002cbb; cursor: pointer; font-size: 1rem; font-weight: 800; letter-spacing: 2px; transition: all .2s ease; }
.spacious-submit:hover, .spacious-submit:focus-visible { filter: brightness(1.1); box-shadow: 0 4px 10px #0034de55, inset 0 4px 5px #0070f0, inset 0 -4px 5px #002cbb; }
.spacious-submit:focus-visible { outline: 2px solid #0034de; outline-offset: 3px; }
.spacious-submit:active { transform: scale(.995); box-shadow: inset 0 4px 5px #0070f0, inset 0 -4px 5px #002cbb; }
.spacious-submit:disabled { opacity: .55; cursor: not-allowed; filter: none; }
.admin-workspace { display: grid; grid-template-columns: 205px minmax(0,1fr); gap: 20px; }
.admin-sidebar { position: sticky; top: 25px; align-self: start; display: grid; gap: 4px; padding: 13px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.admin-sidebar button { border: 0; border-radius: 11px; padding: 11px 14px; background: transparent; color: var(--muted); text-align: left; font-size: 13px; font-weight: 800; }
.admin-sidebar button:hover, .admin-sidebar button.active { background: var(--surface-soft); color: var(--purple-deep); }
.admin-panel { min-height: 450px; padding: 29px; }
.admin-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.admin-panel-head h2 { margin: 0; font-size: 25px; }
.admin-panel-head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.admin-button { display: inline-flex; align-items: center; justify-content: center; min-height: 37px; border: 1px solid var(--line); border-radius: 10px; padding: 7px 13px; background: var(--surface-soft); color: var(--ink); font-size: 12px; font-weight: 800; transition: transform .2s, background .2s; }
.admin-button:hover { transform: translateY(-2px); background: #d8ddf3; }
.admin-button.danger { color: #b24d5a; }
.admin-button.primary { border-color: #6768b9; background: #6865b8; color: #fff; }
.admin-button.primary:hover { background: #5654a9; }
.admin-list { display: grid; gap: 10px; }
.admin-item { display: flex; align-items: center; gap: 12px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--page); }
.admin-item strong { display: block; font-size: 13px; }
.admin-item small { display: block; color: var(--muted); font-size: 11px; }
.admin-item-actions { display: flex; gap: 6px; margin-left: auto; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
.admin-form-grid .full { grid-column: 1 / -1; }
.admin-form-divider { grid-column: 1 / -1; margin: 16px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 17px; }
.admin-check { display: flex; align-items: center; gap: 8px; margin: 5px 0 16px; font-size: 13px; font-weight: 800; }
.admin-check input { width: 18px; height: 18px; accent-color: #6865b8; }
.admin-form-actions { display: flex; gap: 9px; margin-top: 12px; }
.admin-upload { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.admin-upload input { width: min(100%, 220px); font-size: 11px; }
.admin-hint { color: var(--muted); font-size: 11px; }
.admin-status { min-height: 24px; color: var(--purple-deep); font-size: 12px; font-weight: 700; }

@media (max-width: 1150px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .mobile-nav { display: grid; }
  .hero-copy { padding-left: 52px; }
  .portrait, .portrait-shadow { left: 30px; }
  .hero-note { left: -15px; }
}
@media (max-width: 800px) {
  .site-page .content-section, .site-page .about-section { margin-top: 28px; }
  .section-wrap { width: min(100% - 32px, 640px); }
  .site-header { padding: 10px 16px 0; }
  .header-inner { min-height: 66px; }
  .brand { min-width: 0; }
  .brand-mark { width: 43px; height: 43px; border-radius: 14px; font-size: 25px; }
  .brand-text { font-size: 15px; }
  .hero { grid-template-columns: 1fr; min-height: 0; margin-top: 17px; border-radius: 27px; }
  .hero-copy { padding: 55px 34px 0; }
  .hero-art { min-height: 400px; }
  .portrait { width: 235px; height: 280px; top: 38px; left: 50%; margin-left: -125px; border-width: 6px; border-bottom-width: 13px; }
  .portrait-shadow { width: 235px; height: 280px; top: 47px; left: 50%; margin-left: -100px; }
  .portrait-avatar { width: 142px; height: 142px; top: 50px; left: 43px; font-size: 94px; }
  .portrait-caption { padding: 9px 5px 0; font-size: 10px; }
  .hero-note { left: 8%; bottom: 43px; font-size: 11px; }
  .hero-stamp { top: 10px; right: 10%; width: 70px; height: 70px; font-size: 11px; }
  .orbit-one { right: -100px; top: -60px; }
  .orbit-two { right: -35px; top: 0; }
  .stat-ribbon { display: grid; grid-template-columns: repeat(3,1fr); }
  .stat-ribbon > div { justify-content: center; min-width: 0; padding: 18px 10px; }
  .stat-ribbon > div:nth-child(3) { border-right: 0; }
  .stat-ribbon p { justify-content: center; grid-column: 1 / -1; width: 100%; margin: 0; padding: 13px; border-top: 1px solid var(--line); text-align: center; }
  .content-section { margin-top: 83px; }
  .posts-grid, .chatter-list, .moments-list { grid-template-columns: 1fr; }
  .projects-grid, .albums-grid, .friends-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .music-panel { grid-template-columns: 1fr; gap: 15px; padding: 28px; }
  .music-disc { width: 150px; height: 150px; border-width: 16px; margin-inline: auto; }
  .music-disc span { width: 50px; height: 50px; font-size: 25px; }
  .about-section { grid-template-columns: 1fr; padding: 40px; }
  .about-mark { width: 120px; height: 120px; border-radius: 28px; box-shadow: 9px 9px 0 #b8bbed; font-size: 78px; }
  .about-mark span { font-size: 33px; }
  .footer-inner { flex-wrap: wrap; }
  .admin-workspace { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; display: flex; overflow-x: auto; }
  .admin-sidebar button { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .site-page [data-page]:not([hidden]) { animation: none; }
}
@media (max-width: 800px) {
  .hero-art { display: none; }
  .hero-profile-row { gap: 14px; }
  .hero-profile-avatar.uiverse-avatar-card { width: 140px; height: 140px; }
  .avatar-card-title { font-size: 18px; }
  .avatar-card-description { font-size: 11px; }
  .hero-profile-row .hero-social-rail { grid-template-columns: repeat(2, 56px); gap: 12px; }
  .hero-profile-row .uiverse-social-link { width: 56px; height: 56px; }
}
@media (max-width: 520px) {
  .section-wrap { width: calc(100% - 26px); }
  .site-header { padding-inline: 13px; }
  .brand-text span { display: none; }
  .uiverse-theme-switch { font-size: 14px; }
  .mobile-nav { grid-template-columns: repeat(2,1fr); }
  .hero-copy { padding: 47px 24px 0; }
  .hero-kicker { margin-bottom: 22px; font-size: 11px; }
  .hero-profile-row { gap: 12px; }
  .hero-profile-avatar.uiverse-avatar-card { width: 120px; height: 120px; }
  .avatar-card-content { padding: 10px; }
  .avatar-card-title { font-size: 16px; }
  .avatar-card-description { margin-top: 6px; font-size: 10px; }
  .hero-profile-row .hero-social-rail { grid-template-columns: repeat(2, 48px); gap: 8px; }
  .hero-profile-row .uiverse-social-link { width: 48px; height: 48px; }
  .hero-profile-row .uiverse-social-link svg { width: 22px; height: 22px; }
  .hero-intro { font-size: 14px; }
  .hero-contact { margin-top: 29px; flex-wrap: wrap; }
  .hero-art { min-height: 356px; }
  .hero-note { bottom: 22px; left: 3%; }
  .stat-ribbon strong { font-size: 25px; }
  .stat-ribbon > div { gap: 4px; flex-direction: column; align-items: center; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 32px; }
  .section-side-note { display: none; }
  .section-more { font-size: 11px; margin-top: 28px; }
  .post-card { min-height: 280px; padding: 23px; }
  .post-card h3 { margin-top: 39px; }
  .projects-grid, .albums-grid, .friends-grid { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 1fr; gap: 3px; }
  .about-section { padding: 34px 26px; }
  .site-dialog { padding: 22px; }
  .gallery-images { grid-template-columns: 1fr; }
  .footer-inner { display: grid; gap: 21px; }
  .footer-links { margin-left: 0; }
  .admin-shell { width: calc(100% - 26px); }
  .admin-top { align-items: start; flex-direction: column; }
  .admin-panel { padding: 20px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-grid .full { grid-column: auto; }
  .admin-form-divider { grid-column: auto; }
}

/* Give the left half of the hero its own purple card; reserve the right half as open space. */
@media (min-width: 801px) {
  .hero {
    grid-template-columns: 50% minmax(0, 1fr);
    gap: 20px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    isolation: auto;
  }
  .hero::before, .hero::after { content: none; }
  .hero-copy {
    overflow: hidden;
    border-radius: 38px;
    background-color: #6968b5;
    background-image:
      linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px),
      radial-gradient(circle at 90% 10%, rgba(255,255,255,.18), transparent 25%),
      radial-gradient(circle at 7% 94%, rgba(221,187,255,.18), transparent 29%),
      linear-gradient(125deg, #7775c7 3%, #6665b7 53%, #565aa3 100%);
    background-size: 42px 42px, 42px 42px, auto, auto, auto;
    box-shadow: 0 25px 65px rgba(60,61,125,.19);
  }
  .hero-kicker { position: absolute; top: 18px; right: 18px; margin: 0; }
  .hero-art { display: none; }
  .hero-social-rail { display: flex; flex-direction: column; grid-column: 2; align-self: start; justify-self: start; gap: 17px; margin: 30px 0 0; }
  .uiverse-social-link { width: 76px; height: 76px; }
}
