/* --- PLAY HUB --- */

#play-hub-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 20px 70px;
    box-sizing: border-box;
    text-align: left;
}

.play-hero {
    min-height: 210px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 28px;
    padding: 34px;
    margin: 12px 0 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(233, 122, 155, 0.18), rgba(255, 255, 255, 0.06)),
        var(--card-bg);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.play-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -42% 42%;
    height: 180px;
    background: repeating-linear-gradient(
        -8deg,
        rgba(233, 122, 155, 0.22) 0 10px,
        transparent 10px 28px
    );
    opacity: 0.42;
    pointer-events: none;
}

.play-bots-websource {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 2.25;
    margin: 16px 0 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(245, 191, 69, 0.16), rgba(233, 122, 155, 0.1)),
        rgba(255, 247, 231, 0.86);
    box-shadow: var(--shadow-soft);
}

html.dark-mode .play-bots-websource {
    background: rgba(36, 20, 35, 0.86);
}

.play-bots-websource::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    background: linear-gradient(to top, rgba(245, 191, 69, 0.12), transparent);
    pointer-events: none;
}

html.dark-mode .play-bots-websource::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.22), transparent);
}

.play-bots-websource iframe {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 400%;
    border: 0;
    background: transparent;
    pointer-events: none;
}

.play-hero-copy,
.play-quick-actions {
    position: relative;
    z-index: 1;
}

.play-kicker,
.play-card-label {
    margin: 0 0 8px;
    color: var(--accent-pink);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.play-hero h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(2.25rem, 5vw, 5rem);
    line-height: 0.95;
    letter-spacing: 0;
}

.play-intro {
    max-width: 680px;
    margin: 16px 0 0;
    font-size: 1.05rem;
    line-height: 1.55;
    font-weight: 700;
    opacity: 0.78;
}

.play-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 10px;
    min-width: 300px;
}

.play-quick-actions a,
.play-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: var(--accent-pink);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    box-sizing: border-box;
    box-shadow: 0 10px 22px rgba(233, 122, 155, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.play-quick-actions a {
    background: rgba(255, 255, 255, 0.64);
    color: var(--text-color);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

html.dark-mode .play-quick-actions a {
    background: rgba(255, 255, 255, 0.08);
}

.play-quick-actions a:hover,
.play-action:hover {
    transform: translateY(-2px);
    filter: saturate(1.08);
    box-shadow: 0 14px 28px rgba(233, 122, 155, 0.3);
}

.play-action {
    align-self: flex-start;
    width: fit-content;
    margin-top: auto;
}

.play-action.subtle {
    background: rgba(255, 255, 255, 0.13);
    color: var(--text-color);
    box-shadow: none;
}

.play-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr) minmax(250px, 0.75fr);
    grid-auto-rows: minmax(240px, auto);
    gap: 16px;
}

.play-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 16px;
    margin-top: 16px;
}

.play-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.play-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 4px solid rgba(233, 122, 155, 0.55);
    pointer-events: none;
}

.play-card-feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    min-height: 360px;
}

.play-card-bot,
.play-card-shop,
.play-card-word,
.play-card-race {
    display: flex;
    flex-direction: column;
}

.play-card-bot,
.play-card-shop,
.play-card-word {
    order: 1;
}

.play-card-race {
    order: 2;
}

.play-card-feature {
    order: 2;
}

.play-lower-grid .play-card-race {
    order: 0;
}

.play-card-content,
.play-side-panel {
    padding: 24px;
    position: relative;
    z-index: 1;
}

.play-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.play-card h2 {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.65rem);
    line-height: 1;
    letter-spacing: 0;
}

.play-card p {
    margin: 0;
    line-height: 1.45;
}

.play-card-word {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(233, 122, 155, 0.12)),
        var(--card-bg);
}

.play-card-word .play-card-content {
    flex: 0 0 auto;
    padding-bottom: 16px;
}

.play-card-word h2 {
    font-size: clamp(1.55rem, 2.1vw, 2.25rem);
}

.play-card-word p {
    font-size: 0.95rem;
}

.play-card-word .play-side-panel {
    border-top: 1px solid var(--border-color);
    border-left: none;
    padding-top: 16px;
}

.play-card-word .play-section-heading {
    margin-bottom: 10px;
    min-height: 0;
}

.play-card-word .play-section-heading span,
.play-card-word .play-section-heading a {
    font-size: 0.76rem;
}

.play-card-word .play-winner-panel {
    display: none !important;
}

.play-side-panel {
    border-left: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.18);
}

html.dark-mode .play-side-panel {
    background: rgba(255, 255, 255, 0.035);
}

.play-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    min-height: 32px;
}

