body {
    font-family: 'Arial', sans-serif;
    background-color: #1c1c1e; /* Dark background */
    color: #f5f5f7; /* Light text */
    margin: 0;
    padding: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

a {
    color: #0a84ff; /* Bright link color */
    text-decoration: none;
}

.tt-header {
    margin-bottom: 20px;
}

.tt-title {
    font-size: 38px;
    max-width: 70vw;
    margin: 0;
    font-weight: normal;
}

.tt-subtitle {
    font-size: 20px;
    color: #d1d1d6; /* Subtle light color */
    max-width: 80vw;
    font-weight: normal;
    margin: 5px 0 20px;
}

.tt-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 600px;
}

.tt-link {
    background-color: #2c2c2e; /* Link background */
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Deeper shadow */
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s; /* Smooth transitions */
}

.tt-link:hover {
    background-color: #3a3a3c; /* Darker hover state */
    border: #444 1px solid; /* Subtle border on hover */
}

.tt-link-body {
    display: flex;
    align-items: center;
    padding: 15px;
    min-height: 32px; /* Maintain minimum height */
    flex-shrink: 0; /* Prevent shrinking */
}

.tt-link-image {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-right: 16px;
    min-width: 32px; /* Ensure it doesn't shrink */
}

.tt-link-favicon {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the favicon fits without stretching */
    border-radius: 4px;
}

.tt-link-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.tt-link-title {
    font-size: 1.125rem;
    margin: 0;
    color: #f5f5f7; /* Light title color */
}

.tt-link-subtitle {
    font-size: 0.875rem;
    color: #a0a0a5; /* Softer subtitle color */
    margin: 5px 0 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis; /* Add ellipsis (...) */
}

.tt-footer {
    position: fixed;
    bottom: 0;
    padding-bottom: 24px;
    padding-top: 16px;
    background-color: #2c2c2e; /* Dark footer */
    width: 100vw;
    border-top: #444 1px solid; /* Subtle footer border */
}

.tt-footer-text {
    font-size: 16px;
    color: #d1d1d6; /* Light footer text */
    margin: 0 24px;
    line-height: 1.5;
}

/* Media query for smaller screens */
@media (max-width: 600px) {
    body {
        padding: 50px; /* Adjust padding as necessary */
    }

    .tt-link-body {
        min-height: 24px; /* Ensure the body has a minimum height on phones */
    }

    .tt-title {
        font-size: 28px; /* Smaller title font size */
    }

    .tt-subtitle {
        font-size: 16px; /* Smaller subtitle font size */
    }

    .tt-link-title {
        font-size: 1rem; /* Smaller link title font size */
    }

    .tt-link-subtitle {
        font-size: 0.875rem; /* Keep subtitle font size */
        color: #a0a0a5; /* Softer subtitle color */
        margin: 5px 0 0;
    }

    .tt-links {
        width: 95vw; /* Full width minus margins */
    }

    .tt-link-image {
        width: 32px; /* Fixed size for phone */
        height: 32px; /* Fixed size for phone */
    }

    .tt-link-favicon {
        width: 100%; /* Fills the wrapper */
        height: 100%; /* Fills the wrapper */
    }
}
