        :root {
            --bg: #0b1020;
            --bg2: #0f1733;
            --card: rgba(18, 24, 48, .78);
            --card2: rgba(22, 30, 62, .72);
            --text: #e5e7eb;
            --muted: #a6b0c3;
            --line: rgba(255, 255, 255, .10);
            --shadow: 0 18px 55px rgba(0, 0, 0, .55);
            --radius: 22px;
            --accent: #7aa2ff;
            --accent2: #ff7ad9;
            --good: #34d399;
            --bad: #fb7185;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
            color: var(--text);
            background:
                radial-gradient(900px 520px at 15% 10%, rgba(255, 122, 217, .18), transparent 60%),
                radial-gradient(1100px 640px at 85% 0%, rgba(122, 162, 255, .18), transparent 55%),
                linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        html,
        body {
            height: 100%;
        }

        body {
            overflow: hidden;
            /* Prevent page scrolling */
        }

        :root {
            --headerH: 72px;
        }

        .wrap {
            flex: 1;
            max-width: 820px;
            margin: 0 auto;
            padding: calc(var(--headerH) + 34px) 18px 44px;
            overflow: hidden;
            /* important */
        }

        .nyeHeader {
            height: var(--headerH);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .hero {
            text-align: center;
            margin-bottom: 18px;
        }

        .badge {
            display: inline-flex;
            gap: 10px;
            align-items: center;
            padding: 8px 12px;
            border: 1px solid var(--line);
            border-radius: 999px;
            background: rgba(0, 0, 0, .25);
            backdrop-filter: blur(10px);
            font-size: 13px;
            color: var(--muted);
        }

        .hero h1 {
            margin: 14px 0 8px;
            font-size: clamp(28px, 4vw, 40px);
            letter-spacing: -.02em;
            line-height: 1.1;
        }

        .hero p {
            margin: 0;
            font-size: 16px;
            color: var(--muted);
        }

        .card {
            margin-top: 32px;
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            backdrop-filter: blur(12px);

            display: flex;
            flex-direction: column;
            max-height: calc(100vh - var(--headerH) - 220px);
        }

        .cardTop {
            padding: 18px 18px 14px;
            border-bottom: 1px solid var(--line);
            background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
        }

        .label {
            font-size: 13px;
            color: var(--muted);
            margin-bottom: 10px;
        }

        .searchRow {
            display: flex;
            gap: 10px;
            align-items: center;
            padding: 12px;
            border: 1px solid var(--line);
            border-radius: 16px;
            background: rgba(0, 0, 0, .28);
        }

        .icon {
            width: 18px;
            height: 18px;
            opacity: .8;
            flex: 0 0 auto;
            color: var(--muted);
        }

        input {
            border: none;
            outline: none;
            width: 100%;
            font-size: 16px;
            padding: 6px 2px;
            background: transparent;
            color: var(--text);
        }

        input::placeholder {
            color: rgba(166, 176, 195, .75);
        }

        input:focus {
            outline: none;
        }

        .hint {
            margin-top: 10px;
            font-size: 13px;
            color: var(--muted);
        }

        .content {
            padding: 16px 18px 18px;
            overflow-y: auto;
            flex: 1;
            -webkit-overflow-scrolling: touch;
        }

        .stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
            color: var(--muted);
            font-size: 13px;
        }

        .pill {
            padding: 6px 10px;
            border: 1px solid var(--line);
            border-radius: 999px;
            background: rgba(0, 0, 0, .25);
        }

        .row {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            align-items: stretch;
            padding: 14px 14px;
            border: 1px solid var(--line);
            border-radius: 16px;
            background: rgba(0, 0, 0, .22);
            margin: 10px 0;
        }

        .name {
            line-height: 1.2;
        }

        .sub {
            line-height: 1.15;
        }

        .table {
            min-height: 52px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            /* space between clock + text */
            text-align: center;
            font-weight: 850;
            font-size: 18px;
            /* slightly smaller so clock fits */
            padding: 10px 12px;
            border-radius: 14px;

            background: linear-gradient(180deg,
                    rgba(122, 162, 255, .18),
                    rgba(255, 122, 217, .10));
            border: 1px solid rgba(122, 162, 255, .22);
            min-width: 150px;
            /* widen a bit to fit clock + text */
        }

	/* ===== Analog clock inside table bubble ===== */
	.clock {
		--size: 60px;
		width: var(--size);
		height: var(--size);
		position: relative;
		border-radius: 50%;
	
		background:
			radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .12), transparent 55%),
			radial-gradient(circle at 70% 70%, rgba(0, 0, 0, .25), transparent 60%),
			rgba(10, 14, 35, 0.9);
	
		border: 2px solid rgba(229, 231, 235, .35);
		box-shadow:
			inset 0 0 0 2px rgba(255, 255, 255, .04),
			0 6px 14px rgba(0, 0, 0, .45);
	}
	
	/* Hour markers */
	.clock .mark {
		position: absolute;
		left: 50%;
		top: 50%;
		width: 2px;
		height: 8px;
		background: rgba(120, 130, 150, 0.75);
		border-radius: 2px;
	
		transform:
			translate(-50%, -50%)
			rotate(var(--a))
			translateY(calc(-1 * (var(--size) / 2 - 7px)));
	}
	
	/* Clock hour marker positions */
	.clock .mark:nth-child(1)  { --a: 0deg; }
	.clock .mark:nth-child(2)  { --a: 30deg; }
	.clock .mark:nth-child(3)  { --a: 60deg; }
	.clock .mark:nth-child(4)  { --a: 90deg; }
	.clock .mark:nth-child(5)  { --a: 120deg; }
	.clock .mark:nth-child(6)  { --a: 150deg; }
	.clock .mark:nth-child(7)  { --a: 180deg; }
	.clock .mark:nth-child(8)  { --a: 210deg; }
	.clock .mark:nth-child(9)  { --a: 240deg; }
	.clock .mark:nth-child(10) { --a: 270deg; }
	.clock .mark:nth-child(11) { --a: 300deg; }
	.clock .mark:nth-child(12) { --a: 330deg; }
	
	/* Longer ticks for 12/3/6/9 */
	.clock .mark.major {
		width: 2px;
		height: 9px;
		background: rgba(120, 130, 150, 0.9);
	}

        /* Hour hand */
        .clock .hand {
            position: absolute;
            left: 50%;
            top: 50%;

            width: 4px;
            height: 18px;

            background: linear-gradient(180deg, #e5e7eb, #a5b4fc);
            border-radius: 4px;

            /* rotate around the bottom of the hand */
            transform-origin: 50% 100%;

            /* IMPORTANT: put the hand's bottom at center, THEN rotate */
            transform: translate(-50%, -100%) rotate(var(--hour-angle, 0deg));

            box-shadow: 0 0 6px rgba(122, 162, 255, .6);
        }

        /* Minute hand (second hand) */
        .clock .hand.minute {
            width: 3px;
            height: 24px;
            /* longer than hour hand */
            background: linear-gradient(180deg, #e5e7eb, #7aa2ff);
            opacity: 0.95;

            transform-origin: 50% 100%;
            transform: translate(-50%, -100%) rotate(var(--minute-angle, 0deg));
        }

        /* Center pin */
        .clock::after {
            content: "";
            position: absolute;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            background: radial-gradient(circle, #fff, #c7d2fe);
            box-shadow: 0 0 6px rgba(122, 162, 255, .8);
        }


        /* Table text */
        .tableText {
            white-space: nowrap;
        }

        .none {
            padding: 12px 12px;
            border-radius: 14px;
            border: 1px solid rgba(251, 113, 133, .30);
            background: rgba(251, 113, 133, .10);
            color: #fecdd3;
            font-weight: 650;
            margin-top: 10px;
        }

        footer {
            flex-shrink: 0;
            text-align: center;
            padding: 16px 0;
            font-size: 12px;
            color: var(--muted);
            opacity: 0.9;
        }


        .tiny {
            font-size: 12px;
            color: var(--muted);
            margin-top: 10px;
            text-align: center;
        }

        .nyeHeader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 12px 16px 14px;
            text-align: center;

            background: linear-gradient(180deg,
                    rgba(15, 23, 51, 0.96),
                    rgba(15, 23, 51, 0.82));
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(12px);

            z-index: 100;
        }

        .nyeTitle {
            font-weight: 850;
            letter-spacing: .08em;
            text-transform: uppercase;
            font-size: 20px;
            background: linear-gradient(90deg, #e5e7eb, #7aa2ff, #ff7ad9, #e5e7eb);
            background-size: 300% 100%;
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
            -webkit-text-fill-color: transparent;
            animation: glow 8s ease infinite;
        }

        @keyframes glow {
            0% {
                background-position: 0%
            }

            50% {
                background-position: 100%
            }

            100% {
                background-position: 0%
            }
        }

        .nyeSub {
            margin-top: 4px;
            font-size: 13px;
            color: rgba(166, 176, 195, 0.95);
        }

        .sparkles {
            position: fixed;
            inset: 0;
            pointer-events: none;
            opacity: .55;
            background:
                radial-gradient(circle at 10% 20%, rgba(255, 122, 217, .18) 0 2px, transparent 3px),
                radial-gradient(circle at 30% 70%, rgba(122, 162, 255, .18) 0 2px, transparent 3px),
                radial-gradient(circle at 70% 30%, rgba(52, 211, 153, .14) 0 2px, transparent 3px),
                radial-gradient(circle at 85% 80%, rgba(255, 255, 255, .16) 0 2px, transparent 3px);
            animation: drift 10s ease-in-out infinite alternate;
            filter: blur(.2px);
        }

        @keyframes drift {
            from {
                transform: translateY(-6px) translateX(-6px);
            }

            to {
                transform: translateY(6px) translateX(6px);
            }
        }

        .stats {
            display: none;
        }

        .nameBlock {
            display: flex;
            flex: 1;
            justify-content: center;
            align-items: center;
            text-align: center;
            min-height: 52px;
        }