.play-section-heading span {
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.play-section-heading a {
    margin-left: auto;
    color: var(--accent-pink);
    font-size: 0.86rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.play-section-heading.compact {
    margin: 18px 0 8px;
}

.wm-advert-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 10px 0 18px;
}

.wm-advert-tile {
    width: 46px;
    height: 46px;
    border: 2px solid rgba(233, 122, 155, 0.45);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.06);
}

html.dark-mode .wm-advert-tile {
    background: rgba(255, 255, 255, 0.06);
}

.play-card-word .wm-advert-grid {
    gap: 6px;
    margin: 4px 0 10px;
}

.play-card-word .wm-advert-tile {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.06);
}

.wm-advert-complete {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(233, 122, 155, 0.32);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(233, 122, 155, 0.18), rgba(245, 191, 69, 0.12)),
        rgba(255, 255, 255, 0.16);
    box-sizing: border-box;
}

html.dark-mode .wm-advert-complete {
    background:
        linear-gradient(135deg, rgba(233, 122, 155, 0.18), rgba(245, 191, 69, 0.08)),
        rgba(255, 255, 255, 0.05);
}

.wm-advert-complete-title {
    font-size: 1rem;
    font-weight: 900;
    color: var(--accent-pink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.wm-advert-complete-meta,
.wm-advert-countdown,
.wm-advert-next {
    margin-top: 4px;
    font-size: 0.84rem;
    font-weight: 800;
    opacity: 0.82;
}

.wm-advert-next {
    flex-basis: 100%;
    margin-top: 0;
}

#wordmaxxing-top-container {
    display: grid;
    gap: 10px;
}

.play-card-word #wordmaxxing-top-container {
    gap: 8px;
}

.play-winner-panel {
    display: none;
}

#wordmaxxing-top-container .wm-top-item,
#wm-winner-content .wm-top-item {
    border-radius: 8px !important;
    box-shadow: none !important;
}

.play-card-word #wordmaxxing-top-container .wm-top-item {
    min-height: 0 !important;
    padding: 9px !important;
    gap: 9px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(233, 122, 155, 0.16) !important;
}

.play-card-word #wordmaxxing-top-container .wm-avatar-container {
    transform: scale(0.82);
    transform-origin: left center;
    margin-right: -6px;
}

.play-card-word #wordmaxxing-top-container .wm-name {
    font-size: 0.9rem !important;
}

.play-card-word #wordmaxxing-top-container .wm-score {
    font-size: 0.76rem !important;
}

.play-card-word #wordmaxxing-top-container .wm-mini-grid {
    display: flex !important;
    flex-shrink: 0;
    margin-top: 0 !important;
    padding: 5px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.12);
}

.play-card-word #wordmaxxing-top-container .wm-mini-row {
    gap: 2px !important;
}

.play-card-word #wordmaxxing-top-container .wm-mini-tile {
    width: 6px !important;
    height: 6px !important;
    border-radius: 1px !important;
}

html.dark-mode .play-card-word #wordmaxxing-top-container .wm-mini-grid {
    background: rgba(0, 0, 0, 0.24);
}

.play-bot-stage {
    min-height: 210px;
    background:
        linear-gradient(180deg, rgba(66, 139, 178, 0.4), rgba(24, 50, 65, 0.8)),
        #263746;
    position: relative;
    container-type: inline-size;
    overflow: hidden;
}

.play-bot-stage::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 32%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
}

.play-card-bot .play-card-content,
.play-card-shop .play-card-content,
.play-card-race .play-card-content {
    flex: 1;
}

.play-shop-image {
    height: 140px;
    background: #281e32;
    overflow: hidden;
}

.play-shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.16);
}

.play-card-shop {
    background:
        linear-gradient(145deg, rgba(245, 191, 69, 0.16), rgba(233, 122, 155, 0.12)),
        var(--card-bg);
}

.play-card-race {
    background:
        linear-gradient(145deg, rgba(83, 160, 120, 0.16), rgba(233, 122, 155, 0.08)),
        var(--card-bg);
}

