:root {
    /* fortune */
    --bg1: #ffecd2;
    --bg2: #fcb69f;
    --pink: #ff3d81;
    --orange: #ff7a2f;
    --yellow: #ffd93d;
    --ink: #1f2937;
    --muted: #6b7280;
    --card: #ffffff;
    --radius: 26px;
    --shadow: 0 22px 46px rgba(0, 0, 0, .18);
    /* mood */
    --ink: #0b0b0f;
    --muted: rgba(0, 0, 0, .6);
    --line: 3px solid var(--ink);
    --bg1: #f7f7fb;
    --bg2: #eef4ff;
    --shadowHard: 7px 7px 0 rgba(0, 0, 0, .95);
    --shadowHard2: 9px 9px 0 rgba(0, 0, 0, .95);
    --shadowSoft: 14px 18px 28px rgba(0, 0, 0, .14);
    --card: #ffffff;
    --green1: #57d163;
    --green2: #7de37b;
    --yellow: #ffd463;
    --orange: #ff9b5c;
    --red: #ff5a5f;
    --accent: #b197fc;
    --toast: #ff7a00;

    /* Game 3 */
}


/* Common CSS */

.gameZonePopup {
    display: flex;
    align-items: flex-start;
    padding: 20px 0px;
}

.gameZonePopup .modal-content {
    background: none;
    border: none;
}

.gameZonePopup .modal-content .modal-body {
    padding: 0px;
    background: none;
}

.gameZonePopup .btn-close {
    position: absolute;
    top: 89px;
    right: 20px;
    z-index: 999;
    border: 1px solid #fff;
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background-color: #fff;
    opacity: 1;
}

.gameType {
    list-style: none;
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 0px;
    position: relative;
    z-index: 99;
    padding: 0px 20px;
    margin-top: 68px;
    position: sticky;
    top: 30px;
}

.gameType li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
    background: #ff7a00;
    color: #fff;
    filter: blur(2px);
    opacity: .5;
}

.gameType li a img {
    height: 46px;
    width: 46px;
    display: block;
    padding: 5px;
    background-color: #fff;
    border-radius: 5px;
}

.gameType li a span {
    display: block;
    font-size: 18px;
    font-weight: 500;
}

.allGames {
    padding: 28px;
    padding-top: 80px;
    margin: auto;
    min-height: 500px;
    width: min(760px, 100%);
    background: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    border: none;
    margin-top: 50px;
}

