/* ==========================================================
   LYNX PORTFOLIO — styles
   Tema: default (dark) · neo (neobrutalism) · glass (liquid glass)
   Semua warna lewat token CSS; tema cukup menimpa token.
   ========================================================== */

:root {
  color-scheme: dark;

  --bg: #050913;
  --bg-image: radial-gradient(circle at top, #0d1930 0, #050913 42%, #02050b 100%);
  --text: #f4f7fb;
  --text-2: #d4dbea;
  --text-3: #aeb8ca;
  --muted: #8e99ab;
  --muted-2: #69758a;
  --line: rgba(160, 178, 205, .14);
  --line-strong: rgba(160, 178, 205, .24);

  --accent: #75a9ff;
  --accent-2: #ffd76b;
  --green: #20e39a;
  --on-green: #032117;

  --header-bg: rgba(4, 8, 15, .72);
  --card-bg: linear-gradient(180deg, rgba(11, 17, 31, .9), rgba(7, 12, 23, .9));
  --card-filter: none;
  --inner-bg: rgba(4, 8, 16, .54);
  --input-bg: rgba(2, 6, 13, .76);
  --chip-bg: rgba(255, 255, 255, .055);
  --chip-fg: #b9c2d2;
  --dot-bg: #0b1322;

  --btn-bg: rgba(255, 255, 255, .045);
  --btn-fg: #ecf2fb;
  --btn-line: var(--line);
  --primary-bg: #f4f6fa;
  --primary-fg: #0b101a;
  --solid-bg: #edf1f7;
  --solid-fg: #101725;

  --radius: 25px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --bw: 1px;

  --card-shadow: 0 20px 70px rgba(0, 0, 0, .38);
  --card-shadow-sm: 0 12px 38px rgba(0, 0, 0, .18);
  --btn-shadow: none;
  --primary-shadow: 0 8px 22px rgba(255, 255, 255, .08), 0 0 24px rgba(255, 215, 107, .18);
  --hover-shadow: 0 12px 38px rgba(0, 0, 0, .18), 0 0 26px rgba(255, 215, 107, .12);

  --hero-bg: var(--card-bg);
  --cover-shade: linear-gradient(180deg, rgba(3, 7, 13, .05) 0%, rgba(5, 9, 18, .18) 31%, rgba(5, 9, 18, .98) 69%, #050912 100%);
  --cover-filter: saturate(.88) contrast(1.04);
  --avatar-ring: #0a101b;
  --glow: rgba(255, 215, 107, .5);

  --marquee: #ffd76b;
  --marquee-bg: transparent;

  --font-display: "Space Grotesk", "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Sora", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-serif: "Fraunces", Georgia, serif;
  --fw-display: 700;

  --show-aurora: 1;
}

/* ───────── NEOBRUTALISM ───────── */
:root[data-theme="neo"] {
  color-scheme: light;

  --bg: #fff6dc;
  --bg-image: radial-gradient(rgba(17, 17, 17, .16) 1.3px, transparent 1.4px) 0 0 / 22px 22px, #fff6dc;
  --text: #111;
  --text-2: #1c1c1c;
  --text-3: #262626;
  --muted: #3d3d3d;
  --muted-2: #555;
  --line: #111;
  --line-strong: #111;

  --accent: #2f6bff;
  --accent-2: #ff4fa3;
  --green: #36d986;
  --on-green: #111;

  --header-bg: #fff6dc;
  --card-bg: #fff;
  --inner-bg: #fff7c2;
  --input-bg: #fff;
  --chip-bg: #fff;
  --chip-fg: #111;
  --dot-bg: #ffd93d;

  --btn-bg: #fff;
  --btn-fg: #111;
  --btn-line: #111;
  --primary-bg: #ff6fb5;
  --primary-fg: #111;
  --solid-bg: #111;
  --solid-fg: #fff;

  --radius: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --bw: 3px;

  --card-shadow: 7px 7px 0 #111;
  --card-shadow-sm: 5px 5px 0 #111;
  --btn-shadow: 3px 3px 0 #111;
  --primary-shadow: 4px 4px 0 #111;
  --hover-shadow: 8px 8px 0 #111;

  --hero-bg: #ffd93d;
  --cover-shade: none;
  --cover-filter: none;
  --avatar-ring: #fff;
  --glow: transparent;

  --marquee: #ffd93d;
  --marquee-bg: #111;
  --fw-display: 700;
  --show-aurora: 0;
}

/* ───────── LIQUID GLASS ───────── */
:root[data-theme="glass"] {
  color-scheme: dark;

  --bg: #130a33;
  --bg-image:
    radial-gradient(70vw 55vw at 8% -5%, rgba(139, 92, 246, .75), transparent 62%),
    radial-gradient(60vw 50vw at 100% 18%, rgba(34, 211, 238, .55), transparent 60%),
    radial-gradient(70vw 60vw at 45% 105%, rgba(244, 114, 182, .6), transparent 62%),
    #130a33;
  --text: #fff;
  --text-2: rgba(255, 255, 255, .92);
  --text-3: rgba(255, 255, 255, .78);
  --muted: rgba(255, 255, 255, .66);
  --muted-2: rgba(255, 255, 255, .5);
  --line: rgba(255, 255, 255, .2);
  --line-strong: rgba(255, 255, 255, .34);

  --accent: #9fd0ff;
  --accent-2: #ffe08a;

  --header-bg: rgba(30, 14, 70, .38);
  --card-bg: linear-gradient(145deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .06));
  --card-filter: blur(24px) saturate(170%);
  --inner-bg: rgba(255, 255, 255, .08);
  --input-bg: rgba(255, 255, 255, .1);
  --chip-bg: rgba(255, 255, 255, .13);
  --chip-fg: rgba(255, 255, 255, .88);
  --dot-bg: rgba(60, 30, 130, .85);

  --btn-bg: rgba(255, 255, 255, .13);
  --btn-fg: #fff;
  --btn-line: rgba(255, 255, 255, .3);
  --primary-bg: rgba(255, 255, 255, .94);
  --primary-fg: #26104f;
  --solid-bg: rgba(255, 255, 255, .92);
  --solid-fg: #26104f;

  --radius: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;

  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(255, 255, 255, .08), 0 24px 60px rgba(10, 0, 40, .4);
  --card-shadow-sm: inset 0 1px 0 rgba(255, 255, 255, .4), 0 14px 40px rgba(10, 0, 40, .3);
  --btn-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  --primary-shadow: 0 10px 28px rgba(255, 255, 255, .22);
  --hover-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 46px rgba(10, 0, 40, .4);

  --cover-shade: linear-gradient(180deg, rgba(20, 8, 50, 0) 0%, rgba(20, 8, 50, .1) 38%, rgba(30, 14, 70, .55) 75%, rgba(30, 14, 70, .75) 100%);
  --cover-filter: saturate(1.1);
  --avatar-ring: rgba(255, 255, 255, .85);
  --glow: rgba(255, 224, 138, .55);
  --marquee: #ffe9a8;
  --show-aurora: 1;
}

/* ═══════════ BASE ═══════════ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  background-image: var(--bg-image);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  letter-spacing: .005em;
  overflow-x: hidden;
  transition: background-color .3s;
}
h1, h2, h3, p, dl, dd, ol { margin-top: 0; }
h1, h2, h3, .about-orb span, .repo-title, .footer-card h2 { font-family: var(--font-display); }
.handle, .terminal, .status-line, .prompt, .slash, .hero-online, .principle-label, .tech-label, .eyebrow,
.message-time, .footer, .mini-badge, .tl-tag, .skill-ico, .track-sub, .fav-tag { font-family: var(--font-mono); }
.principle p { font-family: var(--font-serif); }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { max-width: 100%; }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--primary-bg); color: var(--primary-fg); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
:root[data-theme="neo"] :focus-visible { outline-color: #111; outline-offset: 3px; }

.i { width: 1.15em; height: 1.15em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i .fill { fill: currentColor; stroke: none; }
svg.i path.fill, svg.i rect.fill { fill: currentColor; stroke: none; }

/* ═══════════ BACKGROUND FX ═══════════ */
.bg-grid { position: fixed; inset: 0; pointer-events: none; opacity: .26; background-image: linear-gradient(rgba(125, 164, 220, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(125, 164, 220, .035) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 80%); mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 80%); }
.aurora { position: fixed; width: 48vw; height: 48vw; border-radius: 999px; pointer-events: none; filter: blur(90px); opacity: .12; }
.aurora-a { top: -17vw; left: -15vw; background: #2e73ff; }
.aurora-b { top: 30vh; right: -20vw; background: #ffca4a; opacity: .075; }
#stars { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.star { position: absolute; width: 2px; height: 2px; border-radius: 999px; background: rgba(255, 255, 255, .85); box-shadow: 0 0 12px rgba(137, 186, 255, .8); animation: twinkle 3.6s infinite ease-in-out; }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.7); } 50% { opacity: .75; transform: scale(1.35); } }

:root[data-theme="glass"] .bg-grid { opacity: .1; }
:root[data-theme="glass"] .aurora { opacity: .35; filter: blur(70px); }
:root[data-theme="glass"] .aurora-a { background: #8b5cf6; }
:root[data-theme="glass"] .aurora-b { background: #22d3ee; opacity: .28; }
:root[data-theme="neo"] .bg-grid, :root[data-theme="neo"] .aurora, :root[data-theme="neo"] #stars { display: none; }

/* ═══════════ HEADER + THEME SWITCH ═══════════ */
.site-header { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top, 0); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); background: var(--header-bg); border-bottom: var(--bw) solid var(--line); }
:root[data-theme="neo"] .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
.container { width: min(100% - 28px, 980px); margin: 0 auto; }
.topline { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text-3); font: 500 12px/1.2 var(--font-mono); }
.brand-mini { border: 0; background: transparent; padding: 10px 0; cursor: pointer; color: inherit; font: inherit; white-space: nowrap; }
.prompt { color: var(--accent); }
.slash { color: var(--muted-2); }
:root[data-theme="neo"] .prompt { background: #111; color: #ffd93d; padding: 2px 6px; border-radius: 6px; }
.top-right { display: flex; align-items: center; gap: 14px; }
.status-line { display: flex; align-items: center; gap: 8px; }
.status-dot, .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(32, 227, 154, .7); }
.pulse { width: 7px; height: 7px; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(32, 227, 154, .04), 0 0 20px rgba(32, 227, 154, .7); } }
:root[data-theme="neo"] .status-dot, :root[data-theme="neo"] .pulse { box-shadow: 0 0 0 2px #111; }

.theme-switch { --w: 36px; position: relative; display: flex; padding: 3px; border-radius: 999px; border: var(--bw) solid var(--line-strong); background: var(--btn-bg); touch-action: none; user-select: none; -webkit-user-select: none; box-shadow: var(--btn-shadow); }
.theme-switch button { position: relative; z-index: 1; width: var(--w); height: 32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; transition: color .25s; }
.theme-switch button[aria-checked="true"] { color: var(--thumb-fg, #0b101a); }
.theme-switch .i { width: 17px; height: 17px; }
.theme-thumb { position: absolute; z-index: 0; left: 3px; top: 3px; width: var(--w); height: 32px; border-radius: 999px; background: var(--thumb-bg, #f4f6fa); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); transition: transform .38s cubic-bezier(.3, 1.4, .5, 1), background .3s; }
:root[data-theme="neo"] .theme-switch { --thumb-bg: #ffd93d; --thumb-fg: #111; }
:root[data-theme="neo"] .theme-thumb { transform: translateX(var(--w)); border: 2px solid #111; box-shadow: none; }
:root[data-theme="glass"] .theme-switch { --thumb-bg: linear-gradient(135deg, #fff, #cfe6ff); --thumb-fg: #26104f; }
:root[data-theme="glass"] .theme-thumb { transform: translateX(calc(var(--w) * 2)); }
.theme-switch.dragging .theme-thumb { transition: none; }

/* ═══════════ LAYOUT + CARD ═══════════ */
.page-shell { position: relative; z-index: 1; padding: 28px 0 56px; }
.card { background: var(--card-bg); -webkit-backdrop-filter: var(--card-filter); backdrop-filter: var(--card-filter); border: var(--bw) solid var(--line); box-shadow: var(--card-shadow); border-radius: var(--radius); overflow: hidden; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ═══════════ HERO ═══════════ */
.hero { position: relative; min-height: 500px; display: flex; align-items: flex-end; background: var(--hero-bg); }
.hero-cover { position: absolute; left: 0; top: 0; width: 100%; height: 295px; object-fit: cover; filter: var(--cover-filter); }
.hero-cover-shade { position: absolute; inset: 0; background: var(--cover-shade); pointer-events: none; }
.hero-online { position: absolute; right: 18px; top: 18px; padding: 9px 13px; display: flex; align-items: center; gap: 8px; border-radius: 999px; background: rgba(6, 12, 21, .78); border: var(--bw) solid var(--line-strong); color: #bfffe7; font: 600 12px var(--font-mono); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-content { width: 100%; text-align: center; position: relative; z-index: 2; padding: 210px 26px 30px; }
.avatar-wrap { width: 136px; height: 136px; position: relative; margin: 0 auto 18px; }
.avatar-glow { position: absolute; inset: -26px; border-radius: 50%; background: radial-gradient(circle, var(--glow) 0%, transparent 70%); filter: blur(18px); z-index: 0; animation: glowPulse 3.4s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.avatar { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #f6f7fb; border: 8px solid var(--avatar-ring); box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 18px 50px rgba(0, 0, 0, .45); }
.verified { position: absolute; z-index: 2; right: 1px; bottom: 8px; width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--on-green); font-weight: 900; border: 4px solid var(--avatar-ring); box-shadow: 0 6px 16px rgba(32, 227, 154, .3); }
h1 { font-size: clamp(28px, 6vw, 38px); line-height: 1; margin-bottom: 8px; letter-spacing: -.03em; font-weight: var(--fw-display); }
.role-badge-wrap { display: flex; justify-content: center; margin: 2px 0 10px; }
.role-badge, .mini-badge, .repo-tags span { display: inline-flex; align-items: center; border-radius: 999px; border: var(--bw) solid var(--line); color: var(--chip-fg); background: var(--chip-bg); }
.role-badge { font-size: 12px; padding: 7px 10px; }
.hero-sub { color: var(--text-2); margin-bottom: 8px; }
.hero-sub strong { color: var(--text); }
.handle { margin-bottom: 22px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.terminal { color: #49d5ac; margin-right: 6px; }
.muted-dot { color: var(--muted-2); padding: 0 4px; }
.hero-actions { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; }

/* ═══════════ BUTTONS ═══════════ */
.btn, .icon-btn { border: var(--bw) solid var(--btn-line); border-radius: var(--radius-sm); min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s, background .2s; box-shadow: var(--btn-shadow); }
.btn { background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 14px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn:hover, .icon-btn:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.btn:active, .icon-btn:active { transform: translateY(0) scale(.98); }
.btn.primary { background: var(--primary-bg); color: var(--primary-fg); border-color: transparent; font-weight: 700; box-shadow: var(--primary-shadow); }
.btn.light { background: var(--solid-bg); color: var(--solid-fg); border-color: transparent; min-width: 94px; font-weight: 700; }
.icon-btn { width: 45px; padding: 0; background: var(--btn-bg); color: var(--btn-fg); }
:root[data-theme="neo"] .btn.primary, :root[data-theme="neo"] .btn.light { border-color: #111; }
:root[data-theme="neo"] .btn:hover, :root[data-theme="neo"] .icon-btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 #111; }
:root[data-theme="neo"] .btn:active, :root[data-theme="neo"] .icon-btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 #111; }
:root[data-theme="neo"] .btn { font-weight: 700; }
:root[data-theme="glass"] .btn.light, :root[data-theme="glass"] .btn.primary { border-color: rgba(255, 255, 255, .6); }

/* ═══════════ ABOUT / FACTS ═══════════ */
.about, .featured, .guestbook-card, .footer-card { margin-top: 20px; }
.about { padding: 28px; }
.section-kicker, .section-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font: 12px/1.2 var(--font-mono); letter-spacing: .11em; text-transform: uppercase; }
.divider { height: var(--bw); background: var(--line); margin: 16px 0 24px; }
.about-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
h2 { font-size: 26px; line-height: 1.1; margin-bottom: 10px; letter-spacing: -.025em; font-weight: var(--fw-display); }
.about-head p { color: var(--text-3); font-size: 15px; line-height: 1.75; max-width: 730px; margin-bottom: 0; }
.about-head p strong { color: var(--text); }
.about-orb { width: 82px; height: 82px; border-radius: 24px; display: grid; place-items: center; border: var(--bw) solid rgba(126, 171, 255, .22); background: radial-gradient(circle at 30% 25%, rgba(120, 177, 255, .2), transparent 55%), rgba(20, 33, 58, .55); color: #d9e9ff; font: 700 12px var(--font-mono); transform: rotate(-4deg); }
.facts { margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.facts div { padding: 12px 14px; border: var(--bw) solid var(--line); border-radius: var(--radius-sm); background: var(--inner-bg); }
.facts dt { font: 10.5px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; font-size: 13.5px; color: var(--text-2); line-height: 1.4; }
.principle { position: relative; margin-top: 20px; padding: 22px 58px 22px 22px; border: var(--bw) solid var(--line); border-radius: var(--radius-md); background: var(--inner-bg); }
.principle-label, .tech-label, .eyebrow { color: var(--muted); font: 11px var(--font-mono); letter-spacing: .13em; text-transform: uppercase; }
.principle p { margin: 8px 0 0; color: var(--text-2); font-style: italic; font-size: 15px; line-height: 1.75; }
.principle .copy-quote { position: absolute; right: 12px; top: 15px; }
.tech-block { margin-top: 22px; padding-top: 18px; border-top: var(--bw) solid var(--line); }
.tech-label { margin-bottom: 12px; text-transform: none; letter-spacing: .06em; font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span, .repo-tags span { padding: 8px 11px; font-size: 12px; }

/* ═══════════ SECTION TITLE ═══════════ */
.section { margin-top: 34px; }
.section-title { margin: 0 6px 13px; }
.ttl-note { display: inline-flex; align-items: center; gap: 6px; text-transform: none; letter-spacing: .02em; }
.ttl-note .i { width: 13px; height: 13px; }

/* ═══════════ TIMELINE ═══════════ */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 14px; bottom: 14px; width: var(--bw); min-width: 2px; background: var(--line-strong); }
.tl-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; position: relative; }
.tl-dot { z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--font-mono); color: var(--accent-2); background: var(--dot-bg); border: var(--bw) solid var(--line-strong); }
.tl-card { padding: 16px 18px; border: var(--bw) solid var(--line); border-radius: var(--radius-md); background: var(--card-bg); -webkit-backdrop-filter: var(--card-filter); backdrop-filter: var(--card-filter); box-shadow: var(--card-shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.tl-card:hover { transform: translateY(-2px); }
.tl-tag { display: inline-block; margin-bottom: 8px; padding: 4px 9px; font-size: 10.5px; letter-spacing: .06em; border-radius: 999px; border: var(--bw) solid var(--line); background: var(--chip-bg); color: var(--chip-fg); }
.tl-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: var(--fw-display); }
.tl-card p { margin: 0; color: var(--text-3); font-size: 13px; line-height: 1.7; }
.tl-card p strong { color: var(--text); }
.tl-item.now .tl-dot { background: var(--accent-2); color: #111; }
.tl-item.now .tl-card { border-color: var(--accent-2); }

/* ═══════════ SKILLS ═══════════ */
.skill-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.skill { display: flex; align-items: center; gap: 12px; padding: 14px; border: var(--bw) solid var(--line); border-radius: var(--radius-md); background: var(--card-bg); -webkit-backdrop-filter: var(--card-filter); backdrop-filter: var(--card-filter); box-shadow: var(--card-shadow-sm); transition: transform .22s ease; }
.skill:hover { transform: translateY(-2px); }
.skill h3 { margin: 0; font-size: 14.5px; font-weight: var(--fw-display); }
.skill p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.skill-ico { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--accent-2); background: var(--chip-bg); border: var(--bw) solid var(--line); }
.skill.fav { grid-column: 1 / -1; position: relative; border-color: var(--accent-2); }
.skill.fav .skill-ico { width: 48px; height: 48px; background: var(--accent-2); color: #111; }
.fav-tag { position: absolute; right: 12px; top: 12px; font-size: 10px; padding: 4px 8px; border-radius: 999px; background: var(--accent-2); color: #111; font-weight: 700; }

/* ═══════════ FEATURED ═══════════ */
.featured { display: flex; align-items: center; gap: 15px; padding: 19px; }
.repo-icon { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; background: var(--chip-bg); border: var(--bw) solid var(--line); color: var(--text-2); font-size: 23px; }
.repo-copy { min-width: 0; flex: 1; }
.repo-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.repo-title span { color: var(--muted-2); padding: 0 2px; }
.tagline { color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.repo-tags { display: flex; gap: 7px; margin-top: 9px; flex-wrap: wrap; }
.repo-tags span { padding: 5px 8px; font-size: 10px; }
.arrow-link { color: var(--text-3); font-size: 21px; padding: 12px; display: grid; place-items: center; }

/* ═══════════ MUSIC ═══════════ */
.music-card { padding: 20px; }
.player { padding: 18px; border: var(--bw) solid var(--line); border-radius: var(--radius-md); background: var(--inner-bg); }
.player-top { display: flex; align-items: center; gap: 16px; }
.disc { position: relative; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; border: var(--bw) solid var(--line-strong); background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .14), transparent 60%), #0b0b0d; color: #ffd76b; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.disc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.disc:has(img:not([hidden]))::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--bg); border: var(--bw) solid var(--line-strong); }
.disc-ico { width: 34px; height: 34px; }
.disc img:not([hidden]) ~ .disc-ico { display: none; }
.player.playing .disc { animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.player-cover { flex: 0 0 auto; }
.player-meta { min-width: 0; flex: 1; }
.player-meta h3 { margin: 6px 0 4px; font-size: 18px; line-height: 1.25; font-weight: var(--fw-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.player-meta p { margin: 0; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-seek { display: flex; align-items: center; gap: 12px; margin-top: 18px; font: 11px var(--font-mono); color: var(--muted); }
.player-seek span { min-width: 36px; }
.player-seek span:last-child { text-align: right; }
#seek { --p: 0%; flex: 1; height: 22px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
#seek:disabled { cursor: default; opacity: .5; }
#seek::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(to right, var(--accent-2) var(--p), var(--line-strong) var(--p)); }
#seek::-moz-range-track { height: 6px; border-radius: 99px; background: var(--line-strong); }
#seek::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--accent-2); }
#seek::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5px; border-radius: 50%; background: var(--text); border: var(--bw) solid var(--line-strong); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
#seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--text); border: var(--bw) solid var(--line-strong); }
.player-ctrl { display: grid; grid-template-columns: 1fr auto auto auto 1fr; align-items: center; gap: 12px; margin-top: 10px; }
.player-ctrl > :first-child { justify-self: start; }
.ctl { width: 46px; }
.ctl[aria-pressed="true"] { background: var(--accent-2); color: #111; border-color: transparent; }
.ctl-main { width: 64px; height: 64px; border-radius: 50%; border: var(--bw) solid transparent; background: var(--primary-bg); color: var(--primary-fg); display: grid; place-items: center; cursor: pointer; box-shadow: var(--primary-shadow); transition: transform .2s ease; }
.ctl-main .i { width: 26px; height: 26px; }
.ctl-main:hover { transform: scale(1.06); }
.ctl-main:active { transform: scale(.96); }
:root[data-theme="neo"] .ctl-main { border-color: #111; }
.player-status { min-height: 20px; margin-top: 10px; text-align: center; font: 11.5px var(--font-mono); color: var(--muted); }
.player.loading .player-status { color: var(--accent-2); }
.spin { display: inline-block; width: 11px; height: 11px; margin-right: 8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; vertical-align: -1px; animation: spin .7s linear infinite; }

.music-search { display: flex; gap: 10px; margin-top: 16px; }
.music-search input { flex: 1; min-width: 0; border-radius: var(--radius-sm); border: var(--bw) solid var(--line); background: var(--input-bg); color: var(--text); outline: none; padding: 0 15px; min-height: 46px; transition: .2s ease; }
.music-search input::placeholder { color: var(--muted-2); }
.music-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(90, 142, 255, .1); }
.track-head { display: flex; justify-content: space-between; gap: 12px; margin: 20px 4px 10px; color: var(--muted); font: 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.track-list { display: grid; gap: 8px; }
.track { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px 9px 9px; text-align: left; cursor: pointer; border: var(--bw) solid var(--line); border-radius: var(--radius-sm); background: var(--inner-bg); color: inherit; transition: transform .18s ease, border-color .2s, box-shadow .2s; }
.track:hover { transform: translateY(-1px); border-color: var(--line-strong); }
.track img { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 10px; object-fit: cover; background: var(--chip-bg); }
.track-meta { min-width: 0; flex: 1; }
.track-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: 13.5px; line-height: 1.35; }
.track-sub { margin-top: 3px; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-badge { flex: 0 0 auto; font: 600 10px var(--font-mono); padding: 4px 8px; border-radius: 999px; border: var(--bw) solid var(--line); color: var(--chip-fg); background: var(--chip-bg); }
.track-badge.ok { color: var(--green); border-color: currentColor; }
:root[data-theme="neo"] .track-badge.ok { color: #111; background: var(--green); }
.track.active { border-color: var(--accent-2); box-shadow: 0 0 0 1px var(--accent-2) inset; }
.eq { display: none; flex: 0 0 auto; align-items: flex-end; gap: 2px; width: 16px; height: 16px; }
.eq i { flex: 1; background: var(--accent-2); border-radius: 2px; animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .2s; } .eq i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.track.active.playing .eq { display: flex; }
.track.busy { opacity: .75; pointer-events: none; }
.empty { margin: 0; padding: 14px; text-align: center; color: var(--muted); font-size: 12.5px; border: var(--bw) dashed var(--line); border-radius: var(--radius-sm); }
.music-note { margin: 16px 3px 0; color: var(--muted-2); font-size: 10.5px; line-height: 1.6; }

/* ═══════════ LINKS ═══════════ */
.link-grid { display: grid; gap: 13px; }
.link-card { padding: 19px 20px 18px; border: var(--bw) solid var(--line); border-radius: var(--radius-md); background: var(--card-bg); -webkit-backdrop-filter: var(--card-filter); backdrop-filter: var(--card-filter); box-shadow: var(--card-shadow-sm); transition: transform .22s ease, border-color .22s, box-shadow .22s; }
.link-card:hover { transform: translateY(-2px); border-color: rgba(255, 215, 107, .35); box-shadow: var(--hover-shadow); }
.link-main { display: flex; gap: 14px; align-items: flex-start; }
.link-icon { width: 56px; height: 56px; border-radius: 17px; flex: 0 0 auto; border: var(--bw) solid var(--line); background: var(--chip-bg); overflow: hidden; }
.link-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.link-main h3 { margin: 0 7px 7px 0; display: inline-block; font-size: 15px; font-weight: var(--fw-display); }
.mini-badge { font-size: 10px; padding: 4px 7px; vertical-align: 2px; }
.mini-badge.official { color: #cde7ff; border-color: rgba(112, 177, 255, .3); }
.link-main p { margin: 0 0 8px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.link-main small { color: var(--muted-2); font: 11px var(--font-mono); }
.link-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 17px; padding-top: 14px; border-top: var(--bw) solid var(--line); }
.link-actions .icon-btn { min-height: 42px; width: 47px; }
.link-actions .btn { min-height: 42px; }
:root[data-theme="neo"] .link-card:hover { border-color: #111; }
:root[data-theme="neo"] .link-card:nth-child(5n+1) { background: #ffb3d9; }
:root[data-theme="neo"] .link-card:nth-child(5n+2) { background: #9fd0ff; }
:root[data-theme="neo"] .link-card:nth-child(5n+3) { background: #b8f5a2; }
:root[data-theme="neo"] .link-card:nth-child(5n+4) { background: #ffcf8a; }
:root[data-theme="neo"] .link-card:nth-child(5n+5) { background: #d4bcff; }
:root[data-theme="neo"] .link-card .mini-badge { background: #fff; color: #111; border-width: 2px; }
:root[data-theme="neo"] .link-card .link-icon { border-color: #111; background: #fff; }

/* ═══════════ GUESTBOOK ═══════════ */
.guestbook-card { padding: 20px; }
form input, form textarea { width: 100%; border-radius: 16px; border: var(--bw) solid var(--line); background: var(--input-bg); color: var(--text); outline: none; padding: 14px 15px; transition: .2s ease; }
form input::placeholder, form textarea::placeholder { color: var(--muted-2); }
form input:focus, form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(90, 142, 255, .1); }
form textarea { margin-top: 10px; min-height: 102px; resize: vertical; }
.hp { position: absolute !important; left: -9999px; width: 1px !important; height: 1px !important; opacity: 0; }
.form-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; color: var(--muted-2); font-size: 11px; }
.btn.send { min-height: 40px; padding: 0 16px; }
.message-list { display: grid; gap: 9px; margin-top: 18px; }
.message { display: flex; gap: 12px; padding: 15px; border-radius: var(--radius-md); border: var(--bw) solid var(--line); background: var(--inner-bg); animation: pop .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.message-avatar { width: 37px; height: 37px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: var(--chip-bg); color: var(--text-2); border: var(--bw) solid var(--line); font-size: 13px; font-weight: 700; }
.message-body { flex: 1; min-width: 0; }
.message-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.message-time { color: var(--muted-2); font-size: 10px; white-space: nowrap; }
.message-text { margin: 5px 0 0; color: var(--text-3); font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.guest-note { margin: 14px 3px 0; color: var(--muted-2); font-size: 10px; line-height: 1.5; }

/* ═══════════ FOOTER ═══════════ */
.footer-card { padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-card h2 { margin: 7px 0 7px; font-size: 24px; }
.footer-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.footer { padding: 0 0 34px; display: flex; justify-content: space-between; gap: 18px; color: var(--muted-2); font-size: 10px; }
.marquee-strip { position: relative; z-index: 1; overflow: hidden; padding: 16px 0 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); background: var(--marquee-bg); }
.marquee-track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.marquee-track span { flex: 0 0 auto; padding-right: 12px; font: 12px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--marquee); text-shadow: 0 0 18px rgba(255, 215, 107, .35); white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
:root[data-theme="neo"] .marquee-strip { -webkit-mask-image: none; mask-image: none; padding: 14px 0; margin: 10px 0 70px; border-block: 3px solid #111; transform: rotate(-1.2deg); }
:root[data-theme="neo"] .marquee-track span { text-shadow: none; font-weight: 700; }
body.has-dock .marquee-strip { margin-bottom: 0; }
body.has-dock .footer { padding-bottom: 96px; }

/* ═══════════ TOAST / MODAL ═══════════ */
.toast { position: fixed; left: 50%; top: calc(72px + env(safe-area-inset-top, 0)); z-index: 90; transform: translate(-50%, -12px); opacity: 0; pointer-events: none; max-width: 90vw; text-align: center; background: var(--primary-bg); color: var(--primary-fg); border: var(--bw) solid transparent; border-radius: 999px; padding: 10px 16px; font-size: 12.5px; font-weight: 700; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); transition: .25s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
:root[data-theme="neo"] .toast { background: #111; color: #fff; border-color: #111; box-shadow: 4px 4px 0 #ff6fb5; }
.modal { position: fixed; inset: 0; display: none; z-index: 80; }
.modal.open { display: grid; place-items: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(1, 4, 9, .7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
:root[data-theme="neo"] .modal-backdrop { background: rgba(17, 17, 17, .55); -webkit-backdrop-filter: none; backdrop-filter: none; }
.modal-panel { position: relative; z-index: 1; width: min(92vw, 390px); padding: 26px; border: var(--bw) solid var(--line-strong); border-radius: var(--radius); background: var(--card-bg); background-color: #0a1220; -webkit-backdrop-filter: var(--card-filter); backdrop-filter: var(--card-filter); box-shadow: var(--card-shadow); text-align: center; }
:root[data-theme="neo"] .modal-panel { background: #ffd93d; }
:root[data-theme="glass"] .modal-panel { background-color: rgba(40, 20, 90, .6); }
.modal-close { position: absolute; right: 13px; top: 13px; width: 40px; height: 40px; }
.modal-panel h3 { margin: 7px 0; font-size: 24px; }
.modal-panel p { color: var(--muted); font-size: 12px; }
.qr-box { padding: 15px; background: #fff; border-radius: 20px; width: min(250px, 70vw); margin: 18px auto; border: var(--bw) solid transparent; }
:root[data-theme="neo"] .qr-box { border-color: #111; border-radius: 12px; }
.qr-box img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.full { width: 100%; }

/* ═══════════ DOCK (mini player) ═══════════ */
.dock { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0)); z-index: 70; width: min(94vw, 440px); transform: translate(-50%, 160%); transition: transform .5s cubic-bezier(.2, .8, .2, 1); visibility: hidden; }
.dock.show { transform: translate(-50%, 0); visibility: visible; }
.dock-main { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 14px 12px 10px; text-align: left; cursor: pointer; border: var(--bw) solid var(--line-strong); border-radius: 22px; background: rgba(10, 14, 22, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(255, 215, 107, .12); color: #eef2f9; overflow: hidden; }
.dock-vinyl { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.dock-vinyl.playing { animation: spin 2.6s linear infinite; }
.dock-text { min-width: 0; flex: 1; display: grid; gap: 2px; }
.dock-text strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-text small { font-size: 11.5px; color: #a7b1c4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-play { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #f4f6fa; color: #0b101a; }
.dock-play .i { width: 18px; height: 18px; }
.dock-close { position: absolute; top: -9px; right: -6px; width: 26px; height: 26px; display: grid; place-items: center; padding: 0; border-radius: 50%; background: #151c2b; color: #aeb9cc; border: 1px solid rgba(160, 178, 205, .3); cursor: pointer; }
.dock-close .i { width: 13px; height: 13px; }
.dock-progress { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; pointer-events: none; }
.dock-progress i { display: block; height: 100%; width: 0; background: #ffd76b; }
:root[data-theme="neo"] .dock-main { background: #ffd93d; color: #111; border: 3px solid #111; border-radius: 16px; box-shadow: 5px 5px 0 #111; -webkit-backdrop-filter: none; backdrop-filter: none; }
:root[data-theme="neo"] .dock-text small { color: #222; }
:root[data-theme="neo"] .dock-play { background: #111; color: #fff; }
:root[data-theme="neo"] .dock-progress { background: rgba(0, 0, 0, .18); }
:root[data-theme="neo"] .dock-progress i { background: #111; }
:root[data-theme="neo"] .dock-close { background: #fff; color: #111; border: 2px solid #111; }
:root[data-theme="glass"] .dock-main { background: rgba(40, 20, 95, .62); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%); border-color: rgba(255, 255, 255, .35); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 50px rgba(10, 0, 40, .45); }
:root[data-theme="glass"] .dock-text small { color: rgba(255, 255, 255, .75); }
:root[data-theme="glass"] .dock-close { background: rgba(255, 255, 255, .25); color: #fff; }

/* ═══════════ NEO: DETAIL TAMBAHAN ═══════════ */
:root[data-theme="neo"] body { font-weight: 500; }
:root[data-theme="neo"] .hero-cover { border-bottom: 3px solid #111; height: 292px; }
:root[data-theme="neo"] .hero-online { background: #b8f5a2; color: #111; border: 3px solid #111; box-shadow: 3px 3px 0 #111; -webkit-backdrop-filter: none; backdrop-filter: none; }
:root[data-theme="neo"] .avatar { border-width: 5px; border-color: #111; box-shadow: 5px 5px 0 #111; }
:root[data-theme="neo"] .verified { border-color: #111; box-shadow: none; }
:root[data-theme="neo"] .hero .role-badge { background: #fff; border-color: #111; font-weight: 700; box-shadow: 2px 2px 0 #111; }
:root[data-theme="neo"] .hero-sub strong, :root[data-theme="neo"] .about-head p strong, :root[data-theme="neo"] .tl-card p strong { background: #ff9ecd; padding: 0 4px; }
:root[data-theme="neo"] .terminal { color: #111; font-weight: 700; }
:root[data-theme="neo"] .about-orb { background: #ff6fb5; color: #111; border: 3px solid #111; box-shadow: 4px 4px 0 #111; transform: rotate(5deg); }
:root[data-theme="neo"] .facts div { background: #fff; box-shadow: 3px 3px 0 #111; }
:root[data-theme="neo"] .facts div:nth-child(1) { background: #9fd0ff; }
:root[data-theme="neo"] .facts div:nth-child(2) { background: #b8f5a2; }
:root[data-theme="neo"] .facts div:nth-child(3) { background: #ffcf8a; }
:root[data-theme="neo"] .facts div:nth-child(4) { background: #ffb3d9; }
:root[data-theme="neo"] .facts dt { color: #222; font-weight: 700; }
:root[data-theme="neo"] .facts dd { color: #111; font-weight: 700; }
:root[data-theme="neo"] .principle { background: #fff7c2; border-style: dashed; }
:root[data-theme="neo"] .chips span:nth-child(5n+1) { background: #ffb3d9; }
:root[data-theme="neo"] .chips span:nth-child(5n+2) { background: #9fd0ff; }
:root[data-theme="neo"] .chips span:nth-child(5n+3) { background: #b8f5a2; }
:root[data-theme="neo"] .chips span:nth-child(5n+4) { background: #ffcf8a; }
:root[data-theme="neo"] .chips span:nth-child(5n+5) { background: #d4bcff; }
:root[data-theme="neo"] .chips span, :root[data-theme="neo"] .repo-tags span { border-width: 2px; font-weight: 700; color: #111; box-shadow: 2px 2px 0 #111; }
:root[data-theme="neo"] .featured { background: #b8f5a2; }
:root[data-theme="neo"] .repo-icon { background: #fff; border-color: #111; color: #111; box-shadow: 3px 3px 0 #111; }
:root[data-theme="neo"] .tl-dot { color: #111; box-shadow: 3px 3px 0 #111; font-weight: 800; }
:root[data-theme="neo"] .timeline::before { background: #111; width: 4px; left: 18px; }
:root[data-theme="neo"] .tl-card { box-shadow: 5px 5px 0 #111; }
:root[data-theme="neo"] .tl-item:nth-child(4n+1) .tl-card { background: #fff; }
:root[data-theme="neo"] .tl-item:nth-child(4n+2) .tl-card { background: #d6ecff; }
:root[data-theme="neo"] .tl-item:nth-child(4n+3) .tl-card { background: #ffe1f0; }
:root[data-theme="neo"] .tl-item:nth-child(4n+4) .tl-card { background: #e4ffd6; }
:root[data-theme="neo"] .tl-tag { background: #111; color: #ffd93d; border-color: #111; }
:root[data-theme="neo"] .tl-item.now .tl-card { background: #ffd93d; border-color: #111; }
:root[data-theme="neo"] .skill { box-shadow: 4px 4px 0 #111; }
:root[data-theme="neo"] .skill:nth-child(2) { background: #ffcf8a; }
:root[data-theme="neo"] .skill:nth-child(3) { background: #9fd0ff; }
:root[data-theme="neo"] .skill:nth-child(4) { background: #b8f5a2; }
:root[data-theme="neo"] .skill:nth-child(5) { background: #ffb3d9; }
:root[data-theme="neo"] .skill:nth-child(6) { background: #d4bcff; }
:root[data-theme="neo"] .skill.fav { background: #ffd93d; border-color: #111; }
:root[data-theme="neo"] .skill-ico { background: #fff; color: #111; border-color: #111; box-shadow: 2px 2px 0 #111; }
:root[data-theme="neo"] .skill.fav .skill-ico { background: #111; color: #ffd93d; }
:root[data-theme="neo"] .fav-tag { background: #111; color: #ffd93d; }
:root[data-theme="neo"] .skill p { color: #222; }
:root[data-theme="neo"] .music-card { background: #ffe1f0; }
:root[data-theme="neo"] .player { background: #fff; box-shadow: 4px 4px 0 #111; }
:root[data-theme="neo"] .disc { border-color: #111; box-shadow: 3px 3px 0 #111; }
:root[data-theme="neo"] #seek::-webkit-slider-runnable-track { border: 2px solid #111; height: 10px; background: linear-gradient(to right, #ff6fb5 var(--p), #fff var(--p)); }
:root[data-theme="neo"] #seek::-moz-range-track { border: 2px solid #111; height: 8px; background: #fff; }
:root[data-theme="neo"] #seek::-moz-range-progress { background: #ff6fb5; height: 8px; }
:root[data-theme="neo"] #seek::-webkit-slider-thumb { border: 3px solid #111; background: #ffd93d; margin-top: -6px; border-radius: 4px; }
:root[data-theme="neo"] #seek::-moz-range-thumb { border: 3px solid #111; background: #ffd93d; border-radius: 4px; }
:root[data-theme="neo"] .ctl[aria-pressed="true"] { background: #ffd93d; border-color: #111; }
:root[data-theme="neo"] .track { background: #fff; box-shadow: 3px 3px 0 #111; }
:root[data-theme="neo"] .track:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #111; }
:root[data-theme="neo"] .track.active { background: #ffd93d; box-shadow: 4px 4px 0 #111; }
:root[data-theme="neo"] .track img { border: 2px solid #111; }
:root[data-theme="neo"] .eq i { background: #111; }
:root[data-theme="neo"] .music-search input, :root[data-theme="neo"] form input, :root[data-theme="neo"] form textarea { border-radius: 10px; }
:root[data-theme="neo"] .music-search input:focus, :root[data-theme="neo"] form input:focus, :root[data-theme="neo"] form textarea:focus { box-shadow: 4px 4px 0 #111; border-color: #111; }
:root[data-theme="neo"] .guestbook-card { background: #d6ecff; }
:root[data-theme="neo"] .message { background: #fff; box-shadow: 3px 3px 0 #111; }
:root[data-theme="neo"] .message-avatar { background: #ffd93d; border-color: #111; color: #111; }
:root[data-theme="neo"] .footer-card { background: #ff9ecd; }
:root[data-theme="neo"] .footer-card p, :root[data-theme="neo"] .eyebrow { color: #111; }
:root[data-theme="neo"] .eyebrow { font-weight: 700; }
:root[data-theme="neo"] .section-title > span:first-child, :root[data-theme="neo"] .section-kicker > span:first-child { background: #111; color: #ffd93d; padding: 5px 9px; border-radius: 6px; font-weight: 700; }
:root[data-theme="neo"] .section-title, :root[data-theme="neo"] .section-kicker { color: #111; font-weight: 700; }
:root[data-theme="neo"] .footer { color: #333; }
:root[data-theme="neo"] .mini-badge.official { color: #111; }
:root[data-theme="neo"] .principle-label, :root[data-theme="neo"] .tech-label { color: #111; font-weight: 700; }

/* ═══════════ GLASS: DETAIL TAMBAHAN ═══════════ */
:root[data-theme="glass"] .hero-cover { border-radius: var(--radius) var(--radius) 0 0; }
:root[data-theme="glass"] .hero-online { background: rgba(255, 255, 255, .18); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
:root[data-theme="glass"] .avatar { box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 40px rgba(255, 224, 138, .35), 0 18px 50px rgba(10, 0, 40, .5); }
:root[data-theme="glass"] .verified { border-color: rgba(255, 255, 255, .85); }
:root[data-theme="glass"] .about-orb { background: linear-gradient(135deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .06)); border-color: rgba(255, 255, 255, .4); color: #fff; }
:root[data-theme="glass"] .link-card:hover { border-color: rgba(255, 255, 255, .5); }
:root[data-theme="glass"] .tl-dot { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
:root[data-theme="glass"] .tl-item.now .tl-dot { background: linear-gradient(135deg, #fff2c0, #ffd76b); }
:root[data-theme="glass"] .modal-panel { background-image: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)); }
:root[data-theme="glass"] .mini-badge.official { color: #fff; }
:root[data-theme="glass"] .terminal { color: #a8ffe0; }
:root[data-theme="glass"] .track-badge.ok { color: #9dffd2; }

/* ═══════════ TRANSISI TEMA ═══════════ */
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease, border-radius .4s ease !important; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (min-width: 720px) {
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-card { min-height: 247px; display: flex; flex-direction: column; }
  .link-actions { margin-top: auto; }
  .skill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .timeline::before { left: 19px; }
}
@media (max-width: 650px) {
  .page-shell { padding-top: 18px; }
  .hero { min-height: 470px; }
  .hero-cover { height: 250px; }
  :root[data-theme="neo"] .hero-cover { height: 248px; }
  .hero-content { padding-top: 178px; }
  .hero-actions .btn { width: 47px; padding: 0; }
  .hero-actions .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero-actions .icon-btn { width: 47px; }
  .about { padding: 22px; }
  .about-head { grid-template-columns: 1fr; }
  .about-orb { display: none; }
  .section-kicker, .section-title { font-size: 10px; }
  .featured { padding: 16px; }
  .footer-card { align-items: flex-start; flex-direction: column; }
  .footer-card .btn { width: 100%; }
  .footer { flex-direction: column; }
  .status-text { display: none; }
  .topline { font-size: 11.5px; }
  .music-card { padding: 14px; }
  .player { padding: 14px; }
  .disc { width: 80px; height: 80px; }
  .player-meta h3 { font-size: 16px; }
  .music-search .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .music-search .btn { width: 48px; padding: 0; }
  .track-badge.dur { display: none; }
  .ttl-note { display: none; }
}
@media (max-width: 360px) {
  .theme-switch { --w: 32px; }
  .brand-mini .slash, .brand-mini span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
