/* Felix Joe Workstation — personal site chrome + Marin blink video bg */

:root {
  --fg: #121217;
  --fg-muted: #3f3f46;
  --glass: rgba(255, 255, 255, 0.11);
  --glass-edge: rgba(255, 255, 255, 0.32);
  --glass-inset: rgba(255, 255, 255, 0.4);
  --radius: 7px;
  --radius-sheet: 8px;
  --pad: clamp(1rem, 3vw, 2.5rem);
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  --neo-out: 10px 12px 22px rgba(20, 24, 40, 0.22),
    -5px -5px 14px rgba(255, 255, 255, 0.45);
  --neo-rest: 0 0 0 1px var(--glass-edge), inset 0 1px 0 var(--glass-inset);
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--fg);
  background: #0c0e12;
  -webkit-font-smoothing: antialiased;
}


/* ---- Hide scrollbars visually; keep wheel/touch scroll ---- */
html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}
.fj-shell,
main,
aside {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.fj-shell::-webkit-scrollbar,
main::-webkit-scrollbar,
aside::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}


a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  opacity: 0.9;
}

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

/* ---- Full-viewport Marin blink video background (no color marquee / no Astra) ---- */
.fj-bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  pointer-events: none;
  background: #0c0e12;
}
.fj-bg-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.fj-bg-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Gentle veil — keep glass cutouts readable without hiding the loop */
  background:
    radial-gradient(ellipse 85% 70% at 50% 40%, rgba(8, 10, 14, 0.18) 0%, rgba(8, 10, 14, 0.42) 100%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.28) 0%, rgba(8, 10, 14, 0.2) 45%, rgba(8, 10, 14, 0.45) 100%);
}

/* ---- Near-transparent frost (tight radius) ---- */
.glass {
  background: var(--glass);
  backdrop-filter: blur(9px) saturate(1.2);
  -webkit-backdrop-filter: blur(9px) saturate(1.2);
  box-shadow: var(--neo-rest);
  border-radius: var(--radius);
}

/* ---- Full-bleed shell ---- */
.fj-shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.fj-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.75rem var(--pad);
  border-radius: 0;
}

/* Brand / nav logo — person portrait (circular, photo quality) */
.fj-sidebar-logo,
.fj-brand-logo {
  flex-shrink: 0;
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
}

.fj-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.fj-brand-text {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.fj-brand-mark {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fj-brand-sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
}
.fj-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.fj-nav-links a {
  opacity: 0.9;
}

/* Avatar — drop assets/avatar.jpg (or .png / .webp) to replace */
.fj-avatar {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.18);
}
.fj-avatar img,
.fj-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.fj-avatar--lg {
  width: 128px;
  height: 128px;
  border-radius: 50%;
}
.fj-avatar-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0.06)
  );
}

.fj-main {
  flex: 1;
  width: 100%;
  padding: 0;
}

/* Hero */
.fj-hero {
  width: 100%;
  padding: clamp(2.25rem, 7vh, 4.5rem) var(--pad) clamp(1.75rem, 4vh, 3rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 900px) {
  .fj-hero {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: end;
  }
}
.fj-hero-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.fj-hero-kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 0.65rem;
}
.fj-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 750;
}
.fj-hero h1:not(.fj-glass-title) {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Hero location under name — secondary text only, no frost board */
.fj-hero-location {
  margin: 0.35rem 0 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: rgba(245, 247, 255, 0.82);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 12px rgba(0, 0, 0, 0.28);
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border: 0;
  border-radius: 0;
}

.fj-hero h1 .fj-douyin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  font-size: 0.38em;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: rgba(245, 247, 255, 0.78);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 12px rgba(0, 0, 0, 0.28);
}
.fj-hero h1 .fj-douyin:hover {
  color: rgba(255, 255, 255, 0.96);
  opacity: 1;
}
/* Lead sits on dark Marin frames — near-white + soft shadow (no marquee/glow) */
.fj-hero-lead {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
  color: rgba(248, 250, 255, 0.94);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65), 0 2px 14px rgba(0, 0, 0, 0.35);
}
.fj-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.15rem;
}
.fj-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.65rem;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.fj-hero-aside {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.fj-hero-aside:hover {
  transform: scale(1.015) translateY(-2px);
  box-shadow: var(--neo-out);
  z-index: 2;
}
.fj-hero-aside h2 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.fj-hero-aside p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Sections */
.fj-section {
  width: 100%;
  padding: clamp(1.35rem, 3.5vh, 2.5rem) var(--pad);
}
.fj-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.fj-section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}
.fj-section-head p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