.gameZonePopup .owl-nav .owl-prev span::before {
    background: url(http://103.74.223.20:4300/lapro/wp-content/plugins/funzone/assets/images/gameLeft.png) no-repeat center;
    background-size: contain;
}

.gameZonePopup .owl-nav .owl-prev {
    left: -25px;
}

.gameZonePopup .owl-nav .owl-next span::before {
    background: url(http://103.74.223.20:4300/lapro/wp-content/plugins/funzone/assets/images/gameRight.png) no-repeat center;
    background-size: contain;
}

.gameZonePopup .owl-nav .owl-next {
    right: -25px;
}

.gameZonePopup .modal-dialog {
    width: 550px !important;
}

.gameZonePopup .popupHeader {
    position: absolute;
    z-index: 999;
    top: -10px;
    left: 0px;
    right: 0px;
}


.gameZonePopup .popupFooter {
    position: absolute;
    bottom: 25px;
    z-index: 999;
    left: 0px;
    right: 0px;
}

.gameZonePopup .popupFooter p {
    position: absolute;
    left: 0px;
    right: 0px;
    text-align: center;
    bottom: 0px;
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    font-family: "Poppins", sans-serif;
}

.gameZonePopup .headings {
    /* position: absolute; */
    text-align: center;
    margin: auto;
    /* left: 0px;
    right: 0px;
    top: 170px; */
}

.gameZonePopup .headings h1 {
    font-family: "Fredoka", sans-serif !important;
    font-weight: 600;
}

.gameZonePopup .headings p {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.funZoneButton {
    margin-right: 10px;
}

.funZoneMenu .funZoneButton img {
    width: auto !important;
    height: auto !important;
}

.funZoneMenu .funZoneButton .funZoneImg01 {
    display: block;
    box-shadow: 0px 2px 10px 0px #0004;
    border-radius: 20px;
}

.funZoneMenu:hover .funZoneButton .funZoneImg01 {
    display: none;
}

.funZoneMenu .funZoneButton .funZoneImg02 {
    display: none;
}

.funZoneMenu:hover .funZoneButton .funZoneImg02 {
    display: block;
}



.gameMenuWrap {
    position: absolute;
    width: 100%;
    z-index: 999;
    background: #fff;
    left: 0px;
    top: 49px;
    padding: 20px 0px;
    padding-top: 33px;
    display: none;
    box-shadow: 0px 5px 5px 0px #0002;
}

.funZoneMenu:hover .gameMenuWrap {
    display: block;
}

.gameMenuWrap ul {
    display: flex;
    gap: 30px;
}

.gameMenuWrap ul li {

    flex: 1;
}

.gameMenuWrap ul li a {
    border: 1px solid transparent;
    display: flex;
    gap: 10px;
    padding: 20px;
    border-radius: 10px;
    align-items: center;
    box-shadow: 0px 0px 20px 0px #0004;
}


.gameMenuWrap ul li a:hover {
    border: 1px solid #ccc;
    box-shadow: none;
}

.gameMenuWrap ul li a img {
    height: 36px;
    width: auto !important;
}


/* ===============================Fortune Cookie=============================== */
.themeButton:hover,
.postJobs:hover {
    color: #fff !important;
}

.fortuneWrap {
    width: min(760px, 100%);
    background: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    border: none;
}

.fortuneWrap .fortuneHeader {
    background: linear-gradient(90deg, var(--yellow), var(--pink));
    padding: 24px 18px 20px;
    text-align: center;
}

.fortuneWrap .fortuneHeader h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: .2px;
}

.fortuneWrap .fortuneHeader p {
    margin: 8px 0 0;
    font-size: 18px;
    font-weight: 800;
}

.fortuneBody {
    padding: 40px 20px !important;
    text-align: center;
    background: #fff;
    min-height: 420px;
    box-shadow: 0px 0px 10px 0px #0004;
    font-family: "Poppins", sans-serif;
}


/* Cookie stage */
.fortuneWrap .cookie-stage {
    margin: 0px auto 0px;
    width: min(450px, 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Make cookie clickable too */
.fortuneWrap .cookie-btn {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    border-radius: 24px;
}

.fortuneWrap .cookie-btn:active {
    transform: translateY(1px);
}

.fortuneWrap .cookie-wrap {
    position: relative;
    width: 180px;
    max-width: 88vw;
    aspect-ratio: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 143px;
}

/* Cookie images */
.fortuneWrap .cookie-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .28));
    transition: opacity .18s ease, transform .22s ease;
}

.fortuneWrap .cookie-img.closed {
    opacity: 1;
    transform: none;
}

.fortuneWrap .cookie-img.cracked {
    opacity: 0;
    transform: rotate(0deg) scale(1);
}

.fortuneWrap .cracked-state .cookie-img.closed {
    opacity: 0;
    transform: rotate(0deg) scale(1);
}

.fortuneWrap .cracked-state .cookie-img.cracked {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    border-radius: 0px;
}

/* Fortune strip coming out of cookie (hidden BEFORE) */
.fortuneWrap .strip {
    position: absolute;
    left: 50%;
    top: 28%;
    transform: translateX(-50%) translateY(28px) rotate(-2deg);
    width: min(380px, 92vw);
    padding: 14px 16px 12px;
    background: #fffdf7;
    border: 2px dashed rgba(0, 0, 0, .20);
    border-radius: 16px;
    box-shadow: 0 14px 26px rgba(0, 0, 0, .14);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .28s ease;
}

/* Small “tab” so it feels like paper emerges from crack */
.fortuneWrap .strip::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 22px;
    background: #fffdf7;
    border-left: 2px dashed rgba(0, 0, 0, .20);
    border-right: 2px dashed rgba(0, 0, 0, .20);
    border-top: 2px dashed rgba(0, 0, 0, .20);
    border-radius: 12px 12px 0 0;
}

.fortuneWrap .strip.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px) rotate(-1deg);
}

.fortuneWrap .strip .fortune-text {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 850;
    line-height: 1.25;
    margin: 0;
    color: #111;
}

/* Helper text (must disappear after crack) */
.fortuneWrap .helper {
    font-size: 16px;
    font-weight: 850;
    color: var(--muted);
    margin-top: 0px;
    transition: opacity .18s ease, transform .18s ease;
}

.fortuneWrap .helper.hide {
    opacity: 0;
    transform: translateY(-6px);
    height: 0;
    margin: 0;
    overflow: hidden;
}

/* Button */
.fortuneWrap .actions {
    margin: 0px 0 6px;
    z-index: 99999;
    position: relative;
    padding-bottom: 20px;
}

