:root {
    color: #202124;
    background: #ffffff;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    background: #ffffff;
}

[v-cloak] {
    display: none;
}

a {
    color: inherit;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 0 28px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
}

.brand-wordmark {
    display: inline-flex;
    align-items: baseline;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
}

.brand-letter {
    display: inline-block;
    letter-spacing: 0;
}

.brand-blue {
    color: #4285f4;
}

.brand-red {
    color: #ea4335;
}

.brand-yellow {
    color: #fbbc05;
}

.brand-green {
    color: #34a853;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #5f6368;
    font-size: 13px;
}

.topnav a {
    padding: 10px 4px;
    text-decoration: none;
}

.topnav a:hover,
.topnav a:focus-visible {
    color: #202124;
    text-decoration: underline;
}

.home-shell {
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 124px);
    padding: 112px 24px 64px;
}

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 720px);
}

.hero-wordmark {
    display: inline-flex;
    align-items: baseline;
    margin-bottom: 8px;
    font-size: 80px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.hero-section h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.build-information {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px 0 24px;
    color: #5f6368;
    font-size: 13px;
    line-height: 20px;
}

.build-information strong {
    color: #3c4043;
    font-weight: 600;
}

.build-information-separator {
    padding: 0 9px;
    color: #9aa0a6;
}

.url-form {
    display: flex;
    align-items: center;
    width: min(100%, 584px);
    min-height: 48px;
    padding: 0 8px 0 16px;
    border: 1px solid #dfe1e5;
    border-radius: 26px;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.12);
    transition: box-shadow 160ms ease, border-color 160ms ease;
}

.url-form:hover,
.url-form:focus-within {
    border-color: transparent;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.22);
}

.search-icon {
    flex: 0 0 24px;
    color: #9aa0a6;
    font-size: 25px;
    line-height: 1;
    text-align: center;
    transform: translateY(-1px);
}

.url-form input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    color: #202124;
    font: inherit;
    font-size: 16px;
    letter-spacing: 0;
    background: transparent;
    border: 0;
    outline: 0;
}

.url-form input::placeholder {
    color: #80868b;
}

.clear-button,
.start-button {
    flex: 0 0 auto;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.clear-button {
    width: 32px;
    height: 32px;
    padding: 0;
    color: #5f6368;
    font-size: 24px;
    line-height: 28px;
    background: transparent;
    border-radius: 50%;
}

.clear-button:hover,
.clear-button:focus-visible {
    color: #202124;
    background: #f1f3f4;
    outline: 0;
}

.start-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 76px;
    height: 38px;
    padding: 0 18px;
    color: #ffffff;
    font-size: 14px;
    background: #1a73e8;
    border-radius: 19px;
    transition: background 160ms ease, box-shadow 160ms ease;
}

.start-button:hover:not(:disabled),
.start-button:focus-visible:not(:disabled) {
    background: #1769d0;
    box-shadow: 0 1px 3px rgba(26, 115, 232, 0.35);
    outline: 0;
}

.start-button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.button-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}

.status-message {
    min-height: 22px;
    margin: 18px 0 0;
    color: #5f6368;
    font-size: 13px;
    line-height: 22px;
    text-align: center;
}

.status-message.status-success {
    color: #188038;
}

.status-message.status-error {
    color: #d93025;
}

.recent-sites {
    width: min(100%, 584px);
    margin-top: 18px;
}

.recent-sites h2 {
    margin: 0 0 9px;
    color: #5f6368;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    text-align: center;
}

.recent-site-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.recent-site {
    max-width: min(100%, 280px);
    min-height: 32px;
    padding: 0 13px;
    overflow: hidden;
    color: #3c4043;
    font: inherit;
    font-size: 12px;
    line-height: 30px;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 16px;
    cursor: pointer;
}

.recent-site:hover,
.recent-site:focus-visible {
    color: #174ea6;
    background: #f8faff;
    border-color: #aecbfa;
    outline: 0;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.quick-link {
    min-height: 34px;
    padding: 0 15px;
    color: #3c4043;
    font: inherit;
    font-size: 13px;
    letter-spacing: 0;
    background: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    cursor: pointer;
}

.quick-link:hover,
.quick-link:focus-visible {
    border-color: #dadce0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    outline: 0;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 16px 24px;
    color: #70757a;
    font-size: 12px;
}

.footer-separator {
    padding: 0 8px;
}

.changelog-shell {
    width: min(100%, 1040px);
    min-height: calc(100vh - 124px);
    padding: 40px 24px 64px;
    margin: 0 auto;
}

.changelog-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.14);
}

.changelog-header {
    padding: 32px 36px 26px;
    border-bottom: 1px solid #e8eaed;
}

.changelog-eyebrow {
    margin: 0 0 8px;
    color: #1a73e8;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.changelog-header h1 {
    margin: 0;
    color: #202124;
    font-size: 32px;
    line-height: 1.25;
}

.changelog-header > p:last-child {
    margin: 12px 0 0;
    color: #5f6368;
    font-size: 14px;
    line-height: 1.7;
}

.changelog-content {
    max-height: none;
    padding: 32px 36px 40px;
    margin: 0;
    overflow: auto;
    color: #3c4043;
    font-family: Consolas, "SFMono-Regular", "Microsoft YaHei", monospace;
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
    .topbar {
        min-height: 56px;
        padding: 0 18px;
    }

    .home-shell {
        min-height: calc(100vh - 112px);
        padding: 96px 16px 48px;
    }

    .hero-wordmark {
        font-size: 56px;
    }

    .url-form {
        min-height: 46px;
        padding-left: 10px;
    }

    .url-form input {
        padding: 0 8px;
        font-size: 15px;
    }

    .start-button {
        min-width: 68px;
        padding: 0 13px;
    }

    .recent-site {
        max-width: 100%;
    }

    .footer {
        padding-right: 16px;
        padding-left: 16px;
    }

    .topnav {
        gap: 12px;
    }

    .changelog-shell {
        min-height: calc(100vh - 112px);
        padding: 24px 12px 40px;
    }

    .changelog-card {
        border-radius: 12px;
    }

    .changelog-header {
        padding: 24px 20px 20px;
    }

    .changelog-header h1 {
        font-size: 26px;
    }

    .changelog-content {
        padding: 24px 20px 30px;
        font-size: 13px;
        line-height: 1.7;
    }
}