/* Continuous frost sheet (not bubbly separate cards) */
.fj-sheet {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-sheet);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: var(--neo-rest);
  backdrop-filter: blur(9px) saturate(1.2);
  -webkit-backdrop-filter: blur(9px) saturate(1.2);
}
@media (min-width: 720px) {
  .fj-sheet--work {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .fj-sheet--work {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 900px) {
  .fj-sheet--about {
    grid-template-columns: 1fr 1fr;
  }
}

.fj-card,
.fj-about-block {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  min-height: 10rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  position: relative;
}
.fj-card:hover,
.fj-about-block:hover {
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: var(--neo-out);
  z-index: 3;
}
.fj-card-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.fj-card h3,
.fj-about-block h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.fj-card p,
.fj-about-block p,
.fj-about-block li {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--fg);
}
.fj-card-foot {
  font-size: 0.78rem;
  color: var(--fg-muted);
  font-family: var(--mono);
}
.fj-about-block ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

/* Contact + socials */
.fj-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  align-items: center;
  padding: 0.9rem 1.05rem;
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.fj-contact:hover {
  transform: scale(1.01);
  box-shadow: var(--neo-out);
}
.fj-social,
.fj-contact a:not(.fj-icon-btn) {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 0.7rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.fj-social:hover,
.fj-contact a:not(.fj-icon-btn):hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 4px 6px 12px rgba(20, 24, 40, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  opacity: 1;
}
.fj-social-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-right: 0.35rem;
}

.fj-footer {
  width: 100%;
  padding: 1.15rem var(--pad) 1.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
  border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
  .fj-card,
  .fj-about-block,
  .fj-hero-aside,
  .fj-contact,
  .fj-social {
    transition: none;
  }
  .fj-card:hover,
  .fj-about-block:hover,
  .fj-hero-aside:hover,
  .fj-contact:hover {
    transform: none;
  }
  .fj-bg-video {
    animation: none;
  }
}


/* ---- QQ card lightbox ---- */
button.fj-social {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
}
body.fj-modal-open {
  overflow: hidden;
}
.fj-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.fj-modal[hidden] {
  display: none !important;
}
.fj-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 22, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.fj-modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(92dvh, 900px);
  overflow: auto;
  padding: 1rem 1rem 1.15rem;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), var(--neo-rest);
}
.fj-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.fj-modal-head h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.fj-modal-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--fg);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.fj-modal-close:hover {
  background: rgba(255, 255, 255, 0.35);
}
.fj-modal-meta {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.fj-modal-meta span {
  font-family: var(--mono);
  color: var(--fg);
  font-weight: 600;
}
.fj-qq-card {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.fj-modal-hint {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--fg-muted);
}


/* ---- Customizable avatar (click → file picker) ---- */
button.fj-avatar-btn {
  font: inherit;
  color: inherit;
  padding: 0;
  border: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: block;
}
button.fj-avatar-btn:hover {
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55),
    6px 8px 18px rgba(20, 24, 40, 0.2);
  transform: scale(1.04);
}
button.fj-avatar-btn:focus-visible {
  outline: 2px solid rgba(46, 200, 255, 0.9);
  outline-offset: 3px;
}
.fj-avatar-hint {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #121217;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}
.fj-avatar--lg.fj-avatar-btn:hover .fj-avatar-hint,
.fj-avatar--lg.fj-avatar-btn:focus-visible .fj-avatar-hint {
  opacity: 1;
}


/* ---- Store live badge ---- */
.fj-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
}
.fj-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.fj-badge--live {
  color: #0b3d2e;
  background: rgba(52, 211, 153, 0.55);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.55);
}
.fj-about-note {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.45;
}

