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

body {
    background: radial-gradient(circle at top, #30134f, #10091f 70%);
    font-family: Arial, sans-serif;
    color: white;
    min-height: 100vh;
}

body.theme-linkedin {
    background: radial-gradient(circle at top, #0a66c2, #061427 72%);
}

body.theme-gold {
    background: radial-gradient(circle at top, #5d430f, #130f08 72%);
}

body.theme-purple {
    background: radial-gradient(circle at top, #4b1d8f, #10091f 72%);
}

body.theme-minimal {
    background: #111827;
}

.game-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px;
    text-align: center;
    overflow-x: auto;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.logo-area {
    font-size: 24px;
    font-weight: bold;
    color: #ff2fa0;
}

.linkedin-badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 18px;
    border-radius: 30px;
    color: #8fd8ff;
}

.intro h1 {
    font-size: 44px;
    margin-bottom: 10px;
}

.intro p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 40px;
}

.game-board {
    position: relative;
    width: 900px;
    height: 680px;
    margin: 0 auto 40px;
}

.game-tile {
    position: absolute;
    width: 150px;
    height: 170px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.game-tile:hover {
    transform: translateY(-12px) scale(1.05);
    filter: drop-shadow(0 0 25px #ff2fa0);
}

.tile-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #ff007f, #7b2cff);
    clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
    padding: 8px;
    position: relative;
}

.theme-linkedin .tile-inner {
    background: linear-gradient(145deg, #0a66c2, #66b8ff);
}

.theme-gold .tile-inner {
    background: linear-gradient(145deg, #dca54a, #7b4e0f);
}

.theme-purple .tile-inner {
    background: linear-gradient(145deg, #9b5cff, #ff2fa0);
}

.theme-minimal .tile-inner {
    background: linear-gradient(145deg, #374151, #111827);
}

.tile-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 3%, 90% 26%, 90% 72%, 50% 95%, 10% 72%, 10% 26%);
}

.tile-number {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #3d235e;
    font-weight: bold;
    padding: 5px 14px;
    border-radius: 20px;
}

.game-message {
    max-width: 760px;
    margin: 0 auto;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 25px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.game-message h2 {
    color: #ff2fa0;
    margin-bottom: 5px;
}

.game-message h3 {
    color: #8fd8ff;
    margin-bottom: 15px;
}

.game-message p {
    line-height: 1.6;
    opacity: 0.9;
}

.linkedin-link {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 18px;
    background: #0a66c2;
    color: white;
    text-decoration: none;
    border-radius: 30px;
}

footer {
    margin-top: 30px;
    opacity: 0.7;
}

.watermark {
    margin-top: 8px;
    font-size: 14px;
}

.game-tile.active {
    transform: translateY(-15px) scale(1.08);
    filter: drop-shadow(0 0 30px #8fd8ff);
    z-index: 10;
}

.play-button {
    margin-bottom: 30px;
    padding: 14px 28px;
    border: none;
    background: linear-gradient(135deg, #ff007f, #7b2cff);
    color: white;
    font-size: 16px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
}

.record-mode .game-header,
.record-mode .linkedin-link {
    display: none;
}

.record-mode .game-wrapper {
    padding-top: 20px;
}

@media (max-width: 800px) {
    .game-header {
        flex-direction: column;
        gap: 14px;
    }

    .intro h1 {
        font-size: 34px;
    }
}
/* Hide tile numbers */
.tile-number {
    display: none !important;
}

/* Reduce space between board and shoutout box */
.game-board {
    margin-bottom: 14px !important;
}

.game-message {
    margin-top: 0 !important;
}

/* Softer shoutout area: no box, no border, warmer text */
.game-message {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 14px 10px 8px !important;
    max-width: 980px !important;
}

.game-message h2 {
    color: #ffb3cf !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
    margin-bottom: 8px !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.game-message h3 {
    color: #ffd6a3 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 18px !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.16);
}

.game-message p {
    color: #f6eee7 !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
    max-width: 860px !important;
    margin: 0 auto 18px !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.16);
}

.linkedin-link {
    margin-top: 10px !important;
}

footer {
    margin-top: 18px !important;
}

footer p {
    color: rgba(255,255,255,0.78) !important;
}

@media (max-width: 768px) {
    .game-message {
        padding: 10px 4px 6px !important;
    }

    .game-message h2 {
        font-size: 24px !important;
    }

    .game-message h3 {
        font-size: 18px !important;
    }

    .game-message p {
        font-size: 16px !important;
    }
}

/* Gratitude Board footer CTA */
.gb-footer {
    margin-top: 22px !important;
    text-align: center;
    opacity: 1 !important;
}

.gb-footer .watermark {
    color: rgba(255,255,255,0.72);
}

.gb-footer a {
    color: #ffd6a3;
    text-decoration: none;
    font-weight: 700;
}

.get-yours-link {
    display: inline-block;
    margin-top: 12px;
    padding: 11px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff007f, #7b2cff);
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(255, 47, 160, 0.25);
}

/* Signup page */
.signup-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.signup-card {
    width: 100%;
    max-width: 960px;
    text-align: center;
    padding: 46px;
    border-radius: 34px;
    background: rgba(255,255,255,0.07);
    box-shadow: 0 30px 90px rgba(0,0,0,0.35);
}

.signup-kicker {
    color: #ffd6a3;
    font-weight: 700;
    margin-bottom: 12px;
}

.signup-card h1 {
    font-size: 46px;
    color: #ffb3cf;
    margin-bottom: 16px;
}

.signup-lead {
    max-width: 760px;
    margin: 0 auto 28px;
    color: #f6eee7;
    line-height: 1.7;
    font-size: 18px;
}

.price-box {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 30px;
    border-radius: 24px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 30px;
}

.price-box span {
    color: rgba(255,255,255,0.72);
}

.price-box strong {
    color: #ffffff;
    font-size: 34px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0 auto 34px;
    max-width: 760px;
}

.features-grid div {
    padding: 15px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.07);
    color: #f6eee7;
}

.signup-cta {
    display: inline-block;
    padding: 16px 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff007f, #7b2cff);
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    font-size: 18px;
}

.qr-wrap {
    margin-top: 28px;
}

.qr-wrap p,
.signup-footer-note {
    color: rgba(255,255,255,0.72);
}

.qr-wrap img {
    margin-top: 10px;
    border-radius: 18px;
    background: #fff;
    padding: 10px;
}

.payment-warning {
    margin: 24px auto;
    max-width: 680px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 180, 0, 0.13);
    color: #ffe7b0;
}

.back-link {
    color: #ffd6a3;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 768px) {
    .signup-card {
        padding: 30px 22px;
    }
    .signup-card h1 {
        font-size: 34px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Bottom action area */
.game-bottom-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 20px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.game-bottom-actions .play-button {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.dookun-link {
    color: #ffd6a3;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
}

.dookun-link:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.12);
}

/* Pride / DEI Theme */
body.theme-pride {
    background:
        radial-gradient(circle at top, rgba(255,255,255,0.08), transparent 36%),
        linear-gradient(
            135deg,
            #111111 0%,
            #26113f 24%,
            #092f57 46%,
            #0f5132 64%,
            #5a3100 82%,
            #2b102f 100%
        ) !important;
}

.theme-pride .logo-area {
    background: linear-gradient(
        90deg,
        #e40303,
        #ff8c00,
        #ffed00,
        #008026,
        #24408e,
        #732982
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    font-weight: 900;
}

.theme-pride .linkedin-badge {
    color: #ffffff !important;
    background: linear-gradient(
        90deg,
        rgba(228,3,3,0.32),
        rgba(255,140,0,0.32),
        rgba(255,237,0,0.26),
        rgba(0,128,38,0.32),
        rgba(36,64,142,0.32),
        rgba(115,41,130,0.32)
    ) !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
}

.theme-pride .intro h1 {
    color: #ffffff !important;
    text-shadow: 0 3px 18px rgba(0,0,0,0.28);
}

.theme-pride .intro p {
    color: rgba(255,255,255,0.88) !important;
}

.theme-pride .tile-inner {
    background: linear-gradient(
        145deg,
        #e40303 0%,
        #ff8c00 18%,
        #ffed00 36%,
        #008026 54%,
        #24408e 72%,
        #732982 100%
    ) !important;
    box-shadow: 0 18px 38px rgba(0,0,0,0.28);
}

.theme-pride .game-tile:hover {
    filter: drop-shadow(0 0 24px rgba(255,255,255,0.62)) !important;
}

.theme-pride .game-tile.active {
    filter: drop-shadow(0 0 30px rgba(255,237,0,0.72)) !important;
}

.theme-pride .game-message h2 {
    color: #ffe3ef !important;
}

.theme-pride .game-message h3 {
    color: #fff1b8 !important;
}

.theme-pride .game-message p {
    color: #fffaf4 !important;
}

.theme-pride .play-button,
.theme-pride .get-yours-link {
    background: linear-gradient(
        90deg,
        #e40303,
        #ff8c00,
        #ffed00,
        #008026,
        #24408e,
        #732982
    ) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.theme-pride .gb-footer a,
.theme-pride .watermark a {
    color: #fff1b8 !important;
}

/* Signup success page */
.payment-meta {
    max-width: 520px;
    margin: 18px auto 0;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.86);
    text-align: left;
}

.payment-meta p {
    margin: 6px 0;
}

.signup-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.signup-secondary-button:hover {
    background: rgba(255,255,255,0.16);
}

/* Launch discount note */
.launch-discount-note {
    margin-top: 8px !important;
    color: rgba(255,255,255,0.82) !important;
    font-size: 16px !important;
}

.launch-discount-note span {
    color: #ffd6a3 !important;
    font-weight: 700 !important;
}

.launch-discount-note s {
    color: rgba(255,255,255,0.62) !important;
}

/* Launch discount styling */
.launch-discount-note {
    margin: 12px auto 0 !important;
    display: inline-block !important;
    padding: 10px 16px !important;
    border-radius: 999px !important;
    background: rgba(0, 176, 116, 0.14) !important;
    color: rgba(255,255,255,0.9) !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.launch-discount-note span {
    color: #8fffd2 !important;
    font-weight: 800 !important;
}

.launch-discount-note strong {
    color: #ffffff !important;
    font-weight: 900 !important;
}

.launch-discount-note s {
    color: rgba(255,255,255,0.55) !important;
    text-decoration-thickness: 2px !important;
}

/* Signup form and launch discount cleanup */
.discount-price-box {
    margin-bottom: 28px !important;
}

.discount-price-box span {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
}

.discount-price-box strong {
    display: block;
    font-size: 38px !important;
    margin-top: 4px;
}

.launch-discount-note {
    margin: 12px auto 0 !important;
    display: inline-block !important;
    padding: 10px 16px !important;
    border-radius: 999px !important;
    background: rgba(0, 176, 116, 0.14) !important;
    color: rgba(255,255,255,0.92) !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.launch-discount-note span {
    color: #8fffd2 !important;
    font-weight: 800 !important;
}

.launch-discount-note strong {
    display: inline !important;
    color: #ffffff !important;
    font-size: inherit !important;
    font-weight: 900 !important;
}

.launch-discount-note s {
    color: rgba(255,255,255,0.55) !important;
    text-decoration-thickness: 2px !important;
}

.signup-details-form {
    max-width: 680px;
    margin: 34px auto 28px;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255,255,255,0.075);
    text-align: left;
}

.signup-details-form h2 {
    color: #ffb3cf;
    font-size: 26px;
    margin-bottom: 8px;
    text-align: center;
}

.signup-details-form p {
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 22px;
    text-align: center;
}

.signup-details-form label {
    display: block;
    margin: 16px 0 7px;
    color: #ffd6a3;
    font-weight: 700;
}

.signup-details-form input,
.signup-details-form select,
.signup-details-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    font-size: 16px;
}

.signup-details-form input::placeholder,
.signup-details-form textarea::placeholder {
    color: rgba(255,255,255,0.46);
}

.signup-details-form select option {
    color: #111111;
}

.signup-details-form .signup-cta {
    width: 100%;
    border: none;
    margin-top: 24px;
    cursor: pointer;
    text-align: center;
}

/* Board music player */
.board-music-control {
    display: flex;
    justify-content: center;
    margin: 12px auto 20px;
}

.board-music-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.board-music-button:hover,
.board-music-button.is-playing {
    background: linear-gradient(135deg, #ff007f, #7b2cff);
    border-color: rgba(255,255,255,0.28);
}

#boardMusicIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
}

/* Lively signup page */
.signup-page-lively {
    align-items: flex-start !important;
    padding: 42px 20px !important;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 47, 160, 0.26), transparent 28%),
        radial-gradient(circle at 90% 12%, rgba(143, 216, 255, 0.20), transparent 30%),
        radial-gradient(circle at 50% 90%, rgba(255, 214, 163, 0.13), transparent 34%);
}

.signup-card-lively {
    max-width: 1180px !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.signup-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 28px;
}

.signup-hero-copy,
.signup-board-preview-card,
.signup-section,
.signup-price-section {
    border-radius: 34px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: 0 26px 80px rgba(0,0,0,0.28);
    backdrop-filter: blur(14px);
}

.signup-hero-copy {
    padding: 44px;
    text-align: left;
}

.signup-hero-copy .signup-kicker {
    color: #ffd6a3;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.signup-hero-copy h1 {
    font-size: clamp(42px, 6vw, 70px);
    line-height: 0.95;
    letter-spacing: -0.055em;
    color: #ffffff;
    margin-bottom: 22px;
}

.signup-hero-copy .signup-lead {
    margin: 0 0 28px !important;
    max-width: 680px;
    color: rgba(255,255,255,0.84);
    text-align: left;
    font-size: 19px;
}

.signup-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.signup-hero-actions .signup-cta,
.signup-hero-actions .signup-secondary-button {
    margin: 0 !important;
}

.signup-mini-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.signup-mini-proof span {
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.86);
    font-weight: 800;
    font-size: 13px;
}

.signup-board-preview-card {
    padding: 24px;
}

.signup-preview-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: rgba(255,255,255,0.72);
    margin-bottom: 18px;
}

.signup-preview-header span {
    color: #ffb3cf;
    font-weight: 900;
}

.signup-preview-header strong {
    color: #8fd8ff;
}

.signup-preview-board {
    position: relative;
    height: 430px;
    border-radius: 30px;
    background:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
        radial-gradient(circle at top, rgba(255,47,160,0.20), rgba(10,6,24,0.68));
    background-size: 42px 42px, 42px 42px, auto;
    overflow: hidden;
}

.shape-dot {
    position: absolute;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, #ff007f, #7b2cff);
    border: 3px solid rgba(255,255,255,0.40);
    box-shadow: 0 18px 38px rgba(0,0,0,0.30);
    animation: signupFloat 4s ease-in-out infinite;
}

.dot-1 { left: 42%; top: 6%; animation-delay: 0s; }
.dot-2 { left: 28%; top: 24%; animation-delay: .2s; }
.dot-3 { left: 56%; top: 24%; animation-delay: .4s; }
.dot-4 { left: 15%; top: 44%; animation-delay: .1s; }
.dot-5 { left: 42%; top: 44%; animation-delay: .3s; }
.dot-6 { left: 69%; top: 44%; animation-delay: .5s; }
.dot-7 { left: 4%; top: 66%; animation-delay: .6s; }
.dot-8 { left: 28%; top: 66%; animation-delay: .25s; }
.dot-9 { left: 56%; top: 66%; animation-delay: .45s; }
.dot-10 { left: 80%; top: 66%; animation-delay: .65s; }

@keyframes signupFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.03); }
}

.signup-preview-message {
    margin-top: 18px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.08);
    text-align: center;
}

