.shape-pyramid,
.shape-diamond {
    position: relative;
    width: 1100px;
    height: 860px;
    margin: 0 auto 40px;
}

.shape-ladder {
    position: relative;
    width: 1000px;
    height: 900px;
    margin: 0 auto 40px;
}

.shape-grid {
    width: 980px;
    min-height: 600px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(4, 150px);
    gap: 35px;
    justify-content: center;
    align-items: center;
}

.shape-grid .game-tile {
    position: relative;
    top: auto !important;
    left: auto !important;
}

.shape-circle {
    position: relative;
    width: 850px;
    height: 850px;
    margin: 0 auto 40px;
}

.shape-orbit {
    position: relative;
    width: 900px;
    height: 900px;
    margin: 0 auto 40px;
    border-radius: 50%;
}

.shape-orbit::before {
    content: "";
    position: absolute;
    inset: 90px;
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 50%;
}

.center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: bold;
    color: white;
    z-index: 2;
    text-align: center;
}
/* Tighten shape heights so shoutout box sits closer */
.shape-pyramid {
    height: 660px !important;
    margin-bottom: 14px !important;
}

.shape-diamond {
    height: 700px !important;
    margin-bottom: 14px !important;
}

.shape-grid {
    min-height: 500px !important;
    margin-bottom: 14px !important;
}

.shape-ladder {
    height: 640px !important;
    margin-bottom: 14px !important;
}

.shape-circle,
.shape-orbit {
    margin-bottom: 14px !important;
}

/* Tighten spacing between tiles by roughly 50% */
.shape-pyramid {
    height: 585px !important;
}

.shape-pyramid .tile-1 { top: 0 !important; left: 425px !important; }
.shape-pyramid .tile-2 { top: 135px !important; left: 343px !important; }
.shape-pyramid .tile-3 { top: 135px !important; left: 508px !important; }
.shape-pyramid .tile-4 { top: 270px !important; left: 260px !important; }
.shape-pyramid .tile-5 { top: 270px !important; left: 425px !important; }
.shape-pyramid .tile-6 { top: 270px !important; left: 590px !important; }
.shape-pyramid .tile-7 { top: 405px !important; left: 178px !important; }
.shape-pyramid .tile-8 { top: 405px !important; left: 343px !important; }
.shape-pyramid .tile-9 { top: 405px !important; left: 508px !important; }
.shape-pyramid .tile-10 { top: 405px !important; left: 673px !important; }

.shape-diamond {
    height: 620px !important;
}

.shape-diamond .tile-1 { top: 0 !important; left: 425px !important; }
.shape-diamond .tile-2 { top: 125px !important; left: 343px !important; }
.shape-diamond .tile-3 { top: 125px !important; left: 508px !important; }
.shape-diamond .tile-4 { top: 250px !important; left: 260px !important; }
.shape-diamond .tile-5 { top: 250px !important; left: 425px !important; }
.shape-diamond .tile-6 { top: 250px !important; left: 590px !important; }
.shape-diamond .tile-7 { top: 375px !important; left: 343px !important; }
.shape-diamond .tile-8 { top: 375px !important; left: 508px !important; }
.shape-diamond .tile-9 { top: 500px !important; left: 425px !important; }

.shape-grid {
    gap: 18px !important;
    min-height: 460px !important;
}

.shape-ladder {
    height: 560px !important;
}

.shape-ladder .tile-1 { top: 0 !important; left: 140px !important; }
.shape-ladder .tile-2 { top: 80px !important; left: 235px !important; }
.shape-ladder .tile-3 { top: 160px !important; left: 330px !important; }
.shape-ladder .tile-4 { top: 240px !important; left: 425px !important; }
.shape-ladder .tile-5 { top: 320px !important; left: 520px !important; }
.shape-ladder .tile-6 { top: 400px !important; left: 615px !important; }
.shape-ladder .tile-7 { top: 480px !important; left: 710px !important; }

/* Re-center tightened pyramid layout */
.shape-pyramid {
    width: 780px !important;
    height: 585px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.shape-pyramid .tile-1 { top: 0 !important; left: 315px !important; }

.shape-pyramid .tile-2 { top: 135px !important; left: 232px !important; }
.shape-pyramid .tile-3 { top: 135px !important; left: 398px !important; }

.shape-pyramid .tile-4 { top: 270px !important; left: 149px !important; }
.shape-pyramid .tile-5 { top: 270px !important; left: 315px !important; }
.shape-pyramid .tile-6 { top: 270px !important; left: 481px !important; }

.shape-pyramid .tile-7 { top: 405px !important; left: 66px !important; }
.shape-pyramid .tile-8 { top: 405px !important; left: 232px !important; }
.shape-pyramid .tile-9 { top: 405px !important; left: 398px !important; }
.shape-pyramid .tile-10 { top: 405px !important; left: 564px !important; }

/* Re-center tightened pyramid layout */
.shape-pyramid {
    width: 780px !important;
    height: 585px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.shape-pyramid .tile-1 { top: 0 !important; left: 315px !important; }

.shape-pyramid .tile-2 { top: 135px !important; left: 232px !important; }
.shape-pyramid .tile-3 { top: 135px !important; left: 398px !important; }

.shape-pyramid .tile-4 { top: 270px !important; left: 149px !important; }
.shape-pyramid .tile-5 { top: 270px !important; left: 315px !important; }
.shape-pyramid .tile-6 { top: 270px !important; left: 481px !important; }

.shape-pyramid .tile-7 { top: 405px !important; left: 66px !important; }
.shape-pyramid .tile-8 { top: 405px !important; left: 232px !important; }
.shape-pyramid .tile-9 { top: 405px !important; left: 398px !important; }
.shape-pyramid .tile-10 { top: 405px !important; left: 564px !important; }

/* Public Custom Shape */
.shape-custom {
    position: relative;
    width: 1000px;
    height: 760px;
    margin: 0 auto 24px;
    border-radius: 34px;
}

.shape-custom .game-tile {
    position: absolute !important;
}

.shape-custom::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 34px;
    background: radial-gradient(circle at top, rgba(255,255,255,0.05), transparent 58%);
    pointer-events: none;
}

@media (max-width: 1050px) {
    .shape-custom {
        width: 900px;
        height: 700px;
    }
}
