* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
}

body {
    color: #243044;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 132, 173, 0.24), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(95, 176, 255, 0.2), transparent 26%),
        linear-gradient(135deg, #fff4f7 0%, #eef7ff 48%, #f7fff4 100%);
}

.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.panel {
    width: min(100%, 560px);
    padding: 30px 24px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(47, 69, 102, 0.14);
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.logo img {
    width: min(330px, 86vw);
    height: auto;
}

.links {
    display: grid;
    gap: 12px;
}

.link {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border: 1px solid #d9e3ee;
    border-radius: 10px;
    color: #243044;
    background: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.link:hover,
.link:focus-visible {
    border-color: #ff8fb4;
    box-shadow: 0 8px 18px rgba(255, 143, 180, 0.2);
    transform: translateY(-1px);
    outline: none;
}

.link.primary {
    color: #8f284c;
    border-color: #ffc6d8;
    background: #fff5f8;
}

.publish {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #d9e3ee;
    border-radius: 10px;
    background: #f8fbff;
}

.publish-label {
    color: #536173;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.publish-url {
    min-width: 0;
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.copy-button {
    min-height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: #2563eb;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.copy-button:hover,
.copy-button:focus-visible {
    background: #1d4ed8;
    outline: none;
}

.notice {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #ffe1a8;
    border-radius: 10px;
    color: #76510c;
    background: #fff9e8;
    text-align: center;
    line-height: 1.7;
}

.tips {
    margin-top: 18px;
    color: #536173;
    line-height: 1.7;
}

.tips h1 {
    margin-bottom: 6px;
    color: #1f2937;
    font-size: 17px;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .page {
        padding: 16px;
    }

    .panel {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .link {
        font-size: 15px;
    }

    .publish {
        grid-template-columns: 1fr auto;
    }

    .publish-label {
        grid-column: 1 / -1;
    }
}