.signup-preview-message strong {
    display: block;
    color: #ffd6a3;
    font-size: 20px;
    margin-bottom: 6px;
}

.signup-preview-message p {
    margin: 0 !important;
    color: rgba(255,255,255,0.82);
}

.signup-price-section {
    padding: 24px;
    margin-bottom: 28px;
}

.signup-price-section .price-box {
    margin-bottom: 0 !important;
}

.signup-section {
    padding: 36px;
    margin-bottom: 28px;
    text-align: center;
}

.signup-section-kicker {
    color: #ffd6a3 !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    margin-bottom: 10px !important;
}

.signup-section h2 {
    color: #ffffff;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -0.035em;
    margin-bottom: 12px;
}

.signup-section-lead {
    max-width: 760px;
    margin: 0 auto 26px !important;
    color: rgba(255,255,255,0.76);
    line-height: 1.7;
}

.signup-shape-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.signup-shape-card {
    padding: 20px;
    border-radius: 24px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.12);
    text-align: left;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.signup-shape-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 214, 163, 0.45);
}

.signup-shape-card strong {
    display: block;
    color: #ffffff;
    font-size: 19px;
    margin: 14px 0 6px;
}

.signup-shape-card span {
    display: block;
    color: rgba(255,255,255,0.70);
    line-height: 1.45;
    font-size: 14px;
}

