/* TC HUB / CREATOR WORKSHOP
   A restrained amber-and-stone visual identity for the existing resource library. */
:root {
    --bg-primary: #050705;
    --bg-secondary: #070a08;
    --bg-tertiary: rgba(241, 226, 197, .035);
    --bg-card: rgba(241, 226, 197, .045);
    --accent-primary: #22c55e;
    --accent-primary-hover: #4ade80;
    --accent-secondary: #10b981;
    --text-primary: #f6f1e7;
    --text-secondary: #b4afa4;
    --text-muted: #77786f;
    --glass-bg: rgba(16, 17, 15, .92);
    --glass-border: rgba(74, 222, 128, .12);
    --glass-border-light: rgba(74, 222, 128, .24);
    --glass-shadow: rgba(0, 0, 0, .42);
    --radius-sm: 9px;
    --radius-md: 13px;
    --radius-lg: 20px;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-ui: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

/* Shared shell for the toolkit, guides, upload flow and resource detail pages. */
.tc-shell-page { min-height: 100vh; background: transparent; color: var(--text-primary); font-family: var(--font-ui); }
.tc-page-header { position: sticky; top: 0; z-index: 950; display: flex; align-items: center; gap: 1.5rem; min-height: 68px; padding: .6rem max(1.25rem, calc((100vw - 1500px) / 2)); border-bottom: 1px solid var(--glass-border); background: rgba(17,18,15,.9); box-shadow: 0 12px 40px rgba(0,0,0,.15); backdrop-filter: blur(18px); }
.tc-page-header .taskbar-brand { flex: 0 0 auto; }
.tc-page-header nav { display: flex; align-items: center; gap: .25rem; margin: 0 auto; }
.tc-page-header nav a { display: inline-flex; align-items: center; gap: .45rem; min-height: 38px; padding: 0 .8rem; border-radius: 8px; color: #aaa69b; font-size: .76rem; font-weight: 600; transition: .18s ease; }
.tc-page-header nav a:hover, .tc-page-header nav a[aria-current="page"] { background: rgba(232,203,153,.065); color: #f3ecdf; }
.tc-page-header nav a[aria-current="page"] { box-shadow: inset 0 -2px #22c55e; }
.tc-page-action { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 38px; padding: 0 .9rem; border: 1px solid rgba(74, 222, 128,.15); border-radius: 9px; background: rgba(255,255,255,.025); color: #e4d7bd; font-size: .74rem; font-weight: 650; transition: .18s ease; }
.tc-page-action:hover { border-color: rgba(74, 222, 128,.34); background: rgba(255,255,255,.06); }
.tc-page-main { width: min(1480px, 100%); margin: 0 auto; padding: clamp(1.5rem,4vw,3.5rem); }
.tc-page-intro { position: relative; overflow: hidden; margin: 0 0 1.5rem; padding: clamp(1.5rem,4vw,3rem); border: 1px solid rgba(74, 222, 128,.15); border-radius: 18px; background: radial-gradient(ellipse at 88% 10%,rgba(34, 197, 94,.18),transparent 44%),linear-gradient(135deg,rgba(235,223,194,.055),rgba(235,223,194,.018)); }
.tc-page-intro::after { content: ''; position: absolute; right: -110px; bottom: -220px; width: 430px; height: 430px; border: 1px solid rgba(74, 222, 128,.1); border-radius: 50%; box-shadow: 0 0 0 34px rgba(74, 222, 128,.022),0 0 0 70px rgba(74, 222, 128,.016); pointer-events: none; }
.tc-page-eyebrow { display: flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; color: #4ade80; font-size: .64rem; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
.tc-page-intro h1 { position: relative; z-index: 1; margin: 0; color: #f6f1e7; font: 600 clamp(2rem,5vw,3.8rem)/1.05 var(--font-display); letter-spacing: -.055em; }
.tc-page-intro p { position: relative; z-index: 1; max-width: 680px; margin: .85rem 0 0; color: #aaa99e; font-size: .92rem; line-height: 1.75; }
.tc-page-surface, .tc-page-main .info-section { border: 1px solid var(--glass-border); border-radius: 14px; background: linear-gradient(145deg,rgba(239,226,198,.045),rgba(239,226,198,.018)); box-shadow: 0 14px 38px rgba(0,0,0,.12); }
.tc-page-footer { width: min(1480px,100%); margin: 1rem auto 0; padding: 1.2rem clamp(1.5rem,4vw,3.5rem) 2rem; border-top: 1px solid var(--glass-border); color: #77786f; font-size: .72rem; }
.tc-page-footer a { color: #4ade80; }
body.tc-shell-page .back-btn { background: linear-gradient(135deg,#4ade80,#16a34a); color: #020d05; }
body.tc-shell-page .back-btn:hover { background: #4ade80; }
body.tc-shell-page .info-page { width: min(1120px,100%); max-width: none; padding: 2.5rem clamp(1rem,4vw,2.75rem); }
body.tc-shell-page .info-header h1 { font-size: clamp(2rem,5vw,3rem); }
body.tc-shell-page .info-header p { font-size: .94rem; line-height: 1.7; }
body.tc-shell-page .info-section h2 { font-family: var(--font-display); letter-spacing: -.025em; }
body.tc-shell-page .info-section a:not(.back-btn) { color: #4ade80 !important; }
body.tc-shell-page .back-btn { color: #020d05; }
body.tc-shell-page .back-btn:hover { color: #020d05; }
body.tc-shell-page .role-card:hover { border-color: rgba(234,184,95,.32); transform: translateY(-2px); }
body.tc-shell-page .info-header { margin: 0 0 1.5rem; padding: 2rem; border: 1px solid var(--glass-border); border-radius: 16px; background: radial-gradient(ellipse at 80% 0,rgba(193,138,65,.16),transparent 52%),rgba(239,226,198,.025); }
body.tc-shell-page .info-header h1 { background: linear-gradient(100deg,#86efac,#22c55e 56%,#15803d); -webkit-background-clip: text; background-clip: text; }
body.tc-shell-page .info-nav { position: sticky; top: 78px; z-index: 800; justify-content: flex-start; gap: .45rem; margin: 0 0 1.25rem; padding: .6rem; overflow-x: auto; border: 1px solid var(--glass-border); border-radius: 12px; background: rgba(17,18,15,.92); backdrop-filter: blur(16px); scrollbar-width: thin; }
body.tc-shell-page .info-nav a { flex: 0 0 auto; padding: .62rem .95rem; border-color: transparent; border-radius: 8px; font-size: .78rem; }
body.tc-shell-page .info-nav a:hover, body.tc-shell-page .info-nav a.active { background: rgba(34, 197, 94, 0.25); color: #4ade80; border-color: rgba(34, 197, 94, 0.25); }
body.tc-shell-page .info-section { padding: clamp(1.2rem,3vw,2rem); scroll-margin-top: 150px; }
body.tc-shell-page .highlight-box { background: rgba(34, 197, 94, 0.25); border-left-color: #4ade80; }
body.tc-shell-page .role-card { border-color: var(--glass-border); border-radius: 12px; background: rgba(235,223,194,.035); }

/* Toolkit */
body.tc-shell-page .decrypt-header { min-height: 82px; padding: 1rem clamp(1rem,3vw,2.5rem); border: 1px solid var(--glass-border); border-radius: 14px; background: linear-gradient(110deg,rgba(239,226,198,.05),rgba(239,226,198,.012)); }
body.tc-shell-page .decrypt-heading h1, body.tc-shell-page .decrypt-card h2 { color: #f4eddf; font-family: var(--font-display); letter-spacing: -.035em; }
body.tc-shell-page .tool-kicker { color: #4ade80; }
body.tc-shell-page .decrypt-card { border-color: var(--glass-border); border-radius: 14px; background: linear-gradient(145deg,rgba(239,226,198,.052),rgba(239,226,198,.02)); box-shadow: 0 14px 38px rgba(0,0,0,.16); }
body.tc-shell-page .access-open { border-color: rgba(124,180,147,.25); color: #a3d4b5; }
body.tc-shell-page .access-limited { border-color: rgba(34, 197, 94, 0.25); color: #86efac; }
body.tc-shell-page .start-job-btn { background: linear-gradient(135deg,#4ade80,#16a34a); color: #020d05; }
body.tc-shell-page .start-job-btn:hover { background: #4ade80; }
body.tc-shell-page .decrypt-btn { border-color: var(--glass-border); border-radius: 8px; color: #e4d7bd; }
body.tc-shell-page .mode-tab.active, body.tc-shell-page .credential-tab.active { border-color: rgba(34, 197, 94, 0.25); background: rgba(34, 197, 94, 0.15); }
body.tc-shell-page .runtime-helper-shell { margin-top: 1.3rem; }

/* Resource details */
body.tc-shell-page .detail-header { position: sticky; top: 0; z-index: 900; border-bottom-color: var(--glass-border); background: rgba(17,18,15,.9); backdrop-filter: blur(16px); }
body.tc-shell-page .detail-header { display: grid; grid-template-columns: auto auto minmax(0,1fr) auto; gap: 1rem; }
body.tc-shell-page .detail-brand { display: inline-flex; align-items: center; gap: .55rem; }
body.tc-shell-page .detail-brand .brand-mark { width: 32px; height: 32px; }
body.tc-shell-page .detail-brand .brand-word { font-size: .8rem; }
body.tc-shell-page .detail-header h1 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #f3ecdf; font-family: var(--font-display); }
body.tc-shell-page .detail-content { width: min(1380px,100%); gap: 1.1rem; }
body.tc-shell-page .video-section, body.tc-shell-page .script-info, body.tc-shell-page .comments-section, body.tc-shell-page .download-section, body.tc-shell-page .tebex-section { border-color: var(--glass-border); border-radius: 14px; background: linear-gradient(145deg,rgba(239,226,198,.05),rgba(239,226,198,.02)); box-shadow: 0 14px 38px rgba(0,0,0,.14); }
body.tc-shell-page .download-main-btn { background: linear-gradient(135deg,#4ade80,#16a34a); color: #020d05; }
body.tc-shell-page .download-main-btn:hover { background: #4ade80; }
body.tc-shell-page .detail-header .back-btn, body.tc-shell-page .detail-header .close-btn { color: #eee6d7; border-color: var(--glass-border); }
body.tc-shell-page .detail-header .back-btn { background: transparent; }
body.tc-shell-page .detail-header .close-btn { background: rgba(255,255,255,.035); }
body.tc-shell-page .comment-form input, body.tc-shell-page .report-form input, body.tc-shell-page .report-form textarea { border-color: var(--glass-border); background: rgba(255,255,255,.035); color: var(--text-primary); }

/* Release wizard */
body.tc-upload-page { min-height: 100vh; color: var(--text-primary); font-family: var(--font-ui); background-color: var(--bg-primary); background-image: radial-gradient(ellipse 58% 37% at 50% 0,rgba(34, 197, 94, 0.16),transparent 74%),linear-gradient(180deg, #070a08 0%, #050605 42%, #020302 100%); }
body.tc-upload-page .navbar { border-bottom: 1px solid var(--glass-border); background: rgba(17,18,15,.88); backdrop-filter: blur(18px); }
body.tc-upload-page .navbar-brand { color: #4ade80; font-family: var(--font-display); letter-spacing: .08em; }
body.tc-upload-page .container { width: min(920px,100%); padding: 2.5rem 1.25rem; }
body.tc-upload-page .wz-steps { margin: 0 auto 1.8rem; }
body.tc-upload-page .wz-step-circle { border-color: rgba(74, 222, 128,.2); background: #060a07; color: #a9a699; }
body.tc-upload-page .wz-step.active .wz-step-circle, body.tc-upload-page .wz-step.done .wz-step-circle { border-color: #4ade80; background: #4ade80; color: #020d05; box-shadow: 0 0 24px rgba(234,184,95,.18); }
body.tc-upload-page .wz-step-label { color: #88877d; }
body.tc-upload-page .wz-step.active .wz-step-label, body.tc-upload-page .wz-step.done .wz-step-label { color: #e7dec9; }
body.tc-upload-page .wz-card { overflow: hidden; border: 1px solid var(--glass-border); border-radius: 17px; background: linear-gradient(145deg,rgba(239,226,198,.055),rgba(239,226,198,.02)); box-shadow: 0 28px 80px rgba(0,0,0,.28); }
body.tc-upload-page .wz-panel { padding: clamp(1.3rem,4vw,2.5rem); }
body.tc-upload-page .wz-panel-title { color: #f4eddf; font-family: var(--font-display); letter-spacing: -.035em; }
body.tc-upload-page .wz-panel-sub { color: #aaa99e; }
body.tc-upload-page .wz-input, body.tc-upload-page .wz-textarea, body.tc-upload-page .wz-select, body.tc-upload-page .custom-select-display { border-color: rgba(74, 222, 128,.16); border-radius: 9px; background: rgba(18,19,16,.76); color: #f2ecdf; }
body.tc-upload-page .wz-input:focus, body.tc-upload-page .wz-textarea:focus, body.tc-upload-page .wz-select:focus, body.tc-upload-page .custom-select-display.open { border-color: rgba(234,184,95,.65); box-shadow: 0 0 0 3px rgba(234,184,95,.1); }
body.tc-upload-page .wz-file-area { border-color: rgba(74, 222, 128,.18); border-radius: 12px; background: rgba(239,226,198,.025); }
body.tc-upload-page .wz-file-area:hover { border-color: rgba(234,184,95,.48); background: rgba(234,184,95,.04); }
body.tc-upload-page .wz-toggle-btn.active { border-color: #4ade80; background: rgba(234,184,95,.11); color: #efc875; }
body.tc-upload-page .wz-actions { border-top-color: var(--glass-border); background: rgba(15,16,13,.72); }
body.tc-upload-page .wz-btn-next { background: #eee6d7; color: #020d05; }
body.tc-upload-page .wz-btn-publish { background: linear-gradient(135deg,#4ade80,#16a34a); color: #020d05; }
body.tc-upload-page .wz-notice { border-color: rgba(34, 197, 94, 0.25); background: rgba(34, 197, 94, 0.25); }
body.tc-upload-page .anonymous-toggle { border-color: var(--glass-border); background: rgba(239,226,198,.03); }

/* Community archive: refined amber/mint surfaces while preserving its own red warning accent. */
body.tc-shell-page.wall-of-shame { background: #050705; }
body.tc-shell-page .wos-header-bar { border-color: var(--glass-border); background: linear-gradient(120deg,rgba(239,226,198,.045),rgba(239,226,198,.015)); }
body.tc-shell-page .wos-text h2 { color: #f1eadc; font-family: var(--font-display); font-style: normal; letter-spacing: -.025em; }
body.tc-shell-page .wos-text p { color: #aaa69b; }
body.tc-shell-page .wos-search-area input { border-color: var(--glass-border); background: rgba(255,255,255,.035); color: #eee8dc; }
body.tc-shell-page .wos-card { border-color: rgba(74, 222, 128,.14); background: linear-gradient(155deg,rgba(95,34,36,.28),rgba(22,20,19,.96) 55%); }
body.tc-shell-page .wos-card:hover { border-color: rgba(234,115,110,.45)!important; box-shadow: 0 16px 42px rgba(0,0,0,.3),0 0 24px rgba(197,65,62,.12)!important; }
body.tc-shell-page .restricted-overlay { background: radial-gradient(circle at 50% 42%,rgba(93,36,31,.44),rgba(16,17,15,.98) 62%); }
body.tc-shell-page .dashboard { padding-top: 68px; }
body.tc-shell-page .enter-btn { border-radius: 9px; background: linear-gradient(135deg,#d86a5e,#a83c39); }

body.tc-shell-page.wall-of-shame .dashboard { padding-top: 68px; }
body.tc-shell-page.wall-of-shame .taskbar-brand .brand-mark img { width: 100%; height: 100%; object-fit: cover; }
body.tc-shell-page.wall-of-shame .taskbar-nav { height: 100%; }
body.tc-shell-page.wall-of-shame .taskbar-right { align-items: center; }
body.tc-shell-page.wall-of-shame .taskbar-right .btn { border-radius: 8px; }
@media (max-width: 760px) {
    body.tc-shell-page.wall-of-shame .dashboard { padding-top: 0; }
    body.tc-shell-page .detail-header { grid-template-columns: auto auto minmax(0,1fr) auto; gap: .55rem; padding: .7rem .8rem; }
    body.tc-shell-page .detail-brand .brand-word { display: none; }
    body.tc-shell-page .detail-header h1 { font-size: .88rem; }
    body.tc-shell-page .detail-content { padding: .8rem; }
    body.tc-shell-page .wos-header-bar { flex-wrap: wrap; gap: 1rem; padding: 1.1rem; }
    body.tc-shell-page .wos-search-area { width: 100%; }
    body.tc-shell-page .wos-search-area .search-box { flex: 1; min-width: 0; }
    body.tc-shell-page .wos-search-area .search-box input { width: 100%; box-sizing: border-box; }
    body.tc-shell-page .wos-grid { grid-template-columns: minmax(0,1fr); }
    body.tc-shell-page .wos-container { padding: 12px; }
    body.tc-shell-page .restricted-content h1 { font-family: var(--font-display); font-size: clamp(1.5rem,7vw,2rem); }
    body.tc-shell-page .restricted-content p { font-size: .72rem; line-height: 1.7; }
    body.tc-shell-page .wos-container::after { animation: none; opacity: .22; }
    body.tc-shell-page .restricted-content { width: min(92vw,420px); padding: 1.3rem; }
    .tc-page-header { position: sticky; flex-wrap: wrap; gap: .4rem; min-height: 0; padding: .55rem .85rem; }
    .tc-page-header nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; border-top: 1px solid var(--glass-border); padding-top: .35rem; }
    .tc-page-header nav a { flex: 0 0 auto; min-height: 34px; padding: 0 .6rem; font-size: .69rem; }
    .tc-page-action { margin-left: auto; }
    .tc-page-main { padding: 1rem; }
    body.tc-shell-page .info-page { padding: 1rem; }
    body.tc-shell-page .info-nav { top: 106px; }
    body.tc-shell-page .info-nav a { padding: .55rem .72rem; font-size: .71rem; }
    body.tc-shell-page .decrypt-header { gap: .6rem; }
    body.tc-upload-page .container { padding: 1rem .75rem; }
    body.tc-upload-page .wz-actions { padding: 1rem; }
    .tc-page-footer { padding: .9rem 1rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { .tc-shell-page *, .tc-shell-page *::before, .tc-shell-page *::after { scroll-behavior: auto; animation-duration: .01ms!important; transition-duration: .01ms!important; } }

/* Dashboard foundations */
body {
    font-family: var(--font-ui);
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(ellipse 58% 37% at 50% 8%, rgba(34, 197, 94, 0.15), transparent 74%),
        radial-gradient(ellipse 34% 28% at 88% 42%, rgba(74, 222, 128, 0.1), transparent 74%),
        linear-gradient(180deg, #070a08 0%, #050605 42%, #020302 100%);
    color: var(--text-primary);
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .22;
    background-image: linear-gradient(rgba(34, 197, 94, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 197, 94, 0.05) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black 0%, transparent 72%);
}
::selection { color: #020d05; background: #22c55e; }
:focus-visible { outline: 2px solid #22c55e; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.dashboard { max-width: 1760px; padding: 76px 3.5rem 0; }
.top-taskbar {
    box-sizing: border-box;
    height: 68px;
    padding: 0 max(3.5rem, calc((100vw - 1640px) / 2));
    background: rgba(17, 18, 15, .82);
    border-bottom-color: rgba(228, 206, 165, .12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
}
.taskbar-brand { gap: .7rem; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; box-shadow: 0 4px 18px rgba(34, 197, 94, 0.3); }
.brand-word { font-family: var(--font-display); font-size: 1rem; letter-spacing: .095em; }
.brand-word strong { color: var(--accent-primary); }
.taskbar-nav { gap: .3rem; }
.taskbar-link { height: 40px; border-radius: 8px; color: #89887e; }
.taskbar-link.active { color: #f3ecdf; background: rgba(232, 203, 153, .055); }
.taskbar-link.active::after { bottom: -14px; left: 24%; right: 24%; height: 2px; background: var(--accent-primary); }
.taskbar-link:hover { color: var(--text-primary); background: rgba(232, 203, 153, .045); }
.taskbar-pill, .locale-pill, .music-pill { border-radius: 8px; color: #aaa69b; border-color: rgba(74, 222, 128, .14); }
.upload-pill { background: linear-gradient(135deg, #4ade80, #16a34a); color: #020d05; box-shadow: 0 5px 16px rgba(34, 197, 94, 0.3); }
.taskbar-login-btn { background: #22c55e; color: #020d05; border-radius: 8px; }

.fl-hero.tc-hero {
    isolation: isolate;
    position: relative;
    min-height: 480px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, .93fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 6rem);
    text-align: left;
    padding: clamp(3.4rem, 7vw, 6rem) clamp(1rem, 3vw, 3rem) 3.1rem;
    overflow: hidden;
}
.tc-hero-copy { max-width: 640px; position: relative; z-index: 2; }
.tc-hero-eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.45rem; color: #4ade80; font-size: .67rem; font-weight: 700; letter-spacing: .19em; }
.tc-eyebrow-pulse { width: 8px; height: 8px; border-radius: 50%; background: #88bb95; box-shadow: 0 0 0 4px rgba(136, 187, 149, .1), 0 0 15px rgba(136, 187, 149, .45); }
.tc-hero-title { margin-bottom: 1.1rem; font-family: var(--font-display); font-size: clamp(3.5rem, 6.25vw, 6.25rem); font-weight: 600; letter-spacing: -.075em; line-height: .97; }
.tc-hero-title .fl-hero-gradient { color: #4ade80; background: linear-gradient(100deg, #86efac 0%, #22c55e 48%, #15803d 100%); -webkit-background-clip: text; background-clip: text; }
.tc-hero-subtitle { max-width: 520px; margin-bottom: 1.4rem; color: #aaa99e; font-size: .98rem; line-height: 1.8; }
.tc-hero-subtitle strong { color: #e5dfd2; font-weight: 600; }
.tc-hero-search { box-sizing: border-box; width: min(100%, 500px); min-height: 58px; display: flex; align-items: center; gap: .85rem; padding: .45rem .55rem .45rem 1rem; border: 1px solid rgba(34, 197, 94, 0.35); border-radius: 12px; background: rgba(8, 16, 10, 0.85); box-shadow: 0 16px 40px rgba(0, 0, 0, .15), inset 0 1px rgba(255,255,255,.025); transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.tc-hero-search:focus-within { border-color: rgba(74, 222, 128, 0.8); background: rgba(10, 22, 13, 0.92); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2), 0 16px 40px rgba(0,0,0,.2); }
.tc-search-icon { color: #4ade80; font-size: .9rem; }
.tc-hero-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: #f4eee3; font: 500 .86rem var(--font-ui); }
.tc-hero-search input::placeholder { color: #817f75; }
.tc-hero-search input::-webkit-search-cancel-button { filter: grayscale(1) brightness(1.8); }
.tc-hero-search button { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 0; border-radius: 9px; background: linear-gradient(145deg, #4ade80, #16a34a); color: #020d05; cursor: pointer; transition: transform .18s ease, filter .18s ease; }
.tc-hero-search button:hover { transform: translateX(2px); filter: brightness(1.08); }
.tc-hero-meta { display: flex; align-items: center; gap: .5rem; margin: .85rem 0 1.45rem; }
.tc-hero-meta-label { margin-right: .16rem; color: #73756d; font-size: .59rem; font-weight: 700; letter-spacing: .12em; }
.tc-framework-tag { padding: .28rem .55rem; border: 1px solid rgba(34, 197, 94, 0.2); border-radius: 5px; background: rgba(255, 255, 255, .025); color: #b9b6aa; font-size: .62rem; font-weight: 600; letter-spacing: .03em; }
.tc-hero-cta { justify-content: flex-start; gap: .6rem; margin: 0; }
.tc-hero-cta .fl-hero-btn { height: 44px; padding: 0 1.1rem; border-radius: 9px; font-size: .77rem; }
.tc-hero-cta .fl-hero-btn-primary { background: #eee6d7; color: #020d05; }
.tc-hero-cta .fl-hero-btn-primary:hover { background: #fff5e1; transform: translateY(-1px); }
.tc-hero-cta .fl-hero-btn-secondary { color: #ccc4b5; border-color: rgba(74, 222, 128, .16); }
.tc-hero-art { min-width: 0; position: relative; aspect-ratio: 1.24; display: grid; place-items: center; }
.tc-hero-art::before { content: ''; position: absolute; inset: 11% 0 4%; border: 1px solid rgba(34, 197, 94, 0.18); border-radius: 52% 48% 47% 53% / 45% 49% 51% 55%; transform: rotate(-9deg); }
.tc-hero-art::after { content: ''; position: absolute; inset: 18% 8% 11%; border: 1px dashed rgba(34, 197, 94, 0.2); border-radius: 50%; transform: rotate(24deg); }
.tc-hero-art-glow { position: absolute; inset: 11%; border-radius: 50%; background: radial-gradient(ellipse, rgba(34, 197, 94, 0.25), rgba(97, 122, 95, .09) 43%, transparent 72%); filter: blur(12px); }
.tc-city-map { position: relative; z-index: 1; width: 110%; max-width: 620px; overflow: visible; filter: drop-shadow(0 25px 40px rgba(0,0,0,.3)); }
.tc-art-stamp { position: absolute; z-index: 3; padding: .6rem .95rem; border: 1px solid rgba(34, 197, 94, 0.3); border-radius: 999px; background: rgba(4, 12, 6, 0.92); backdrop-filter: blur(12px); color: #d7cfbc; font-size: .7rem; font-weight: 700; letter-spacing: .07em; white-space: nowrap; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.tc-art-stamp-top { top: 17%; right: 4%; }
.tc-art-stamp-dot { display: inline-block; width: 6px; height: 6px; margin-right: .38rem; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px rgba(237,180,85,.8); }
.tc-art-stamp-bottom { left: 3%; bottom: 17%; }
.tc-art-stamp-spark { color: #4ade80; margin-right: .35rem; }
.tc-art-panel { position: absolute; right: 0; bottom: 6%; z-index: 4; width: min(286px, 70%); padding: 1rem 1.05rem .8rem; border: 1px solid rgba(34, 197, 94, 0.35); border-radius: 14px; background: linear-gradient(145deg, rgba(6, 16, 9, 0.98), rgba(2, 8, 4, 0.98)); box-shadow: 0 24px 56px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.04); backdrop-filter: blur(18px); transform: rotate(-2deg); }
.tc-art-panel-head { display: flex; align-items: center; gap: .7rem; }
.tc-art-panel-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(74, 222, 128, 0.35); border-radius: 10px; background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.tc-art-panel-head small, .tc-art-panel-head strong { display: block; }
.tc-art-panel-head small { margin-bottom: .24rem; color: #b0aa9c; font-size: .6rem; font-weight: 700; letter-spacing: .06em; }
.tc-art-panel-head strong { color: #f4eddf; font: 600 .96rem var(--font-display); }
.tc-art-panel-arrow { margin-left: auto; color: #868477; font-size: .67rem; }
.tc-art-categories { display: flex; gap: .4rem; padding: .9rem 0 .78rem; }
.tc-art-categories span { display: flex; align-items: center; gap: .34rem; padding: .4rem .5rem; border: 1px solid rgba(34, 197, 94, 0.2); border-radius: 6px; background: rgba(255, 255, 255, .03); color: #d2ccbe; font-size: .56rem; font-weight: 700; letter-spacing: .02em; }
.tc-art-categories i { color: #4ade80; font-size: .6rem; }
.tc-art-panel-footer { display: flex; justify-content: space-between; padding-top: .66rem; border-top: 1px solid rgba(34, 197, 94, 0.2); color: #b4b0a2; font-size: .62rem; }
.tc-art-panel-footer i { margin-right: .25rem; color: #8dc39a; }
.tc-art-panel-footer span:last-child { color: #4ade80; font-weight: 700; letter-spacing: .1em; }

.banner-row { margin: 0 0 1.45rem; }
.dashboard-top-banner { margin-bottom: 1rem; }
.fl-stats-bar { gap: .72rem; margin-bottom: .7rem; }
.fl-stat-tile { min-width: 140px; padding: .95rem 1.05rem; border-color: rgba(74, 222, 128,.12); border-radius: 11px; background: linear-gradient(145deg, rgba(34, 197, 94, 0.05), rgba(34, 197, 94, 0.02)); }
.fl-stat-tile:hover { border-color: rgba(74, 222, 128, 0.3); background: rgba(34, 197, 94, 0.05); }
.fl-stat-label { color: #8e8c80; font-size: .65rem; letter-spacing: .075em; }
.fl-stat-value { font-family: var(--font-display); color: #f3ead9; font-size: 1.38rem; letter-spacing: -.04em; }
.fl-stat-latest .fl-stat-value { color: #4ade80; }
.premium-callout-new { min-height: 68px; padding: .7rem .85rem; border-color: rgba(34, 197, 94, 0.3); border-radius: 11px; background: linear-gradient(110deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.04)); }
.premium-callout-new:hover { border-color: rgba(74, 222, 128, 0.35); background: rgba(34, 197, 94, 0.15); }
.premium-icon-new { color: #4ade80; }
.premium-btn-new { border-color: rgba(34, 197, 94, 0.25); color: #4ade80; }

.content-shell { gap: 1.4rem; }
.sidebar, .fv-sidebar { width: 248px; top: 78px; height: calc(100vh - 86px); padding: 1.1rem .8rem 1.1rem 0; border-right-color: rgba(74, 222, 128,.1); }
.sidebar-filters { gap: 1.15rem; }
.fl-label { color: #9a9587; font-size: .62rem; letter-spacing: .13em; }
.fl-search-input, .fl-custom-select-trigger { border-color: rgba(74, 222, 128,.13); border-radius: 8px; background: rgba(238,224,197,.035); color: #d6d0c3; }
.fl-search-input:focus, .fl-custom-select-trigger:hover { border-color: rgba(74, 222, 128, 0.5); background: rgba(238,224,197,.055); }
.fl-pricing-btn { border-radius: 8px !important; }
.fl-cat-btn { border-radius: 8px; }
.fl-cat-btn.active { background: linear-gradient(100deg, rgba(34, 197, 94, 0.25), rgba(34, 197, 94, 0.25)); }
.main-content { padding-left: .65rem; }
.fv-toolbar, .fv-toolbar-fivevault { padding: .55rem 0; }
.fv-releases-count { color: #aaa69b; }
.fv-releases-count strong { color: #4ade80; }
.scripts-grid { gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(244px, 1fr)); }
.script-card { border-color: rgba(74, 222, 128,.13); border-radius: 12px; background: linear-gradient(145deg, rgba(239,226,198,.048), rgba(239,226,198,.022)); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.script-card:hover { border-color: rgba(74, 222, 128, 0.4); transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,.26), 0 0 0 1px rgba(34, 197, 94, 0.15); }
.card-image { background: #070c08; }
.card-image img { filter: saturate(.86); }
.card-title { color: #eee8dc; font-family: var(--font-display); letter-spacing: -.025em; }
.card-meta { color: #858479; }
.card-badge.category { backdrop-filter: blur(12px); }
.card-badge.vip { background: #22c55e; color: #020d05; }
.card-badge.new { background: rgba(127,177,146,.95); color: #142119; }
.fl-bookmark-btn { border-radius: 8px; }

::selection { color: #020d05; background: #22c55e; }

@media (min-width: 1600px) {
    .dashboard { padding-left: 4rem; padding-right: 4rem; }
    .fl-hero.tc-hero { min-height: 520px; }
}
@media (max-width: 1280px) {
    .dashboard { padding-right: 1.5rem; padding-left: 1.5rem; }
    .top-taskbar { padding-right: 1.5rem; padding-left: 1.5rem; }
    .tc-hero-art { opacity: .85; }
    .fl-hero.tc-hero { gap: 2rem; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr); }
}
@media (max-width: 1024px) {
    .dashboard { padding: 65px 0 0; }
    .top-taskbar { height: 62px; padding: 0 1.2rem; }
    .fl-hero.tc-hero { min-height: 0; padding: 4rem 1.5rem 2.8rem; grid-template-columns: minmax(0, 1fr) minmax(285px, .85fr); }
    .tc-hero-title { font-size: clamp(3.25rem, 7vw, 5.2rem); }
    .tc-hero-art { transform: scale(.96); }
    .banner-row { padding: 0 1.5rem !important; }
    .content-shell { gap: 0; }
    .sidebar, .fv-sidebar { display: block !important; position: static !important; width: 100% !important; height: auto !important; max-height: none !important; padding: .8rem 1.5rem !important; border: 0 !important; border-bottom: 1px solid rgba(74, 222, 128,.1) !important; }
    .sidebar-filters { display: grid !important; grid-template-columns: minmax(0, 1.2fr) minmax(150px, .8fr); gap: .65rem .8rem !important; }
    .filter-block:nth-child(1), .filter-block:nth-child(2), .filter-block:nth-child(3), .filter-block:nth-child(4) { min-width: 0 !important; flex: initial !important; }
    .filter-block:nth-child(4) { grid-column: 1 / -1; }
    .fl-label { display: block !important; }
    .fl-cat-list { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: .45rem !important; overflow-x: auto !important; padding: .1rem .1rem .45rem !important; scrollbar-width: none; }
    .fl-cat-list::-webkit-scrollbar { display: none !important; }
    .fl-cat-btn { flex: 0 0 auto !important; }
    .main-content { padding: .25rem 1.5rem 2rem !important; }
}
@media (max-width: 768px) {
    .dashboard { padding-top: 0 !important; }
    .top-taskbar { position: sticky; top: 0; height: auto !important; min-height: 60px; flex-wrap: nowrap !important; padding: .65rem 1rem !important; gap: .5rem !important; }
    .brand-word { display: inline; font-size: .92rem; }
    .brand-mark { width: 32px; height: 32px; }
    .taskbar-nav { display: flex !important; position: static !important; order: 3; transform: none !important; width: 100% !important; justify-content: center !important; padding-top: .5rem; border-top: 1px solid rgba(74, 222, 128,.1); }
    .taskbar-link { flex: 1; justify-content: center; height: 34px; padding: 0 .4rem; }
    .taskbar-link span { display: none !important; }
    .taskbar-link.active::after { bottom: -2px; }
    .taskbar-actions { flex: 0 0 auto; justify-content: flex-end !important; gap: .35rem !important; }
    .taskbar-actions > *:not(.locale-switcher-wrap):not(.taskbar-login-btn):not(.taskbar-avatar):not(.music-pill) { display: none !important; }
    .taskbar-pill, .locale-pill, .music-pill { height: 34px; padding: 0 .55rem; }
    .taskbar-nav { order: 3; }
    .top-taskbar { flex-wrap: wrap !important; }
    .fl-hero.tc-hero { display: flex; min-height: 0; flex-direction: column; align-items: stretch; gap: .5rem; padding: 3rem 1.25rem 2rem !important; }
    .tc-hero-copy { max-width: none; }
    .tc-hero-eyebrow { margin-bottom: 1rem; font-size: .59rem; }
    .tc-hero-title { margin-bottom: .8rem; font-size: clamp(3.45rem, 13vw, 5.5rem) !important; }
    .tc-hero-subtitle { max-width: 540px; font-size: .88rem !important; }
    .tc-hero-search { height: 54px; }
    .tc-hero-art { width: min(100%, 550px); margin: .8rem auto 0; aspect-ratio: 1.38; transform: none; }
    .tc-city-map { width: 103%; }
    .tc-art-panel { right: 1%; bottom: 1%; width: min(270px, 74%); }
    .tc-art-stamp-top { top: 9%; right: 0; }
    .tc-art-stamp-bottom { left: 0; bottom: 15%; }
    .fl-hero-cta { flex-direction: row !important; align-items: center !important; }
    .fl-hero-btn { width: auto !important; justify-content: center; }
    .banner-row { padding: 0 1rem !important; margin-bottom: .5rem !important; }
    .fl-stats-bar { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem !important; }
    .fl-stat-tile { min-width: 0 !important; padding: .75rem !important; }
    .fl-stat-latest .fl-stat-value { font-size: .93rem !important; }
    .fl-stat-value { font-size: 1.15rem !important; }
    .premium-callout-new { min-height: 0; grid-column: 1 / -1; flex-direction: row !important; text-align: left; }
    .premium-left-new { flex-direction: row !important; }
    .premium-text-new small { display: block; }
    .sidebar, .fv-sidebar { padding: .8rem 1rem !important; }
    .sidebar-filters { grid-template-columns: minmax(0,1fr) minmax(125px,.72fr); }
    .filter-block:nth-child(3) { grid-column: 1 / -1; }
    .filter-block:nth-child(4) { grid-column: 1 / -1; }
    .main-content { padding: .3rem 1rem 1.5rem !important; }
    .scripts-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)) !important; }
}
@media (max-width: 480px) {
    .taskbar-actions .music-pill { display: none; }
    .fl-hero.tc-hero { padding: 2.5rem 1rem 1.5rem !important; }
    .tc-hero-title { font-size: clamp(3.15rem, 14vw, 4.2rem) !important; }
    .tc-hero-meta { gap: .35rem; }
    .tc-framework-tag { padding: .25rem .42rem; font-size: .57rem; }
    .tc-hero-cta { flex-direction: column !important; align-items: stretch !important; gap: .55rem; }
    .tc-hero-btn { width: 100% !important; }
    .tc-hero-art { margin-top: .3rem; }
    .tc-art-stamp { font-size: .62rem; padding: .5rem .8rem; }
    .tc-art-panel { width: min(240px, 80%); padding: .8rem; }
    .tc-art-categories { gap: .25rem; }
    .tc-art-categories span { padding: .34rem .42rem; font-size: .52rem; }
    .tc-art-panel-footer { font-size: .56rem; }
    .sidebar-filters { grid-template-columns: 1fr; }
    .filter-block:nth-child(1), .filter-block:nth-child(2), .filter-block:nth-child(3), .filter-block:nth-child(4) { grid-column: auto; }
    .fl-stats-bar { grid-template-columns: 1fr 1fr; }
    .scripts-grid { grid-template-columns: 1fr !important; }
    .card-image { height: 185px; }
}
/* ==================== HERO CURSOR PARALLAX (depth) ==================== */
/* Each layer drifts a different amount toward the cursor for subtle depth.
   Driven by --px / --py (normalized -1..1) set by JS on .tc-hero-art. */
.tc-hero-art { --px: 0; --py: 0; }
.tc-hero-art .tc-hero-art-glow,
.tc-hero-art .tc-city-map,
.tc-hero-art .tc-art-stamp,
.tc-hero-art .tc-art-panel { transition: transform .6s cubic-bezier(.16, 1, .3, 1); will-change: transform; }
/* Deep layer (glow) moves least; scene a touch more; floating labels/panel move most. */
.tc-hero-art .tc-hero-art-glow { transform: translate3d(calc(var(--px) * 6px), calc(var(--py) * 6px), 0); }
.tc-hero-art .tc-city-map     { transform: translate3d(calc(var(--px) * -10px), calc(var(--py) * -10px), 0); }
.tc-hero-art .tc-art-stamp-top    { transform: translate3d(calc(var(--px) * 16px), calc(var(--py) * 16px), 0); }
.tc-hero-art .tc-art-stamp-bottom { transform: translate3d(calc(var(--px) * 20px), calc(var(--py) * 20px), 0); }
.tc-hero-art .tc-art-panel { transform: translate3d(calc(var(--px) * 24px), calc(var(--py) * 24px), 0) rotate(-2deg); }
/* Snap back to rest when the pointer leaves (JS clears the vars -> all hit 0). */
.tc-hero-art:not(.is-tracking) .tc-hero-art-glow,
.tc-hero-art:not(.is-tracking) .tc-city-map,
.tc-hero-art:not(.is-tracking) .tc-art-stamp,
.tc-hero-art:not(.is-tracking) .tc-art-panel { transform: translate3d(0,0,0) rotate(var(--rest-rotate, 0deg)); }
.tc-hero-art:not(.is-tracking) .tc-art-panel { --rest-rotate: -2deg; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==================== BIGSEVEN7 GREEN BLACK THEME OVERRIDES ==================== */
:root {
  --bg-primary: #050605 !important;
  --bg-secondary: #080c09 !important;
  --bg-card: rgba(10, 22, 13, 0.7) !important;
  --accent-primary: #22c55e !important;
  --accent-primary-hover: #4ade80 !important;
  --accent-secondary: #10b981 !important;
  --accent-light: #86efac !important;
  --accent-glow: 0 0 25px rgba(34, 197, 94, 0.45) !important;
  --glass-border: rgba(34, 197, 94, 0.2) !important;
  --glass-border-light: rgba(74, 222, 128, 0.35) !important;
  --text-primary: #fafafa !important;
  --text-secondary: #a1a1aa !important;
}

body {
  background-color: #050605 !important;
  background-image: radial-gradient(ellipse 70% 45% at 50% 5%, rgba(34, 197, 94, 0.16), transparent 75%),
                    linear-gradient(180deg, #070a08 0%, #050605 45%, #020302 100%) !important;
  color: #fafafa !important;
}

.taskbar-brand .brand-mark {
  border: 1px solid rgba(74, 222, 128, 0.45) !important;
  border-radius: 9px !important;
  overflow: hidden !important;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.35) !important;
}

.taskbar-brand .brand-mark img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.taskbar-login-btn {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #000000 !important;
  font-weight: 750 !important;
  border: 1px solid #4ade80 !important;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.45) !important;
  border-radius: 8px !important;
}

.taskbar-login-btn:hover {
  background: #4ade80 !important;
  color: #000000 !important;
  box-shadow: 0 0 26px rgba(74, 222, 128, 0.7) !important;
  transform: translateY(-1px);
}

.tc-hero-title .fl-hero-gradient, .fl-hero-gradient {
  color: #4ade80 !important;
  background: linear-gradient(135deg, #ffffff 15%, #86efac 45%, #22c55e 75%, #15803d 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 30px rgba(34, 197, 94, 0.4)) !important;
}

.tc-hero-search {
  border: 1px solid rgba(34, 197, 94, 0.35) !important;
  background: rgba(8, 18, 11, 0.88) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(34, 197, 94, 0.12) !important;
}

.tc-hero-search:focus-within {
  border-color: #4ade80 !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25), 0 0 25px rgba(34, 197, 94, 0.35) !important;
}

.tc-hero-search button {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%) !important;
  color: #000000 !important;
  border: none !important;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.45) !important;
}

.tc-hero-search button:hover {
  background: #86efac !important;
  box-shadow: 0 0 25px rgba(74, 222, 128, 0.75) !important;
}

.tc-search-icon {
  color: #4ade80 !important;
}

.tc-hero-eyebrow {
  color: #4ade80 !important;
}

.tc-eyebrow-pulse {
  background: #4ade80 !important;
  box-shadow: 0 0 12px #4ade80, 0 0 25px #22c55e !important;
}

.tc-hero-cta .fl-hero-btn-primary {
  background: #22c55e !important;
  color: #000000 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.35) !important;
}

.tc-hero-cta .fl-hero-btn-primary:hover {
  background: #4ade80 !important;
  box-shadow: 0 0 28px rgba(74, 222, 128, 0.6) !important;
}

.tc-hero-cta .fl-hero-btn-secondary {
  border-color: rgba(34, 197, 94, 0.3) !important;
  color: #86efac !important;
}

.tc-hero-cta .fl-hero-btn-secondary:hover {
  background: rgba(34, 197, 94, 0.12) !important;
  border-color: #4ade80 !important;
}

.tc-hero-art-glow {
  background: radial-gradient(ellipse, rgba(34, 197, 94, 0.28), rgba(16, 185, 129, 0.1) 45%, transparent 72%) !important;
  filter: blur(16px) !important;
}

.tc-art-panel {
  border: 1px solid rgba(34, 197, 94, 0.35) !important;
  background: linear-gradient(145deg, rgba(8, 20, 11, 0.96), rgba(3, 8, 4, 0.98)) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(34, 197, 94, 0.18) !important;
}

.tc-art-panel-icon {
  border-color: rgba(74, 222, 128, 0.4) !important;
  background: rgba(34, 197, 94, 0.18) !important;
  color: #4ade80 !important;
}

.tc-art-categories span {
  border-color: rgba(34, 197, 94, 0.25) !important;
  background: rgba(34, 197, 94, 0.08) !important;
  color: #86efac !important;
}

.tc-art-categories i {
  color: #4ade80 !important;
}

.tc-art-panel-footer span:last-child {
  color: #4ade80 !important;
}

.tc-art-stamp {
  border-color: rgba(34, 197, 94, 0.35) !important;
  background: rgba(6, 15, 8, 0.94) !important;
  color: #86efac !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(34, 197, 94, 0.15) !important;
}

.tc-art-stamp-dot {
  background: #4ade80 !important;
  box-shadow: 0 0 10px #4ade80, 0 0 20px #22c55e !important;
}

.tc-art-stamp-spark {
  color: #4ade80 !important;
}

.fl-cat-btn.active, .taskbar-link.active {
  color: #4ade80 !important;
}

.fl-cat-btn.active {
  background: linear-gradient(100deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.05)) !important;
  border-color: rgba(74, 222, 128, 0.4) !important;
}

.taskbar-link.active::after {
  background: #22c55e !important;
  box-shadow: 0 0 10px #22c55e !important;
}
