:root {
    --color-link: #1565c0;
    --color-text: #656565;
    --color-textEmph: #1c1e21;
    --color-page-start: #64b5f6;
    --color-page-end: #bbdefb;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--color-textEmph);
    background: linear-gradient(to bottom, var(--color-page-start), var(--color-page-end));
}

.landing {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.card {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 48px 40px 40px;
    border-radius: 28px;
    background: #fff;
}

.avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-page-end);
    flex-shrink: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar.no-avatar img {
    display: none;
}

.heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.kicker {
    margin: 0;
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
    text-align: center;
    color: var(--color-text);
}

.title {
    margin: 0;
    width: 100%;
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
    text-align: center;
    color: var(--color-textEmph);
    overflow: hidden;
    text-overflow: ellipsis;
}

.description {
    margin: 0;
    width: 100%;
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
    text-align: center;
    color: var(--color-text);
    white-space: pre-wrap;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.description:empty {
    display: none;
}

.actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.button:hover {
    opacity: 0.85;
}

.button-primary {
    background: var(--color-link);
    color: #fff;
}

.button-browser {
    background: #fff;
    color: var(--color-link);
    border: 2px solid var(--color-link);
}

.notice {
    display: none;
    margin: 0;
    text-align: center;
    font-size: 13px;
    line-height: 16px;
    color: var(--color-text);
}

.redirect-frame {
    visibility: hidden;
    width: 0;
    height: 0;
    border: 0;
    position: absolute;
}

@media (max-width: 500px) {
    .card {
        gap: 20px;
        padding: 32px 24px 28px;
    }

    .notice {
        display: block;
    }
}

@media (max-width: 350px) {
    .card {
        padding: 24px 16px;
    }
}

.notice:empty,
.landing-missing .avatar,
.landing-missing .kicker,
.landing-missing .description,
.landing-missing .notice {
    display: none;
}