.shape-mini {
    position: relative;
    height: 90px;
}

.shape-mini i {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff007f, #7b2cff);
    border: 2px solid rgba(255,255,255,0.35);
}

.pyramid-mini i:nth-child(1) { left: 44%; top: 0; }
.pyramid-mini i:nth-child(2) { left: 34%; top: 32px; }
.pyramid-mini i:nth-child(3) { left: 54%; top: 32px; }
.pyramid-mini i:nth-child(4) { left: 24%; top: 64px; }
.pyramid-mini i:nth-child(5) { left: 44%; top: 64px; }
.pyramid-mini i:nth-child(6) { left: 64%; top: 64px; }

.diamond-mini i:nth-child(1) { left: 45%; top: 0; }
.diamond-mini i:nth-child(2) { left: 32%; top: 30px; }
.diamond-mini i:nth-child(3) { left: 58%; top: 30px; }
.diamond-mini i:nth-child(4) { left: 38%; top: 60px; }
.diamond-mini i:nth-child(5) { left: 52%; top: 60px; }

.circle-mini i:nth-child(1) { left: 45%; top: 0; }
.circle-mini i:nth-child(2) { left: 65%; top: 18px; }
.circle-mini i:nth-child(3) { left: 65%; top: 54px; }
.circle-mini i:nth-child(4) { left: 45%; top: 70px; }
.circle-mini i:nth-child(5) { left: 25%; top: 54px; }
.circle-mini i:nth-child(6) { left: 25%; top: 18px; }