.fortuneWrap .btn {
    background: linear-gradient(135deg, #D70606, #710303);
    border: none;
    color: #fff !important;
    font-size: 22px;
    font-weight: 600;
    padding: 0px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    transition: transform .08s ease, opacity .12s ease, filter .12s ease;
    padding: 8px 20px;
    font-family: "Poppins", sans-serif;
}

.fortuneWrap .btn:active {
    transform: translateY(1px);
}

.fortuneWrap .btn[disabled] {
    opacity: .62;
    cursor: not-allowed;
    box-shadow: none;
    filter: grayscale(.12);
}

.fortuneWrap .micro {
    margin-top: 6px;
    font-size: 16px;
    color: var(--muted);
    font-weight: 600;
    font-family: "Poppins", sans-serif;
}

/* Footer */
.fortuneWrap .footer {
    background: linear-gradient(90deg, var(--yellow), var(--pink));
    text-align: center;
    padding: 12px 14px;
    font-size: 18px;
    font-weight: 900;
    border-radius: 4px;
}

.fortuneWrap .debug {
    margin-top: 10px;
    font-size: 12px;
    color: #b91c1c;
    font-weight: 800;
    display: none;
}

.fortuneWrap .debug.show {
    display: block;
}

.gameType li.active a {
    color: #fff;
    font-weight: bold;
    filter: blur(0);
    opacity: 1;
    font-family: "Poppins", sans-serif;
}

.gameType li:hover a {
    color: #fff;
    font-weight: bold;
    filter: blur(0);
    opacity: 1;
}


.gameCarousel {
    background: none;
    border-radius: 0px;
    max-width: 550px;
    margin: auto;
}

/* ====================================Mood==================================== */


.moodWrap .top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    user-select: none;
}

.moodWrap .sticker {
    display: block;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0px;
    box-shadow: none;
    transform: rotate(0deg);
    position: relative;
}

.moodWrap .sticker:before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 2px solid var(--ink);
    border-radius: 4px;
    transform: translateY(-50%) rotate(12deg);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, .95);
    display: none;
}

.moodWrap h1 {
    margin: 0;
    /* font-size: 22px; */
    font-weight: 600;
    letter-spacing: .2px;
    font-family: "Fredoka", sans-serif !important;
}

.moodWrap .sub {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-align: center;
}

.moodWrap .stage {
    background: rgba(255, 255, 255, .70);
    border-radius: 0;
    padding: 0px 0px;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
}

.moodWrap .panel {
    background: var(--card);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    position: relative;
    overflow: visible;
    min-height: 300px;
}

.moodWrap .burst {
    position: absolute;
    left: -40px;
    top: -40px;
    width: 160px;
    height: 160px;
    background:
        radial-gradient(circle at 40% 40%, rgba(255, 212, 99, .85), rgba(255, 212, 99, 0) 60%),
        radial-gradient(circle at 65% 60%, rgba(122, 92, 255, .50), rgba(122, 92, 255, 0) 60%);
    transform: rotate(15deg);
    opacity: .55;
    pointer-events: none;
}

.moodWrap .dots {
    position: absolute;
    right: 10px;
    top: 52px;
    width: 220px;
    height: 120px;
    background: radial-gradient(rgba(0, 0, 0, .16) 1px, transparent 2px) 0 0/10px 10px;
    border-radius: 18px;
    opacity: .25;
    pointer-events: none;
}

.moodWrap .batteryZone {
    display: flex;
    justify-content: center;
    margin: 18px 0 8px;
}

.moodWrap .battery {
    width: min(780px, 100%);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

/* + at Full Charge end (left) | - at Empty end (right) */
.moodWrap .pole {
    width: 56px;
    height: 56px;
    border: var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .95);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 1000;
    font-size: 30px;
    user-select: none;
    color: #2b65ff;
}

.moodWrap .pole.plus {
    transform: rotate(-2deg);
}

.moodWrap .pole.minus {
    transform: rotate(2deg);
}

.moodWrap .cell {
    flex: 1;
    height: auto;
    border: none;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, .25);
    display: block;
    grid-template-columns: repeat(5, 1fr);
    overflow: auto;
    position: relative;
    padding: 10px;
}

.moodWrap .cap {
    position: absolute;
    right: -22px;
    top: 50%;
    width: 30px;
    height: 74px;
    transform: translateY(-50%);
    border: var(--line);
    border-left: none;
    border-radius: 0 18px 18px 0;
    background: #fff;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .95);
    pointer-events: none;
    display: none;
}