/* ---- Usage / token quota panel ---- */
.fj-usage {
  padding: 1.1rem 1.15rem 1.25rem;
  border-radius: var(--radius);
}
.fj-usage-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}
@media (min-width: 720px) {
  .fj-usage-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.fj-usage-stat {
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.fj-usage-stat--warn {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.fj-usage-stat--warn .fj-usage-val {
  color: rgba(18, 18, 23, 0.75);
}
.fj-usage-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.25rem;
}
.fj-usage-val {
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.fj-usage-chart-wrap {
  width: 100%;
}
.fj-usage-chart {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
}
.fj-quota-line {
  stroke: rgba(18, 18, 23, 0.45);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
}
.fj-chart-label {
  fill: rgba(18, 18, 23, 0.55);
  font-size: 10px;
  font-family: ui-monospace, monospace;
}
.fj-bar {
  fill: rgba(46, 200, 255, 0.72);
}
.fj-bar--over {
  fill: rgba(239, 68, 68, 0.88);
}
.fj-chart-months text {
  fill: rgba(18, 18, 23, 0.5);
  font-size: 10px;
  text-anchor: middle;
  font-family: ui-monospace, monospace;
}
.fj-usage-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  align-items: center;
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--fg-muted);
}
.fj-leg {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--fg);
}
.fj-leg i {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
}
.fj-leg-ok {
  background: rgba(46, 200, 255, 0.85);
}
.fj-leg-over {
  background: rgba(239, 68, 68, 0.9);
}
.fj-leg-note {
  font-size: 0.72rem;
  opacity: 0.85;
}


/* ---- Heatmap (GitHub-style year burn) ---- */
.fj-heat-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  overflow: visible;
}
.fj-heat-month,
.fj-heat-dow,
.fj-heat-legend text {
  fill: rgba(18, 18, 23, 0.55);
  font-size: 9px;
  font-family: ui-monospace, "Cascadia Code", monospace;
}
/* Monochrome frost: transparent → light white → light gray */
.fj-heat--0 { fill: rgba(255, 255, 255, 0.06); }
.fj-heat--1 { fill: rgba(255, 255, 255, 0.28); }
.fj-heat--2 { fill: rgba(255, 255, 255, 0.48); }
.fj-heat--3 { fill: rgba(230, 230, 235, 0.72); }
.fj-heat--4 { fill: rgba(190, 190, 198, 0.88); }
.fj-usage-caption {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ---- Contact icon row (circular mono brand marks) ---- */
.fj-contact--icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
  padding: 0.95rem 1.1rem;
}
.fj-icon-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(18, 18, 23, 0.88);
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  transition: transform 160ms ease, opacity 160ms ease;
}
.fj-icon-btn:hover {
  transform: translateY(-2px) scale(1.06);
  opacity: 1;
  background: transparent;
  box-shadow: none;
}
.fj-icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 4px 14px rgba(20, 24, 40, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(12, 12, 14, 0.92);
  overflow: hidden;
}
.fj-icon-btn:hover .fj-icon {
  background: rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    6px 8px 18px rgba(20, 24, 40, 0.16);
}
.fj-icon svg {
  display: block;
  width: 26px;
  height: 26px;
}
.fj-icon--qq,
.fj-icon--douyin,
.fj-icon--gmail,
.fj-icon--github {
  color: rgba(12, 12, 14, 0.92);
}
.fj-icon-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(18, 18, 23, 0.55);
}

/* Force plain circular marks — no outer rounded-rect frames */
.fj-contact--icons .fj-icon-btn,
a.fj-icon-btn,
button.fj-icon-btn {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(12, 12, 14, 0.92);
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.fj-contact--icons .fj-icon-btn:hover {
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1;
  transform: translateY(-2px) scale(1.05);
}
.fj-contact--icons .fj-icon {
  display: flex !important;
  width: 52px !important;
  height: 52px !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  color: rgba(12, 12, 14, 0.92);
  overflow: hidden;
}
.fj-contact--icons .fj-icon svg {
  width: 26px;
  height: 26px;
  display: block;
  fill: currentColor;
}
.fj-contact--icons .fj-icon-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(18, 18, 23, 0.55);
}