.ladder-mini i:nth-child(1) { left: 18%; top: 0; }
.ladder-mini i:nth-child(2) { left: 30%; top: 16px; }
.ladder-mini i:nth-child(3) { left: 42%; top: 32px; }
.ladder-mini i:nth-child(4) { left: 54%; top: 48px; }
.ladder-mini i:nth-child(5) { left: 66%; top: 64px; }

.grid-mini {
    display: grid;
    grid-template-columns: repeat(3, 28px);
    gap: 10px;
    align-content: center;
    justify-content: center;
}

.grid-mini i {
    position: static;
}

.orbit-mini i:nth-child(1) { left: 45%; top: 0; }
.orbit-mini i:nth-child(2) { left: 68%; top: 24px; }
.orbit-mini i:nth-child(3) { left: 60%; top: 62px; }
.orbit-mini i:nth-child(4) { left: 30%; top: 62px; }
.orbit-mini i:nth-child(5) { left: 22%; top: 24px; }
.orbit-mini i:nth-child(6) {
    left: 45%;
    top: 36px;
    background: rgba(255,214,163,0.9);
}

.signup-roadmap-card {
    margin-top: 22px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,214,163,0.14), rgba(255,47,160,0.10));
    border: 1px solid rgba(255,214,163,0.24);
    text-align: left;
}

.signup-roadmap-card span {
    color: #ffd6a3;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
}

.signup-roadmap-card strong {
    display: block;
    color: #ffffff;
    font-size: 22px;
    margin: 8px 0;
}

.signup-roadmap-card p {
    margin: 0 !important;
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
}

.lively-features-grid {
    max-width: none !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.lively-features-grid div {
    text-align: left;
    padding: 20px !important;
}

.lively-features-grid strong {
    display: block;
    color: #ffffff;
    margin-bottom: 7px;
    font-size: 17px;
}

.lively-features-grid span {
    display: block;
    color: rgba(255,255,255,0.70);
    line-height: 1.45;
    font-size: 14px;
}

.signup-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.signup-steps div {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.12);
    text-align: left;
}

.signup-steps span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff007f, #7b2cff);
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 14px;
}

.signup-steps strong {
    display: block;
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 18px;
}

.signup-steps p {
    margin: 0 !important;
    color: rgba(255,255,255,0.70);
    line-height: 1.5;
}

.signup-details-form-lively {
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: 0 26px 80px rgba(0,0,0,0.25);
}

@media (max-width: 980px) {
    .signup-hero-grid,
    .signup-shape-grid,
    .lively-features-grid,
    .signup-steps {
        grid-template-columns: 1fr !important;
    }

    .signup-hero-copy {
        padding: 32px 24px;
        text-align: center;
    }

    .signup-hero-copy .signup-lead {
        text-align: center;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .signup-hero-actions,
    .signup-mini-proof {
        justify-content: center;
    }

    .signup-preview-board {
        height: 360px;
    }

    .shape-dot {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 560px) {
    .signup-section {
        padding: 26px 18px;
    }

    .signup-board-preview-card {
        padding: 16px;
    }

    .signup-preview-board {
        height: 300px;
    }

    .shape-dot {
        width: 48px;
        height: 48px;
        font-size: 13px;
    }

    .signup-hero-actions .signup-cta,
    .signup-hero-actions .signup-secondary-button {
        width: 100%;
        justify-content: center;
    }
}

/* Board not found page */
.board-not-found-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 20px;
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 47, 160, 0.22), transparent 28%),
        radial-gradient(circle at 90% 20%, rgba(143, 216, 255, 0.18), transparent 30%),
        radial-gradient(circle at 50% 90%, rgba(255, 214, 163, 0.12), transparent 34%),
        radial-gradient(circle at top, #30134f, #10091f 70%);
}