.moodWrap .currentLine {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 50%;
    height: 10px;
    transform: translateY(-50%);
    border-radius: 999px;
    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, .55) 20%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, .65) 60%,
            rgba(255, 255, 255, 0) 80%,
            rgba(255, 255, 255, .55) 100%);
    opacity: .35;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.moodWrap .currentLine::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .95), rgba(255, 255, 255, 0));
    width: 35%;
    transform: translateX(-120%);
    animation: flow 1.4s linear infinite;
    opacity: .85;
}

@keyframes flow {
    to {
        transform: translateX(360%);
    }
}

.moodWrap .spark {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(0, 0, 0, .20);
    background: rgba(255, 255, 255, .7);
    border-radius: 4px;
    transform: rotate(15deg);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    animation: spark 1.6s ease-in-out infinite;
}

.moodWrap .spark.s1 {
    left: 18%;
    top: 18px;
    animation-delay: .0s;
}

.moodWrap .spark.s2 {
    left: 44%;
    bottom: 16px;
    animation-delay: .35s;
}

.moodWrap .spark.s3 {
    left: 70%;
    top: 22px;
    animation-delay: .7s;
}

@keyframes spark {
    0% {
        opacity: 0;
        transform: translateY(6px) rotate(15deg) scale(.85);
    }

    20% {
        opacity: .85;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        transform: translateY(-10px) rotate(25deg) scale(1.05);
    }
}

.moodWrap .seg {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: transform .12s ease, filter .18s ease;
    z-index: 2;
    padding: 2px;
    min-width: 115px;
    height: 100px;
}

.moodWrap .seg:active {
    transform: translate(1px, 1px);
}

.moodWrap .segInner {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    padding: 12px 8px;
    border: 2px solid rgba(0, 0, 0, .18);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .20);
    overflow: hidden;
}

.moodWrap .emoji {
    font-size: 16px;
    line-height: 1;
    position: relative;
    z-index: 2;
}

.moodWrap .label {
font-size: 10px;
    font-weight: 600;
    letter-spacing: inherit;
    text-align: center;
    background: rgba(255, 255, 255, .82);
    border: 2px solid rgba(0, 0, 0, .25);
    border-radius: 999px;
    padding: 4px 6px;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, .55);
    width: 100%;
    position: relative;
    z-index: 2;
}

.moodWrap .full .segInner {
    background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .05)), var(--green1);
}

.moodWrap .steady .segInner {
    background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .05)), var(--green2);
}

.moodWrap .neutral .segInner {
    background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .05)), var(--yellow);
}

.moodWrap .low .segInner {
    background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .05)), var(--orange);
}

.moodWrap .empty .segInner {
    background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .05)), var(--red);
}

.moodWrap .seg.selected {
    z-index: 6;
    transform: translateY(-1px);
}

.moodWrap .seg.selected .segInner {
    outline: 4px solid rgba(0, 0, 0, .30);
    outline-offset: -8px;
    animation: glow 1.15s ease-in-out infinite;
}

@keyframes glow {
    0% {
        box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .20), 0 0 0 0 rgba(122, 92, 255, 0);
    }

    50% {
        box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .20), 0 0 0 12px rgba(122, 92, 255, .10);
    }

    100% {
        box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .20), 0 0 0 0 rgba(122, 92, 255, 0);
    }
}

.moodWrap .seg.selected .segInner::before {
    content: "";
    position: absolute;
    inset: -20px -40px;
    background:
        repeating-linear-gradient(135deg,
            rgba(255, 255, 255, 0) 0px,
            rgba(255, 255, 255, 0) 10px,
            rgba(255, 255, 255, .30) 10px,
            rgba(255, 255, 255, .30) 18px);
    transform: translateX(-20%);
    animation: stripes 0.95s linear infinite;
    opacity: .55;
    z-index: 1;
}

@keyframes stripes {
    to {
        transform: translateX(20%);
    }
}

.moodWrap .chargeTag {
    position: absolute;
    left: 0;
    right: 0px;
    margin: auto;
    width: max-content;
    top: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, .25);
    background: rgba(255, 255, 255, .78);
    font-weight: 1000;
    font-size: 11px;
    color: rgba(0, 0, 0, .70);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, .35);
    opacity: 0;
    transform: translateY(-6px) scale(.96);
    transition: .18s ease;
    z-index: 7;
    pointer-events: none;
}