.race-top-preview {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

.race-top-preview .play-section-heading {
    margin-bottom: 0;
}

.race-top-list {
    display: grid;
    gap: 8px;
}

.race-top-list p {
    color: var(--nav-text-color);
    font-size: 0.9rem;
    font-weight: 800;
    opacity: 0.78;
}

.race-top-item {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 8px 10px;
    border: 1px solid rgba(83, 160, 120, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.race-top-item:hover {
    transform: translateY(-1px);
    border-color: rgba(83, 160, 120, 0.42);
    background: rgba(83, 160, 120, 0.16);
}

.race-top-rank {
    min-width: 28px;
    color: var(--accent-pink);
    font-weight: 900;
}

.race-top-info {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.race-top-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.96rem;
    font-weight: 900;
}

.race-top-meta {
    color: var(--nav-text-color);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    opacity: 0.82;
    text-transform: uppercase;
}

.play-card-race.play-card-feature {
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
    align-items: stretch;
}

.play-card-race.play-card-feature .play-card-content {
    justify-content: center;
}

.play-card-race.play-card-feature h2 {
    font-size: clamp(2.3rem, 4vw, 4rem);
}

.play-card-race.play-card-feature p {
    max-width: 520px;
    font-size: 1.08rem;
}

.race-track-lines {
    display: grid;
    gap: 12px;
    padding: 0 24px 24px;
}

.play-card-race.play-card-feature .race-track-lines {
    align-content: center;
    gap: 22px;
    padding: 36px;
    border-left: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.12);
}

.race-track-lines span {
    height: 14px;
    border-radius: 999px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.75) 0 18px,
        rgba(0, 0, 0, 0.08) 18px 28px
    );
    opacity: 0.55;
}

.play-card-race.play-card-feature .race-track-lines span {
    height: 24px;
}

.play-card-lore,
.play-card-poll,
.play-card-history,
.play-card-lounge {
    padding: 22px;
}

.play-card-lore {
    display: none;
    background:
        linear-gradient(145deg, rgba(151, 88, 140, 0.14), rgba(233, 122, 155, 0.1)),
        var(--card-bg);
}

.play-card-lore.play-card-feature {
    grid-template-columns: 1fr;
    min-height: 430px;
}

.play-card-lore.play-card-feature[style*="block"] {
    display: flex !important;
    flex-direction: column;
}

.play-lore-content .dictionary-book-page {
    margin: 0;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.play-lore-content {
    padding: 8px 52px 58px 0;
}

.play-lore-content .dict-word {
    margin: 2px 0 12px;
    color: var(--accent-pink);
    font-family: Georgia, serif;
    font-size: clamp(2.25rem, 5vw, 4.4rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0;
    text-shadow: 0 8px 22px rgba(233, 122, 155, 0.22);
}

.play-lore-content .dict-def {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-color);
    font-size: 1.08rem !important;
    font-weight: 700;
    line-height: 1.55;
    opacity: 0.84;
}

.play-lore-content .dict-meta {
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 800;
    opacity: 0.62;
}

.play-lore-content .upvote-container {
    right: 0 !important;
    bottom: 0 !important;
}

@media (min-width: 901px) {
    .play-card-lore {
        display: none;
        flex-direction: column;
    }

    .play-card-lore[style*="block"] {
        display: flex !important;
    }

    .play-lore-content {
        display: flex;
        flex: 1;
        flex-direction: column;
        min-height: 0;
        padding: 8px 0 4px;
    }

    .play-lore-content .upvote-container {
        position: static !important;
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
        gap: 14px !important;
        margin-top: auto;
        padding-top: clamp(28px, 8vh, 96px);
    }

    .play-lore-content .lotd-upvote-btn {
        width: clamp(84px, 12vh, 128px) !important;
        height: clamp(84px, 12vh, 128px) !important;
        border-width: 4px !important;
        box-shadow: 0 12px 24px rgba(233, 122, 155, 0.22);
    }

    .play-lore-content .lotd-upvote-btn span {
        font-size: clamp(2.9rem, 6vh, 4.5rem) !important;
        line-height: 1 !important;
    }

    .play-lore-content .upvote-container > span {
        color: var(--accent-pink);
        font-size: clamp(1.4rem, 3vh, 2.1rem) !important;
        font-weight: 900 !important;
        opacity: 1 !important;
    }
}

.play-card-poll #latest-poll-container .poll-post {
    display: grid !important;
    gap: 14px;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.play-card-poll #latest-poll-container .poll-post::before,
.play-card-poll #latest-poll-container .wm-panel-header {
    display: none !important;
}

.play-card-poll .poll-question {
    margin: 0 !important;
    font-size: 1.2rem;
    line-height: 1.2;
    text-align: center;
}

.play-card-poll .poll-options {
    gap: 8px;
}

.play-card-poll .poll-post.vertical-layout .poll-options {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.play-card-poll .poll-option {
    min-height: 68px;
}

.play-card-poll .poll-option-content {
    padding: 12px;
}

.play-card-poll .poll-option-text {
    font-size: 1rem;
}

.play-card-poll .poll-post.vertical-layout .poll-option {
    min-height: 300px;
    min-width: 0;
}

.play-card-poll .poll-footer {
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 0;
}

.play-card-history {
    grid-column: 1 / -1;
}

.play-history-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.play-history-columns h3 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.play-history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.play-history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.18s ease, background 0.18s ease;
}

