body.platform-body {
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #241f1b;
    background:
        linear-gradient(135deg, rgba(255, 247, 242, 0.92), rgba(248, 238, 233, 0.86)),
        var(--platform-bg-image, none),
        #f8eee9;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.platform-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 56px 0;
}

.platform-hero {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 32px;
}

.platform-kicker {
    color: #d9614c;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.platform-hero h1 {
    max-width: 760px;
    margin: 8px 0 10px;
    font-size: clamp(2.1rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 0.95;
}

.platform-hero p {
    max-width: 600px;
    margin: 0;
    color: #6f625b;
    font-size: 1.05rem;
}

.platform-admin-link {
    flex: 0 0 auto;
    padding: 10px 16px;
    color: #d9614c;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(217, 97, 76, 0.25);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(80, 52, 38, 0.08);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.platform-card {
    display: block;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    box-shadow: 0 22px 48px rgba(80, 52, 38, 0.13);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.platform-card:hover {
    color: inherit;
    transform: translateY(-4px);
    box-shadow: 0 28px 58px rgba(80, 52, 38, 0.18);
}

.platform-card-image {
    display: flex;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff1eb, #f6d6ca);
}

.platform-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.platform-card-placeholder {
    color: #d9614c;
    font-size: 4rem;
    font-weight: 800;
}

.platform-card-content {
    display: grid;
    gap: 7px;
    padding: 18px;
}

.platform-card-content strong {
    font-size: 1.2rem;
}

.platform-card-content span {
    color: #756a63;
    font-size: 0.94rem;
    line-height: 1.35;
}

.platform-empty {
    padding: 28px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    box-shadow: 0 22px 48px rgba(80, 52, 38, 0.12);
}

.platform-empty h2 {
    margin: 0 0 8px;
    font-size: 1.4rem;
    font-weight: 800;
}

.platform-empty p {
    margin: 0;
    color: #756a63;
}

@media (max-width: 640px) {
    .platform-shell {
        width: min(100% - 20px, 1120px);
        padding: 28px 0;
    }

    .platform-hero {
        display: block;
    }

    .platform-admin-link {
        display: inline-block;
        margin-top: 18px;
    }
}