.moodWrap .seg.selected .chargeTag {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.moodWrap .glass {
    position: absolute;
    inset: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .45);
    border: 2px solid rgba(0, 0, 0, .12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
    z-index: 4;
}

.moodWrap .glass:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background:
        radial-gradient(280px 120px at 20% 20%, rgba(255, 255, 255, .65), rgba(255, 255, 255, 0) 55%),
        linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .02));
    opacity: .9;
}

.moodWrap .window {
    position: absolute;
    top: 10px;
    height: calc(100% - 20px);
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
    outline: 2px solid rgba(0, 0, 0, .14);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, .25) inset,
        6px 6px 0 rgba(0, 0, 0, .10);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, left .18s ease, width .18s ease;
    z-index: 5;
    display: none;
}

.moodWrap .afterMode .glass {
    opacity: 1;
}

.moodWrap .afterMode .window {
    opacity: 1;
}

.moodWrap .afterMode .seg {
    filter: saturate(.55) contrast(.92) blur(.7px);
}

.moodWrap .afterMode .seg.selected {
    filter: none !important;
}

.moodWrap .hint {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin: 8px 0 0;
    user-select: none;
}

.moodWrap .result {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 100px;
}

.moodWrap .bubble {
    position: relative;
    background: var(--toast);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 16px;
    font-weight: 500;
    box-shadow: none;
    max-width: min(760px, 100%);
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all .18s ease;
    font-size: 14px;
}

.moodWrap .bubble.show {
    opacity: 1;
    transform: translateY(0);
}

.moodWrap .bubble:after {
    content: "";
    position: absolute;
    left: 34px;
    bottom: -10px;
    width: 18px;
    height: 18px;
    background: var(--toast);
    border-left: var(--line);
    border-bottom: var(--line);
    transform: rotate(45deg);
    display: none;
}

.moodWrap .chipRow {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    user-select: none;
}

.moodWrap .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: #fff;
    border: none;
    border-radius: 999px;
    box-shadow: none;
    font-weight: 600;
    font-size: 12px;
}

.moodWrap .tick {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 2px solid rgba(0, 0, 0, .25);
    background: rgba(46, 204, 113, .18);
}

/* One small ↻ button */
.moodWrap .tryBtn {
    z-index: 99999;
    position: absolute;
    right: 18px;
    bottom: -22px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: none;
    background: #fff;
    box-shadow: none;
    font-weight: 1000;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.moodWrap .tryBtn:active {
    transform: translate(1px, 1px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, .95);
}

.moodTileWrap {
    overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-width: thin; /* Firefox */
    display: flex;
    border-radius: 20px;
}

.moodTileWrap::-webkit-scrollbar {
  height: 8px;
}

.moodTileWrap::-webkit-scrollbar-track {
  background: #d9d9d9;
  border-radius: 10px;
}

.moodTileWrap::-webkit-scrollbar-thumb {
  background: #a8a8a8;
  border-radius: 10px;
}

/* New */
.scroll-left {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    font-size: 27px;
    line-height: .4;
}

.scroll-right {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    font-size: 27px;
    line-height: .4;
}


/* Responsive */

@media(max-width:640px) {
    .fortuneWrap .fortuneHeader h1 {
        font-size: 26px
    }

    .fortuneWrap .fortuneHeader p {
        font-size: 16px
    }

    .fortuneWrap .btn {
        font-size: 20px
    }

    .fortuneWrap .footer {
        font-size: 16px
    }

    .fortuneWrap .strip .fortune-text {
        font-size: 18px
    }

    /* ============================Mood============================ */

    .moodWrap .pole {
        width: 44px;
        height: 44px;
        font-size: 26px;
        border-radius: 14px;
    }

    .moodWrap .cell {
        height: 132px;
    }

    .moodWrap .cap {
        display: none;
    }

    .moodWrap .emoji {
        font-size: 24px;
    }

    .moodWrap .label {
        font-size: 10px;
    }
}

/* =============================Game 3=========================== */
/* :root {
    --bg: #f3f4f6;
    --card: #ffffff;
    --ink: #111827;
    --muted: #6b7280;

    --yellow: #f6c300;
    --orange: #f57c22;

    --shadow: 0 12px 30px rgba(0, 0, 0, .10);
    --radius: 22px;
    --soft: 18px;

    --border: rgba(17, 24, 39, .08);
    --dash: rgba(17, 24, 39, .18);
}

* {
    box-sizing: border-box;
} */
/* 
body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
} */

.secretsWrap .secretsBody {
    padding: 40px 20px !important;
    text-align: center;
    background: #fff;
    min-height: 420px;
    box-shadow: 0px 0px 10px 0px #0004;
    font-family: "Poppins", sans-serif;
}

.secretsWrap .wrap {
    width: min(720px, 100%);
    background: var(--card);
    border-radius: var(--radius);
    border: none;
    overflow: hidden;
    padding-bottom: 50px;
}

/* Header */
.secretsWrap .header {
    background: var(--yellow);
    padding: 22px 16px 18px;
    text-align: center;
}

.secretsWrap .header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: .2px;
}