.play-history-item:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.16);
}

.history-bot-head-wrapper {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.history-bot-head-wrapper.history-bot-head-muted {
    background: rgba(0, 0, 0, 0.3);
}

.history-bot-head-wrapper.history-bot-head-muted .history-bot-head {
    filter: grayscale(1) saturate(0.15) brightness(0.62);
    opacity: 0.58;
}

.history-bot-head {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(2.2);
    transform-origin: center 5%;
}

.history-item-info {
    min-width: 0;
}

.history-item-name {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-item-meta {
    margin-top: 2px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    opacity: 0.64;
    text-transform: uppercase;
}

.play-card-lounge {
    grid-column: 1 / -1;
}

.play-card-lounge #lounge-grid-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.play-card-lounge .homepage-post-wrapper {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 220px) auto;
    min-height: 0;
    max-height: 310px;
    margin: 0 !important;
    border-radius: 8px !important;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--border-color);
}

.play-card-lounge .homepage-post-blur-background {
    position: absolute;
    inset: 0;
    display: none;
    background-position: center;
    background-size: cover;
    filter: blur(24px) brightness(0.52);
    opacity: 0.48;
    transform: scale(1.08);
    pointer-events: none;
}

.play-card-lounge .link-post-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 220px;
    min-height: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.32);
}

.play-card-lounge .link-image {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    display: block;
    object-fit: cover;
    cursor: zoom-in;
}

.play-card-lounge .video-container {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    overflow: hidden;
    background: #000;
}

.play-card-lounge .video-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.play-card-lounge .post-info {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 12px 14px;
    background: var(--card-bg);
}

.play-card-lounge .submitted-by,
.play-card-lounge .post-timestamp {
    margin: 0;
}

.play-card-lounge .post-timestamp {
    margin-top: 3px;
    color: var(--nav-text-color);
    font-size: 0.76rem;
    font-weight: 800;
    opacity: 0.78;
}

/* Bot Preview on Play Hub */
#play-bot-preview-container .bot-entity-wrapper {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    height: 74%;
    max-width: 52cqw;
    width: auto;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    container-type: size;
}

#play-bot-preview-container .bot-sprite-group {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none;
    transform-origin: bottom center !important;
}

.preview-bot-name {
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    padding: 3cqh 6cqh;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20cqh;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-family: Georgia, serif;
    font-size: 11cqh;
    font-weight: 900;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    backdrop-filter: blur(5px);
}

#play-bot-preview-container .bot-layer {
    width: 100%;
    height: 100%;
}

.play-status-text {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    padding: 20px;
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(1.4rem, 7cqw, 2.6rem);
    line-height: 1.05;
    text-align: center;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
}

@media (max-width: 1180px) {
    .play-dashboard {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .play-card-feature {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    #play-hub-page {
        padding-left: 0;
        padding-right: 0;
    }

    .play-hero,
    .play-bots-websource,
    .play-dashboard,
    .play-lower-grid {
        margin-left: 0;
        margin-right: 0;
    }

    .play-hero {
        grid-template-columns: 1fr;
        padding: 26px 18px;
        border-left: none;
        border-right: none;
        border-radius: 0;
    }

    .play-bots-websource {
        display: none;
    }

    .play-quick-actions {
        min-width: 0;
        width: 100%;
    }

    .play-dashboard,
    .play-lower-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .play-card,
    .play-card-feature {
        border-left: none;
        border-right: none;
        border-radius: 0;
    }

    .play-card-feature {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .play-card-lore.play-card-feature {
        min-height: 0;
    }

    .play-card-lore.play-card-feature[style*="block"] {
        display: block !important;
    }

    .play-card-lore.play-card-feature .play-lore-content {
        display: block;
        padding: 8px 56px 0 0;
    }

    .play-side-panel {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }

    .play-card-race.play-card-feature .race-track-lines {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding: 22px;
    }

    .play-history-columns,
    .play-card-lounge #lounge-grid-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .play-quick-actions {
        grid-template-columns: 1fr;
    }

    .play-card-content,
    .play-side-panel,
    .play-card-lore,
    .play-card-poll,
    .play-card-history,
    .play-card-lounge {
        padding: 18px;
    }

    .play-lore-content {
        padding: 8px 54px 0 0;
    }

    .play-lore-content .upvote-container {
        right: 0 !important;
        bottom: 0 !important;
    }

    .play-section-heading {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .play-section-heading a {
        margin-left: 0;
    }

    .wm-advert-tile {
        width: 38px;
        height: 38px;
    }
}