.board-not-found-card {
    width: 100%;
    max-width: 720px;
    padding: 46px;
    border-radius: 34px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: 0 26px 80px rgba(0,0,0,0.30);
    backdrop-filter: blur(14px);
    text-align: center;
}

.board-not-found-card h1 {
    color: #ffffff;
    font-size: clamp(36px, 6vw, 62px);
    line-height: 1;
    letter-spacing: -0.045em;
    margin-bottom: 18px;
}

.board-not-found-card p {
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    font-size: 18px;
    margin-bottom: 24px;
}

.countdown-ring {
    width: 118px;
    height: 118px;
    margin: 28px auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, #ff007f, #7b2cff) padding-box,
        linear-gradient(135deg, #ffd6a3, #8fd8ff) border-box;
    border: 4px solid transparent;
    box-shadow: 0 18px 44px rgba(255,47,160,0.26);
}

.countdown-ring span {
    color: #ffffff;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
}

.redirect-note {
    font-size: 16px !important;
    color: rgba(255,255,255,0.72) !important;
}

.redirect-note strong {
    color: #ffd6a3;
}

.board-not-found-card .legal-actions {
    justify-content: center;
}

@media (max-width: 640px) {
    .board-not-found-card {
        padding: 32px 22px;
    }

    .board-not-found-card .signup-cta,
    .board-not-found-card .signup-secondary-button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Chrome extension landing page */
.chrome-extension-card {
    max-width: 1040px;
}

.chrome-download-box {
    margin: 30px 0;
    padding: 26px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255,0,127,0.18), rgba(123,44,255,0.16)),
        rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
}

.extension-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.extension-steps div {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.12);
}

.extension-steps strong {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff007f, #7b2cff);
    color: #ffffff;
    flex: 0 0 auto;
}

.extension-steps p {
    margin: 0;
}

.chrome-note {
    margin: 22px 0;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 214, 163, 0.12);
    border: 1px solid rgba(255, 214, 163, 0.22);
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
}

.chrome-note code,
.extension-steps code {
    color: #ffd6a3;
    font-weight: 800;
}

.chrome-extension-link-box {
    margin-top: 24px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.12);
    text-align: center;
}

.chrome-extension-link-box strong {
    display: block;
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 8px;
}

.chrome-extension-link-box span {
    display: block;
    color: rgba(255,255,255,0.72);
    margin-bottom: 16px;
}

@media (max-width: 700px) {
    .extension-steps {
        grid-template-columns: 1fr;
    }
}

/* Gratitude Board Lite Chrome Extension Page - self-contained */
.gb-extension-page {
    min-height: 100vh;
    padding: 48px 20px;
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 47, 160, 0.24), transparent 28%),
        radial-gradient(circle at 90% 20%, rgba(143, 216, 255, 0.18), transparent 30%),
        radial-gradient(circle at 50% 90%, rgba(255, 214, 163, 0.12), transparent 34%),
        radial-gradient(circle at top, #30134f, #10091f 70%);
    color: #ffffff;
    font-family: Arial, sans-serif;
}

.gb-extension-card {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 46px;
    border-radius: 36px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 30px 90px rgba(0,0,0,0.34);
    backdrop-filter: blur(14px);
}

.gb-extension-kicker {
    margin: 0 0 12px;
    color: #ffd6a3;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.gb-extension-hero h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.065em;
}

.gb-extension-lead {
    max-width: 900px;
    margin: 0;
    color: rgba(255,255,255,0.80);
    font-size: 21px;
    line-height: 1.45;
    font-weight: 600;
}

.gb-extension-download,
.gb-extension-upgrade,
.gb-extension-section {
    margin-top: 34px;
}

.gb-extension-download {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 30px;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255,0,127,0.20), rgba(123,44,255,0.18)),
        rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
}

.gb-extension-download h2,
.gb-extension-section h2,
.gb-extension-upgrade h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.gb-extension-download p,
.gb-extension-upgrade p {
    margin: 0;
    color: rgba(255,255,255,0.76);
    font-size: 17px;
    line-height: 1.55;
}

.gb-extension-primary,
.gb-extension-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 16px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    font-size: 16px;
    white-space: nowrap;
}

.gb-extension-primary {
    background: linear-gradient(135deg, #ff007f, #7b2cff);
    color: #ffffff;
    box-shadow: 0 18px 38px rgba(255,0,127,0.25);
}

.gb-extension-secondary {
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.16);
}

.gb-extension-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.gb-extension-steps div {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.12);
}

.gb-extension-steps strong {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff007f, #7b2cff);
    color: #ffffff;
    font-weight: 900;
    flex: 0 0 auto;
}

.gb-extension-steps p {
    margin: 7px 0 0;
    color: rgba(255,255,255,0.84);
    font-size: 16px;
    line-height: 1.45;
}