.secretsWrap .header p {
    margin: 8px 0 0;
    font-size: 18px;
    font-weight: 700;
}

/* Body */
.secretsWrap .body {
    padding: 15px 0px 0;
    background: #fff;
}

.secretsWrap .tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.secretsWrap .tile {
    background: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 0px 10px rgba(0, 0, 0, .2);
    min-height: 108px;
}

.secretsWrap .tile .label {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 5px;
    background: #167af4;
    border-radius: 4px;
    padding: 2px;
}

.secretsWrap .tile .value {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    letter-spacing: .4px;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Fredoka", sans-serif !important;
}

.secretsWrap .tile .hint {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    margin-top: 6px;
}

/* Fortune box */
.secretsWrap .fortune {
    margin: 10px 0px;
    border: 2px dashed rgba(17, 24, 39, .18);
    border-radius: 8px;
    padding: 10px;
    background: #fff;
}

/* .secretsWrap.is-active .fortune:before {

} */

/*  */
/* .swipeWrap .tile div {
    position: relative;
    overflow: hidden;
    padding: 18px 14px;
} */

/* .swipeWrap .locked .tile.winner div {
    border-radius: 8px;
    outline: 4px solid rgba(0, 0, 0, .30);
    outline-offset: -8px;
    animation: glow 1.15s ease-in-out infinite;
} */

.secretsWrap .fortune {
    position: relative;
    overflow: hidden;
}

.secretsWrap.is-active .fortune.show-result {
    background: #ffd463;
    border: none;
    outline: 4px solid rgba(0, 0, 0, .30);
    outline-offset: -8px;
    animation: glow 1.15s ease-in-out infinite;
}

.secretsWrap.is-active .fortune.show-result::before {
    content: "";
    position: absolute;
    /* Inset se control hota hai ki lines kitne area me dikhengi */
    inset: -20px -40px;

    /* Screenshot wala exact gradient logic */
    background: repeating-linear-gradient(135deg,
            rgba(255, 255, 255, 0) 0px,
            rgba(255, 255, 255, 0) 10px,
            rgba(255, 255, 255, 0.3) 10px,
            rgba(255, 255, 255, 0.3) 18px);

    opacity: 0.55;
    z-index: 1;
    /* Animation call */
    animation: stripes2 0.95s linear infinite;
    height: 300px;
    width: 630px;
}

@keyframes stripes2 {
    0% {
        transform: translateX(-20%);
    }

    100% {
        transform: translateX(0);
    }
}

.moving-lines {
    position: relative;
    z-index: 2;
    /* Text lines ke upar dikhe */
    font-family: sans-serif;
    color: #333;
}

/*  */

.secretsWrap .fortune .proverb {
    font-family: "Fredoka", sans-serif !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 10px;
    color: #111;
    position: relative;
    z-index: 99;
}

.secretsWrap .fortune .sig {
    font-size: 16px;
    color: var(--muted);
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 99;
}

/* Button */
.secretsWrap .actions {
    display: flex;
    justify-content: center;
    padding: 0 0 16px;
}


