        :root {
            --bg: #000000;
            --bg-darker: #000000;
            --bg-card: rgba(10, 10, 10, 0.97);
            --bg-input: rgba(18, 18, 18, 0.9);
            --text: #d4d4d4;
            --muted: #555555;
            --primary: #888888;
            --primary-d: #555555;
            --silver: #c0c0c0;
            --silver-bright: #e8e8e8;
            --green: #22c55e;
            --red: #ef4444;
            --yellow: #eab308;
            --error: #f87171;
            --border: rgba(255, 255, 255, 0.07);
            --border-focus: rgba(180, 180, 180, 0.5);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html,
        body {
            height: 100%;
        }

        body {
            font-family: 'Poppins', system-ui, sans-serif;
            background: #000;
            color: var(--text);
            min-height: 100vh;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        input,
        button {
            font-family: 'Poppins', system-ui, sans-serif;
        }

        #particles-js {
            position: fixed;
            inset: 0;
            z-index: -1;
            background: #000;
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .shortcut-bar {
            margin-top: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            padding: 0.6rem 0.9rem;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 0.9rem;
            background: rgba(12, 12, 12, 0.75);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .shortcut-left {
            display: flex;
            align-items: center;
            gap: 0.65rem;
            min-width: 0;
        }

        .shortcut-icon {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            box-shadow: 0 0 10px rgba(180, 180, 180, 0.2);
        }

        .shortcut-title {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--silver-bright);
            letter-spacing: 0.02em;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .shortcut-right {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-shrink: 0;
        }

        .history-btn {
            padding: 0.35rem 0.8rem;
            font-size: 0.65rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #cfcfcf;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.04);
            cursor: pointer;
        }

        .history-btn:hover {
            color: var(--silver-bright);
        }

        .shortcut-pill {
            padding: 0.2rem 0.6rem;
            font-size: 0.6rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #a5a5a5;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.04);
        }

        header {
            padding: 2.5rem 0 1rem;
            text-align: center;
        }

        .logo {
            font-size: 2rem;
            font-weight: 700;
            background: linear-gradient(90deg, #e8e8e8, #888888, #c0c0c0);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: none;
            animation: glowPulse 3s ease-in-out infinite;
        }

        .hero {
            padding: 6rem 0 8rem;
            text-align: center;
        }

        .hero h1 {
            font-size: clamp(2rem, 7vw, 4.5rem);
            font-weight: 700;
            margin-bottom: 1.2rem;
            text-shadow:
                0 0 10px rgba(180, 180, 180, 0.4),
                0 0 25px rgba(120, 120, 120, 0.2);
        }

        .hero p {
            font-size: 1.15rem;
            color: var(--muted);
            max-width: 540px;
            margin: 0 auto 2.5rem;
        }

        .input-group {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            max-width: 680px;
            margin: 0 auto;
        }

        #mainInput {
            width: 100%;
            padding: 1.2rem 1.6rem;
            font-size: 1.1rem;
            background: var(--bg-input);
            border: 1px solid var(--border);
            border-radius: 1rem;
            color: white;
            outline: none;
            transition: border-color 0.25s, box-shadow 0.25s;
        }

        #mainInput::placeholder {
            color: var(--muted);
        }

        #mainInput:focus {
            border-color: var(--border-focus);
            box-shadow:
                0 0 0 3px rgba(160, 160, 160, 0.12),
                0 0 16px rgba(140, 140, 140, 0.18);
        }

        #mainScanBtn {
            padding: 1.1rem 2.8rem;
            font-size: 1.1rem;
            font-weight: 600;
            background: linear-gradient(135deg, #707070, #2a2a2a);
            color: #e0e0e0;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 1rem;
            cursor: pointer;
            transition: all .3s;
            box-shadow: 0 0 14px rgba(150, 150, 150, 0.2);
            width: 100%;
        }

        #mainScanBtn:hover {
            transform: translateY(-2px);
            box-shadow:
                0 8px 22px rgba(0, 0, 0, .6),
                0 0 20px rgba(200, 200, 200, 0.15);
        }

        #mainScanBtn:active {
            transform: translateY(0);
        }

        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, .92);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            opacity: 0;
            pointer-events: none;
            transition: opacity .35s;
            padding: 1rem;
        }

        .modal-overlay.open {
            opacity: 1;
            pointer-events: all;
        }

        .history-item {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            padding: 0.55rem 0.7rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
            font-size: 0.72rem;
            color: #cfcfcf;
            gap: 0.4rem;
        }

        .history-item:last-child {
            border-bottom: none;
        }

        .history-url {
            word-break: break-all;
            flex: 1;
            min-width: 0;
        }

        .history-time {
            color: var(--muted);
            font-size: 0.62rem;
            flex-shrink: 0;
        }

        .history-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.6rem;
        }

        #historyPopup .modal-content {
            max-width: 520px;
        }

        .history-actions {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            flex-shrink: 0;
        }

        .history-toggle {
            padding: 0.25rem 0.55rem;
            font-size: 0.6rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #cfcfcf;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 0.6rem;
            background: rgba(255, 255, 255, 0.04);
            cursor: pointer;
        }

        .history-full {
            display: none;
            color: var(--silver-bright);
            font-size: 0.85rem;
            word-break: break-all;
            padding: 0.5rem 0.6rem;
            border-radius: 0.6rem;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .history-full.show {
            display: block;
        }

        #historyPopup .result-item {
            opacity: 1;
            transform: none;
            animation: none;
            padding: 0.35rem 0.5rem;
        }

        .modal-content {
            background: rgba(13, 13, 13, 0.99);
            border: 1px solid rgba(255, 255, 255, .1);
            border-radius: .9rem;
            width: 100%;
            max-width: 360px;
            height: auto;
            max-height: 92vh;
            display: flex;
            flex-direction: column;
            position: relative;
            box-shadow: 0 30px 70px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .04);
            overflow: hidden;
        }

        .modal-body {
            overflow-y: auto;
            flex: 1;
            padding: .2rem 0;
            scrollbar-width: thin;
            scrollbar-color: rgba(150, 150, 150, .2) transparent;
        }

        .modal-body::-webkit-scrollbar {
            width: 3px;
        }

        .modal-body::-webkit-scrollbar-track {
            background: transparent;
        }

        .modal-body::-webkit-scrollbar-thumb {
            background: rgba(150, 150, 150, .2);
            border-radius: 99px;
        }

        .modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: .7rem 1rem .7rem 1.1rem;
            border-bottom: 1px solid rgba(255, 255, 255, .06);
            margin-bottom: .4rem;
            flex-shrink: 0;
        }

        .modal-header-left {
            display: flex;
            align-items: center;
            gap: .5rem;
            min-width: 0;
        }

        .modal-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--green);
            flex-shrink: 0;
            box-shadow: 0 0 5px rgba(34, 197, 94, .6);
        }

        .modal-url {
            font-size: .78rem;
            font-weight: 600;
            color: var(--text);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .modal-label {
            font-size: .65rem;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
            color: var(--muted);
            flex-shrink: 0;
        }

        .close-btn {
            font-size: 1.3rem;
            line-height: 1;
            color: var(--muted);
            cursor: pointer;
            transition: color 0.2s;
            flex-shrink: 0;
            padding: .1rem .3rem;
        }

        .close-btn:hover {
            color: var(--text);
        }

        .result-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: .28rem .7rem;
            margin: 0;
            border-radius: .4rem;
            background: transparent;
            border-bottom: 1px solid rgba(255, 255, 255, .04);
            gap: .5rem;
            opacity: 0;
            transform: translateY(6px);
            animation: rowIn .25s ease forwards;
        }

        .result-item:last-child {
            border-bottom: none;
        }

        .result-item.done-unblocked .result-name {
            color: #d4d4d4;
        }

        .result-item.done-blocked .result-name {
            color: #d4d4d4;
        }

        .result-left {
            display: flex;
            align-items: center;
            gap: .5rem;
            min-width: 0;
        }

        .result-emoji {
            font-size: 1rem;
            flex-shrink: 0;
            width: 1.4rem;
            text-align: center;
        }

        .result-name {
            font-size: .75rem;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: #c8c8c8;
        }

        .result-category {
            font-size: .62rem;
            color: var(--muted);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .result-right {
            display: flex;
            align-items: center;
            gap: .5rem;
            flex-shrink: 0;
        }

        .result-ms {
            font-size: .6rem;
            color: var(--muted);
            min-width: 2.5rem;
            text-align: right;
        }

        .status {
            padding: .18rem .5rem;
            border-radius: .3rem;
            font-size: .6rem;
            font-weight: 700;
            letter-spacing: .06em;
            text-transform: uppercase;
            white-space: nowrap;
            flex-shrink: 0;
            transition: background .25s, color .25s;
        }

        .status-checking {
            background: rgba(255, 255, 255, .06);
            color: rgba(255, 255, 255, .25);
            position: relative;
            overflow: hidden;
        }

        .status-checking::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .1) 50%, transparent 100%);
            animation: shimmer 1.2s infinite;
        }

        .status-unblocked {
            background: rgba(34, 197, 94, .18);
            color: #4ade80;
            animation: badgePop .3s cubic-bezier(.34, 1.56, .64, 1) forwards;
        }

        .status-blocked {
            background: rgba(239, 68, 68, .18);
            color: #f87171;
            animation: badgePop .3s cubic-bezier(.34, 1.56, .64, 1) forwards;
        }

        .status-error {
            background: rgba(248, 113, 113, .12);
            color: var(--error);
            animation: badgePop .3s cubic-bezier(.34, 1.56, .64, 1) forwards;
        }

        .progress-track {
            height: 2px;
            background: rgba(255, 255, 255, .05);
            border-radius: 99px;
            margin: .4rem .7rem .2rem;
            overflow: hidden;
            flex-shrink: 0;
        }

        .progress-fill {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #444, #c0c0c0);
            border-radius: 99px;
            transition: width .35s ease;
        }

        #loading {
            text-align: center;
            font-size: .9rem;
            color: var(--muted);
            padding: 2rem 0;
        }

        .dot-spinner {
            display: inline-block;
            width: 6px;
            height: 6px;
            border: 1.5px solid rgba(255, 255, 255, .1);
            border-top-color: rgba(255, 255, 255, .4);
            border-radius: 50%;
            animation: spin .7s linear infinite;
            vertical-align: middle;
            margin-right: 3px;
        }

        @keyframes glowPulse {
            0% {
                text-shadow: 0 0 8px rgba(200, 200, 200, .3);
            }

            50% {
                text-shadow: 0 0 22px rgba(220, 220, 220, .7), 0 0 40px rgba(140, 140, 140, .3);
            }

            100% {
                text-shadow: 0 0 8px rgba(200, 200, 200, .3);
            }
        }

        @keyframes rowIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes badgePop {
            0% {
                transform: scale(.7);
                opacity: 0;
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        @keyframes shimmer {
            0% {
                transform: translateX(-100%);
            }

            100% {
                transform: translateX(100%);
            }
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .dot-spinner {
            display: inline-block;
            width: 8px;
            height: 8px;
            border: 1.5px solid rgba(255, 255, 255, .15);
            border-top-color: rgba(255, 255, 255, .5);
            border-radius: 50%;
            animation: spin .7s linear infinite;
            vertical-align: middle;
            margin-right: 5px;
        }

        .update-toast {
            position: fixed;
            right: 1.2rem;
            bottom: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            padding: 0.75rem 1rem;
            border-radius: 0.9rem;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: rgba(12, 12, 12, 0.92);
            color: var(--silver-bright);
            box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
            transform: translateY(12px);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s ease, transform 0.25s ease;
            z-index: 10000;
        }

        .update-toast.show {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .update-toast button {
            background: linear-gradient(135deg, #707070, #2a2a2a);
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: #e0e0e0;
            padding: 0.4rem 0.9rem;
            border-radius: 0.7rem;
            font-weight: 600;
            cursor: pointer;
        }

        @media (max-width: 480px) {
            .shortcut-bar {
                margin-top: 0.9rem;
                padding: 0.5rem 0.7rem;
            }

            .shortcut-icon {
                width: 24px;
                height: 24px;
            }

            .shortcut-title {
                font-size: 0.85rem;
            }

            header {
                padding: 1.5rem 0 0.5rem;
            }

            .logo {
                font-size: 1.4rem;
            }

            .hero {
                padding: 3rem 0 5rem;
            }

            .hero h1 {
                font-size: clamp(1.6rem, 8vw, 2.4rem);
                margin-bottom: 0.8rem;
            }

            .hero p {
                font-size: 0.95rem;
                margin-bottom: 2rem;
            }

            #mainInput {
                padding: 1rem 1.2rem;
                font-size: 1rem;
                border-radius: 0.85rem;
            }

            #mainScanBtn {
                padding: 0.95rem 1.5rem;
                font-size: 1rem;
                border-radius: 0.85rem;
            }

            .modal-content {
                border-radius: .7rem;
                max-width: 98vw;
            }

            .result-item {
                padding: .25rem .6rem;
            }

            .result-name {
                font-size: .7rem;
            }

            .result-category {
                font-size: .58rem;
            }

            .status {
                font-size: .55rem;
                padding: .15rem .4rem;
            }

            .result-ms {
                font-size: .55rem;
            }
        }

        @media (min-width: 481px) and (max-width: 768px) {
            .hero {
                padding: 4.5rem 0 6rem;
            }

            .hero h1 {
                font-size: clamp(1.9rem, 6vw, 3rem);
            }

            #mainScanBtn {
                max-width: 340px;
            }
        }