.gb-extension-steps code,
.gb-extension-note code {
    color: #ffd6a3;
    font-weight: 900;
}

.gb-extension-note {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 214, 163, 0.12);
    border: 1px solid rgba(255, 214, 163, 0.24);
    color: rgba(255,255,255,0.84);
    line-height: 1.6;
    font-size: 16px;
}

.gb-extension-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.gb-extension-features div {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.12);
}

.gb-extension-features strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 10px;
}

.gb-extension-features span {
    display: block;
    color: rgba(255,255,255,0.70);
    line-height: 1.5;
}

.gb-extension-upgrade {
    padding: 30px;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(143,216,255,0.13), rgba(255,214,163,0.11)),
        rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
}

.gb-extension-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.gb-extension-footer {
    margin-top: 34px;
    text-align: center;
    color: rgba(255,255,255,0.42);
}

.gb-extension-footer a {
    color: #ffd6a3;
    text-decoration: none;
    font-weight: 900;
}

.gb-extension-footer span {
    margin: 0 8px;
}

@media (max-width: 900px) {
    .gb-extension-download {
        grid-template-columns: 1fr;
    }

    .gb-extension-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .gb-extension-page {
        padding: 28px 14px;
    }

    .gb-extension-card {
        padding: 28px 18px;
        border-radius: 26px;
    }

    .gb-extension-steps,
    .gb-extension-features {
        grid-template-columns: 1fr;
    }

    .gb-extension-primary,
    .gb-extension-secondary {
        width: 100%;
        white-space: normal;
        text-align: center;
    }
}

/* Gratitude Board legal pages */
.gb-legal-page {
    min-height: 100vh;
    padding: 48px 20px;
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 47, 160, 0.22), transparent 28%),
        radial-gradient(circle at 90% 20%, rgba(143, 216, 255, 0.16), transparent 30%),
        radial-gradient(circle at 50% 90%, rgba(255, 214, 163, 0.12), transparent 34%),
        radial-gradient(circle at top, #30134f, #10091f 70%);
    color: #ffffff;
    font-family: Arial, sans-serif;
}

.gb-legal-card {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 46px;
    border-radius: 36px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 30px 90px rgba(0,0,0,0.34);
    backdrop-filter: blur(14px);
}

.gb-legal-kicker {
    margin: 0 0 12px;
    color: #ffd6a3;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.gb-legal-card h1 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.95;
    letter-spacing: -0.065em;
}

.gb-legal-updated {
    color: rgba(255,255,255,0.58) !important;
    font-size: 14px !important;
    margin-bottom: 28px !important;
}

.gb-legal-card h2 {
    color: #ffd6a3;
    font-size: 25px;
    margin: 34px 0 12px;
    letter-spacing: -0.03em;
}

.gb-legal-card p {
    color: rgba(255,255,255,0.80);
    line-height: 1.75;
    font-size: 16px;
    margin: 0 0 16px;
}

.gb-legal-card a {
    color: #8fd8ff;
    font-weight: 900;
    text-decoration: none;
}

.gb-legal-card a:hover {
    color: #ffd6a3;
}

.gb-legal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.gb-legal-primary,
.gb-legal-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 15px 24px;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 900;
    font-size: 15px;
}

.gb-legal-primary {
    background: linear-gradient(135deg, #ff007f, #7b2cff);
    color: #ffffff !important;
    box-shadow: 0 18px 38px rgba(255,0,127,0.24);
}

.gb-legal-secondary {
    background: rgba(255,255,255,0.10);
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.16);
}

@media (max-width: 640px) {
    .gb-legal-page {
        padding: 28px 14px;
    }

    .gb-legal-card {
        padding: 28px 20px;
        border-radius: 26px;
    }

    .gb-legal-primary,
    .gb-legal-secondary {
        width: 100%;
        text-align: center;
    }
}

/* Clean final board UI: flags, LinkedIn icon, WEBP export */
.game-tile {
    overflow: visible !important;
}

.game-tile .tile-inner {
    overflow: hidden !important;
    position: relative;
}

body .game-tile .tile-number.flag-badge {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 2px !important;
    transform: translateX(-50%) !important;
    width: 58px !important;
    height: 36px !important;
    min-width: 58px !important;
    padding: 0 0 4px 0 !important;
    background: #fff6ff !important;
    color: #111111 !important;
    font-size: 24px !important;
    line-height: 1 !important;
    border-radius: 18px 18px 20px 20px !important;
    clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%) !important;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.18) !important;
    z-index: 40 !important;
    pointer-events: none !important;
}

body .game-tile .tile-number.flag-badge:empty {
    display: none !important;
}

body .game-tile.active .tile-number.flag-badge {
    box-shadow: 0 -4px 16px rgba(255,255,255,0.22) !important;
}

.person-name-line {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.linkedin-name-icon {
    display: none !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    background: #0a66c2 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 28px !important;
    text-align: center !important;
    text-decoration: none !important;
    font-family: Arial, Helvetica, sans-serif !important;
    box-shadow: 0 8px 18px rgba(10, 102, 194, 0.28) !important;
}

.linkedin-name-icon.is-visible {
    display: inline-block !important;
}

#personLink,
.linkedin-link {
    display: none !important;
}






/* Legal modal */
.gb-legal-modal-open {
    overflow: hidden;
}

.gb-legal-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 99999;
}

.gb-legal-modal.is-open {
    display: block;
}

.gb-legal-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 3, 14, 0.78);
    backdrop-filter: blur(8px);
}