.secretsWrap .btn {
    background: linear-gradient(135deg, #D70606, #710303);
    border: none;
    color: #fff !important;
    font-size: 22px;
    font-weight: 600;
    padding: 0px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    transition: transform .08s ease, opacity .12s ease, filter .12s ease;
    padding: 8px 20px;
    font-family: "Poppins", sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-right: 60px;
}

.secretsWrap .btn:active {
    transform: translateY(1px);
}

.secretsWrap .actions button img.pullUp {
    width: 30px;
    position: absolute;
    right: 20px;
    top: 2px;
    display: block;
}

.secretsWrap .actions button img.pullDown {
    width: 30px;
    position: absolute;
    right: 20px;
    bottom: 2px;
    display: none;
}

.secretsWrap.is-active .actions button {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

.secretsWrap.is-active .actions button img.pullUp {
    display: none;
}

.secretsWrap.is-active .actions button img.pullDown {
    display: block;
}

/* Footer bar */
.secretsWrap .footer {
    background: var(--yellow);
    text-align: center;
    padding: 10px 14px;
    font-size: 18px;
    font-weight: 800;
}



/* Responsive */
@media (max-width: 620px) {
    .secretsWrap .header h1 {
        font-size: 24px;
    }

    .secretsWrap .header p {
        font-size: 16px;
    }

    .secretsWrap .tiles {
        grid-template-columns: 1fr;
    }

    .secretsWrap .tile {
        min-height: 96px;
    }

    .secretsWrap .fortune .proverb {
        font-size: 20px;
    }

    .secretsWrap .btn {
        font-size: 20px;
    }

    .secretsWrap .footer {
        font-size: 16px;
    }
}

/* Spin emphasis */
.secretsWrap .spinning .tile {
    box-shadow: inset 0 0 0 2px rgba(245, 124, 34, .20), 0 4px 14px rgba(0, 0, 0, .05);
}

/* ====================================Game 4==================================== */


.swipeWrap .swipeBody {
    padding: 40px 20px !important;
    text-align: center;
    background: #fff;
    min-height: 420px;
    box-shadow: 0px 0px 10px 0px #0004;
    font-family: "Poppins", sans-serif;
}

.swipeWrap .wrap {
    width: min(720px, 100%)
}

.swipeWrap .headline {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.swipeWrap .sticker {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: #fff;
    border: var(--line);
    border-radius: 999px;
    box-shadow: 6px 6px 0 #000;
    transform: rotate(-1deg);
    user-select: none;
}

.swipeWrap .sticker h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 1000;
}

.swipeWrap .subhead {
    text-align: center;
    font-size: 12px;
    font-weight: 900;
    color: var(--muted);
    margin-bottom: 16px;
    user-select: none;
}

.swipeWrap .frame {
    background: rgba(255, 255, 255, 1);
    border-radius: 10px;
    padding: 0;
    box-shadow: none;
}

/* The swipable card */
.swipeWrap .card {
    background: #fff;
    border: none;
    border-radius: 22px;
    padding: 10px 0px;
    box-shadow: none;
    user-select: none;
    touch-action: pan-y;
    will-change: transform;
    position: relative;
    overflow: visible;
}

.swipeWrap .promptRow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-direction: column;
}

.swipeWrap .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 30px;
    border-radius: 999px;
    border: none;
    background: #ff7c1e;
    box-shadow: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    color: #fff;
}

.swipeWrap .tag .dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--accent);
    border: 2px solid var(--ink);
    display: none;
}

.swipeWrap .micro {
    font-size: 12px;
    font-weight: 900;
    color: rgba(0, 0, 0, .6);
}

.swipeWrap .choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.swipeWrap .tile {
    position: relative;
    /* padding: 18px 14px; */
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
    transition: transform .15s ease, opacity .15s ease, filter .15s ease;
    overflow: visible;
}

.swipeWrap .tile.left {
    background: #0e7bf9;
    color: #fff;
}

.swipeWrap .tile.right {
    background: #28a8b7;
    color: #fff;
}

.swipeWrap .tile:active {
    transform: translate(1px, 1px);
    box-shadow: 5px 5px 0 #000;
}

.swipeWrap .locked .tile {
    cursor: default
}

.swipeWrap .locked .loser {
    opacity: .45;
    filter: grayscale(.1)
}

.swipeWrap .locked .winner {
    transform: translate(-2px, -2px) rotate(-1deg);
    box-shadow: 5px 5px 10px 0px #0004;
}

.swipeWrap .stamp {
    position: absolute;
    top: -20px;
    right: 120px;
    padding: 6px 10px;
    background: #ff7e2c;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: rotate(10deg) scale(.6);
    box-shadow: none;
    pointer-events: none;
}

.swipeWrap .winner .stamp {
    animation: pop .35s ease-out forwards;
    z-index: 99;
}

@keyframes pop {
    0% {
        opacity: 0;
        transform: scale(.6) rotate(10deg)
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(-6deg)
    }
}

.swipeWrap .feedbackWrap {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    min-height: inherit;
}

.swipeWrap .bubble {
    padding: 12px 14px;
    background: var(--toast);
    border: none;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: none;
    opacity: 0;
    transform: translateY(8px);
    transition: .2s ease;
    text-align: center;
    height: auto;
    min-height: inherit;
    color: #fff;
    font-size: 16px;
}

.swipeWrap .bubble.show {
    opacity: 1;
    transform: translateY(0);
}