.fj-modal-panel--sm {
  width: min(360px, 100%);
}
.fj-gmail-addr {
  margin: 0.25rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  word-break: break-all;
  text-align: center;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  color: var(--fg);
  user-select: all;
}
.fj-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.fj-modal-actions .fj-chip,
.fj-modal-actions .fj-copy-btn {
  cursor: pointer;
  border: 0;
  font: inherit;
  color: inherit;
}


/* ---- Glyph-cutout frost titles (no frosted board/panel behind text) ---- */
.fj-glass-title {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  isolation: auto;
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.08;
  /* Letter shapes only — NO backdrop-filter (that paints a frosted rectangle) */
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  background-image: none;
  /* Colorless translucent frost fill, clipped to glyphs; video shows through alpha */
  background-color: rgba(255, 255, 255, 0.16);
  -webkit-background-clip: text;
  background-clip: text;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none;
  /* Neutral rim / soft lift (white/black alpha only) */
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, 0.4),
    0 -1px 0 rgba(255, 255, 255, 0.25),
    1px 2px 1px rgba(0, 0, 0, 0.18),
    0 5px 12px rgba(0, 0, 0, 0.16),
    0 14px 30px rgba(0, 0, 0, 0.22);
}
.fj-glass-title::before,
.fj-glass-title::after {
  content: none !important;
  display: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: none !important;
  box-shadow: none !important;
}
.fj-hero h1.fj-glass-title {
  display: inline-block;
  font-size: clamp(2.55rem, 6.2vw, 4.4rem);
  line-height: 1.02;
  font-weight: 820;
  letter-spacing: -0.05em;
  padding: 0;
  border-radius: 0;
  max-width: none;
}
.fj-section-head h2.fj-glass-title,
.fj-hero-aside h2.fj-glass-title {
  display: inline-block;
  font-size: clamp(1.5rem, 3.3vw, 2.1rem);
  font-weight: 760;
  letter-spacing: -0.04em;
  padding: 0;
  border-radius: 0;
  /* Ensure section heads never inherit a frost plate */
  background-clip: text;
  -webkit-background-clip: text;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* Section head row itself must not be a frost board */
.fj-section-head {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
/* Douyin plain (no glass) — light fill for dark Marin frames */
.fj-hero-top .fj-douyin,
.fj-hero h1 .fj-douyin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: rgba(245, 247, 255, 0.82);
  -webkit-text-fill-color: rgba(245, 247, 255, 0.82);
  -webkit-text-stroke: 0;
  background: none;
  background-color: transparent;
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 12px rgba(0, 0, 0, 0.28);
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  mix-blend-mode: normal;
  opacity: 1;
}
.fj-hero-top .fj-douyin:hover,
.fj-hero h1 .fj-douyin:hover {
  color: rgba(255, 255, 255, 0.96);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.96);
  opacity: 1;
}
.fj-hero h1.fj-glass-title .fj-douyin {
  display: block;
  font-size: 0.38em;
  margin-top: 0.4rem;
}
.fj-hero-top .fj-douyin::before,
.fj-hero-top .fj-douyin::after,
.fj-hero h1 .fj-douyin::before,
.fj-hero h1 .fj-douyin::after {
  content: none;
  display: none;
}


/* ---- Apps row under Contact ---- */
.fj-apps {
  margin-top: 0.85rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}
.fj-apps-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.fj-apps-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
}
.fj-icon--app {
  color: rgba(12, 12, 14, 0.92);
}


/* Official app icons inside circle */
.fj-icon--app img,
.fj-contact--icons .fj-icon--app img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.fj-icon-btn.is-launching .fj-icon {
  transform: scale(0.92);
  opacity: 0.75;
}
.fj-apps .fj-icon-btn,
.fj-apps button.fj-icon-btn {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 2;
  position: relative;
}