.gb-legal-modal-card {
    position: relative;
    width: min(980px, calc(100vw - 28px));
    height: calc(100vh - 34px);
    margin: 17px auto;
    border-radius: 28px;
    background: radial-gradient(circle at top, rgba(48,19,79,0.98), rgba(16,9,31,0.98) 72%);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 34px 100px rgba(0,0,0,0.48);
    overflow: hidden;
}

.gb-legal-modal-header {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.gb-legal-modal-header strong {
    color: #ffffff;
    font-size: 22px;
}

.gb-legal-modal-close {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.gb-legal-modal-frame {
    width: 100%;
    height: calc(100% - 72px);
    border: 0;
    display: block;
}

.gb-legal-page-modal {
    min-height: auto !important;
    padding: 22px !important;
    background: transparent !important;
}

.gb-legal-page-modal .gb-legal-card {
    max-width: none !important;
    padding: 28px !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,0.055) !important;
    box-shadow: none !important;
}

.gb-legal-page-modal .gb-legal-card h1 {
    font-size: clamp(34px, 5vw, 52px) !important;
}

@media (max-width: 720px) {
    .gb-legal-modal-card {
        width: calc(100vw - 18px);
        height: calc(100vh - 18px);
        margin: 9px auto;
        border-radius: 22px;
    }

    .gb-legal-page-modal {
        padding: 12px !important;
    }

    .gb-legal-page-modal .gb-legal-card {
        padding: 20px !important;
    }
}

/* Consistent public footer */
.gb-public-footer,
.gb-extension-footer,
.legal-footer-links {
    margin-top: 34px;
    text-align: center;
    color: rgba(255,255,255,0.42);
    font-size: 18px;
    font-weight: 900;
}

.gb-public-footer a,
.gb-extension-footer a,
.legal-footer-links a {
    color: #ffd6a3 !important;
    text-decoration: none !important;
    font-weight: 900;
}

.gb-public-footer a:hover,
.gb-extension-footer a:hover,
.legal-footer-links a:hover {
    color: #ffffff !important;
}

.gb-public-footer span,
.gb-extension-footer span,
.legal-footer-links span {
    display: inline-block;
    margin: 0 12px;
    color: rgba(255,255,255,0.34);
}

@media (max-width: 560px) {
    .gb-public-footer,
    .gb-extension-footer,
    .legal-footer-links {
        font-size: 16px;
        line-height: 1.9;
    }

    .gb-public-footer span,
    .gb-extension-footer span,
    .legal-footer-links span {
        margin: 0 7px;
    }
}

/* Game page final footer */
.gb-game-footer {
    margin-top: 34px !important;
    text-align: center;
    opacity: 1 !important;
}

.gb-game-caption {
    max-width: 860px;
    margin: 0 auto 18px !important;
    color: rgba(255,255,255,0.78) !important;
    line-height: 1.65;
}

.gb-game-footer .gb-public-footer {
    margin-top: 18px !important;
    margin-bottom: 12px !important;
}

.gb-created-by {
    margin: 0 !important;
    color: rgba(255,255,255,0.72) !important;
    font-size: 16px;
    font-weight: 700;
}

.gb-created-by a {
    color: #ffd6a3 !important;
    text-decoration: none !important;
    font-weight: 900;
}

.gb-created-by a:hover {
    color: #ffffff !important;
}

/* Chrome extension final footer */
.gb-extension-footer.gb-public-footer {
    margin-top: 34px !important;
    text-align: center !important;
}

.gb-extension-footer .gb-created-by {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    color: rgba(255,255,255,0.72) !important;
    font-size: 16px;
    font-weight: 700;
}

.gb-extension-footer .gb-created-by a {
    color: #ffd6a3 !important;
    text-decoration: none !important;
    font-weight: 900;
}

.gb-extension-footer .gb-created-by a:hover {
    color: #ffffff !important;
}

/* Signup final footer */
.signup-final-footer {
    margin-top: 34px !important;
    text-align: center !important;
}

.signup-final-footer .gb-created-by {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    color: rgba(255,255,255,0.72) !important;
    font-size: 16px;
    font-weight: 700;
}

.signup-final-footer .gb-created-by a {
    color: #ffd6a3 !important;
    text-decoration: none !important;
    font-weight: 900;
}

.signup-final-footer .gb-created-by a:hover {
    color: #ffffff !important;
}


/* True coordinate public board renderer */
.shape-dynamic-coordinate {
    position: relative;
    width: 900px;
    height: 760px;
    margin-left: auto;
    margin-right: auto;
}

.shape-dynamic-coordinate .game-tile {
    position: absolute;
}

@media (max-width: 980px) {
    .shape-dynamic-coordinate {
        transform: scale(0.82);
        transform-origin: top center;
        margin-bottom: -90px;
    }
}

@media (max-width: 720px) {
    .shape-dynamic-coordinate {
        transform: scale(0.62);
        margin-bottom: -190px;
    }
}

/* Dynamic themes from superadmin */
body.theme-custom-dynamic {
    background: radial-gradient(circle at top, var(--gb-bg-1, #30134f), var(--gb-bg-2, #10091f) 72%) !important;
    color: var(--gb-text, #ffffff) !important;
}

.theme-custom-dynamic .logo-area,
.theme-custom-dynamic .game-message h2 {
    color: var(--gb-accent-1, #ff2fa0) !important;
}

.theme-custom-dynamic .linkedin-badge,
.theme-custom-dynamic .game-message h3 {
    color: var(--gb-gold, #ffd6a3) !important;
}

.theme-custom-dynamic .intro p,
.theme-custom-dynamic .game-message p {
    color: var(--gb-muted, rgba(255,255,255,0.78)) !important;
}

.theme-custom-dynamic .tile-inner,
.theme-custom-dynamic .play-button,
.theme-custom-dynamic .get-yours-link {
    background: linear-gradient(145deg, var(--gb-accent-1, #ff007f), var(--gb-accent-2, #7b2cff)) !important;
}

/* Mobile Rescue Patch - Public Board */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
iframe,
canvas {
    max-width: 100%;
}

@media (max-width: 768px) {
    body {
        min-width: 0;
    }

    .game-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 16px 10px !important;
        overflow-x: hidden;
    }

    .game-header {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        text-align: center;
    }

    .intro h1 {
        font-size: clamp(28px, 9vw, 42px) !important;
        line-height: 1.05 !important;
        word-break: break-word;
    }

    .intro p {
        font-size: 16px !important;
        line-height: 1.45 !important;
    }

    .game-board {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
        transform: none !important;
    }

    .game-tile {
        max-width: 26vw !important;
        max-height: 30vw !important;
    }

    .shape-dynamic-coordinate .game-tile {
        width: clamp(58px, 18vw, 96px) !important;
        height: clamp(66px, 20vw, 108px) !important;
    }

    .tile-inner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .game-message {
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px !important;
        border-radius: 20px !important;
    }

    .game-message h2 {
        font-size: clamp(22px, 7vw, 32px) !important;
        line-height: 1.1 !important;
    }

    .game-message h3 {
        font-size: 18px !important;
    }

    .game-message p {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    .game-bottom-actions,
    .gb-game-footer,
    .gb-public-footer {
        width: 100%;
        max-width: 100%;
    }

    .play-button,
    .linkedin-link,
    .board-music-button {
        width: 100%;
        max-width: 360px;
    }

    .gb-legal-modal-card {
        width: calc(100vw - 20px) !important;
        height: calc(100vh - 24px) !important;
        max-width: none !important;
        max-height: none !important;
        border-radius: 20px !important;
    }

    .gb-legal-modal-frame {
        height: calc(100vh - 100px) !important;
    }
}

/* Social platform link support */
.social-name-icon {
    min-width: 30px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

.social-platform-instagram {
    background: linear-gradient(135deg, #feda75, #d62976, #962fbf) !important;
    color: #fff !important;
}

.social-platform-facebook {
    background: #1877f2 !important;
    color: #fff !important;
}

.social-platform-tiktok {
    background: #111 !important;
    color: #fff !important;
}

.social-platform-pinterest {
    background: #e60023 !important;
    color: #fff !important;
}

.social-platform-youtube {
    background: #ff0000 !important;
    color: #fff !important;
}

.social-platform-x {
    background: #000 !important;
    color: #fff !important;
}

.social-platform-threads {
    background: #111 !important;
    color: #fff !important;
}

.social-platform-website {
    background: rgba(255,255,255,0.14) !important;
    color: #ffd6a3 !important;
}

/* Social icon visibility fix */
.person-name-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.linkedin-name-icon,
.social-name-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    font-weight: 950;
    text-decoration: none;
    color: #fff;
    vertical-align: middle;
}

.social-name-icon[style*="inline-flex"] {
    display: inline-flex !important;
}

.social-platform-linkedin {
    background: #0a66c2 !important;
}

.social-platform-instagram {
    background: linear-gradient(135deg, #feda75, #d62976, #962fbf) !important;
}

.social-platform-facebook {
    background: #1877f2 !important;
}

.social-platform-tiktok {
    background: #111 !important;
}

.social-platform-pinterest {
    background: #e60023 !important;
}

.social-platform-youtube {
    background: #ff0000 !important;
}

.social-platform-x {
    background: #000 !important;
}

.social-platform-threads {
    background: #111 !important;
}

.social-platform-website {
    background: rgba(255,255,255,0.16) !important;
    color: #ffd6a3 !important;
    border: 1px solid rgba(255,214,163,0.35);
}

/* 7-Day Free Trial Signup */
.trial-button {
    border-color: rgba(255,214,163,0.42) !important;
    color: #ffd6a3 !important;
}

.trial-option-card,
.trial-trust-box {
    margin-top: 18px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.14);
}

.trial-option-card span,
.trial-trust-box strong {
    display: block;
    color: #ffd6a3;
    font-weight: 950;
    margin-bottom: 8px;
}

.trial-option-card strong {
    display: block;
    color: #fff;
    font-size: 24px;
    margin-bottom: 8px;
}

.trial-option-card p,
.trial-trust-box p {
    margin: 0 0 14px;
    color: rgba(255,255,255,0.76);
    line-height: 1.55;
}

.trial-register-form {
    margin: 0;
}

.trial-signup-card {
    max-width: 1180px;
}

.trial-expired-card {
    max-width: 720px;
    text-align: center;
}

.trial-expired-card .signup-hero-actions {
    justify-content: center;
    margin-top: 22px;
}

@media (max-width: 760px) {
    .trial-option-card,
    .trial-trust-box {
        padding: 18px;
    }

    .trial-option-card strong {
        font-size: 21px;
    }
}

/* Temporarily hide Gratitude Board Lite / Chrome Extension signup section */
.chrome-extension-signup-section {
    display: none !important;
}

/* Game header sign-in pill */
.game-signin-pill {
    text-decoration: none;
    cursor: pointer;
}

.game-signin-pill:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}