/* Swipe hint overlay (subtle, disappears after pick) */
.swipeWrap .swipeHint {
    position: absolute;
    left: 50%;
    top: 56%;
    transform: translate(-50%, -50%);
    padding: 8px 12px;
    border-radius: 999px;
    border: 2px dashed rgba(0, 0, 0, .25);
    color: rgba(0, 0, 0, .45);
    font-size: 12px;
    font-weight: 900;
    background: rgba(255, 255, 255, .7);
    pointer-events: none;
    user-select: none;
}

.swipeWrap .locked .swipeHint {
    display: none;
}

/* “NOPE / YEP” overlays (only while dragging) */
.swipeWrap .dragStamp {
    position: absolute;
    top: 18px;
    padding: 10px 14px;
    border: 3px solid var(--ink);
    border-radius: 14px;
    font-weight: 1000;
    letter-spacing: .8px;
    background: #fff;
    box-shadow: 6px 6px 0 #000;
    opacity: 0;
    transform: rotate(-10deg) scale(.96);
    transition: opacity .06s linear;
    pointer-events: none;
    user-select: none;
}

.swipeWrap .dragStamp.nope {
    left: 18px;
}

.swipeWrap .dragStamp.yep {
    right: 18px;
    transform: rotate(10deg) scale(.96);
}

/* color accents */
.swipeWrap .dragStamp.nope {
    background: rgba(255, 107, 107, .18);
}

.swipeWrap .dragStamp.yep {
    background: rgba(81, 207, 102, .20);
}

.swipeWrap .locked .dragStamp {
    display: none;
}

/*  */

.swipeWrap .tile div {
    position: relative;
    overflow: hidden;
    padding: 18px 14px;
}

.swipeWrap .locked .tile.winner div {
    border-radius: 8px;
    outline: 4px solid rgba(0, 0, 0, .30);
    outline-offset: -8px;
    animation: glow 1.15s ease-in-out infinite;
}

.swipeWrap .locked .winner div::before {
    content: "";
    position: absolute;
    /* Inset se control hota hai ki lines kitne area me dikhengi */
    inset: -20px -40px;

    /* Screenshot wala exact gradient logic */
    background: repeating-linear-gradient(135deg,
            rgba(255, 255, 255, 0) 0px,
            rgba(255, 255, 255, 0) 10px,
            rgba(255, 255, 255, 0.3) 10px,
            rgba(255, 255, 255, 0.3) 18px);

    opacity: 0.55;
    z-index: 1;
    /* Animation call */
    animation: stripes 0.95s linear infinite;
    height: 300px;
    width: 300px;
}

@keyframes stripes {
    0% {
        transform: translateX(-20%);
    }

    100% {
        transform: translateX(0);
    }
}

.moving-lines {
    position: relative;
    z-index: 2;
    /* Text lines ke upar dikhe */
    font-family: sans-serif;
    color: #333;
}


/* New */
.scroll-left {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    font-size: 27px;
    line-height: .4;
}

.scroll-right {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    font-size: 27px;
    line-height: .4;
}

.fortuneBody .panel.afterMode .batteryZone .scroll-left,
.fortuneBody .panel.afterMode .batteryZone .scroll-right {
    visibility: hidden;
}

@media(max-width:560px) {
    .swipeWrap .choices {
        grid-template-columns: 1fr
    }
    
     .scroll-left,
    .scroll-right {
        display: none;
    }
        .moodWrap .seg {
        min-width: 110px !important;
        height: 100px !important;
    }
        .moodWrap .emoji {
        font-size: 11px;
    }
        .moodWrap .cell {
        height: 122px !important;
    }
}

/* Responsive */

@media screen and (max-width: 768px) {
    .gameType li a img {
        display: none;
    }

    .gameType li a {
        padding: 10px;
    }

    .gameZonePopup .popupFooter p {
        bottom: 60px;
        color: #000000;
        max-width: 80%;
        margin: auto;
    }

    .fortuneWrap .strip {
        width: min(380px, 75vw);
        padding: 10px;
    }

    .fortuneWrap .strip .fortune-text {
        font-size: 18px;
        font-family: "Fredoka", sans-serif !important;
        font-weight: 600;
    }

    .swipeWrap .swipeBody {
        padding-bottom: 70px !important;
    }

    .swipeWrap .stamp {
        top: -10px;
        right: 180px;
    }

    .swipeWrap .locked .winner div::before {
        height: 120px;
        width: 460px;
    }
}