/* =====================================================
   COLORS
===================================================== */

:root {
    --pink: #fb4590;
    --pink-dark: #e8347e;
    --pink-light: #fff0f7;

    --yellow: #fddf17;
    --yellow-light: #fffbe3;

    --blue: #b5ebfe;
    --blue-light: #eefaff;

    --black: #282832;

    --gray: #777784;
    --gray-2: #a1a1ac;
    --gray-light: #f6f6f9;

    --white: #ffffff;

    --green: #35a875;
    --orange: #e9a92f;
    --red: #df5874;

    --border: #ececf2;

    --shadow:
        0 20px 60px rgba(40, 40, 60, 0.09);
}


/* =====================================================
   RESET
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Noto Sans TC",
        "PingFang TC",
        "Microsoft JhengHei",
        sans-serif;

    background: white;
    color: var(--black);
    line-height: 1.6;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =====================================================
   COMMON
===================================================== */

.btn-primary {
    border: 0;
    border-radius: 100px;

    background: var(--pink);
    color: white;

    padding: 13px 22px;

    font-weight: 800;

    transition: 0.25s;
}

.btn-primary:hover {
    background: var(--pink-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    border: 1px solid var(--border);
    border-radius: 100px;

    background: white;
    color: var(--black);

    padding: 13px 22px;

    font-weight: 800;
}

.btn-secondary:hover {
    background: var(--blue-light);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.eyebrow {
    color: var(--pink);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 2px;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    position: sticky;
    top: 0;

    z-index: 100;

    border-bottom: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(16px);
}

.header-container {
    width: 100%;
    max-width: 1280px;
    height: 82px;

    margin: auto;
    padding: 0 30px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-logo {
    width: 54px;
    height: 54px;

    object-fit: contain;
}

.brand-title {
    display: flex;
    flex-direction: column;
}

.brand-title span {
    color: var(--gray);
    font-size: 11px;
}

.brand-title strong {
    font-size: 15px;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    font-size: 14px;
    font-weight: 700;
}

.nav a:hover {
    color: var(--pink);
}

.header-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-points {
    padding: 7px 15px;

    border-radius: 100px;

    background: var(--pink-light);
    color: var(--pink);

    display: flex;
    align-items: center;

    gap: 7px;
}

.header-points span {
    font-size: 11px;
}

.login-btn {
    border: 0;
    border-radius: 100px;

    background: var(--pink);
    color: white;

    padding: 11px 20px;

    font-weight: 800;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    max-width: 1280px;
    min-height: 650px;

    margin: auto;
    padding: 80px 40px;

    display: grid;

    grid-template-columns:
        1.15fr 0.85fr;

    align-items: center;

    gap: 70px;
}

.hero-date {
    display: inline-flex;

    padding: 7px 15px;

    border-radius: 100px;

    background: var(--yellow);

    font-size: 12px;
    font-weight: 800;
}

.hero h1 {
    margin-top: 20px;

    font-size:
        clamp(48px, 7vw, 82px);

    line-height: 1.05;

    letter-spacing: -3px;
}

.hero h1 span {
    display: block;
    color: var(--pink);
}

.hero-description {
    max-width: 560px;

    margin-top: 24px;

    color: var(--gray);

    font-size: 18px;
}

.hero-buttons {
    margin-top: 30px;

    display: flex;
    gap: 12px;
}

.legal-note {
    max-width: 600px;

    margin-top: 18px;

    color: var(--gray-2);

    font-size: 12px;
}
/* =====================================================
   HERO TITLE IMAGE
===================================================== */

.hero-left {
    min-width: 0;
}

.hero-title-image {
    width: 100%;
    max-width: 620px;

    margin-top: 22px;

    overflow: hidden;
}

.hero-title-image img {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    object-fit: contain;
}


/* =====================================================
   MEMBER CARD
===================================================== */

.member-card {
    border: 1px solid var(--border);
    border-radius: 30px;

    background: white;

    padding: 30px;

    box-shadow: var(--shadow);
}

.member-top {
    display: flex;
    justify-content: space-between;

    color: var(--gray-2);

    font-size: 11px;

    letter-spacing: 2px;
}

.member-level {
    padding: 4px 10px;

    border-radius: 100px;

    background: var(--blue);
    color: var(--black);

    font-weight: 800;
}

.avatar {
    width: 72px;
    height: 72px;

    margin-top: 25px;

    border-radius: 50%;

    background: var(--pink);
    color: white;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 28px;
    font-weight: 900;
}

.member-card h2 {
    margin-top: 15px;
}

.member-card > p {
    margin-top: 5px;
    color: var(--gray);
}

.member-points {
    margin-top: 23px;

    padding: 18px;

    border-radius: 18px;

    background: var(--pink-light);

    display: flex;

    align-items: center;
    justify-content: space-between;
}

.member-points span,
.monthly-points-box span {
    font-size: 13px;
}

.member-points strong {
    color: var(--pink);
    font-size: 28px;
}

.monthly-points-box {
    margin-top: 10px;

    padding: 14px 18px;

    border-radius: 18px;

    background: var(--blue-light);

    display: flex;

    align-items: center;
    justify-content: space-between;
}

.monthly-points-box strong {
    color: #2990b5;
    font-size: 20px;
}

.official-status-box {
    margin-top: 10px;

    padding: 15px 18px;

    border-radius: 18px;

    background: var(--gray-light);

    display: flex;

    align-items: center;
    justify-content: space-between;
}

.status-small {
    display: block;

    color: var(--gray);

    font-size: 11px;
}

.status-dot {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: #b5b5bf;
}

.tutorial-progress {
    margin-top: 20px;
}

.progress-title {
    color: var(--gray);

    font-size: 12px;

    display: flex;
    justify-content: space-between;
}

.progress-track {
    height: 8px;

    margin-top: 8px;

    border-radius: 100px;

    background: #eeeef3;

    overflow: hidden;
}

.progress-bar {
    width: 0;
    height: 100%;

    border-radius: inherit;

    background: var(--pink);

    transition: width 0.35s;
}


/* =====================================================
   SECTION HEADING
===================================================== */

.section-heading {
    max-width: 700px;

    margin: auto;

    text-align: center;
}

.section-heading > span {
    color: var(--pink);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 2px;
}

.section-heading h2 {
    margin-top: 7px;

    font-size: 35px;
}

.section-heading p {
    margin-top: 8px;

    color: var(--gray);
}


/* =====================================================
   JOURNEY
===================================================== */

.journey-section {
    padding: 40px 30px 100px;
}

.journey-grid {
    max-width: 1050px;

    margin: 45px auto 0;

    display: grid;

    grid-template-columns:
        1fr auto 1fr auto 1fr;

    align-items: center;

    gap: 18px;
}

.journey-card {
    min-height: 245px;

    padding: 25px;

    border: 1px solid var(--border);
    border-radius: 24px;

    background: white;
}

.journey-card.highlight {
    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            var(--pink-light),
            var(--blue-light)
        );
}

.journey-step {
    color: var(--pink);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.5px;
}

.journey-icon {
    margin-top: 15px;

    font-size: 35px;
}

.journey-card h3 {
    margin-top: 10px;
}

.journey-card p {
    margin-top: 6px;

    color: var(--gray);

    font-size: 13px;
}

.journey-card > strong {
    display: block;

    margin-top: 18px;

    color: var(--pink);

    font-size: 21px;
}

.journey-arrow {
    color: var(--gray-2);

    font-size: 25px;
}


/* =====================================================
   OFFICIAL MEMBER
===================================================== */

.official-member-section {
    max-width: 1180px;

    margin: auto;

    padding: 10px 30px 100px;
}

.official-member-card {
    position: relative;

    padding: 42px;

    border: 1px solid var(--border);
    border-radius: 32px;

    background:
        linear-gradient(
            135deg,
            var(--pink-light),
            var(--blue-light)
        );
}

.official-reward-badge {
    position: absolute;

    top: -14px;
    left: 35px;

    padding: 8px 18px;

    border-radius: 100px;

    background: var(--yellow);

    font-size: 12px;
    font-weight: 900;
}

.official-member-content {
    display: grid;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 28px;
}

.official-icon {
    width: 75px;
    height: 75px;

    border-radius: 22px;

    background: white;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 32px;
}

.official-copy h2 {
    margin-top: 4px;

    font-size: 29px;
}

.official-copy > p {
    max-width: 650px;

    margin-top: 7px;

    color: var(--gray);
}

.official-benefits {
    margin-top: 18px;

    display: flex;

    gap: 10px;
}

.official-benefits > div {
    min-width: 150px;

    padding: 12px 15px;

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.8);
}

.official-benefits small {
    display: block;

    color: var(--gray);

    font-size: 10px;
}

.official-benefits strong {
    color: var(--pink);

    font-size: 14px;
}

.official-warning {
    font-size: 11px !important;

    color: var(--gray-2) !important;
}

.official-action {
    min-width: 190px;
}
/* 運獎區 */

.official-action-with-woon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 250px;
}

.official-woon-showcase {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.official-woon-large {
    display: block;

    width: 180px;
    height: auto;

    object-fit: contain;

    transform-origin: center bottom;

    animation: officialWoonShake 1.3s ease-in-out infinite;
}

.official-woon-message {
    margin-top: 5px;

    color: #fb4590;

    font-size: 18px;
    font-weight: 900;

    white-space: nowrap;
}

.official-woon-sparkle {
    position: absolute;

    top: -5px;
    right: 5px;

    font-size: 25px;
}

@keyframes officialWoonShake {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* =====================================================
   FEATURE
===================================================== */

.feature-section {
    padding: 90px 30px;

    background: var(--gray-light);
}

.feature-grid {
    max-width: 1180px;

    margin: 45px auto 0;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.feature-card {
    min-height: 330px;

    padding: 25px;

    border-radius: 25px;

    display: flex;

    flex-direction: column;
}

.pink-card {
    background: var(--pink-light);
}

.blue-card {
    background: var(--blue-light);
}

.yellow-card {
    background: var(--yellow-light);
}

.white-card {
    background: white;

    border: 1px solid var(--border);
}

.feature-number {
    color: var(--gray-2);

    font-size: 10px;

    font-weight: 900;
}

.feature-icon {
    margin-top: 20px;

    font-size: 34px;
}

.feature-card h3 {
    margin-top: 12px;

    font-size: 23px;
}

.feature-card > p {
    margin-top: 7px;

    color: var(--gray);

    font-size: 13px;
}

.feature-reward {
    margin-top: 20px;

    padding: 13px;

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.75);
}

.feature-reward span {
    display: block;

    color: var(--gray);

    font-size: 10px;
}

.feature-reward strong {
    color: var(--pink);

    font-size: 14px;
}

.feature-card button {
    margin-top: auto;

    border: 0;

    border-radius: 100px;

    background: var(--black);

    color: white;

    padding: 11px 15px;

    font-weight: 800;
}


/* =====================================================
   MONTH SECTION
===================================================== */

.month-section {
    padding: 90px 30px;
}

.month-list {
    max-width: 1180px;

    margin: 40px auto 0;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}

.month-item {
    padding: 18px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: white;

    cursor: pointer;

    transition: 0.2s;
}

.month-item:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(40, 40, 60, 0.07);
}

.month-item.active {
    border-color: var(--pink);

    background: var(--pink-light);
}

.month-item span {
    color: var(--pink);

    font-size: 10px;
    font-weight: 900;
}

.month-item strong {
    display: block;

    margin-top: 4px;

    font-size: 15px;
}

.month-item p {
    margin-top: 5px;

    color: var(--gray);

    font-size: 11px;
}


/* =====================================================
   LEADERBOARD
===================================================== */
.leaderboard-section {
    width: 100vw;
    max-width: none;

    position: relative;
    left: 50%;
    transform: translateX(-50%);

    margin-left: 0;
    margin-right: 0;

    padding: 90px 30px;
    box-sizing: border-box;

    background:
        linear-gradient(
            180deg,
            white,
            var(--blue-light)
        );

    overflow: hidden;
}
.ranking-tabs {
    margin-top: 30px;

    display: flex;

    justify-content: center;

    gap: 8px;
}

.ranking-tab {
    border: 1px solid var(--border);
    border-radius: 100px;

    background: white;

    padding: 10px 18px;

    font-weight: 800;
}

.ranking-tab.active {
    border-color: var(--pink);

    background: var(--pink);

    color: white;
}

.leaderboard-card {
    max-width: 800px;

    margin: 25px auto 0;

    border: 1px solid var(--border);
    border-radius: 25px;

    background: white;

    overflow: hidden;

    box-shadow: var(--shadow);
}

.leaderboard-header,
.leaderboard-row {
    display: grid;

    grid-template-columns:
        100px 1fr 140px;

    align-items: center;

    padding: 16px 22px;
}

.leaderboard-header {
    background: var(--black);

    color: white;

    font-size: 11px;
    font-weight: 800;
}

.leaderboard-row {
    border-bottom: 1px solid var(--border);
}

.leaderboard-row:last-child {
    border-bottom: 0;
}

.leaderboard-row.current-user {
    background: var(--pink-light);
}

.rank-number {
    font-weight: 900;
}

.rank-name {
    font-weight: 700;
}

.rank-points {
    color: var(--pink);

    font-weight: 900;

    text-align: right;
}

.my-ranking-card {
    max-width: 800px;

    margin: 15px auto 0;

    padding: 18px 22px;

    border-radius: 20px;

    background: var(--yellow);

    display: flex;

    justify-content: space-between;
}

.my-ranking-card > div {
    display: flex;

    flex-direction: column;
}

.my-ranking-card span {
    font-size: 10px;
}

.my-ranking-card strong {
    font-size: 18px;
}

.final-prizes {
    width: 100%;
    max-width: 800px;
    margin: 24px auto 0;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;

    box-sizing: border-box;
}

.final-prize-card {
    min-width: 0;
    padding: 18px;

    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;

    text-align: center;
    box-sizing: border-box;
}

.final-prize-medal {
    display: block;
    font-size: 25px;
}

.final-prize-card strong {
    display: block;
    margin-top: 12px;
}

.final-prize-card p {
    margin: 6px 0 0;
    color: var(--gray);
    font-size: 13px;
}

.final-prize-image {
    width: 100%;
    height: 190px;
    margin-top: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.final-prize-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.final-prize-disclaimer {
    width: 100%;
    margin: 14px 0 0;

    text-align: center;
    color: var(--gray);
    font-size: 12px;
}

/* =====================================================
   SOCIAL｜FOLLOW US
===================================================== */

.social-section {
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;

    margin: 42px auto 0;
    padding: 42px 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    background: #ff3f8e;
    border-radius: 28px;
}

/* 左側標題 */

.social-section-title {
    flex: 0 0 360px;
    min-width: 360px;
}

.social-section-title > span {
    display: block;

    margin-bottom: 10px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
}


.social-section-title h2 {
    margin: 0;

    color: #ffffff;

    font-size: 24px;
    font-weight: 900;
    line-height: 1.45;

    writing-mode: horizontal-tb;
    white-space: nowrap;
}

/* 右側連結 */

.footer-social-links {
    flex: 1;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}


/* 按鈕 */

.footer-social-button {
    min-height: 58px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px 22px;

    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;

    color: #ffffff;
    text-decoration: none;

    font-size: 16px;
    font-weight: 800;

    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease;
}


.footer-social-button:hover {
    background: #ffffff;
    color: #ff3f8e;

    transform: translateY(-2px);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .social-section {
        margin-top: 30px;
        padding: 30px 24px;

        flex-direction: column;
        align-items: stretch;

        gap: 24px;

        border-radius: 22px;
    }


    .social-section-title {
        flex: none;

        text-align: center;
    }


.social-section-title h2 {
    font-size: 21px;
    white-space: nowrap;
}

    .footer-social-links {
        grid-template-columns: 1fr;
    }


    .footer-social-button {
        min-height: 54px;
    }

}

/* =====================================================
   FOOTER
===================================================== */

.footer {
    padding: 30px;

    background: var(--black);

    color: white;

    text-align: center;
}

.footer p {
    margin-top: 5px;

    color: #b9b9c2;

    font-size: 11px;
}


/* =====================================================
   MODAL
===================================================== */

.modal {
    position: fixed;

    inset: 0;

    z-index: 1000;

    padding: 20px;

    background: rgba(25, 25, 35, 0.55);

    display: none;

    align-items: center;
    justify-content: center;

    overflow-y: auto;
}

.modal.show {
    display: flex;
}

.modal-box {
    position: relative;

    width: 100%;
    max-width: 520px;

    margin: auto;

    padding: 32px;

    border-radius: 28px;

    background: white;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.2);
}

.large-modal {
    max-width: 760px;
}

.modal-close {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 35px;
    height: 35px;

    border: 0;
    border-radius: 50%;

    background: var(--gray-light);

    color: var(--gray);

    font-size: 21px;
}

.modal-box h2 {
    margin-top: 5px;
}

.modal-box > p {
    margin-top: 7px;

    color: var(--gray);
}

.modal-box label {
    display: block;

    margin-top: 18px;

    font-size: 12px;
    font-weight: 800;
}

.modal-box input[type="text"],
.modal-box input[type="tel"],
.modal-box input[type="url"] {
    width: 100%;

    margin-top: 7px;

    padding: 13px 15px;

    border: 1px solid var(--border);
    border-radius: 14px;

    outline: none;
}

.modal-box input:focus {
    border-color: var(--pink);
}

.modal-main-button {
    width: 100%;

    margin-top: 20px;
}

.reward-callout,
.upload-reward {
    margin-top: 18px;

    padding: 15px;

    border-radius: 16px;

    background: var(--pink-light);

    color: var(--pink);

    font-weight: 800;
}

.upload-reward {
    display: flex;

    flex-direction: column;
}

.upload-reward span {
    color: var(--gray);

    font-size: 11px;
}

.upload-box {
    margin-top: 18px;

    padding: 22px;

    border: 2px dashed var(--border);
    border-radius: 18px;

    background: var(--gray-light);
}

.upload-box input {
    width: 100%;
}

.form-note {
    margin-top: 12px !important;

    color: var(--gray-2) !important;

    font-size: 11px;
}

.reject-message {
    margin-top: 12px;

    color: var(--red);

    font-size: 12px;
    font-weight: 800;
}


/* =====================================================
   TUTORIAL MODAL
===================================================== */

.tutorial-list {
    margin-top: 22px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;
}

.tutorial-item {
    min-height: 100px;

    padding: 15px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: white;

    display: grid;

    grid-template-columns:
        35px 1fr auto;

    align-items: center;

    gap: 10px;

    text-align: left;
}

.tutorial-item:hover {
    border-color: var(--pink);
}

.tutorial-item.completed {
    border-color: #cce9dc;

    background: #f2fbf6;
}

.tutorial-item > span {
    color: var(--pink);

    font-size: 11px;
    font-weight: 900;
}

.tutorial-item div {
    display: flex;

    flex-direction: column;
}

.tutorial-item small {
    margin-top: 3px;

    color: var(--gray);

    font-size: 10px;
}

.tutorial-item b {
    color: var(--pink);

    font-size: 11px;
}

.tutorial-item.completed b {
    color: var(--green);
}


/* =====================================================
   DEV ADMIN
===================================================== */

.dev-month-switcher {
    position: fixed;

    left: 14px;
    bottom: 14px;

    z-index: 900;

    padding: 8px 11px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.94);

    box-shadow:
        0 8px 30px rgba(40, 40, 60, 0.12);

    display: flex;

    align-items: center;

    gap: 7px;
}

.dev-month-switcher span {
    color: var(--gray);

    font-size: 10px;

    font-weight: 800;
}

.dev-month-switcher select {
    border: 0;

    background: transparent;

    color: var(--black);

    font-size: 11px;
    font-weight: 800;

    outline: none;
}

.dev-admin-btn {
    border: 1px solid var(--border);
    border-radius: 100px;

    background: white;

    padding: 9px 13px;

    color: var(--gray);

    font-size: 11px;
    font-weight: 800;
}

.dev-admin-btn:hover {
    border-color: var(--pink);

    color: var(--pink);
}

.dev-admin-modal {
    max-width: 850px;
}

.admin-section {
    margin-top: 24px;

    padding-top: 22px;

    border-top: 1px solid var(--border);
}

.admin-section h3 {
    font-size: 16px;
}

.admin-user-grid {
    margin-top: 13px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 10px;
}

.admin-user-grid > div {
    padding: 13px;

    border-radius: 15px;

    background: var(--gray-light);

    display: flex;

    flex-direction: column;
}

.admin-user-grid span {
    color: var(--gray);

    font-size: 9px;
}

.admin-user-grid strong {
    margin-top: 3px;

    font-size: 13px;
}

.admin-review-box {
    margin-top: 13px;

    padding: 16px;

    border-radius: 18px;

    background: var(--gray-light);
}

.admin-review-box > p {
    color: var(--gray);

    font-size: 12px;
}

.admin-proof-preview {
    margin-top: 12px;
}

.admin-proof-preview img {
    display: block;

    width: 100%;
    max-height: 330px;

    border-radius: 15px;

    object-fit: contain;

    background: white;
}

.admin-review-actions {
    margin-top: 13px;

    display: flex;

    gap: 8px;
}

.admin-review-actions button {
    flex: 1;

    padding: 10px 12px;

    border: 0;
    border-radius: 12px;

    font-weight: 800;
}

.admin-approve-btn {
    background: #e5f7ef;

    color: var(--green);
}

.admin-reject-btn {
    background: #fff0f3;

    color: var(--red);
}

.admin-url {
    margin-top: 8px;
}

.admin-reset-grid {
    margin-top: 13px;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 8px;
}

.admin-reset-grid button {
    padding: 11px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: white;

    color: var(--gray);

    font-size: 11px;
    font-weight: 800;
}

.admin-reset-grid button:hover {
    border-color: var(--pink);

    color: var(--pink);
}

.admin-warning {
    margin-top: 6px;

    color: var(--orange);

    font-size: 11px;
}

.danger-section {
    padding: 18px;

    border: 1px solid #ffdce4;
    border-radius: 18px;

    background: #fff7f9;
}

.admin-danger-btn {
    width: 100%;

    margin-top: 12px;

    padding: 11px;

    border: 0;
    border-radius: 12px;

    background: var(--red);

    color: white;

    font-weight: 800;
}


/* =====================================================
   QUIZ
===================================================== */

.quiz-options {
    margin-top: 20px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;
}

.quiz-option {
    min-height: 60px;

    border: 2px solid var(--border);
    border-radius: 16px;

    background: white;

    color: var(--black);

    font-size: 17px;
    font-weight: 900;

    transition: 0.2s;
}

.quiz-option:hover {
    border-color: var(--pink);

    color: var(--pink);

    transform: translateY(-1px);
}
/* =====================================================
   MONTHLY MISSION
===================================================== */

.monthly-mission-section {
    padding: 90px 30px;

    background: white;
}

.section-title {
    max-width: 1180px;

    margin: auto;
}

.section-title > span {
    color: var(--pink);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 2px;
}

.section-title h2 {
    margin-top: 7px;

    font-size: 34px;
}

.section-title p {
    margin-top: 7px;

    color: var(--gray);
}

.monthly-mission-layout {
    max-width: 1180px;

    margin: 35px auto 0;

    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(280px, 0.6fr);

    gap: 22px;

    align-items: start;
}

.monthly-mission-card,
.monthly-reward-card {
    border: 1px solid var(--border);
    border-radius: 26px;

    background: white;

    box-shadow:
        0 15px 45px rgba(40, 40, 60, 0.06);
}

.monthly-mission-card {
    padding: 28px;
}

.monthly-reward-card {
    padding: 28px;

    text-align: center;
}

.monthly-card-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;
}

.monthly-small-label {
    color: var(--pink);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.5px;
}

.monthly-card-header h3 {
    margin-top: 3px;

    font-size: 25px;
}

.monthly-progress-number {
    min-width: 72px;

    padding: 9px 14px;

    border-radius: 100px;

    background: var(--pink-light);

    color: var(--pink);

    text-align: center;

    font-weight: 900;
}

.monthly-progress-track {
    height: 9px;

    margin-top: 20px;

    border-radius: 100px;

    background: #eeeeF3;

    overflow: hidden;
}

.monthly-progress-bar {
    width: 0;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--pink),
            #ff83b5
        );

    transition:
        width 0.35s ease;
}

.monthly-mission-list {
    margin-top: 22px;

    display: flex;

    flex-direction: column;

    gap: 12px;
}

.monthly-mission-item {
    position: relative;

    padding: 18px;

    border: 1px solid var(--border);
    border-radius: 19px;

    background: white;

    display: grid;

    grid-template-columns:
        auto minmax(0, 1fr) auto;

    align-items: center;

    gap: 15px;

    transition: 0.2s;
}

.monthly-mission-item:hover {
    border-color: #dedee8;

    transform: translateY(-1px);
}

.monthly-mission-item.completed {
    border-color: #cbeadd;

    background: #f5fcf8;
}

.monthly-mission-item.pending {
    border-color: #f4dfaf;

    background: #fffaf0;
}

.monthly-mission-item.rejected {
    border-color: #f5ccd4;

    background: #fff6f8;
}

.monthly-mission-icon {
    width: 48px;
    height: 48px;

    border-radius: 15px;

    background: var(--gray-light);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 23px;
}

.monthly-mission-item.completed
.monthly-mission-icon {
    background: #e2f6ed;
}

.monthly-mission-item.pending
.monthly-mission-icon {
    background: #fff1cf;
}

.monthly-mission-item.rejected
.monthly-mission-icon {
    background: #ffe8ed;
}

.monthly-mission-copy {
    min-width: 0;
}

.monthly-mission-copy h4 {
    font-size: 15px;
}

.monthly-mission-copy p {
    margin-top: 3px;

    color: var(--gray);

    font-size: 12px;

    line-height: 1.6;
}

.monthly-mission-action {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 7px;
}

.monthly-mission-points {
    color: var(--pink);

    font-size: 12px;
    font-weight: 900;
}

.monthly-mission-button {
    min-width: 90px;

    padding: 9px 13px;

    border: 0;
    border-radius: 100px;

    background: var(--black);

    color: white;

    font-size: 11px;
    font-weight: 800;
}

.monthly-mission-button:hover {
    background: var(--pink);
}

.monthly-mission-button.completed {
    background: #dff5eb;

    color: var(--green);
}

.monthly-mission-button.pending {
    background: #fff0c8;

    color: #aa7917;
}

.monthly-mission-button.rejected {
    background: #ffe5eb;

    color: var(--red);
}

.monthly-mission-empty {
    padding: 35px 20px;

    border: 1px dashed var(--border);
    border-radius: 20px;

    background: var(--gray-light);

    color: var(--gray);

    text-align: center;
}

.monthly-reward-card h3 {
    margin-top: 4px;

    font-size: 21px;
}

.monthly-reward-icon {
    width: 75px;
    height: 75px;

    margin: 25px auto 15px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            var(--yellow-light),
            var(--pink-light)
        );

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 34px;
}

.monthly-reward-title {
    font-size: 25px;

    color: #252631;
}

.monthly-reward-quantity {
    display: inline-block;

    margin: 8px 0 20px;

    padding: 7px 18px;

    border-radius: 999px;

    background: #ffd600;

    color: #252631;

    font-weight: 900;
}

.monthly-reward-description {
    max-width: 280px;

    margin: 0 auto 24px;

    color: #747680;

    font-size: 14px;
    line-height: 1.8;
}

.monthly-lottery-status {
    padding: 13px;

    border-radius: 15px;

    background: var(--gray-light);

    color: var(--gray);

    font-size: 12px;
    font-weight: 800;
}

.monthly-lottery-status.active {
    background: #e4f7ee;

    color: var(--green);
}


/* =====================================================
   PREDICTION
===================================================== */

.prediction-section {
    padding: 90px 30px;

    background: var(--blue-light);
}

.prediction-container {
    max-width: 1080px;

    margin: auto;
}

.prediction-card {
    margin-top: 30px;

    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 28px;

    background: white;

    box-shadow: var(--shadow);
}

.prediction-match {
    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 20px;

    text-align: center;
}

.prediction-team {
    padding: 18px;

    border-radius: 18px;

    background: var(--gray-light);
}

.prediction-team strong {
    display: block;

    font-size: 18px;
}

.prediction-team span {
    color: var(--gray);

    font-size: 11px;
}

.prediction-vs {
    color: var(--pink);

    font-size: 18px;
    font-weight: 900;
}

.prediction-type-list {
    margin-top: 22px;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;
}

.prediction-option {
    padding: 18px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: white;

    text-align: left;

    transition: 0.2s;
}

.prediction-option:hover {
    border-color: var(--pink);

    transform: translateY(-1px);
}

.prediction-option.active {
    border-color: var(--pink);

    background: var(--pink-light);
}

.prediction-option strong {
    display: block;

    font-size: 15px;
}

.prediction-option span {
    display: block;

    margin-top: 4px;

    color: var(--gray);

    font-size: 11px;
}

.prediction-submit {
    width: 100%;

    margin-top: 18px;

    padding: 13px;

    border: 0;
    border-radius: 100px;

    background: var(--pink);

    color: white;

    font-weight: 900;
}


/* =====================================================
   STATUS TAGS
===================================================== */

.status-tag {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 5px 10px;

    border-radius: 100px;

    font-size: 10px;
    font-weight: 900;
}

.status-tag.completed {
    background: #e2f7ed;

    color: var(--green);
}

.status-tag.pending {
    background: #fff0cc;

    color: #a87313;
}

.status-tag.rejected {
    background: #ffe7ec;

    color: var(--red);
}

.status-tag.waiting {
    background: var(--gray-light);

    color: var(--gray);
}


/* =====================================================
   FILE PREVIEW
===================================================== */

.upload-preview {
    margin-top: 15px;

    display: none;
}

.upload-preview.show {
    display: block;
}

.upload-preview img {
    display: block;

    width: 100%;
    max-height: 320px;

    border-radius: 16px;

    object-fit: contain;

    background: var(--gray-light);
}


/* =====================================================
   NOTICE
===================================================== */

.notice-box {
    margin-top: 14px;

    padding: 13px 15px;

    border-radius: 15px;

    background: var(--yellow-light);

    color: #79630f;

    font-size: 11px;
    line-height: 1.7;
}


/* =====================================================
   MOBILE / TABLET
===================================================== */

@media (max-width: 1100px) {

    .nav {
        display: none;
    }

    .hero {
        grid-template-columns:
            1fr 0.8fr;

        gap: 40px;
    }

    .feature-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .month-list {
        grid-template-columns:
            repeat(4, 1fr);
    }

    .official-member-content {
        grid-template-columns:
            auto 1fr;
    }

    .official-action {
        grid-column:
            1 / -1;

        margin-left: 103px;
    }

}


@media (max-width: 850px) {

    .header-container {
        height: auto;

        min-height: 76px;

        padding: 12px 20px;
    }

    .brand-title span {
        display: none;
    }

    .header-points {
        display: none;
    }

    .hero {
        min-height: auto;

        padding:
            60px 25px;

        grid-template-columns:
            1fr;

        gap: 35px;
    }

    .hero h1 {
        font-size:
            clamp(48px, 12vw, 70px);
    }

    .journey-grid {
        grid-template-columns:
            1fr;

        gap: 12px;
    }

    .journey-arrow {
        transform: rotate(90deg);

        text-align: center;
    }

    .official-member-content {
        grid-template-columns:
            1fr;
    }

    .official-action {
        grid-column: auto;

        margin-left: 0;
    }

    .official-icon {
        width: 65px;
        height: 65px;
    }

    .feature-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .month-list {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .monthly-mission-layout {
        grid-template-columns:
            1fr;
    }

    .leaderboard-header,
    .leaderboard-row {
        grid-template-columns:
            70px 1fr 100px;
    }

    .admin-user-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .header-container {
        gap: 10px;
    }

    .brand-logo {
        width: 43px;
        height: 43px;
    }

    .brand-title strong {
        font-size: 12px;
    }

    .login-btn {
        padding: 9px 12px;

        font-size: 11px;
    }

    .dev-admin-btn {
        display: none;
    }

    .hero {
        padding:
            45px 18px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons button {
        width: 100%;
    }

    .member-card {
        padding: 22px;
    }

    .journey-section,
    .official-member-section,
    .feature-section,
    .month-section,
    .monthly-mission-section,
    .leaderboard-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .section-heading h2,
    .section-title h2 {
        font-size: 28px;
    }

    .official-member-card {
        padding: 32px 22px;
    }

    .official-benefits {
        flex-direction: column;
    }

    .feature-grid {
        grid-template-columns:
            1fr;
    }

    .month-list {
        grid-template-columns:
            1fr 1fr;
    }

    .monthly-mission-card,
    .monthly-reward-card {
        padding: 20px;
    }

    .monthly-card-header {
        align-items: center;
    }

    .monthly-card-header h3 {
        font-size: 20px;
    }

    .monthly-mission-item {
        grid-template-columns:
            auto 1fr;

        align-items: flex-start;
    }

    .monthly-mission-action {
        grid-column:
            1 / -1;

        width: 100%;

        flex-direction: row;

        align-items: center;
        justify-content: space-between;
    }

    .monthly-mission-button {
        min-width: 105px;
    }

    .final-prizes {
        grid-template-columns:
            1fr;
    }

    .social-section {
        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }

    .tutorial-list {
        grid-template-columns:
            1fr;
    }

    .admin-user-grid,
    .admin-reset-grid {
        grid-template-columns:
            1fr;
    }

    .admin-review-actions {
        flex-direction: column;
    }

    .prediction-match {
        grid-template-columns:
            1fr;

        gap: 8px;
    }

    .prediction-type-list {
        grid-template-columns:
            1fr;
    }

    .prediction-vs {
        padding: 5px 0;
    }

    .quiz-options {
        grid-template-columns:
            1fr;
    }

    .modal {
        padding: 12px;
    }

    .modal-box {
        padding:
            28px 20px 22px;

        border-radius: 22px;
    }

    .dev-month-switcher {
        left: 8px;
        bottom: 8px;
    }

}


@media (max-width: 420px) {

    .month-list {
        grid-template-columns:
            1fr;
    }

    .header-container {
        padding:
            10px 12px;
    }

    .brand-title {
        display: none;
    }

    .login-btn {
        padding:
            8px 10px;
    }

    .hero {
        padding-top:
            35px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .member-points strong {
        font-size: 23px;
    }

    .leaderboard-header,
    .leaderboard-row {
        grid-template-columns:
            50px 1fr 75px;

        padding:
            14px 12px;
    }

    .my-ranking-card {
        padding:
            15px;
    }

    .monthly-mission-item {
        padding: 15px;
    }

    .monthly-mission-icon {
        width: 42px;
        height: 42px;

        font-size: 20px;
    }

}/* =====================================================
   WOON JUMP PREDICTION GAME
===================================================== */

.prediction-game-modal {
    padding: 24px;
}

.prediction-game-shell {
    position: relative;
    width: min(1180px, 96vw);
    max-height: 92vh;
    overflow: hidden;
    border-radius: 36px;
    background:
        radial-gradient(
            circle at 82% 28%,
            rgba(255, 220, 93, 0.45),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #fff7fb 0%,
            #ffffff 48%,
            #eef9ff 100%
        );
    box-shadow:
        0 32px 90px rgba(38, 41, 56, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.95);
}


.prediction-game-close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 20;

    width: 52px;
    height: 52px;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.82);

    color: #747887;
    font-size: 34px;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 8px 30px rgba(30, 35, 50, 0.08);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.prediction-game-close:hover {
    transform: rotate(6deg) scale(1.06);
    background: #ffffff;
}


/* =========================
   HEADER
========================= */

.prediction-game-header {
    position: relative;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding:
        34px
        104px
        24px
        42px;

    border-bottom:
        1px solid rgba(35, 38, 50, 0.07);
}


.prediction-game-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #ff3f86;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.22em;
}


.prediction-game-header h2 {
    margin: 0;

    color: #292c38;
    font-size: clamp(
        24px,
        3vw,
        34px
    );
    line-height: 1.15;
}


.prediction-game-progress {
    min-width: 118px;

    padding: 12px 18px;

    border-radius: 18px;

    background: rgba(
        255,
        255,
        255,
        0.78
    );

    text-align: right;

    box-shadow:
        0 8px 26px rgba(
            40,
            45,
            65,
            0.07
        );
}


.prediction-game-progress span {
    display: block;

    color: #9b9fac;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
}


.prediction-game-progress strong {
    display: block;

    margin-top: 3px;

    color: #ff3f86;

    font-size: 22px;
}


/* =========================
   STAGE
========================= */

.prediction-game-stage {
    position: relative;

    min-height: 560px;

    overflow-y: auto;
    overflow-x: hidden;
}


/* =========================
   INTRO SCREEN
========================= */

.woon-intro-screen {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, 0.9fr);

    align-items: center;
    gap: 40px;

    min-height: 560px;

    padding:
        48px
        58px
        50px;
}


.woon-intro-copy {
    position: relative;
    z-index: 5;
}


.woon-mini-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 16px;

    padding:
        8px
        14px;

    border-radius: 999px;

    background: #fff0f6;

    color: #ff3f86;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
}


.woon-intro-copy h3 {
    margin:
        0
        0
        4px;

    color: #555968;

    font-size: 22px;
    font-weight: 700;
}


.woon-intro-copy h1 {
    margin:
        0
        0
        22px;

    color: #292c38;

    font-size: clamp(
        50px,
        7vw,
        86px
    );

    line-height: 0.95;

    letter-spacing: -0.045em;
}


.woon-intro-copy p {
    max-width: 520px;

    margin:
        0
        0
        30px;

    color: #737786;

    font-size: 18px;
    line-height: 1.8;
}


/* =========================
   START BUTTON
========================= */

.woon-start-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 58px;

    padding:
        0
        26px;

    border: 0;
    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #ff3f86,
            #ff639e
        );

    color: #ffffff;

    font-size: 16px;
    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 14px 30px rgba(
            255,
            63,
            134,
            0.27
        );

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.woon-start-button span {
    font-size: 22px;

    transition:
        transform 0.2s ease;
}


.woon-start-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 18px 36px rgba(
            255,
            63,
            134,
            0.34
        );
}


.woon-start-button:hover span {
    transform: translateX(4px);
}


/* =========================
   CHARACTER
========================= */

.woon-character-area {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 430px;
}


.woon-character-glow {
    position: absolute;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 220, 91, 0.46) 0%,
            rgba(255, 222, 109, 0.18) 48%,
            rgba(255, 255, 255, 0) 72%
        );

    filter: blur(3px);

    animation:
        woonGlow 2.6s ease-in-out infinite;
}


.woon-character {
    position: relative;
    z-index: 3;

    width: min(
        300px,
        72%
    );

    max-height: 390px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 20px 24px rgba(
                117,
                79,
                29,
                0.18
            )
        );

    animation:
        woonFloat 2.3s ease-in-out infinite;
}


@keyframes woonFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(-1deg);
    }

    50% {
        transform:
            translateY(-16px)
            rotate(1deg);
    }

}


@keyframes woonGlow {

    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.78;
    }

    50% {
        transform: scale(1.04);
        opacity: 1;
    }

}


/* =========================
   DIALOGUE
========================= */

.woon-dialogue {
    position: absolute;
    z-index: 6;

    right: 8px;
    bottom: 40px;

    min-width: 180px;

    padding:
        16px
        18px;

    border-radius:
        18px
        18px
        18px
        4px;

    background: #ffffff;

    box-shadow:
        0 14px 40px rgba(
            45,
            49,
            69,
            0.13
        );

    animation:
        woonDialogueIn 0.5s ease both;
}


.woon-dialogue::before {
    content: "";

    position: absolute;

    left: -10px;
    bottom: 12px;

    width: 20px;
    height: 20px;

    background: #ffffff;

    transform: rotate(45deg);

    border-radius: 3px;
}


.woon-dialogue span {
    position: relative;
    z-index: 2;

    display: block;

    margin-bottom: 3px;

    color: #ff3f86;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
}


.woon-dialogue strong {
    position: relative;
    z-index: 2;

    color: #292c38;

    font-size: 18px;
}


@keyframes woonDialogueIn {

    from {
        opacity: 0;
        transform:
            translateY(12px)
            scale(0.96);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }

}


/* =========================
   FOOTER
========================= */

.prediction-game-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    padding:
        16px
        42px
        20px;

    border-top:
        1px solid rgba(
            35,
            38,
            50,
            0.07
        );

    color: #9a9eaa;

    font-size: 12px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (
    max-width: 820px
) {

    .prediction-game-modal {
        padding: 10px;
    }


    .prediction-game-shell {
        width: 100%;
        max-height: 95vh;

        border-radius: 26px;
    }


    .prediction-game-close {
        top: 14px;
        right: 14px;

        width: 46px;
        height: 46px;

        font-size: 28px;
    }


    .prediction-game-header {
        align-items: flex-start;

        padding:
            24px
            72px
            18px
            22px;
    }


    .prediction-game-progress {
        display: none;
    }


    .woon-intro-screen {
        grid-template-columns: 1fr;

        gap: 10px;

        min-height: auto;

        padding:
            30px
            22px
            36px;
    }


    .woon-intro-copy {
        text-align: center;
    }


    .woon-intro-copy h3 {
        font-size: 18px;
    }


    .woon-intro-copy h1 {
        font-size: 52px;
    }


    .woon-intro-copy p {
        margin:
            0
            auto
            24px;

        font-size: 15px;
    }


    .woon-character-area {
        min-height: 310px;
    }


    .woon-character {
        width: min(
            230px,
            72vw
        );
    }


    .woon-character-glow {
        width: 250px;
        height: 250px;
    }


    .woon-dialogue {
        right: 0;
        bottom: 20px;

        min-width: 155px;
    }


    .prediction-game-footer {
        flex-direction: column;
        align-items: flex-start;

        gap: 5px;

        padding:
            14px
            22px
            18px;
    }

}
/* =====================================================
   WOON JUMP GAME - RULES / ROUND / RESULT
===================================================== */


/* =========================
   RULES
========================= */

.woon-rules-screen {
    min-height: 560px;
    padding: 42px 58px 54px;
}

.woon-rules-top {
    max-width: 720px;
    margin-bottom: 32px;
}

.woon-rules-top h2 {
    margin: 10px 0 12px;

    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;

    color: #292c38;
}

.woon-rules-top p {
    margin: 0;

    color: #737786;
    font-size: 17px;
    line-height: 1.7;
}


/* 四關 */

.woon-rules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;

    margin-bottom: 28px;
}

.woon-rule-card {
    position: relative;

    min-height: 150px;

    padding: 22px;

    border-radius: 24px;

    background: rgba(255,255,255,.82);

    border: 1px solid rgba(40,45,65,.07);

    box-shadow:
        0 12px 30px rgba(40,45,65,.07);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.woon-rule-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 36px rgba(40,45,65,.11);
}

.woon-rule-card > span {
    display: block;

    margin-bottom: 18px;

    color: #ff3f86;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
}

.woon-rule-card strong {
    display: block;

    margin-bottom: 8px;

    color: #292c38;

    font-size: 22px;
}

.woon-rule-card small {
    color: #888c99;

    font-size: 14px;
    line-height: 1.6;
}


/* Woon Jump 對話 */

.woon-rules-message {
    display: flex;
    align-items: center;
    gap: 18px;

    max-width: 680px;

    margin-bottom: 26px;

    padding: 18px 22px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #fff0f6,
            #ffffff
        );

    border:
        1px solid rgba(255,63,134,.11);
}

.woon-mini-mascot {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #ffd95c,
            #ffb933
        );

    color: #ffffff;

    font-size: 24px;
    font-weight: 900;

    box-shadow:
        0 10px 22px rgba(255,185,51,.25);
}

.woon-rules-message span {
    display: block;

    margin-bottom: 3px;

    color: #ff3f86;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
}

.woon-rules-message strong {
    display: block;

    margin-bottom: 4px;

    color: #292c38;

    font-size: 18px;
}

.woon-rules-message p {
    margin: 0;

    color: #7d818f;

    line-height: 1.6;
}


/* =====================================================
   ROUND
===================================================== */

.woon-round-screen {
    min-height: 560px;

    padding: 38px 52px 50px;
}

.woon-round-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 28px;
}

.woon-round-header h2 {
    margin: 7px 0 7px;

    color: #292c38;

    font-size: 38px;
}

.woon-round-header p {
    margin: 0;

    color: #858995;
}

.woon-round-reward {
    padding: 12px 18px;

    border-radius: 15px;

    background: #fff0f6;

    color: #ff3f86;

    font-weight: 900;
}

.woon-round-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(300px, .85fr);

    gap: 24px;
}


/* =========================
   MATCH CARD
========================= */

.woon-match-card {
    padding: 28px;

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7fbff
        );

    border:
        1px solid rgba(40,45,65,.07);

    box-shadow:
        0 18px 40px rgba(40,45,65,.08);
}

.woon-match-league {
    display: inline-block;

    margin-bottom: 24px;

    padding: 7px 12px;

    border-radius: 999px;

    background: #edf8ff;

    color: #4c94c7;

    font-size: 11px;
    font-weight: 900;
}

.woon-match-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 16px;

    margin-bottom: 28px;
}

.woon-team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 150px;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #fff8fb,
            #ffffff
        );

    border:
        1px solid rgba(255,63,134,.11);
}

.woon-team-card span {
    color: #999daa;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
}

.woon-team-card strong {
    margin-top: 6px;

    color: #292c38;

    font-size: 54px;
    line-height: 1;
}

.woon-vs {
    color: #b0b3bd;

    font-size: 16px;
    font-weight: 900;
}

.woon-question-box {
    padding: 20px;

    border-radius: 20px;

    background: #fff7d9;
}

.woon-question-box span {
    display: block;

    margin-bottom: 5px;

    color: #dc9c16;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
}

.woon-question-box strong {
    color: #343742;

    font-size: 18px;
    line-height: 1.6;
}


/* =========================
   ANSWERS
========================= */

.woon-answer-panel {
    padding: 28px;

    border-radius: 28px;

    background: #ffffff;

    border:
        1px solid rgba(40,45,65,.07);

    box-shadow:
        0 18px 40px rgba(40,45,65,.08);
}

.woon-answer-label {
    color: #ff3f86;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
}

.woon-answer-panel h3 {
    margin: 8px 0 22px;

    color: #292c38;

    font-size: 24px;
}

.woon-answer-list {
    display: grid;

    gap: 14px;
}

.woon-answer-button {
    display: flex;
    align-items: center;
    gap: 16px;

    width: 100%;

    padding: 18px;

    border:
        1px solid rgba(40,45,65,.08);

    border-radius: 18px;

    background: #fafbfc;

    color: #292c38;

    cursor: pointer;

    text-align: left;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.woon-answer-button:hover {
    transform: translateY(-2px);

    border-color:
        rgba(255,63,134,.42);

    background: #fff4f8;
}

.woon-answer-code {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border-radius: 12px;

    background: #ff3f86;

    color: #ffffff;

    font-weight: 900;
}

.woon-answer-button strong {
    font-size: 16px;
}

.woon-answer-note {
    margin: 20px 0 0;

    color: #999da8;

    font-size: 12px;
    line-height: 1.6;
}


/* =====================================================
   COUNTDOWN
===================================================== */

.woon-countdown-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 560px;

    padding: 50px;

    text-align: center;
}

.woon-countdown-screen h2 {
    margin: 12px 0 28px;

    color: #292c38;

    font-size: 36px;
}

.woon-countdown-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 150px;
    height: 150px;

    margin-bottom: 25px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #ff3f86,
            #ff77aa
        );

    color: #ffffff;

    font-size: 70px;
    font-weight: 900;

    box-shadow:
        0 22px 50px rgba(255,63,134,.30);

    animation:
        woonCountdownPulse .7s ease-in-out infinite;
}

@keyframes woonCountdownPulse {
    0%,
    100% {
        transform: scale(.92);
    }

    50% {
        transform: scale(1);
    }
}

.woon-countdown-screen p {
    color: #8a8e9b;
}


/* =====================================================
   RESULT
===================================================== */

.woon-result-screen {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-height: 560px;

    padding: 44px 52px 54px;

    text-align: center;
}

.woon-result-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 90px;
    height: 90px;

    margin-bottom: 20px;

    border-radius: 50%;

    color: #ffffff;

    font-size: 46px;
    font-weight: 900;
}

.woon-result-icon.correct {
    background: #32b87c;

    box-shadow:
        0 16px 34px rgba(50,184,124,.23);
}

.woon-result-icon.wrong {
    background: #ffb63d;

    box-shadow:
        0 16px 34px rgba(255,182,61,.25);
}

.woon-result-screen h2 {
    margin: 12px 0;

    color: #292c38;

    font-size: 36px;
}

.woon-result-pick {
    margin: 0 0 24px;

    color: #7e828f;
}

.woon-result-pick strong {
    color: #292c38;
}

.woon-lesson-card {
    width: min(620px, 100%);

    margin-bottom: 20px;

    padding: 24px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #fff7d9,
            #fffdf3
        );

    text-align: left;
}

.woon-lesson-card > span {
    display: block;

    margin-bottom: 8px;

    color: #d89d1c;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
}

.woon-lesson-card strong {
    display: block;

    margin-bottom: 6px;

    color: #292c38;

    font-size: 20px;
}

.woon-lesson-card p {
    margin: 0;

    color: #777b87;

    line-height: 1.7;
}

.woon-earned-box {
    margin-bottom: 22px;

    padding: 12px 20px;

    border-radius: 999px;

    background: #fff0f6;

    color: #ff3f86;

    font-size: 17px;
    font-weight: 900;
}


/* =====================================================
   FINAL
===================================================== */

.woon-final-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 560px;

    padding: 48px;

    text-align: center;
}

.woon-final-trophy {
    margin-bottom: 16px;

    font-size: 74px;
}

.woon-final-screen h2 {
    margin: 12px 0 10px;

    color: #292c38;

    font-size: 38px;
}

.woon-final-screen > p {
    margin: 0 0 26px;

    color: #858995;
}

.woon-final-score {
    width: min(340px, 100%);

    margin-bottom: 16px;

    padding: 20px;

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 12px 32px rgba(40,45,65,.08);
}

.woon-final-score span,
.woon-final-reward span {
    display: block;

    margin-bottom: 5px;

    color: #9a9eaa;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.woon-final-score strong {
    color: #292c38;

    font-size: 34px;
}

.woon-final-reward {
    margin-bottom: 26px;

    padding: 18px 28px;

    border-radius: 20px;

    background: #fff0f6;
}

.woon-final-reward strong {
    display: block;

    color: #ff3f86;

    font-size: 30px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .woon-rules-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


@media (max-width: 600px) {

    .woon-rules-screen,
    .woon-round-screen,
    .woon-result-screen,
    .woon-final-screen {
        padding:
            28px
            20px
            34px;
    }

    .woon-rules-grid {
        grid-template-columns: 1fr;
    }

    .woon-match-teams {
        gap: 9px;
    }

    .woon-team-card {
        min-height: 110px;
    }

    .woon-team-card strong {
        font-size: 40px;
    }

    .woon-round-header {
        flex-direction: column;
    }

}
/* =====================================================
   WOON JUMP RULES HEIGHT FIX
===================================================== */

.prediction-game-shell {
    max-height: 94vh;
    overflow: hidden;
}

.prediction-game-stage {
    max-height: calc(94vh - 190px);
    overflow-y: auto;
    overflow-x: hidden;
}

.woon-rules-screen {
    padding-bottom: 70px;
}

.woon-rules-screen > .woon-start-button {
    margin-top: 4px;
    margin-bottom: 20px;
}
/* =====================================================
   WOON JUMP IN ROUND
===================================================== */

.woon-guide-box {
    position: relative;

    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: center;
    gap: 16px;

    margin-top: 24px;
    padding: 20px 22px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #fff5d8,
            #fffdf5
        );

    border:
        1px solid rgba(255, 193, 64, .22);
}

.woon-guide-character {
    position: relative;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    min-height: 110px;
}

.woon-guide-character img {
    width: 100px;
    height: 115px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 12px 18px rgba(80, 60, 20, .14)
        );
}

.woon-guide-dialogue {
    position: relative;

    padding: 16px 18px;

    border-radius:
        18px
        18px
        18px
        6px;

    background: #ffffff;

    box-shadow:
        0 10px 28px rgba(40, 45, 65, .08);
}

.woon-guide-dialogue::before {
    content: "";

    position: absolute;

    left: -9px;
    bottom: 22px;

    width: 18px;
    height: 18px;

    background: #ffffff;

    transform: rotate(45deg);
}

.woon-guide-dialogue span {
    display: block;

    margin-bottom: 6px;

    color: #ff3f86;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.woon-guide-dialogue strong {
    display: block;

    color: #292c38;

    font-size: 19px;
    line-height: 1.55;
}

.woon-guide-dialogue p {
    margin: 7px 0 0;

    color: #969aa6;

    font-size: 13px;
}

@media (max-width: 600px) {

    .woon-guide-box {
        grid-template-columns: 80px 1fr;

        padding: 16px;
    }

    .woon-guide-character img {
        width: 76px;
        height: 90px;
    }

    .woon-guide-dialogue strong {
        font-size: 16px;
    }

}
@media (max-width: 650px) {

    .woon-round-layout {
        grid-template-columns: 1fr;
    }

}
/* =====================================================
   WOON JUMP TEAM INFO
===================================================== */

.woon-team-emoji {
    margin-bottom: 8px;
    font-size: 42px;
    line-height: 1;
}

.woon-team-name {
    display: block;
    margin-top: 2px;

    font-size: 24px !important;
    line-height: 1.2 !important;
}

.woon-team-english {
    display: block;

    margin-top: 5px;

    color: #ff3f86 !important;
    font-size: 11px !important;
    font-weight: 900;
    letter-spacing: .1em;
}

.woon-team-record {
    display: block;

    margin-top: 14px;

    color: #777c89;
    font-size: 12px;
    font-weight: 700;
}

.woon-team-feature {
    max-width: 190px;

    margin: 7px auto 0;

    color: #9a9eaa;
    font-size: 11px;
    line-height: 1.5;
}
/* =====================================================
   ROUND 01 RESULT
===================================================== */

.woon-match-result-card {
    width: min(650px, 100%);

    margin: 18px 0 22px;
    padding: 24px;

    border-radius: 24px;

    background: #ffffff;

    box-shadow:
        0 14px 34px rgba(40,45,65,.08);
}

.woon-result-small {
    display: block;

    margin-bottom: 18px;

    color: #999daa;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.woon-result-score {
    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;
    gap: 18px;
}

.woon-result-score > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.woon-result-team-emoji {
    font-size: 34px;
}

.woon-result-score strong {
    margin-top: 5px;

    color: #292c38;

    font-size: 18px;
}

.woon-result-score b {
    margin-top: 8px;

    color: #292c38;

    font-size: 44px;
}

.woon-score-divider {
    color: #bbbfc8;

    font-size: 34px;
    font-weight: 900;
}


/* Woon Jump reaction */

.woon-result-reaction {
    display: grid;
    grid-template-columns: 90px 1fr;

    align-items: center;
    gap: 18px;

    width: min(650px, 100%);

    margin-bottom: 20px;

    padding: 18px 22px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #fff3d5,
            #ffffff
        );

    text-align: left;
}

.woon-result-reaction img {
    width: 82px;
    height: 100px;

    object-fit: contain;
}

.woon-result-reaction span {
    display: block;

    margin-bottom: 4px;

    color: #ff3f86;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.woon-result-reaction strong {
    display: block;

    color: #292c38;

    font-size: 20px;
}

.woon-result-reaction p {
    margin: 5px 0 0;

    color: #8c909c;

    line-height: 1.6;
}
/* =====================================================
   ROUND 02 HANDICAP
===================================================== */

.woon-spread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 72px;

    margin-top: 10px;
    padding: 7px 14px;

    border-radius: 999px;

    font-size: 18px;
    font-weight: 900;
}

.woon-spread-badge.minus {
    background: #fff0f6;
    color: #ff3f86;
}

.woon-spread-badge.plus {
    background: #eef8ff;
    color: #4698d2;
}

.woon-spread-tip {
    display: grid;
    gap: 7px;

    margin-top: 20px;
    padding: 16px 18px;

    border-radius: 18px;

    background: #fff8de;
}

.woon-spread-tip span {
    color: #d89c19;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.woon-spread-tip strong {
    color: #575b67;

    font-size: 13px;
    line-height: 1.5;
}
/* ROUND 03｜大小分 */

.woon-total-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 10px;
    padding: 7px 14px;

    border-radius: 999px;
    background: #fff4d8;

    color: #d58b00;
    font-size: 14px;
    font-weight: 900;
}
/* =====================================================
   WOON JUMP｜RESULT CALCULATION
===================================================== */

.woon-calc-box,
.woon-total-calculation,
.woon-total-compare,
.woon-result-verdict {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 16px;
    text-align: center;
}

.woon-calc-box {
    background: #fff8de;
}

.woon-calc-box span,
.woon-total-calculation span,
.woon-result-verdict span {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    opacity: .65;
}

.woon-calc-box strong {
    display: block;
    font-size: 22px;
    font-weight: 900;
}

.woon-calc-box p {
    margin: 7px 0 0;
    font-size: 18px;
    font-weight: 900;
}

.woon-result-verdict {
    background: #fff0f6;
}

.woon-result-verdict strong {
    font-size: 20px;
    font-weight: 900;
}

.woon-total-score-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 20px;
}

.woon-total-score-row > div {
    display: grid;
    gap: 5px;
    text-align: center;
}

.woon-total-score-row span {
    font-size: 30px;
}

.woon-total-score-row strong {
    font-size: 15px;
}

.woon-total-score-row b {
    font-size: 32px;
}

.woon-total-plus {
    font-size: 30px !important;
    font-weight: 900;
}

.woon-total-calculation {
    background: #fff8de;
}

.woon-total-calculation strong {
    display: block;
    font-size: 28px;
    font-weight: 900;
}

.woon-total-compare {
    background: #eef8ff;
}

.woon-total-compare strong {
    display: block;
    font-size: 26px;
    font-weight: 900;
}

.woon-total-compare span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 800;
    opacity: .65;
}
/* =====================================================
   ROUND 04｜LIVE
===================================================== */

.woon-live-status {
    margin: 16px 0 20px;
    padding: 16px 20px;

    border: 2px solid #ff4f87;
    border-radius: 18px;

    background: #fff7fa;
}

.woon-live-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 12px;
}

.woon-live-badge {
    color: #ff3f76;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.woon-live-top strong {
    font-size: 13px;
    font-weight: 900;
}

.woon-live-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    font-size: 22px;
    font-weight: 900;
}

.woon-live-score > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.woon-live-score b {
    font-size: 30px;
}

.woon-live-status p {
    margin: 12px 0 0;

    text-align: center;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}
/* =====================================================
   ROUND 04｜LIVE
===================================================== */

.woon-live-status {
    margin: 16px 0 20px;
    padding: 16px 20px;

    border: 2px solid #ff4f87;
    border-radius: 18px;

    background: #fff7fa;
}

.woon-live-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 12px;
}

.woon-live-badge {
    color: #ff3f76;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.woon-live-top strong {
    font-size: 13px;
    font-weight: 900;
}

.woon-live-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    font-size: 22px;
    font-weight: 900;
}

.woon-live-score > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.woon-live-score b {
    font-size: 30px;
}

.woon-live-status p {
    margin: 12px 0 0;

    text-align: center;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}
/* =====================================================
   ROUND 04｜LIVE RESULT
===================================================== */

.woon-live-result-card {
    width: min(720px, 100%);
    margin: 26px auto;
}

.woon-live-result-stage {
    padding: 20px 24px;

    border: 2px solid #ff4f87;
    border-radius: 22px;

    background: #fff8fb;
}

.woon-live-result-stage.final {
    border-color: #35bd86;
    background: #f1fff9;
}

.woon-live-result-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}

.woon-live-result-title span {
    color: #ff3f76;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
}

.woon-live-result-stage.final
.woon-live-result-title span {
    color: #27a977;
}

.woon-live-result-title strong {
    font-size: 13px;
    font-weight: 900;
}

.woon-live-result-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.woon-live-result-score > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.woon-live-result-score span {
    font-size: 25px;
}

.woon-live-result-score strong {
    font-size: 16px;
}

.woon-live-result-score b {
    font-size: 34px;
    font-weight: 900;
}

.woon-live-result-note {
    margin: 16px 0 0;

    text-align: center;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}

.woon-live-result-arrow {
    display: grid;
    justify-items: center;
    gap: 2px;

    padding: 12px 0;
}

.woon-live-result-arrow span {
    color: #9297a4;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.woon-live-result-arrow strong {
    color: #ff3f76;

    font-size: 25px;
}
/* =====================================================
   WOON JUMP｜NEW USER TUTORIAL
===================================================== */

.tutorial-lesson-modal {
    max-width: 850px;
}

.tutorial-woon-screen {
    padding: 10px;
}

.tutorial-woon-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 26px;
}

.tutorial-woon-label {
    display: inline-block;

    margin-bottom: 8px;

    color: #ff4f87;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
}

.tutorial-woon-header h2 {
    margin: 0;

    font-size: 30px;
    font-weight: 900;
}

.tutorial-woon-reward {
    flex-shrink: 0;

    padding: 8px 14px;

    border-radius: 999px;

    background: #fff0f6;
    color: #ff3f76;

    font-size: 14px;
    font-weight: 900;
}



.tutorial-woon-content {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 24px;
    align-items: center;

    padding: 24px;

    border-radius: 24px;

    background: #fff8fb;
}

.tutorial-woon-character {
    text-align: center;
}

.tutorial-woon-character img {
    display: block;

    width: 150px;
    max-width: 100%;

    margin: 0 auto 10px;
}

.tutorial-woon-name {
    color: #ff4f87;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}



.tutorial-woon-dialogue {
    position: relative;

    padding: 22px 24px;

    border: 2px solid #ffd3e1;
    border-radius: 22px;

    background: #ffffff;
}

.tutorial-woon-dialogue span {
    display: block;

    margin-bottom: 8px;

    color: #ff4f87;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.tutorial-woon-dialogue strong {
    display: block;

    margin-bottom: 10px;

    font-size: 21px;
    font-weight: 900;
    line-height: 1.5;
}

.tutorial-woon-dialogue p {
    margin: 0;

    color: #666b77;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
}



.tutorial-example-card,
.tutorial-takeaway-card {
    margin-top: 18px;
    padding: 18px 20px;

    border-radius: 18px;
}

.tutorial-example-card {
    background: #fff8de;
}

.tutorial-example-card span,
.tutorial-takeaway-card span {
    display: block;

    margin-bottom: 6px;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.tutorial-example-card p {
    margin: 0;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
}



.tutorial-takeaway-card {
    background: #eef8ff;
}

.tutorial-takeaway-card strong {
    display: block;

    font-size: 18px;
    font-weight: 900;
    line-height: 1.6;
}



.tutorial-finish-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;

    margin-top: 22px;
    padding: 15px 20px;

    border: 0;
    border-radius: 18px;

    background: #ff4f87;
    color: #ffffff;

    font-size: 16px;
    font-weight: 900;

    cursor: pointer;
}

.tutorial-finish-button:hover {
    transform: translateY(-1px);
}



.tutorial-completed-note {
    margin: 10px 0 0;

    text-align: center;

    color: #8b8f99;

    font-size: 12px;
    font-weight: 700;
}



@media (max-width: 700px) {

    .tutorial-woon-content {
        grid-template-columns: 1fr;
    }

    .tutorial-woon-character img {
        width: 120px;
    }

    .tutorial-woon-header h2 {
        font-size: 24px;
    }

}
.tutorial-woon-character img {
    animation: woonJumpBounce 1.4s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes woonJumpBounce {

    0%,
    100% {
        transform: translateY(0) scaleY(1);
    }

    45% {
        transform: translateY(-20px) scaleY(1.02);
    }

    55% {
        transform: translateY(-20px) scaleY(1.02);
    }

    90% {
        transform: translateY(0) scaleY(0.98);
    }

}
/* =====================================================
   TUTORIAL 01｜VISUAL SCORE DEMO
===================================================== */

.tutorial-score-demo {
    margin-top: 18px;
    padding: 22px 26px;

    border-radius: 22px;

    background: #fff8de;

    overflow: hidden;
}


.tutorial-demo-label {
    margin-bottom: 18px;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}


.tutorial-score-question {
    margin-bottom: 14px;

    text-align: center;

    color: #777b86;

    font-size: 12px;
    font-weight: 800;
}


.tutorial-score-board {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;

    animation: tutorialScoreAppear .55s ease both;
}


.tutorial-demo-team {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 4px 8px;

    min-width: 120px;

    text-align: center;
}


.tutorial-demo-team strong {
    font-size: 15px;
    font-weight: 900;
}


.tutorial-demo-team b {
    grid-column: 1 / -1;

    font-size: 42px;
    line-height: 1.1;
    font-weight: 900;
}


.tutorial-score-vs {
    font-size: 30px;
    font-weight: 900;
}


.tutorial-demo-arrow {
    margin: 10px 0;

    text-align: center;

    color: #ff4f87;

    font-size: 28px;
    font-weight: 900;

    animation:
        tutorialArrowMove
        1s
        ease-in-out
        infinite;
}


.tutorial-demo-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: fit-content;

    margin: 0 auto;
    padding: 12px 22px;

    border-radius: 16px;

    background: #ffffff;

    animation:
        tutorialResultPop
        .55s
        .35s
        ease
        both;
}


.tutorial-demo-result > span {
    font-size: 30px;
}


.tutorial-demo-result small {
    display: block;

    margin-bottom: 2px;

    color: #ff4f87;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}


.tutorial-demo-result strong {
    display: block;

    font-size: 18px;
    font-weight: 900;
}


.tutorial-demo-woon-line {
    margin-top: 16px;

    text-align: center;

    color: #ff4f87;

    font-size: 13px;
    font-weight: 900;

    opacity: 0;

    animation:
        tutorialWoonLine
        .5s
        .75s
        ease
        forwards;
}


/* 比分進場 */

@keyframes tutorialScoreAppear {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* 箭頭上下 */

@keyframes tutorialArrowMove {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }

}


/* 結果跳出 */

@keyframes tutorialResultPop {

    from {
        opacity: 0;
        transform: scale(.88);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


/* Woon Jump 最後補一句 */

@keyframes tutorialWoonLine {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@media (max-width: 700px) {

    .tutorial-score-demo {
        padding: 18px 14px;
    }

    .tutorial-score-board {
        gap: 12px;
    }

    .tutorial-demo-team {
        min-width: 90px;
    }

    .tutorial-demo-team b {
        font-size: 34px;
    }

}
/* =====================================================
   TUTORIAL 02｜HANDICAP DEMO
===================================================== */

.tutorial-handicap-demo {
    margin-top: 18px;
    padding: 24px 26px;

    border-radius: 22px;

    background: #fff8de;

    overflow: hidden;
}


.tutorial-handicap-condition {
    width: fit-content;

    margin: 0 auto 20px;
    padding: 10px 18px;

    border-radius: 14px;

    background: #ffffff;

    text-align: center;

    animation:
        tutorialHandicapCondition
        .45s
        ease
        both;
}


.tutorial-handicap-condition span {
    display: block;

    margin-bottom: 3px;

    color: #777b86;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}


.tutorial-handicap-condition strong {
    color: #ff4f87;

    font-size: 19px;
    font-weight: 900;
}


.handicap-board {
    opacity: 0;

    animation:
        tutorialHandicapScore
        .5s
        .25s
        ease
        forwards;
}


.tutorial-handicap-step {
    width: fit-content;

    margin: 12px auto;
    padding: 10px 18px;

    border-radius: 14px;

    background: #ffffff;

    text-align: center;

    opacity: 0;
}


.tutorial-handicap-step small {
    display: block;

    margin-bottom: 3px;

    color: #8b8f99;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}


.tutorial-handicap-step strong {
    font-size: 16px;
    font-weight: 900;
}


.tutorial-handicap-step.step-one {
    animation:
        tutorialHandicapStep
        .45s
        .65s
        ease
        forwards;
}


.tutorial-handicap-step.step-two {
    animation:
        tutorialHandicapStep
        .45s
        1.05s
        ease
        forwards;
}


.tutorial-handicap-calc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    margin: 10px auto 16px;

    opacity: 0;

    animation:
        tutorialHandicapCalc
        .45s
        1.4s
        ease
        forwards;
}


.tutorial-handicap-calc span {
    min-width: 56px;
    padding: 8px 14px;

    border-radius: 14px;

    background: #ffffff;

    text-align: center;

    font-size: 28px;
    font-weight: 900;
}


.tutorial-handicap-calc b {
    color: #ff4f87;

    font-size: 28px;
    font-weight: 900;
}


.tutorial-handicap-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: fit-content;

    margin: 0 auto;
    padding: 12px 22px;

    border-radius: 16px;

    background: #ffffff;

    opacity: 0;

    animation:
        tutorialHandicapResult
        .5s
        1.75s
        cubic-bezier(.2, 1.4, .4, 1)
        forwards;
}


.tutorial-handicap-result > span {
    font-size: 30px;
}


.tutorial-handicap-result small {
    display: block;

    margin-bottom: 2px;

    color: #ff4f87;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}


.tutorial-handicap-result strong {
    display: block;

    font-size: 18px;
    font-weight: 900;
}


.handicap-line {
    animation-delay: 2.05s;
}


@keyframes tutorialHandicapCondition {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes tutorialHandicapScore {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes tutorialHandicapStep {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes tutorialHandicapCalc {

    from {
        opacity: 0;
        transform: scale(.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


@keyframes tutorialHandicapResult {

    from {
        opacity: 0;
        transform: scale(.82);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


@media (max-width: 700px) {

    .tutorial-handicap-demo {
        padding: 18px 14px;
    }

    .tutorial-handicap-calc {
        gap: 10px;
    }

    .tutorial-handicap-calc span {
        min-width: 48px;

        font-size: 24px;
    }

}
/* =====================================================
   TUTORIAL 03｜TOTAL DEMO
===================================================== */

.tutorial-total-demo {
    margin-top: 18px;
    padding: 24px 26px;

    border-radius: 22px;
    background: #fff8de;

    overflow: hidden;
}


.tutorial-total-condition {
    width: fit-content;

    margin: 0 auto 22px;
    padding: 10px 22px;

    border-radius: 14px;
    background: #ffffff;

    text-align: center;

    animation:
        tutorialTotalCondition
        .45s
        ease
        both;
}


.tutorial-total-condition span {
    display: block;

    margin-bottom: 3px;

    color: #777b86;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}


.tutorial-total-condition strong {
    color: #ff4f87;

    font-size: 22px;
    font-weight: 900;
}


.tutorial-total-score-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    opacity: 0;

    animation:
        tutorialTotalScore
        .5s
        .25s
        ease
        forwards;
}


.tutorial-total-team {
    min-width: 110px;

    text-align: center;
}


.tutorial-total-team span {
    display: block;

    margin-bottom: 5px;

    font-size: 14px;
    font-weight: 900;
}


.tutorial-total-team strong {
    display: block;

    font-size: 42px;
    font-weight: 900;
}


.tutorial-total-symbol {
    font-size: 26px;
    font-weight: 900;
}


.tutorial-total-sum {
    width: fit-content;

    margin: 0 auto;
    padding: 12px 22px;

    border-radius: 15px;
    background: #ffffff;

    text-align: center;

    opacity: 0;

    animation:
        tutorialTotalStep
        .45s
        .7s
        ease
        forwards;
}


.tutorial-total-sum small {
    display: block;

    margin-bottom: 5px;

    color: #8b8f99;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}


.tutorial-total-sum div {
    font-size: 17px;
    font-weight: 800;
}


.tutorial-total-sum strong {
    color: #ff4f87;

    font-size: 25px;
}


.tutorial-total-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    opacity: 0;

    animation:
        tutorialTotalCompare
        .45s
        1.1s
        ease
        forwards;
}


.tutorial-total-compare span {
    min-width: 70px;
    padding: 9px 14px;

    border-radius: 14px;
    background: #ffffff;

    text-align: center;

    font-size: 27px;
    font-weight: 900;
}


.tutorial-total-compare b {
    color: #ff4f87;

    font-size: 28px;
    font-weight: 900;
}


.tutorial-total-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: fit-content;

    margin: 16px auto 0;
    padding: 12px 24px;

    border-radius: 16px;
    background: #ffffff;

    opacity: 0;

    animation:
        tutorialTotalResult
        .5s
        1.45s
        cubic-bezier(.2, 1.4, .4, 1)
        forwards;
}


.tutorial-total-result > span {
    font-size: 30px;
}


.tutorial-total-result small {
    display: block;

    color: #ff4f87;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}


.tutorial-total-result strong {
    display: block;

    font-size: 20px;
    font-weight: 900;
}


.total-line {
    animation-delay: 1.8s;
}


@keyframes tutorialTotalCondition {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes tutorialTotalScore {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes tutorialTotalStep {

    from {
        opacity: 0;
        transform: scale(.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


@keyframes tutorialTotalCompare {

    from {
        opacity: 0;
        transform: scale(.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


@keyframes tutorialTotalResult {

    from {
        opacity: 0;
        transform: scale(.82);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


@media (max-width: 700px) {

    .tutorial-total-demo {
        padding: 18px 14px;
    }

    .tutorial-total-score-row {
        gap: 12px;
    }

    .tutorial-total-team {
        min-width: 85px;
    }

    .tutorial-total-team strong {
        font-size: 34px;
    }

    .tutorial-total-compare {
        gap: 10px;
    }

}
/* =====================================================
   TUTORIAL 04｜LIVE DEMO
===================================================== */

.tutorial-live-demo {
    position: relative;

    margin-top: 18px;
    padding: 24px 26px;

    border-radius: 22px;

    background: #fff8de;

    overflow: hidden;
}


/* LIVE */

.tutorial-live-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    width: fit-content;

    margin: 0 auto 5px;
    padding: 6px 12px;

    border-radius: 999px;

    background: #ffffff;
    color: #ff4f87;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;

    animation:
        tutorialLiveAppear
        .4s
        ease
        both;
}


.tutorial-live-badge span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ff4f87;

    animation:
        tutorialLiveDot
        1s
        ease-in-out
        infinite;
}


.tutorial-live-inning {
    margin-bottom: 16px;

    text-align: center;

    color: #777b86;

    font-size: 12px;
    font-weight: 900;

    opacity: 0;

    animation:
        tutorialLiveAppear
        .4s
        .15s
        ease
        forwards;
}


/* SCORE */

.tutorial-live-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;

    opacity: 0;

    animation:
        tutorialLiveScore
        .5s
        .35s
        ease
        forwards;
}


.tutorial-live-team {
    min-width: 120px;

    text-align: center;
}


.tutorial-live-team span {
    display: block;

    margin-bottom: 4px;

    font-size: 22px;
}


.tutorial-live-team strong {
    display: block;

    font-size: 14px;
    font-weight: 900;
}


.tutorial-live-team b {
    display: block;

    margin-top: 3px;

    font-size: 42px;
    line-height: 1.1;
    font-weight: 900;
}


.tutorial-live-vs {
    font-size: 28px;
    font-weight: 900;
}


/* CURRENT SITUATION */

.tutorial-live-situation {
    width: fit-content;

    margin: 18px auto 0;
    padding: 12px 22px;

    border-radius: 16px;

    background: #ffffff;

    text-align: center;

    opacity: 0;

    animation:
        tutorialLiveSituation
        .5s
        .75s
        ease
        forwards;
}


.tutorial-live-situation small {
    display: block;

    margin-bottom: 5px;

    color: #ff4f87;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
}


.tutorial-live-situation strong {
    display: block;

    font-size: 16px;
    font-weight: 900;
}


.tutorial-live-situation p {
    margin: 5px 0 0;

    color: #6f7480;

    font-size: 12px;
    font-weight: 800;
}


/* THINKING */

.tutorial-live-thinking {
    margin-top: 15px;

    text-align: center;

    color: #ff4f87;

    font-size: 13px;
    font-weight: 900;

    opacity: 0;

    animation:
        tutorialLiveThinking
        .45s
        1.15s
        ease
        forwards;
}


.tutorial-live-continue {
    width: fit-content;

    margin: 0 auto;
    padding: 7px 16px;

    border-radius: 999px;

    background: #ffffff;

    color: #777b86;

    font-size: 11px;
    font-weight: 900;

    opacity: 0;

    animation:
        tutorialLiveContinue
        .4s
        1.5s
        ease
        forwards;
}


/* FINAL */

.tutorial-live-final {
    margin-top: 4px;
    padding: 18px;

    border: 2px solid #ffd1df;
    border-radius: 18px;

    background: #ffffff;

    opacity: 0;

    animation:
        tutorialLiveFinal
        .55s
        1.85s
        cubic-bezier(.2, 1.3, .4, 1)
        forwards;
}


.tutorial-live-final-label {
    margin-bottom: 10px;

    text-align: center;

    color: #ff4f87;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .15em;
}


.tutorial-live-final .tutorial-live-score {
    opacity: 1;
    animation: none;
}


.tutorial-live-final
.tutorial-live-team b {
    color: #ff4f87;
}


/* RESULT */

.tutorial-live-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: fit-content;

    margin: 16px auto 0;
    padding: 12px 22px;

    border-radius: 16px;

    background: #ffffff;

    opacity: 0;

    animation:
        tutorialLiveResult
        .5s
        2.3s
        cubic-bezier(.2, 1.4, .4, 1)
        forwards;
}


.tutorial-live-result > span {
    font-size: 30px;
}


.tutorial-live-result small {
    display: block;

    margin-bottom: 2px;

    color: #ff4f87;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}


.tutorial-live-result strong {
    display: block;

    font-size: 18px;
    font-weight: 900;
}


.live-line {
    animation-delay: 2.7s;
}


/* =========================
   ANIMATION
========================= */

@keyframes tutorialLiveDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .35;
        transform: scale(.7);
    }

}


@keyframes tutorialLiveAppear {

    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes tutorialLiveScore {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes tutorialLiveSituation {

    from {
        opacity: 0;
        transform: scale(.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


@keyframes tutorialLiveThinking {

    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes tutorialLiveContinue {

    from {
        opacity: 0;
        transform: scale(.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


@keyframes tutorialLiveFinal {

    from {
        opacity: 0;
        transform: translateY(12px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


@keyframes tutorialLiveResult {

    from {
        opacity: 0;
        transform: scale(.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .tutorial-live-demo {
        padding: 18px 14px;
    }

    .tutorial-live-score {
        gap: 12px;
    }

    .tutorial-live-team {
        min-width: 90px;
    }

    .tutorial-live-team b {
        font-size: 34px;
    }

    .tutorial-live-final {
        padding: 14px 8px;
    }

}
/* =====================================================
   MARCH 2027｜WOON JUMP TRIVIA WHEEL V2
===================================================== */

.march-trivia-modal {
    max-width: 920px;
}

.march-trivia-wrap {
    padding: 8px;
}


/* HEADER */

.march-trivia-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.march-trivia-label {
    display: inline-block;
    margin-bottom: 7px;

    color: #ff4f87;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
}

.march-trivia-header h2 {
    margin: 0;

    font-size: 32px;
    line-height: 1.15;
    font-weight: 900;
}

.march-trivia-header p {
    margin: 8px 0 0;

    color: #81848e;

    font-size: 14px;
    font-weight: 700;
}

.march-trivia-reward {
    flex-shrink: 0;

    padding: 11px 18px;

    border-radius: 999px;

    background: #ffedf4;
    color: #ff4f87;

    font-size: 18px;
    font-weight: 900;
}


/* MAIN GAME */

.march-trivia-game {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 28px;
    align-items: center;

    padding: 28px;

    border-radius: 26px;

    background:
        linear-gradient(
            135deg,
            #fff8fb,
            #fffdf7
        );
}


/* WOON JUMP */

.march-trivia-woon {
    text-align: center;
}

.march-trivia-woon img {
    display: block;

    width: 145px;
    max-width: 100%;

    margin: 0 auto 14px;

    animation:
        marchWoonBounce
        1.5s
        ease-in-out
        infinite;

    transform-origin: center bottom;
}

.march-trivia-dialogue {
    position: relative;

    padding: 15px 16px;

    border: 1px solid #f0edf1;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 10px 24px
        rgba(35, 36, 45, .05);

    text-align: left;
}

.march-trivia-dialogue::before {
    content: "";

    position: absolute;

    top: -8px;
    left: 50%;

    width: 16px;
    height: 16px;

    background: #ffffff;

    transform:
        translateX(-50%)
        rotate(45deg);
}

.march-trivia-dialogue span {
    display: block;

    margin-bottom: 5px;

    color: #ff4f87;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.march-trivia-dialogue strong {
    display: block;

    font-size: 16px;
    font-weight: 900;
}

.march-trivia-dialogue p {
    margin: 7px 0 0;

    color: #7e818b;

    font-size: 12px;
    font-weight: 700;
}


/* =========================
   WHEEL
========================= */

.march-wheel-area {
    position: relative;
    text-align: center;
}


/* POINTER */

.march-wheel-pointer {
    position: relative;
    z-index: 10;

    width: 44px;
    height: 55px;

    margin: 0 auto -25px;

    border: 5px solid #ffffff;
    border-radius: 24px 24px 24px 4px;

    background: #ff4f87;

    box-shadow:
        0 6px 16px
        rgba(255, 79, 135, .25);

    font-size: 0;

    transform: rotate(-45deg);
}

.march-wheel-pointer::after {
    content: "●";

    position: absolute;

    top: 5px;
    left: 7px;

    color: #ffffff;

    font-size: 14px;
}


/* WHEEL */

.march-wheel {
    position: relative;

    width: 350px;
    height: 350px;

    margin: 0 auto;

    border: 9px solid #272832;
    border-radius: 50%;

    background:
        conic-gradient(
            from -30deg,

            #ff5b8c 0deg 60deg,
            #ffb74c 60deg 120deg,
            #5bcf9c 120deg 180deg,
            #54b9e4 180deg 240deg,
            #8b72db 240deg 300deg,
            #ed68b4 300deg 360deg
        );

    box-shadow:
        0 16px 34px
        rgba(31, 32, 40, .16),
        inset 0 0 0 5px #ffffff;

    transition:
        transform
        3.6s
        cubic-bezier(.12, .72, .12, 1);
}


/* 分隔線 */

.march-wheel::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 50%;

    background:
        repeating-conic-gradient(
            from -30deg,

            transparent 0deg 59.3deg,
            rgba(255,255,255,.95)
            59.3deg 60deg
        );

    pointer-events: none;
}


/* 把原本亂擠在一起的 emoji 拿掉 */

.march-wheel::after {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 50%;

    pointer-events: none;
}

/* CENTER */

.march-wheel-center {
    position: absolute;
    z-index: 5;

    top: 50%;
    left: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100px;
    height: 100px;

    border: 6px solid #ffffff;
    border-radius: 50%;

    background: #272832;
    color: #ffffff;

    box-shadow:
        0 6px 16px
        rgba(0,0,0,.18);

    transform:
        translate(-50%, -50%);
}

.march-wheel-center span {
    color: #ff78a2;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.march-wheel-center strong {
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
}


/* BUTTON */

.march-wheel-button {
    width: min(310px, 100%);

    margin-top: 22px;
    padding: 14px 20px;

    border: none;
    border-radius: 999px;

    background: #ff4f87;
    color: #ffffff;

    box-shadow:
        0 9px 20px
        rgba(255,79,135,.22);

    cursor: pointer;

    font-size: 15px;
    font-weight: 900;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.march-wheel-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 13px 24px
        rgba(255,79,135,.28);
}

.march-wheel-button:disabled {
    cursor: not-allowed;
    opacity: .55;
    transform: none;
}

.march-wheel-note {
    margin: 9px 0 0;

    color: #9a9da5;

    font-size: 10px;
    font-weight: 700;
}


/* =====================================================
   QUESTION CARD
===================================================== */

.march-trivia-question-area {
    margin-top: 18px;
}

.march-question-card {
    padding: 24px;

    border: 1px solid #eeeaf0;
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 12px 30px
        rgba(35,36,45,.06);

    animation:
        marchQuestionIn
        .4s
        ease
        both;
}

.march-question-category {
    display: inline-block;

    margin-bottom: 8px;
    padding: 6px 11px;

    border-radius: 999px;

    background: #fff0f5;
    color: #ff4f87;

    font-size: 11px;
    font-weight: 900;
}

.march-question-card > small {
    display: block;

    color: #a1a3ab;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

.march-question-card h3 {
    margin: 8px 0 18px;

    color: #282934;

    font-size: 22px;
    line-height: 1.4;
    font-weight: 900;
}


/* ANSWERS */

.march-question-options {
    display: grid;
    gap: 10px;
}

.march-question-options button {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;

    padding: 13px 15px;

    border: 1px solid #e8e8ed;
    border-radius: 14px;

    background: #fafafd;
    color: #282934;

    cursor: pointer;

    text-align: left;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease;
}

.march-question-options button:hover {
    border-color: #ff91b3;

    background: #fff4f8;

    transform: translateX(3px);
}

.march-question-options button span {
    display: flex;
    flex: 0 0 31px;
    align-items: center;
    justify-content: center;

    width: 31px;
    height: 31px;

    border-radius: 9px;

    background: #ffffff;
    color: #ff4f87;

    box-shadow:
        0 3px 9px
        rgba(35,36,45,.06);

    font-size: 12px;
    font-weight: 900;
}


/* =====================================================
   RESULT CARD
===================================================== */

.march-trivia-result-area {
    margin-top: 18px;
}

.march-result-card {
    padding: 26px;

    border-radius: 22px;

    background: #fff8de;

    text-align: center;

    animation:
        marchResultIn
        .45s
        cubic-bezier(.2,1.3,.4,1)
        both;
}

.march-result-icon {
    margin-bottom: 5px;
    font-size: 36px;
}

.march-result-label {
    display: block;

    color: #ff4f87;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.march-result-card h3 {
    margin: 8px 0 16px;

    font-size: 21px;
    font-weight: 900;
}

.march-result-fact {
    max-width: 600px;

    margin: 0 auto;
    padding: 15px 18px;

    border-radius: 16px;

    background: #ffffff;

    text-align: left;
}

.march-result-fact span {
    display: block;

    margin-bottom: 5px;

    color: #ff4f87;

    font-size: 10px;
    font-weight: 900;
}

.march-result-fact p {
    margin: 0;

    color: #555963;

    font-size: 13px;
    line-height: 1.7;
    font-weight: 700;
}

.march-result-button {
    margin-top: 17px;
    padding: 13px 24px;

    border: none;
    border-radius: 999px;

    background: #ff4f87;
    color: #ffffff;

    cursor: pointer;

    font-size: 14px;
    font-weight: 900;
}


/* DISCLAIMER */

.march-trivia-disclaimer {
    margin: 14px 0 0;

    color: #a0a2aa;

    text-align: center;

    font-size: 10px;
    font-weight: 700;
}


/* ANIMATION */

@keyframes marchWoonBounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes marchQuestionIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes marchResultIn {
    from {
        opacity: 0;
        transform: scale(.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* MOBILE */

@media (max-width: 760px) {

    .march-trivia-header {
        flex-direction: column;
    }

    .march-trivia-header h2 {
        font-size: 26px;
    }

    .march-trivia-game {
        grid-template-columns: 1fr;

        padding: 20px 14px;
    }

    .march-trivia-woon img {
        width: 120px;
    }

    .march-wheel {
        width: 290px;
        height: 290px;
    }

    .march-wheel-center {
        width: 82px;
        height: 82px;
    }

    .march-question-card {
        padding: 18px;
    }

    .march-question-card h3 {
        font-size: 19px;
    }

}

/* =========================
   HEADER
========================= */

.march-trivia-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 22px;
}


.march-trivia-label {
    display: inline-block;

    margin-bottom: 7px;

    color: #ff4f87;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}


.march-trivia-header h2 {
    margin: 0;

    font-size: 34px;
    line-height: 1.15;
    font-weight: 900;
}


.march-trivia-header p {
    margin: 8px 0 0;

    color: #777b86;

    font-size: 14px;
    font-weight: 700;
}


.march-trivia-reward {
    flex-shrink: 0;

    padding: 10px 17px;

    border-radius: 999px;

    background: #ffedf4;
    color: #ff4f87;

    font-size: 18px;
    font-weight: 900;
}


/* =========================
   GAME LAYOUT
========================= */

.march-trivia-game {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    align-items: center;

    padding: 28px;

    border-radius: 26px;

    background: #fff8fb;
}


/* =========================
   WOON JUMP
========================= */

.march-trivia-woon {
    text-align: center;
}


.march-trivia-woon img {
    display: block;

    width: 170px;
    max-width: 100%;

    margin: 0 auto 14px;

    animation:
        marchWoonBounce
        1.5s
        ease-in-out
        infinite;

    transform-origin: center bottom;
}


.march-trivia-dialogue {
    padding: 16px 18px;

    border-radius: 18px;

    background: #ffffff;

    text-align: left;
}


.march-trivia-dialogue span {
    display: block;

    margin-bottom: 5px;

    color: #ff4f87;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
}


.march-trivia-dialogue strong {
    display: block;

    font-size: 17px;
    font-weight: 900;
}


.march-trivia-dialogue p {
    margin: 7px 0 0;

    color: #777b86;

    font-size: 13px;
    font-weight: 700;
}


/* =========================
   WHEEL AREA
========================= */

.march-wheel-area {
    position: relative;

    text-align: center;
}


.march-wheel-pointer {
    position: relative;
    z-index: 5;

    width: 52px;
    height: 52px;

    margin: 0 auto -17px;

    border: 5px solid #ffffff;
    border-radius: 50% 50% 50% 0;

    background: #ff4f87;
    color: #ffffff;

    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);

    font-size: 19px;
    line-height: 39px;

    transform: rotate(-45deg);
}


.march-wheel-pointer::after {
    content: "▼";

    display: block;

    transform: rotate(45deg);
}


/* 隱藏原本文字 */
.march-wheel-pointer {
    font-size: 0;
}


/* =========================
   WHEEL
========================= */

.march-wheel {
    position: relative;

    width: 390px;
    height: 390px;
    max-width: 100%;

    margin: 0 auto;

    border: 12px solid #252630;
    border-radius: 50%;

    background:
        conic-gradient(
            from -30deg,

            #ff5f8f 0deg 60deg,
            #ffb84d 60deg 120deg,
            #5ccf9a 120deg 180deg,
            #55b9e9 180deg 240deg,
            #8d72dc 240deg 300deg,
            #f06bb7 300deg 360deg
        );

    box-shadow:
        0 18px 35px rgba(0, 0, 0, .13),
        inset 0 0 0 5px #ffffff;

    transition:
        transform
        3.6s
        cubic-bezier(.12, .72, .12, 1);
}


/* 六條分隔線 */

.march-wheel::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 50%;

    background:
        repeating-conic-gradient(
            from -30deg,
            transparent 0deg 59deg,
            rgba(255, 255, 255, .95) 59deg 60deg
        );

    pointer-events: none;
}


/* =========================
   CENTER
========================= */

.march-wheel-center {
    position: absolute;
    z-index: 3;

    top: 50%;
    left: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 105px;
    height: 105px;

    border: 7px solid #ffffff;
    border-radius: 50%;

    background: #252630;
    color: #ffffff;

    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);

    transform: translate(-50%, -50%);
}


.march-wheel-center span {
    color: #ff7ca5;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
}


.march-wheel-center strong {
    font-size: 19px;
    line-height: 1;
    font-weight: 900;
}

/* =========================
   BUTTON
========================= */

.march-wheel-button {
    width: min(330px, 100%);

    margin-top: 22px;
    padding: 14px 20px;

    border: none;
    border-radius: 999px;

    background: #ff4f87;
    color: #ffffff;

    box-shadow:
        0 10px 22px rgba(255, 79, 135, .22);

    cursor: pointer;

    font-size: 16px;
    font-weight: 900;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}


.march-wheel-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 26px rgba(255, 79, 135, .27);
}


.march-wheel-button:active {
    transform: translateY(0) scale(.98);
}


.march-wheel-button:disabled {
    cursor: not-allowed;

    opacity: .55;

    transform: none;
}


.march-wheel-note {
    margin: 10px 0 0;

    color: #8b8f99;

    font-size: 11px;
    font-weight: 700;
}


/* =========================
   QUESTION / RESULT
========================= */

.march-trivia-question-area,
.march-trivia-result-area {
    margin-top: 20px;
}


.march-trivia-disclaimer {
    margin: 15px 0 0;

    color: #9a9da6;

    text-align: center;

    font-size: 10px;
    font-weight: 700;
}


/* =========================
   ANIMATION
========================= */

@keyframes marchWoonBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 760px) {

    .march-trivia-header {
        flex-direction: column;
    }


    .march-trivia-header h2 {
        font-size: 27px;
    }


    .march-trivia-game {
        grid-template-columns: 1fr;

        padding: 20px 15px;
    }


    .march-trivia-woon img {
        width: 125px;
    }


    .march-wheel {
        width: 310px;
        height: 310px;

        border-width: 9px;
    }


    .march-wheel-center {
        width: 85px;
        height: 85px;

        border-width: 5px;
    }


    .march-wheel-center strong {
        font-size: 16px;
    }


    .march-wheel::after {
        font-size: 20px;
        letter-spacing: 20px;
    }

}
/* =====================================================
   MARCH 2027｜GRADUATION QUIZ
===================================================== */

.march-graduation-modal {
    width: min(760px, calc(100vw - 32px));
    max-width: 760px;
    padding: 30px;
    border-radius: 28px;
    overflow: hidden;
}

.march-graduation-wrap {
    width: 100%;
}

/* HEADER */

.march-graduation-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.march-graduation-label {
    display: inline-block;
    margin-bottom: 7px;

    color: #ff4f87;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.march-graduation-header h2 {
    margin: 0;

    color: #292a34;

    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
}

.march-graduation-header p {
    margin: 8px 0 0;

    color: #858792;

    font-size: 14px;
    font-weight: 700;
}

.march-graduation-reward {
    flex-shrink: 0;

    padding: 10px 17px;

    border-radius: 999px;

    background: #ffedf4;
    color: #ff4f87;

    font-size: 17px;
    font-weight: 900;
}


/* MAIN */

.march-graduation-content {
    display: grid;

    grid-template-columns: 170px 1fr;

    gap: 24px;
    align-items: center;

    padding: 25px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #fff7fb,
            #fffdf5
        );
}


/* WOON JUMP */

.march-graduation-woon {
    text-align: center;
}

.march-graduation-woon img {
    display: block;

    width: 125px;
    max-width: 100%;

    margin: 0 auto 12px;

    animation:
        marchGraduationWoon
        1.6s
        ease-in-out
        infinite;
}

.march-graduation-dialogue {
    position: relative;

    padding: 13px;

    border: 1px solid #eeeaf0;
    border-radius: 16px;

    background: #ffffff;

    text-align: left;

    box-shadow:
        0 8px 20px
        rgba(30, 31, 40, .05);
}

.march-graduation-dialogue span {
    display: block;

    margin-bottom: 4px;

    color: #ff4f87;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
}

.march-graduation-dialogue strong {
    display: block;

    color: #292a34;

    font-size: 14px;
    font-weight: 900;
}

.march-graduation-dialogue p {
    margin: 6px 0 0;

    color: #7e8089;

    font-size: 11px;
    line-height: 1.5;
    font-weight: 700;
}


/* QUESTION */

.march-graduation-question {
    padding: 22px;

    border: 1px solid #eeeaf0;
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 10px 24px
        rgba(30, 31, 40, .05);
}

.march-graduation-question-label {
    display: inline-block;

    margin-bottom: 8px;

    padding: 5px 10px;

    border-radius: 999px;

    background: #fff0f5;
    color: #ff4f87;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
}

.march-graduation-question h3 {
    margin: 0 0 5px;

    color: #292a34;

    font-size: 20px;
    line-height: 1.4;
    font-weight: 900;
}

.march-graduation-hint {
    margin: 0 0 16px;

    color: #999ba4;

    font-size: 11px;
    font-weight: 700;
}


/* OPTIONS */

.march-graduation-options {
    display: grid;
    gap: 9px;
}

.march-graduation-options button {
    display: flex;

    align-items: center;

    gap: 11px;

    width: 100%;

    padding: 12px 14px;

    border: 1px solid #e8e8ed;
    border-radius: 13px;

    background: #fafafd;
    color: #292a34;

    cursor: pointer;

    text-align: left;

    font-size: 13px;
    font-weight: 800;

    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease;
}

.march-graduation-options button:hover {
    border-color: #ff8fb1;

    background: #fff3f7;

    transform:
        translateX(3px);
}

.march-graduation-options button span {
    display: flex;

    flex: 0 0 30px;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 9px;

    background: #ffffff;
    color: #ff4f87;

    box-shadow:
        0 3px 8px
        rgba(30, 31, 40, .06);

    font-size: 11px;
    font-weight: 900;
}


/* RESULT */

.march-graduation-result {
    padding: 25px;

    border-radius: 20px;

    background: #fff8de;

    text-align: center;
}

.march-graduation-result h3 {
    margin: 8px 0;

    color: #292a34;

    font-size: 21px;
    font-weight: 900;
}

.march-graduation-result p {
    margin: 0;

    color: #696b74;

    font-size: 13px;
    line-height: 1.6;
    font-weight: 700;
}


/* BOTTOM NOTE */

.march-graduation-note {
    margin: 14px 0 0;

    color: #a0a2aa;

    text-align: center;

    font-size: 10px;
    font-weight: 700;
}


/* WOON ANIMATION */

@keyframes marchGraduationWoon {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-8px);
    }

}


/* MOBILE */

@media (max-width: 700px) {

    .march-graduation-modal {
        padding: 22px 16px;
    }

    .march-graduation-header {
        flex-direction: column;
    }

    .march-graduation-header h2 {
        font-size: 24px;
    }

    .march-graduation-content {
        grid-template-columns: 1fr;

        padding: 18px 14px;
    }

    .march-graduation-woon img {
        width: 105px;
    }

    .march-graduation-question {
        padding: 18px;
    }

}
/* =====================================================
   APRIL 2027｜GRADUATION CHECK-IN
===================================================== */

.april-checkin-modal {
    width: min(820px, calc(100vw - 32px));
    max-width: 820px;
    padding: 30px;
    border-radius: 28px;
    overflow: hidden;
}

.april-checkin-wrap {
    width: 100%;
}


/* HEADER */

.april-checkin-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.april-checkin-label {
    display: inline-block;
    margin-bottom: 7px;

    color: #ff4f87;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.april-checkin-header h2 {
    margin: 0;

    color: #292a34;

    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
}

.april-checkin-header p {
    margin: 8px 0 0;

    color: #858792;

    font-size: 14px;
    font-weight: 700;
}

.april-checkin-reward {
    flex-shrink: 0;

    padding: 10px 17px;

    border-radius: 999px;

    background: #ffedf4;
    color: #ff4f87;

    font-size: 17px;
    font-weight: 900;
}


/* MAIN */

.april-checkin-content {
    display: grid;

    grid-template-columns: 180px 1fr;

    gap: 26px;
    align-items: center;

    padding: 26px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #fff7fb,
            #fffdf5
        );
}


/* WOON JUMP */

.april-checkin-woon {
    text-align: center;
}

.april-checkin-woon img {
    display: block;

    width: 130px;
    max-width: 100%;

    margin: 0 auto 14px;

    animation:
        aprilCheckinWoon
        1.6s
        ease-in-out
        infinite;
}

.april-checkin-dialogue {
    padding: 14px;

    border: 1px solid #eeeaf0;
    border-radius: 17px;

    background: #ffffff;

    text-align: left;

    box-shadow:
        0 8px 20px
        rgba(30, 31, 40, .05);
}

.april-checkin-dialogue span {
    display: block;

    margin-bottom: 5px;

    color: #ff4f87;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
}

.april-checkin-dialogue strong {
    display: block;

    color: #292a34;

    font-size: 14px;
    font-weight: 900;
}

.april-checkin-dialogue p {
    margin: 6px 0 0;

    color: #7e8089;

    font-size: 11px;
    line-height: 1.6;
    font-weight: 700;
}


/* UPLOAD CARD */

.april-checkin-upload {
    padding: 22px;

    border: 1px solid #eeeaf0;
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 10px 24px
        rgba(30, 31, 40, .05);
}

.april-checkin-step {
    display: inline-block;

    margin-bottom: 8px;

    padding: 5px 10px;

    border-radius: 999px;

    background: #fff0f5;
    color: #ff4f87;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
}

.april-checkin-upload h3 {
    margin: 0 0 5px;

    color: #292a34;

    font-size: 20px;
    font-weight: 900;
}

.april-checkin-upload > p {
    margin: 0 0 16px;

    color: #999ba4;

    font-size: 11px;
    font-weight: 700;
}


/* =====================================================
   ALL MISSIONS｜共用圖片上傳 UI
===================================================== */

.mission-upload-modal {
    position: relative;

    width: min(560px, calc(100vw - 32px));
    max-height: 88vh;

    padding: 30px;

    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;

    background: #ffffff;

    border-radius: 26px;

    box-shadow:
        0 24px 70px
        rgba(0, 0, 0, 0.18);
}
.mission-upload-modal > .modal-close {
    position: absolute;

    top: 16px;
    right: 18px;

    z-index: 5;
}
/* =========================
   HEADER
========================= */

.mission-upload-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 18px;
}

.mission-upload-title {
    min-width: 0;
}

.mission-upload-label {
    display: block;

    margin-bottom: 5px;

    color: var(--pink);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.mission-upload-title h2 {
    margin: 0;

    color: #292a34;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
}

.mission-upload-title p {
    margin: 8px 0 0;

    color: #858892;
    font-size: 13px;
    line-height: 1.65;
    font-weight: 600;
}


/* =========================
   REWARD
========================= */

.mission-upload-reward {
    flex-shrink: 0;

    padding: 9px 14px;

    border-radius: 999px;

    background: var(--pink-light);
    color: var(--pink);

    font-size: 18px;
    font-weight: 900;
}


/* =========================
   UPLOAD BOX
========================= */

.mission-upload-box {
    position: relative;

    width: 100%;
    min-height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 2px dashed var(--pink);
    border-radius: 20px;

    background: #fffafb;

    cursor: pointer;

    transition:
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.mission-upload-box:hover {
    background: var(--pink-light);
    transform: translateY(-1px);
}


/* 隱藏原生 file input */
.mission-upload-box input[type="file"] {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}


/* =========================
   尚未選擇圖片
========================= */

.mission-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 28px 20px;

    text-align: center;
}

.mission-upload-icon {
    display: block;

    margin-bottom: 12px;

    font-size: 36px;
    line-height: 1;
}

.mission-upload-placeholder strong {
    display: block;

    margin-bottom: 7px;

    color: #292a34;
    font-size: 17px;
    font-weight: 900;
}

.mission-upload-placeholder span {
    display: block;

    color: #9a9da7;
    font-size: 12px;
    font-weight: 600;
}


/* =========================
   圖片預覽
========================= */

.mission-upload-preview {
    position: absolute;
    inset: 0;

    display: none;

    width: 100%;
    height: 100%;

    background: #f6f6f8;
}

.mission-upload-preview.show {
    display: block;
}

.mission-upload-preview img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.mission-upload-change {
    position: absolute;

    right: 12px;
    bottom: 12px;

    padding: 8px 13px;

    border-radius: 999px;

    background: rgba(30, 31, 40, .78);
    color: #ffffff;

    font-size: 11px;
    font-weight: 800;
}


/* =========================
   審核提醒
========================= */

.mission-upload-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    margin-top: 14px;
    padding: 12px 14px;

    border-radius: 14px;

    background: #f7f7f9;
    color: #747781;
}

.mission-upload-note-icon {
    flex-shrink: 0;

    color: #2f9e6f;
    font-size: 16px;
    font-weight: 900;
}

.mission-upload-note p {
    margin: 0;

    font-size: 12px;
    line-height: 1.6;
    font-weight: 600;
}

.mission-upload-note strong {
    color: var(--pink);
    font-weight: 900;
}


/* =========================
   送出按鈕
========================= */

.mission-upload-submit {
    width: 100%;

    margin-top: 16px;
    padding: 14px 20px;

    border: none;
    border-radius: 14px;

    background: var(--pink);
    color: #ffffff;

    font-size: 15px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform .16s ease,
        opacity .16s ease;
}

.mission-upload-submit:hover {
    transform: translateY(-1px);
}

.mission-upload-submit:disabled {
    background: #d8d9dd;
    color: #777a83;

    cursor: not-allowed;
    transform: none;
}


/* =========================
   手機版
========================= */

@media (max-width: 600px) {

    .mission-upload-modal {
        width: calc(100vw - 24px);
        max-height: 90vh;

        padding: 22px 18px;

        border-radius: 22px;
    }

    .mission-upload-header {
        gap: 12px;
    }

    .mission-upload-title h2 {
        font-size: 23px;
    }

    .mission-upload-reward {
        padding: 8px 11px;

        font-size: 15px;
    }

    .mission-upload-box {
        min-height: 190px;
    }
}
/* 相容現有各月份 preview JS */
.mission-upload-preview[style*="display: block"],
.mission-upload-preview[style*="display:block"] {
    display: block;
}
/* =====================================================
   NEW TUTORIAL DEMO OVERRIDE
   不讓分｜客隊 @ 主隊｜倍率盤面
===================================================== */

/* 整個黃色示範區 */
.tutorial-score-demo {
    margin-top: 24px;
    padding: 26px 28px 28px;

    background: #fffbe3;
    border: 1px solid #f5e9a9;
    border-radius: 24px;
}


/* WOON JUMP 示範標籤 */
.tutorial-demo-label {
    display: inline-flex;
    align-items: center;

    padding: 7px 13px;

    border-radius: 999px;

    background: #ffffff;

    color: #6f6222;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.5px;
}


/* =====================================================
   客隊 @ 主隊
===================================================== */

.tutorial-match-header {
    margin: 22px 0 13px;
    text-align: center;
}

.tutorial-match-format {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 15px;

    color: #777784;

    font-size: 13px;
    font-weight: 900;
}

.tutorial-match-format strong {
    color: var(--pink);

    font-size: 23px;
    line-height: 1;
}

.tutorial-match-hint {
    margin-top: 4px;

    color: #a1a1ac;

    font-size: 10px;
}


/* =====================================================
   對戰資訊
===================================================== */

.tutorial-matchup {
    max-width: 560px;

    margin: 0 auto 22px;
    padding: 18px 25px;

    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    align-items: center;

    background: rgba(255, 255, 255, 0.78);

    border: 1px solid rgba(238, 218, 124, 0.75);
    border-radius: 20px;
}


/* 左右球隊 */
.tutorial-match-team {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 2px;

    text-align: center;
}

.tutorial-team-dot {
    margin-bottom: 3px;

    font-size: 23px;
    line-height: 1;
}

.tutorial-match-team small {
    color: #a1a1ac;

    font-size: 10px;
    font-weight: 700;
}

.tutorial-match-team strong {
    color: #282832;

    font-size: 18px;
    font-weight: 900;
}


/* 中間 @ */
.tutorial-match-center {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 5px;
}

.tutorial-match-at {
    color: var(--pink);

    font-size: 25px;
    font-weight: 900;
    line-height: 1;
}

.tutorial-match-center small {
    color: #a1a1ac;

    font-size: 9px;
    white-space: nowrap;
}


/* =====================================================
   倍率區
===================================================== */

.tutorial-odds-title {
    margin-bottom: 9px;

    color: #777784;

    font-size: 11px;
    font-weight: 800;

    text-align: center;
}


/* 三格固定同高 */
.tutorial-odds-grid {
    max-width: 560px;

    margin: 0 auto 27px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 9px;
}


.tutorial-odds-card {
    min-height: 76px;

    padding: 11px 8px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;

    background: #ffffff;

    border: 1.5px solid #ececf2;
    border-radius: 14px;

    box-shadow: none;

    text-align: center;

    transform: none;
}


.tutorial-odds-card span {
    color: #777784;

    font-size: 11px;
    font-weight: 800;
}


.tutorial-odds-card strong {
    margin: 0;

    color: #282832;

    font-size: 19px;
    font-weight: 900;
    line-height: 1;
}


/* 正確答案：只有客隊勝變粉紅 */
.tutorial-odds-card.tutorial-odds-correct {
    background: #fff0f7;

    border: 2px solid #fb4590;

    box-shadow:
        0 7px 18px rgba(251, 69, 144, 0.10);
}


.tutorial-odds-card.tutorial-odds-correct span,
.tutorial-odds-card.tutorial-odds-correct strong {
    color: #fb4590;
}


/* 避免舊 CSS 的 first-child 再次干擾 */
.tutorial-odds-card:first-child {
    transform: none;
}


/* =====================================================
   實際比賽結果
===================================================== */

.tutorial-score-question {
    margin: 0 0 12px;

    color: #777784;

    font-size: 11px;
    font-weight: 900;

    text-align: center;
}


/* 比分不要再做成巨大卡片 */
.tutorial-score-board {
    max-width: 430px;

    margin: auto;

    display: grid;
    grid-template-columns: 1fr 50px 1fr;
    align-items: center;

    gap: 4px;

    text-align: center;
}


.tutorial-demo-team {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;

    align-items: center;

    column-gap: 7px;

    padding: 11px 14px;

    background: rgba(255, 255, 255, 0.78);

    border-radius: 15px;
}


.tutorial-demo-team > span {
    grid-row: 1 / 3;

    font-size: 19px;
}


.tutorial-demo-team small {
    grid-column: 2;

    color: #a1a1ac;

    font-size: 9px;

    text-align: left;
}


.tutorial-demo-team strong {
    grid-column: 2;

    color: #282832;

    font-size: 13px;
    font-weight: 900;

    text-align: left;
}


.tutorial-demo-team b {
    grid-column: 3;
    grid-row: 1 / 3;

    color: #282832;

    font-size: 27px;
    font-weight: 900;
}


.tutorial-score-vs {
    color: #a1a1ac;

    font-size: 21px;
    font-weight: 900;
}
.tutorial-score-vs {
    color: #a1a1ac;

    font-size: 21px;
    font-weight: 900;
}


/* =====================================================
   實際比賽結果｜共用置中版型
===================================================== */

.tutorial-final-score {
    width: 100%;
    max-width: 430px;
    margin: 0 auto 22px;

    display: grid;
    grid-template-columns: 1fr 50px 1fr;
    align-items: center;
    gap: 4px;

    text-align: center;
}

.tutorial-final-team {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;

    column-gap: 7px;
    padding: 11px 14px;

    background: rgba(255, 255, 255, 0.78);
    border-radius: 15px;
}

.tutorial-final-team > span {
    grid-column: 1 / 3;
    grid-row: 1 / 3;

    color: #777784;
    font-size: 14px;
    font-weight: 800;
    text-align: left;
}

.tutorial-final-team > strong {
    grid-column: 3;
    grid-row: 1 / 3;

    color: #282832;
    font-size: 27px;
    font-weight: 900;
    text-align: right;
}

.tutorial-score-colon {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #a1a1ac;
    font-size: 21px;
    font-weight: 900;
}

/* =====================================================
   5 > 4
===================================================== */

.tutorial-calculation {
    margin: 18px auto 8px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 12px;
}


.tutorial-calculation span {
    width: auto;
    height: auto;

    padding: 0;

    background: transparent;

    color: #282832;

    font-size: 20px;
    font-weight: 900;
}


.tutorial-calculation strong {
    color: var(--pink);

    font-size: 18px;
    font-weight: 900;
}


/* 規則 */
.tutorial-simple-rule {
    margin: 0 auto;

    padding: 0;

    background: transparent;

    color: #777784;

    font-size: 11px;
    line-height: 1.7;

    text-align: center;
}


.tutorial-simple-rule strong {
    color: var(--pink);

    font-size: 12px;
}


/* 箭頭 */
.tutorial-demo-arrow {
    margin: 11px 0 8px;

    color: #c7a92e;

    font-size: 16px;

    text-align: center;
}


/* =====================================================
   RESULT
===================================================== */

.tutorial-demo-result {
    max-width: 430px;

    margin: auto;
    padding: 12px 18px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 10px;

    background: #ffffff;

    border: 2px solid #fb4590;
    border-radius: 16px;

    text-align: left;
}


.tutorial-demo-result > span {
    font-size: 22px;
}


.tutorial-demo-result > div {
    display: flex;
    align-items: center;

    gap: 7px;
}


.tutorial-demo-result small {
    color: #a1a1ac;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}


.tutorial-demo-result strong {
    color: #fb4590;

    font-size: 16px;
    font-weight: 900;
}


/* =====================================================
   WOON JUMP 最後一句
===================================================== */

.tutorial-demo-woon-line {
    max-width: 520px;

    margin: 12px auto 0;

    color: #777784;

    font-size: 10px;
    line-height: 1.7;

    text-align: center;
}


.tutorial-demo-woon-line strong {
    color: #fb4590;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .tutorial-score-demo {
        padding: 22px 14px;
    }


    .tutorial-matchup {
        grid-template-columns: 1fr 65px 1fr;

        padding: 15px 10px;
    }


    .tutorial-match-team strong {
        font-size: 15px;
    }


    .tutorial-odds-grid {
        gap: 6px;
    }


    .tutorial-odds-card {
        min-height: 68px;

        padding: 9px 4px;
    }


    .tutorial-odds-card span {
        font-size: 10px;
    }


    .tutorial-odds-card strong {
        font-size: 17px;
    }


    .tutorial-score-board {
        grid-template-columns: 1fr 28px 1fr;
    }


    .tutorial-demo-team {
        grid-template-columns: 1fr;
        grid-template-rows: auto;

        gap: 2px;

        padding: 10px 6px;
    }


    .tutorial-demo-team > span,
    .tutorial-demo-team small,
    .tutorial-demo-team strong,
    .tutorial-demo-team b {
        grid-column: auto;
        grid-row: auto;

        text-align: center;
    }


    .tutorial-demo-team b {
        margin-top: 3px;

        font-size: 25px;
    }


    .tutorial-demo-result {
        padding: 11px 12px;
    }

}
/* =====================================================
   MONEYLINE TUTORIAL｜STEP 1 / STEP 2
===================================================== */

.tutorial-moneyline-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


/* 每一階段的大區塊 */
.tutorial-step-panel {
    position: relative;
    padding: 34px 36px;
    border: 1.5px solid #f4d76a;
    border-radius: 28px;
    background: #fffbe8;
    transition:
        opacity 0.35s ease,
        filter 0.35s ease,
        transform 0.35s ease;
}


/* =========================
   啟用中的 STEP
========================= */

.tutorial-step-panel-active {
    opacity: 1;
    filter: none;
}


/* =========================
   尚未解鎖的 STEP
========================= */

.tutorial-step-panel-locked {
    opacity: 0.42;
    filter: grayscale(0.45);
    pointer-events: none;
}


/* =========================
   已經看完的 STEP
========================= */

.tutorial-step-panel-completed {
    opacity: 0.48;
    filter: grayscale(0.25);
}


/* =========================
   STEP 進度
========================= */

.tutorial-step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 20px;
}

.tutorial-step-progress span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #dedee5;
}

.tutorial-step-progress span.active {
    background: #fb4590;
}

.tutorial-step-progress b {
    margin-left: 8px;
    padding: 6px 15px;
    border-radius: 999px;
    background: #fb4590;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
}


/* =========================
   大標題
========================= */

.tutorial-step-title {
    margin-bottom: 8px;
    text-align: center;
    color: #282832;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.25;
}

.tutorial-step-title strong {
    margin: 0 8px;
    color: #fb4590;
    font-size: 42px;
}


/* 標題下方小字 */
.tutorial-step-subtitle {
    margin-bottom: 26px;
    text-align: center;
    color: #777784;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}


/* =========================
   STEP 1 主客隊
========================= */

.tutorial-step-panel .tutorial-matchup {
    max-width: 820px;
    margin: 0 auto;
    padding: 26px 34px;
    border: 1.5px solid #f4d76a;
    border-radius: 24px;
    background: #fff;
}


/* =========================
   下一步 + 運獎
========================= */

.tutorial-step-action {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 18px;
    margin-top: 26px;
}

.tutorial-next-button {
    min-width: 260px;
    padding: 15px 32px;
    border: 0;
    border-radius: 999px;
    background: #fb4590;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(251, 69, 144, 0.2);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.tutorial-next-button:hover {
    background: #e8347e;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(251, 69, 144, 0.28);
}

.tutorial-next-button span {
    margin-left: 8px;
    font-size: 24px;
}


/* 運獎使用你自己的原圖 */
.tutorial-next-mascot {
    display: flex;
    align-items: flex-end;
}

.tutorial-next-mascot img {
    display: block;
    width: 92px;
    height: auto;
    object-fit: contain;
}


/* =========================
   STEP 2 倍率
========================= */

.tutorial-step-panel .tutorial-odds-grid {
    max-width: 820px;
    margin: 0 auto 30px;
    gap: 14px;
}

.tutorial-step-panel .tutorial-odds-card {
    min-height: 125px;
    padding: 18px 14px;
    border-radius: 20px;
}

.tutorial-step-panel .tutorial-odds-card span {
    font-size: 17px;
    font-weight: 800;
}

.tutorial-step-panel .tutorial-odds-card strong {
    display: block;
    margin-top: 6px;
    font-size: 31px;
    line-height: 1.1;
}

.tutorial-step-panel .tutorial-odds-card small {
    display: block;
    margin-top: 7px;
    color: #8b8b98;
    font-size: 13px;
    font-weight: 700;
}


/* 客隊勝示範答案 */
.tutorial-step-panel .tutorial-odds-correct {
    border: 2px solid #fb4590;
    background: #fff1f7;
}

.tutorial-step-panel .tutorial-odds-correct span,
.tutorial-step-panel .tutorial-odds-correct strong {
    color: #fb4590;
}


/* =========================
   實際比賽結果
========================= */

.tutorial-step-panel .tutorial-score-question {
    margin-top: 28px;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
}


/* =========================
   STEP 2 運獎提示
========================= */

.tutorial-step2-mascot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 600px;
    margin: 24px auto 0;
}

.tutorial-step2-mascot img {
    width: 95px;
    height: auto;
    object-fit: contain;
}

.tutorial-step2-mascot > div {
    padding: 12px 17px;
    border: 1.5px solid #ffc1da;
    border-radius: 18px;
    background: #fff;
    color: #777784;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}

.tutorial-step2-mascot strong {
    color: #fb4590;
}


/* =========================
   手機
========================= */

@media (max-width: 700px) {

    .tutorial-step-panel {
        padding: 26px 18px;
        border-radius: 22px;
    }

    .tutorial-step-title {
        font-size: 27px;
    }

    .tutorial-step-title strong {
        font-size: 34px;
    }

    .tutorial-step-subtitle {
        font-size: 15px;
    }

    .tutorial-step-action {
        gap: 10px;
    }

    .tutorial-next-button {
        min-width: 0;
        flex: 1;
        max-width: 260px;
    }

    .tutorial-next-mascot img {
        width: 70px;
    }

    .tutorial-step2-mascot img {
        width: 72px;
    }

}
/* =====================================================
   HANDICAP TUTORIAL｜讓分
===================================================== */

/* 讓分 1：0 */
.tutorial-handicap-rule {
    max-width: 520px;
    margin: 24px auto 0;
    padding: 20px 24px;

    text-align: center;

    background: #ffffff;
    border: 2px solid #ffd46a;
    border-radius: 22px;
}

.tutorial-handicap-rule > span {
    display: block;
    margin-bottom: 6px;

    color: #777784;
    font-size: 14px;
    font-weight: 800;
}

.tutorial-handicap-rule > strong {
    display: block;

    color: #fb4590;
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
}

.tutorial-handicap-rule > p {
    display: inline-block;

    margin: 10px 0 0;
    padding: 7px 18px;

    background: #fff1f7;
    border-radius: 999px;

    color: #fb4590;
    font-size: 15px;
    font-weight: 900;
}


/* 客隊、主隊計算 */
.tutorial-handicap-calc {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;

    max-width: 700px;
    margin: 24px auto;
}

.tutorial-handicap-calc-item {
    padding: 22px 18px;

    text-align: center;

    background: #ffffff;
    border: 1.5px solid #f0d76e;
    border-radius: 22px;
}

.tutorial-handicap-calc-item > span {
    display: block;

    color: #666674;
    font-size: 15px;
    font-weight: 800;
}

.tutorial-handicap-calc-item > strong {
    display: block;

    margin: 8px 0 5px;

    color: #292934;
    font-size: 28px;
    font-weight: 900;
}

.tutorial-handicap-calc-item:first-child > strong {
    color: #fb4590;
}

.tutorial-handicap-calc-item > small {
    color: #9999a4;
    font-size: 12px;
    font-weight: 700;
}

.tutorial-handicap-vs {
    color: #aaaab3;
    font-size: 13px;
    font-weight: 900;
}


/* 3 > 1 */
.tutorial-handicap-calc + .tutorial-calculation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    margin: 20px auto;

    font-size: 25px;
    font-weight: 900;
}

.tutorial-handicap-calc + .tutorial-calculation strong {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    background: #ffffff;
    border: 2px solid #fb4590;
    border-radius: 16px;

    color: #fb4590;
    font-size: 26px;
}

.tutorial-handicap-calc + .tutorial-calculation span {
    color: #555560;
    font-size: 25px;
}


/* 手機 */
@media (max-width: 700px) {

    .tutorial-handicap-rule > strong {
        font-size: 32px;
    }

    .tutorial-handicap-calc {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .tutorial-handicap-vs {
        margin: -2px 0;
    }

}
/* 讓分教學的重要提示 */
#handicapStep1 .tutorial-simple-rule {
    width: fit-content;
    max-width: 90%;

    margin: 18px auto 8px;
    padding: 10px 20px;

    background: #fff3f8;
    border-radius: 999px;

    color: #fb4590;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
}
/* =====================================================
   教學｜客隊 @ 主隊 對齊優化
===================================================== */

.tutorial-step-panel .tutorial-matchup {
    display: grid;
    grid-template-columns: 1fr 90px 1fr;
    align-items: center;

    max-width: 820px;
    min-height: 130px;

    margin: 0 auto;
    padding: 22px 38px;

    background: #ffffff;
    border: 1.5px solid #f4d76a;
    border-radius: 24px;
}


/* 左右隊伍 */
.tutorial-step-panel .tutorial-team {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
        "icon name"
        "icon role";

    align-items: center;
    justify-content: center;

    column-gap: 12px;
    row-gap: 5px;
}


/* 紅藍圓點 */
.tutorial-step-panel .tutorial-team > span {
    grid-area: icon;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 32px;
}


/* 紅隊 / 藍隊 */
.tutorial-step-panel .tutorial-team > strong {
    grid-area: name;

    color: #292934;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
}


/* 客隊 / 主隊膠囊 */
.tutorial-step-panel .tutorial-team > small {
    grid-area: role;

    width: fit-content;
    min-width: 58px;

    padding: 4px 12px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 900;
    text-align: center;
}


/* 客隊粉紅 */
.tutorial-step-panel .tutorial-team-red > small {
    background: #fff0f6;
    color: #fb4590;
}


/* 主隊藍色 */
.tutorial-step-panel .tutorial-team-blue > small {
    background: #edf6ff;
    color: #1976d2;
}


/* 中間 @ */
.tutorial-step-panel .tutorial-matchup-at {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    margin: 0 auto;

    border-radius: 50%;
    background: #f4f4f7;

    color: #292934;
    font-size: 24px;
    font-weight: 900;
}


/* 手機 */
@media (max-width: 700px) {

    .tutorial-step-panel .tutorial-matchup {
        grid-template-columns: 1fr 55px 1fr;
        min-height: 110px;
        padding: 18px 12px;
    }

    .tutorial-step-panel .tutorial-team {
        column-gap: 7px;
    }

    .tutorial-step-panel .tutorial-team > span {
        font-size: 25px;
    }

    .tutorial-step-panel .tutorial-team > strong {
        font-size: 17px;
    }

    .tutorial-step-panel .tutorial-team > small {
        min-width: 50px;
        padding: 3px 9px;
        font-size: 11px;
    }

    .tutorial-step-panel .tutorial-matchup-at {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

}
/* =====================================================
   STANDARD PREDICTION CHOICE
   教學 / 模擬預測共用
===================================================== */

.prediction-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;

    width: 100%;
    max-width: 760px;

    margin: 24px auto;
}


/* 單一預測選項 */
.prediction-choice-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 118px;
    padding: 18px 12px;

    appearance: none;

    background: #ffffff;

    border: 1.5px solid #e5e5eb;
    border-radius: 18px;

    color: #292934;

    font-family: inherit;
    text-align: center;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* 客隊 / 和局 / 主隊 */
.prediction-choice-label {
    display: block;

    margin-bottom: 8px;

    color: #555560;
    font-size: 15px;
    font-weight: 800;
}


/* 倍率數字 */
.prediction-choice-odds {
    display: block;

    color: #292934;

    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}


/* 倍率 */
.prediction-choice-card small {
    display: block;

    margin-top: 7px;

    color: #9a9aa5;

    font-size: 12px;
    font-weight: 700;
}


/* 滑過去 */
.prediction-choice-card:hover {
    border-color: #fb4590;

    background: #fff8fb;

    transform: translateY(-2px);

    box-shadow:
        0 7px 18px
        rgba(251, 69, 144, 0.12);
}


/* =========================
   正式選中狀態
========================= */

.prediction-choice-card.selected {
    border: 2px solid #fb4590;

    background: #fff0f6;

    box-shadow:
        0 7px 20px
        rgba(251, 69, 144, 0.16);
}

.prediction-choice-card.selected
.prediction-choice-label {
    color: #fb4590;
}

.prediction-choice-card.selected
.prediction-choice-odds {
    color: #fb4590;
}


/* =========================
   教學模式
   不讓它看起來像現在就要下注
========================= */

.tutorial-prediction-choice-grid
.prediction-choice-card {
    cursor: default;
}

.tutorial-prediction-choice-grid
.prediction-choice-card:hover {
    transform: none;
}


/* 手機 */
@media (max-width: 700px) {

    .prediction-choice-grid {
        gap: 8px;
    }

    .prediction-choice-card {
        min-height: 100px;
        padding: 14px 7px;
        border-radius: 15px;
    }

    .prediction-choice-label {
        font-size: 13px;
    }

    .prediction-choice-odds {
        font-size: 23px;
    }

    .prediction-choice-card small {
        font-size: 11px;
    }

}
/* =====================================================
   TUTORIAL｜大小分
===================================================== */

.tutorial-total-rule {
    max-width: 520px;
    margin: 22px auto 0;
    padding: 20px 24px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;

    background: #ffffff;
    border: 1.5px solid #f4d76a;
    border-radius: 20px;

    text-align: center;
}

.tutorial-total-rule > span {
    color: #777780;
    font-size: 14px;
    font-weight: 800;
}

.tutorial-total-rule > strong {
    color: #fb4590;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.1;
}

.tutorial-total-rule > p {
    margin: 2px 0 0;
    padding: 6px 16px;

    background: #fff0f6;
    border-radius: 999px;

    color: #fb4590;
    font-size: 13px;
    font-weight: 800;
}


/* 9 > 8.5 */

.tutorial-total-compare {
    max-width: 560px;
    margin: 18px auto;

    display: grid;
    grid-template-columns:
        1fr auto auto auto 1fr;

    align-items: center;
    gap: 14px;

    padding: 18px 24px;

    background: #ffffff;
    border: 1.5px solid #f4d76a;
    border-radius: 20px;

    text-align: center;
}

.tutorial-total-compare span {
    color: #777780;
    font-size: 13px;
    font-weight: 800;
}

.tutorial-total-compare strong {
    color: #fb4590;
    font-size: 30px;
    font-weight: 900;
}

.tutorial-total-compare b {
    color: #292934;
    font-size: 25px;
    font-weight: 900;
}


@media (max-width: 700px) {

    .tutorial-total-rule > strong {
        font-size: 34px;
    }

    .tutorial-total-compare {
        gap: 7px;
        padding: 15px 10px;
    }

    .tutorial-total-compare span {
        font-size: 11px;
    }

    .tutorial-total-compare strong {
        font-size: 24px;
    }

}
.tutorial-total-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;

    max-width: 560px;
    margin: 18px auto;
    padding: 20px 24px;

    background: #ffffff;
    border: 1.5px solid #f4d76a;
    border-radius: 20px;
}

.tutorial-total-compare > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;

    min-width: 120px;
}

.tutorial-total-compare span {
    color: #777780;
    font-size: 13px;
    font-weight: 800;
}

.tutorial-total-compare strong {
    color: #fb4590;
    font-size: 30px;
    font-weight: 900;
}

.tutorial-total-compare > b {
    color: #292934;
    font-size: 28px;
    font-weight: 900;
}
/* =====================================================
   TUTORIAL｜統一 STEP 2 補充樣式
===================================================== */


/* 讓分計算 */
.tutorial-handicap-summary,
.tutorial-total-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    max-width: 600px;
    margin: 22px auto 16px;

    text-align: center;
}

.tutorial-handicap-summary > span {
    min-width: 150px;
    padding: 14px 20px;

    background: #ffffff;
    border-radius: 18px;

    color: #777784;
    font-size: 13px;
    font-weight: 800;
}

.tutorial-handicap-summary > span strong {
    display: block;

    margin-top: 3px;

    color: #282832;
    font-size: 23px;
    font-weight: 900;
}

.tutorial-handicap-summary > b,
.tutorial-total-summary > b {
    color: #fb4590;
    font-size: 28px;
    font-weight: 900;
}


/* 大小分計算 */
.tutorial-total-summary strong {
    min-width: 135px;
    padding: 13px 20px;

    background: #ffffff;
    border-radius: 18px;

    color: #282832;
    font-size: 24px;
    font-weight: 900;
}


/* 場中 */
.tutorial-live-status-card {
    max-width: 650px;

    margin: 24px auto;
    padding: 20px 24px;

    background: #ffffff;

    border: 1.5px solid #f4d76a;
    border-radius: 22px;
}

.tutorial-live-status-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    margin-bottom: 12px;
}

.tutorial-live-status-top > strong {
    color: #555560;
    font-size: 14px;
}

.tutorial-live-pill {
    padding: 6px 14px;

    background: #fff0f7;
    border-radius: 999px;

    color: #fb4590;

    font-size: 12px;
    font-weight: 900;
}

.tutorial-live-current {
    width: fit-content;

    margin: 14px auto 0;
    padding: 7px 16px;

    background: #fff0f7;
    border-radius: 999px;

    color: #fb4590;

    font-size: 13px;
    font-weight: 800;
}

.tutorial-live-final-result {
    width: fit-content;

    margin: 18px auto;
    padding: 12px 24px;

    background: #ffffff;

    border: 1.5px solid #fb4590;
    border-radius: 18px;

    color: #fb4590;

    font-size: 20px;
    font-weight: 900;
}


/* 手機 */
@media (max-width: 700px) {

    .tutorial-handicap-summary,
    .tutorial-total-summary {
        gap: 10px;
    }

    .tutorial-handicap-summary > span {
        min-width: 0;
        flex: 1;

        padding: 12px 8px;
    }

    .tutorial-handicap-summary > span strong {
        font-size: 18px;
    }

    .tutorial-total-summary strong {
        min-width: 0;
        padding: 11px 14px;

        font-size: 20px;
    }

    .tutorial-live-status-card {
        padding: 16px 12px;
    }

}
/* =====================================================
   SIMULATION PREDICTION
===================================================== */

.simulation-prediction-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.simulation-prediction-overlay {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    padding: 36px 18px;
    background: rgba(41, 41, 52, 0.45);
}

.simulation-prediction-page {
    position: relative;
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 38px;
    background: #ffffff;
    border-radius: 30px;
}

.simulation-close-button {
    position: absolute;
    top: 20px;
    right: 22px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff0f6;
    color: #fb4590;
    font-size: 28px;
    cursor: pointer;
}

.simulation-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-right: 52px;
}

.simulation-eyebrow {
    margin-bottom: 8px;
    color: #fb4590;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.simulation-header h2 {
    margin: 0;
    color: #292934;
    font-size: 32px;
}

.simulation-points-pill {
    min-width: 130px;
    padding: 12px 20px;
    background: #fff0f6;
    border-radius: 999px;
    text-align: center;
}

.simulation-points-pill small {
    display: block;
    color: #555560;
    font-size: 11px;
    font-weight: 800;
}

.simulation-points-pill strong {
    display: block;
    margin-top: 2px;
    color: #fb4590;
    font-size: 24px;
    font-weight: 900;
}

.simulation-guide-card {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 28px;
    padding: 26px 30px;
    background: #fff0f6;
    border-radius: 26px;
}

.simulation-guide-card img {
    width: 105px;
    height: auto;
    flex: 0 0 auto;
}

.simulation-guide-message {
    flex: 1;
    padding: 18px 22px;
    background: #ffffff;
    border: 1.5px solid #fb4590;
    border-radius: 20px;
}

.simulation-guide-message small {
    display: block;
    margin-bottom: 5px;
    color: #fb4590;
    font-size: 12px;
    font-weight: 900;
}

.simulation-guide-message strong {
    display: block;
    color: #292934;
    font-size: 20px;
    font-weight: 900;
}

.simulation-guide-message p {
    margin: 7px 0 0;
    color: #555560;
    line-height: 1.7;
}

.simulation-game-area {
    margin-top: 24px;
    padding: 30px;
    background: #fff9df;
    border-radius: 28px;
    text-align: center;
}

.simulation-question {
    margin-top: 28px;
    color: #292934;
    font-size: 20px;
    font-weight: 900;
}

.simulation-selection-summary {
    margin: 8px auto 20px;
    color: #555560;
    font-size: 14px;
    line-height: 1.7;
}

.simulation-selection-summary strong {
    color: #fb4590;
}

.simulation-submit-button,
.simulation-finish-button {
    min-width: 220px;
    padding: 15px 28px;
    border: 0;
    border-radius: 999px;
    background: #fb4590;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}

.simulation-submit-button:disabled {
    background: #e5e5eb;
    color: #9a9aa5;
    cursor: not-allowed;
}

.simulation-disclaimer {
    max-width: 680px;
    margin: 20px auto 0;
    color: #9a9aa5;
    font-size: 12px;
    line-height: 1.7;
}

.prediction-choice-card.simulation-correct {
    border: 2px solid #fb4590;
    background: #fff0f6;
}

.prediction-choice-card.simulation-correct::after {
    content: "✓ 正確答案";
    margin-top: 8px;
    color: #fb4590;
    font-size: 12px;
    font-weight: 900;
}

.prediction-choice-card.simulation-wrong {
    opacity: 0.48;
}

.prediction-choice-card.simulation-wrong::after {
    content: "× 你的選擇";
    margin-top: 8px;
    color: #9a9aa5;
    font-size: 12px;
    font-weight: 900;
}

.simulation-result-area {
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1.5px dashed #e5e5eb;
}

.simulation-result-score small,
.simulation-answer-card small {
    display: block;
    margin-bottom: 8px;
    color: #9a9aa5;
    font-size: 12px;
    font-weight: 800;
}

.simulation-result-score > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.simulation-result-score span {
    color: #555560;
    font-weight: 800;
}

.simulation-result-score strong {
    color: #292934;
    font-size: 34px;
    font-weight: 900;
}

.simulation-result-score b {
    color: #fb4590;
    font-size: 24px;
}

.simulation-answer-card {
    width: fit-content;
    margin: 24px auto;
    padding: 14px 32px;
    background: #ffffff;
    border: 1.5px solid #fb4590;
    border-radius: 18px;
}

.simulation-answer-card strong {
    color: #fb4590;
    font-size: 22px;
    font-weight: 900;
}

.simulation-reward-result {
    max-width: 520px;
    margin: 20px auto;
    padding: 22px;
    background: #ffffff;
    border-radius: 22px;
}

.simulation-reward-result span,
.simulation-reward-result strong,
.simulation-reward-result p {
    display: block;
}

.simulation-reward-result span {
    color: #555560;
    font-weight: 800;
}

.simulation-reward-result strong {
    margin-top: 7px;
    color: #fb4590;
    font-size: 27px;
    font-weight: 900;
}

.simulation-reward-result p {
    margin: 5px 0 0;
    color: #555560;
}

.simulation-finish-button {
    margin-top: 22px;
}

@media (max-width: 700px) {

    .simulation-prediction-overlay {
        padding: 12px;
    }

    .simulation-prediction-page {
        padding: 26px 16px;
        border-radius: 22px;
    }

    .simulation-header {
        display: block;
        padding-right: 42px;
    }

    .simulation-header h2 {
        font-size: 25px;
    }

    .simulation-points-pill {
        width: fit-content;
        margin-top: 14px;
    }

    .simulation-guide-card {
        padding: 18px 14px;
        gap: 10px;
    }

    .simulation-guide-card img {
        width: 72px;
    }

    .simulation-guide-message {
        padding: 14px;
    }

    .simulation-game-area {
        padding: 22px 12px;
    }
}
/* =====================================================
   SIMULATION INTRO｜活潑版
===================================================== */

.simulation-intro-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10050;
}


/* =========================
   背景遮罩
========================= */

.simulation-intro-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 28px;

    background: rgba(41, 41, 52, 0.58);

    overflow-y: auto;
}


/* =========================
   主視窗
========================= */

.simulation-intro-card {
    position: relative;

    width: min(790px, 100%);

    padding: 32px 34px 30px;

    background:
        radial-gradient(
            circle at 10% 92%,
            rgba(251, 69, 144, 0.07) 0,
            rgba(251, 69, 144, 0.07) 75px,
            transparent 76px
        ),
        radial-gradient(
            circle at 92% 12%,
            rgba(255, 240, 246, 0.9) 0,
            rgba(255, 240, 246, 0.9) 75px,
            transparent 76px
        ),
        #ffffff;

    border-radius: 32px;

    box-shadow:
        0 28px 80px
        rgba(41, 41, 52, 0.22);

    text-align: center;

    overflow: hidden;
}


/* 左下裝飾線 */

.simulation-intro-card::before {
    content: "";

    position: absolute;

    left: -25px;
    bottom: 30px;

    width: 120px;
    height: 55px;

    border:
        11px solid
        rgba(251, 69, 144, 0.10);

    border-top: 0;

    border-right: 0;

    border-radius: 0 0 0 55px;

    transform: rotate(-12deg);

    pointer-events: none;
}


/* =========================
   關閉按鈕
========================= */

.simulation-intro-close {
    position: absolute;

    top: 18px;
    right: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #fff0f6;

    color: #fb4590;

    font-family: inherit;

    font-size: 31px;
    font-weight: 700;

    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.simulation-intro-close:hover {
    background: #ffe3ef;

    transform: rotate(7deg) scale(1.05);
}


/* =========================
   上方小標籤
========================= */

.simulation-intro-label {
    position: relative;

    z-index: 2;

    width: fit-content;

    margin: 0 auto 18px;

    padding: 9px 20px;

    background: #fff0f6;

    border-radius: 999px;

    color: #fb4590;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 0.02em;
}


/* =========================
   大標題
========================= */

.simulation-intro-title {
    position: relative;

    z-index: 2;

    width: fit-content;

    margin: 0 auto;
}


.simulation-intro-title h2 {
    position: relative;

    z-index: 2;

    margin: 0;

    color: #292934;

    font-size: 32px;
    font-weight: 900;

    line-height: 1.25;
}


/* 標題底下手繪粉紅線 */

.simulation-intro-title h2::after {
    content: "";

    position: absolute;

    z-index: -1;

    left: 7%;
    right: 7%;

    bottom: -7px;

    height: 11px;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(251, 69, 144, 0.22) 8%,
            rgba(251, 69, 144, 0.32) 50%,
            rgba(251, 69, 144, 0.20) 92%,
            transparent 100%
        );

    border-radius: 50%;

    transform: rotate(-1deg);
}


.simulation-intro-title p {
    margin: 18px 0 0;

    color: #555560;

    font-size: 14px;
    font-weight: 700;
}


/* =========================
   Woon Jump 主介紹區
========================= */

.simulation-intro-hero {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        180px
        minmax(0, 1fr);

    align-items: center;

    gap: 12px;

    margin-top: 25px;
}


/* 吉祥物 */

.simulation-intro-mascot {
    position: relative;

    z-index: 3;

    grid-column: 2;
    grid-row: 1;
}


.simulation-intro-mascot::before {
    content: "✦";

    position: absolute;

    left: -6px;
    top: 17px;

    color: #f4c542;

    font-size: 28px;

    animation:
        simulationSparkle
        1.8s ease-in-out infinite;
}


.simulation-intro-mascot::after {
    content: "✦";

    position: absolute;

    right: -4px;
    bottom: 25px;

    color: #f4c542;

    font-size: 21px;

    animation:
        simulationSparkle
        1.8s ease-in-out
        0.4s infinite;
}


.simulation-intro-mascot img {
    display: block;

    width: 175px;
    max-width: 100%;

    margin: 0 auto;

    filter:
        drop-shadow(
            0 9px 8px
            rgba(41, 41, 52, 0.10)
        );

    animation:
        simulationMascotFloat
        2.8s ease-in-out infinite;
}


/* =========================
   對話框
========================= */

.simulation-intro-bubble {
    position: relative;

    min-height: 168px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 23px 24px;

    text-align: left;
}


.simulation-intro-bubble.pink {
    grid-column: 1;
    grid-row: 1;

    background: #fff0f6;

    border-radius:
        34px 34px 34px 16px;
}


/* 粉紅對話框尾巴 */

.simulation-intro-bubble.pink::after {
    content: "";

    position: absolute;

    right: -16px;
    bottom: 28px;

    width: 35px;
    height: 35px;

    background: #fff0f6;

    clip-path:
        polygon(
            0 0,
            100% 50%,
            0 100%
        );
}


.simulation-intro-bubble.yellow {
    grid-column: 3;
    grid-row: 1;

    background: #fff9df;

    border:
        1.5px solid
        #f4d76a;

    border-radius:
        34px 34px 16px 34px;
}


/* 黃色對話框尾巴 */

.simulation-intro-bubble.yellow::after {
    content: "";

    position: absolute;

    left: -17px;
    bottom: 30px;

    width: 34px;
    height: 34px;

    background: #fff9df;

    border-left:
        1.5px solid
        #f4d76a;

    border-bottom:
        1.5px solid
        #f4d76a;

    transform:
        rotate(45deg);
}


.simulation-intro-bubble strong {
    position: relative;

    z-index: 2;

    display: block;

    margin-bottom: 9px;

    color: #fb4590;

    font-size: 20px;
    font-weight: 900;

    line-height: 1.35;
}


.simulation-intro-bubble span {
    position: relative;

    z-index: 2;

    color: #555560;

    font-size: 14px;
    font-weight: 800;

    line-height: 1.6;
}


.simulation-intro-bubble.yellow strong {
    margin: 8px 0;

    color: #fb4590;

    font-size: 25px;
}


.simulation-intro-bubble p {
    position: relative;

    z-index: 2;

    margin: 0;

    color: #555560;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================
   三個規則
========================= */

.simulation-intro-rules {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    margin-top: 18px;

    padding: 22px 10px;

    background:
        linear-gradient(
            135deg,
            #fff0f6 0%,
            #fff7fa 100%
        );

    border-radius: 28px;
}


.simulation-intro-rule {
    position: relative;

    padding: 5px 22px;
}


.simulation-intro-rule +
.simulation-intro-rule {
    border-left:
        1.5px solid
        rgba(251, 69, 144, 0.17);
}


/* icon */

.simulation-intro-icon {
    position: relative;

    width: fit-content;

    margin:
        0 auto 10px;

    font-size: 39px;

    line-height: 1;

    transition:
        transform 0.2s ease;
}


.simulation-intro-rule:hover
.simulation-intro-icon {
    transform:
        translateY(-4px)
        rotate(-4deg)
        scale(1.07);
}


/* icon 旁邊的小裝飾 */

.simulation-intro-icon::before,
.simulation-intro-icon::after {
    position: absolute;

    color: #fb4590;

    font-size: 15px;

    font-weight: 900;
}


.simulation-intro-icon::before {
    content: "›";

    left: -18px;

    top: 10px;

    transform:
        rotate(-35deg);
}


.simulation-intro-icon::after {
    content: "‹";

    right: -18px;

    top: 10px;

    transform:
        rotate(35deg);
}


.simulation-intro-rule strong {
    display: block;

    color: #fb4590;

    font-size: 15px;
    font-weight: 900;
}


.simulation-intro-rule p {
    margin: 8px 0 0;

    color: #555560;

    font-size: 12px;

    line-height: 1.65;
}


/* =========================
   保文
========================= */

.simulation-intro-notice {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 16px;

    padding: 13px 20px;

    background: #f7f7f8;

    border-radius: 22px;
}


.simulation-intro-notice span {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 27px;
    height: 27px;

    background: #fb4590;

    border-radius: 50%;

    color: #ffffff;

    font-size: 15px;
    font-weight: 900;
}


.simulation-intro-notice p {
    margin: 0;

    color: #777784;

    font-size: 12px;

    line-height: 1.6;

    text-align: left;
}


/* =========================
   開始按鈕
========================= */

.simulation-intro-start {
    position: relative;

    width: min(470px, 100%);

    margin-top: 18px;

    padding: 16px 26px;

    border: 0;

    border-radius: 999px;

    background: #fb4590;

    color: #ffffff;

    font-family: inherit;

    font-size: 17px;
    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 9px 22px
        rgba(251, 69, 144, 0.17);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.simulation-intro-start::before {
    content: "⌁";

    position: absolute;

    left: -38px;
    top: 1px;

    color: #fb4590;

    font-size: 35px;

    font-weight: 900;

    transform:
        rotate(25deg);
}


.simulation-intro-start::after {
    content: "⌁";

    position: absolute;

    right: -38px;
    bottom: -2px;

    color: #fb4590;

    font-size: 35px;

    font-weight: 900;

    transform:
        rotate(-25deg);
}


.simulation-intro-start span {
    display: inline-block;

    margin-left: 13px;

    transition:
        transform 0.2s ease;
}


.simulation-intro-start:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 13px 27px
        rgba(251, 69, 144, 0.24);
}


.simulation-intro-start:hover span {
    transform:
        translateX(5px);
}


/* =========================
   小動畫
========================= */

@keyframes simulationMascotFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(0);
    }

    50% {
        transform:
            translateY(-7px)
            rotate(2deg);
    }

}


@keyframes simulationSparkle {

    0%,
    100% {
        opacity: 0.45;

        transform:
            scale(0.8)
            rotate(0);
    }

    50% {
        opacity: 1;

        transform:
            scale(1.15)
            rotate(12deg);
    }

}


/* =========================
   手機版
========================= */

@media (max-width: 700px) {

    .simulation-intro-overlay {
        align-items: flex-start;

        padding: 12px;
    }


    .simulation-intro-card {
        padding:
            25px 15px
            22px;

        border-radius: 24px;
    }


    .simulation-intro-label {
        margin-bottom: 17px;

        font-size: 12px;
    }


    .simulation-intro-title h2 {
        padding: 0 25px;

        font-size: 24px;
    }


    .simulation-intro-title p {
        font-size: 13px;
    }


    .simulation-intro-hero {
        display: flex;

        flex-direction: column;

        gap: 10px;

        margin-top: 18px;
    }


    .simulation-intro-mascot {
        order: 1;
    }


    .simulation-intro-mascot img {
        width: 135px;
    }


    .simulation-intro-bubble.pink {
        order: 2;
    }


    .simulation-intro-bubble.yellow {
        order: 3;
    }


    .simulation-intro-bubble {
        width: 100%;

        min-height: 0;

        padding: 18px;

        border-radius: 22px !important;

        text-align: center;
    }


    .simulation-intro-bubble::after {
        display: none;
    }


    .simulation-intro-rules {
        grid-template-columns: 1fr;

        padding: 10px 18px;
    }


    .simulation-intro-rule {
        padding: 17px 8px;
    }


    .simulation-intro-rule +
    .simulation-intro-rule {
        border-left: 0;

        border-top:
            1.5px solid
            rgba(251, 69, 144, 0.17);
    }


    .simulation-intro-notice {
        align-items: flex-start;

        padding: 13px;
    }


    .simulation-intro-start {
        width: calc(100% - 50px);

        font-size: 15px;
    }


    .simulation-intro-start::before,
    .simulation-intro-start::after {
        font-size: 27px;
    }

}
/* =====================================================
   SIMULATION MENU｜四關可愛選單
===================================================== */

.simulation-menu-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10040;
}


.simulation-menu-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background:
        rgba(41, 41, 52, 0.58);

    overflow-y: auto;
}


.simulation-menu-page {
    position: relative;

    width: min(980px, 100%);

    padding: 35px 38px 30px;

    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(251, 69, 144, 0.07) 0,
            rgba(251, 69, 144, 0.07) 100px,
            transparent 101px
        ),
        radial-gradient(
            circle at 96% 94%,
            rgba(244, 215, 106, 0.12) 0,
            rgba(244, 215, 106, 0.12) 120px,
            transparent 121px
        ),
        #ffffff;

    border-radius: 32px;

    box-shadow:
        0 25px 80px
        rgba(41, 41, 52, 0.20);

    overflow: hidden;
}


/* =========================
   CLOSE
========================= */

.simulation-menu-close {
    position: absolute;

    top: 18px;
    right: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border: 0;
    border-radius: 50%;

    background: #fff0f6;

    color: #fb4590;

    font-size: 29px;
    font-weight: 800;

    cursor: pointer;
}


/* =========================
   HEADING
========================= */

.simulation-menu-eyebrow {
    width: fit-content;

    margin: 0 auto 15px;

    padding: 8px 17px;

    background: #fff0f6;

    border-radius: 999px;

    color: #fb4590;

    font-size: 12px;
    font-weight: 900;
}


.simulation-menu-heading {
    text-align: center;
}


.simulation-menu-heading h2 {
    margin: 0;

    color: #292934;

    font-size: 31px;
    font-weight: 900;
}


.simulation-menu-heading p {
    margin: 8px 0 0;

    color: #777784;

    font-size: 14px;
    font-weight: 700;
}


/* =========================
   WOON JUMP
========================= */

.simulation-menu-guide {
    display: flex;
    align-items: center;
    justify-content: center;

    max-width: 700px;

    margin:
        25px auto 23px;
}


.simulation-menu-guide img {
    position: relative;
    z-index: 2;

    width: 125px;

    margin-right: -16px;

    filter:
        drop-shadow(
            0 8px 7px
            rgba(41, 41, 52, 0.10)
        );

    animation:
        simulationMascotFloat
        2.8s ease-in-out infinite;
}


.simulation-menu-guide-bubble {
    position: relative;

    flex: 1;

    padding:
        20px 25px 20px 35px;

    background: #fff0f6;

    border-radius:
        12px 28px 28px 28px;

    text-align: left;
}


.simulation-menu-guide-bubble span {
    display: block;

    margin-bottom: 4px;

    color: #fb4590;

    font-size: 11px;
    font-weight: 900;
}


.simulation-menu-guide-bubble strong {
    display: block;

    color: #292934;

    font-size: 18px;
    font-weight: 900;
}


.simulation-menu-guide-bubble p {
    margin: 6px 0 0;

    color: #555560;

    font-size: 13px;

    line-height: 1.7;
}


.simulation-menu-guide-bubble b {
    color: #fb4590;
}


/* =========================
   FOUR CARDS
========================= */

.simulation-menu-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}


.simulation-menu-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 330px;

    padding: 18px;

    appearance: none;

    background: #ffffff;

    border:
        1.5px solid
        #e5e5eb;

    border-radius: 24px;

    color: #292934;

    font-family: inherit;

    text-align: left;

    cursor: pointer;

    box-shadow:
        0 7px 18px
        rgba(41, 41, 52, 0.04);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.simulation-menu-card:hover {
    transform:
        translateY(-6px)
        rotate(-0.5deg);

    border-color: #fb4590;

    background: #fffafb;

    box-shadow:
        0 15px 28px
        rgba(251, 69, 144, 0.12);
}


/* 上面編號 */

.simulation-menu-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.simulation-menu-number {
    color: #fb4590;

    font-size: 12px;
    font-weight: 900;
}


.simulation-menu-tag {
    padding: 5px 9px;

    background: #fff0f6;

    border-radius: 999px;

    color: #fb4590;

    font-size: 10px;
    font-weight: 900;
}


/* icon */

.simulation-menu-icon {
    margin:
        23px 0 13px;

    font-size: 44px;

    line-height: 1;

    text-align: center;

    transition:
        transform 0.2s ease;
}


.simulation-menu-card:hover
.simulation-menu-icon {
    transform:
        rotate(-7deg)
        scale(1.10);
}


/* title */

.simulation-menu-card h3 {
    margin: 0;

    color: #292934;

    font-size: 20px;
    font-weight: 900;

    text-align: center;
}


.simulation-menu-card p {
    min-height: 48px;

    margin: 8px 0 15px;

    color: #777784;

    font-size: 12px;

    line-height: 1.65;

    text-align: center;
}


/* 100 點 */

.simulation-menu-points {
    display: flex;
    align-items: baseline;
    justify-content: center;

    gap: 4px;

    margin-top: auto;

    padding: 11px 8px;

    background: #fff9df;

    border-radius: 15px;

    color: #777784;

    font-size: 10px;
    font-weight: 800;
}


.simulation-menu-points strong {
    color: #fb4590;

    font-size: 22px;
    font-weight: 900;
}


/* 按鈕感 */

.simulation-menu-action {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 11px;

    padding: 10px;

    background: #fb4590;

    border-radius: 999px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 900;
}


.simulation-menu-action b {
    font-size: 17px;

    transition:
        transform 0.2s ease;
}


.simulation-menu-card:hover
.simulation-menu-action b {
    transform:
        translateX(4px);
}


/* =========================
   COMPLETED
========================= */

.simulation-menu-card.completed {
    background: #f7f7f8;

    border-color: #e5e5eb;

    cursor: default;

    opacity: 0.68;

    box-shadow: none;
}


.simulation-menu-card.completed:hover {
    transform: none;

    border-color: #e5e5eb;

    box-shadow: none;
}


.simulation-menu-card.completed
.simulation-menu-action {
    background: #dedee3;

    color: #777784;
}


/* =========================
   DISCLAIMER
========================= */

.simulation-menu-notice {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 18px;

    padding: 11px 15px;

    background: #f7f7f8;

    border-radius: 16px;
}


.simulation-menu-notice span {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 23px;
    height: 23px;

    background: #fb4590;

    border-radius: 50%;

    color: #ffffff;

    font-size: 12px;
    font-weight: 900;
}


.simulation-menu-notice p {
    margin: 0;

    color: #777784;

    font-size: 11px;

    line-height: 1.55;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

    .simulation-menu-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 560px) {

    .simulation-menu-overlay {
        align-items: flex-start;

        padding: 10px;
    }


    .simulation-menu-page {
        padding:
            27px 14px 20px;

        border-radius: 23px;
    }


    .simulation-menu-heading h2 {
        padding: 0 25px;

        font-size: 23px;
    }


    .simulation-menu-guide {
        flex-direction: column;
    }


    .simulation-menu-guide img {
        width: 110px;

        margin:
            0 0 -8px;
    }


    .simulation-menu-guide-bubble {
        width: 100%;

        padding: 18px;

        border-radius: 20px;

        text-align: center;
    }


    .simulation-menu-grid {
        grid-template-columns: 1fr;
    }


    .simulation-menu-card {
        min-height: 0;
    }


    .simulation-menu-card p {
        min-height: 0;
    }

}
/* 模擬預測：客隊 @ 主隊置中修正 */
.simulation-matchup {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    align-items: center;
    width: 100%;
}

.simulation-match-team {
    width: 100%;
    text-align: center;
}

.simulation-match-center {
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.simulation-match-at {
    width: 100%;
    text-align: center;
    margin: 0;
}
/* ===== 03 大小分：兩個選項整組置中 ===== */

#simulationPredictionModal .prediction-choice-grid:has(
    .prediction-choice-card[data-choice="over"]
) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    width: min(760px, 100%) !important;

    margin-left: auto !important;
    margin-right: auto !important;

    gap: 24px !important;
}
/* ===== 大小分規則 ===== */

.simulation-total-rule {
    display: block;
    margin-top: 8px;

    font-size: 14px;
    font-weight: 700;

    color: #FB4590;
}

.simulation-total-line {
    width: fit-content;

    margin: 18px auto 0;
    padding: 9px 18px;

    border-radius: 999px;

    background: #FFF0F6;

    color: #555560;

    font-size: 14px;
    font-weight: 700;

    text-align: center;
}

.simulation-total-line strong {
    margin-left: 6px;

    color: #FB4590;

    font-size: 18px;
}
/* ===== 04 場中模擬投注 LIVE ===== */

.simulation-live-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin: 0 0 14px;
}

.simulation-live-status > strong {
    font-size: 14px;
    color: #555560;
}

.simulation-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 12px;

    border-radius: 999px;

    background: #FFF0F6;
    color: #FB4590;

    font-size: 13px;
    font-weight: 800;
}

.simulation-live-badge span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #FB4590;
}


.simulation-live-score small {
    margin-bottom: 5px;

    color: #9A9AA5;
    font-size: 12px;
    font-weight: 700;
}

.simulation-live-score > div {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;
}

.simulation-live-score > div strong {
    color: #292934;
    font-size: 30px;
    line-height: 1;
}

.simulation-live-score > div span {
    color: #FB4590;
    font-size: 22px;
    font-weight: 800;
}


.simulation-live-hint {
    width: fit-content;

    margin: 14px auto 0;
    padding: 9px 18px;

    border-radius: 999px;

    background: #FFF0F6;

    color: #555560;

    font-size: 13px;
    font-weight: 700;

    text-align: center;
}
/* =====================================================
   FOOTER SOCIAL LINKS
===================================================== */

.footer-social-links {
    flex: 1;
    min-width: 0;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.footer-social-button {
    width: 100%;
    min-width: 0;
    min-height: 58px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px 14px;

    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;

    color: #ffffff;
    text-decoration: none;

    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 1100px) {

    .footer-social-links {
        justify-content: flex-start;
        margin-top: 28px;
    }

}

@media (max-width: 700px) {

    .footer-social-links {
        gap: 12px;
    }

    .footer-social-button {
        min-height: 50px;
        padding: 0 22px;
        font-size: 16px;
    }

}
/* =====================================================
   OFFICIAL MEMBER｜REGISTER LINK
===================================================== */

.official-register-link {
    margin-top: 18px;
    text-align: center;
}

.official-register-link p {
    margin: 0 0 10px;
    color: #777783;
    font-size: 14px;
    font-weight: 600;
}

.official-register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 22px;

    border: 2px solid #FB4590;
    border-radius: 999px;

    background: #ffffff;
    color: #FB4590;

    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    transition: 0.2s ease;
}

.official-register-button:hover {
    background: #FFF0F6;
    transform: translateY(-2px);
}
/* =====================================================
   OFFICIAL MEMBER｜WOON JUMP
===================================================== */

.official-register-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

@keyframes officialWoonShake {

    0%,
    100% {
        transform:
            rotate(-5deg)
            translateY(0);
    }

    25% {
        transform:
            rotate(5deg)
            translateY(-4px);
    }

    50% {
        transform:
            rotate(-4deg)
            translateY(0);
    }

    75% {
        transform:
            rotate(5deg)
            translateY(-3px);
    }
}

@media (max-width: 700px) {

    .official-register-action {
        gap: 8px;
    }

}
/* =====================================================
   OFFICIAL MEMBER｜WOON SHOWCASE
===================================================== */

.official-woon-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;
}

.official-woon-large {
    width: 190px;
    height: auto;
    object-fit: contain;

    transform-origin: 50% 85%;

    filter: drop-shadow(
        0 12px 18px rgba(251, 69, 144, 0.15)
    );

    animation:
        officialWoonJump 1.6s ease-in-out infinite;
}

.official-woon-message {
    margin-top: 4px;

    color: #FB4590;

    font-size: 18px;
    font-weight: 800;

    letter-spacing: 1px;
}

.official-woon-sparkle {
    margin-bottom: -15px;
    margin-right: -150px;

    font-size: 28px;

    animation:
        officialSparkle 1.2s ease-in-out infinite;
}


@keyframes officialWoonJump {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(-4deg);
    }

    50% {
        transform:
            translateY(-12px)
            rotate(4deg);
    }

}


@keyframes officialSparkle {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.8) rotate(-10deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.15) rotate(10deg);
    }

}
/* =====================================================
   OFFICIAL MEMBER｜WOON JUMP
===================================================== */

.official-action-with-woon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 18px;
    min-width: 250px;
}


/* 運獎區 */

.official-woon-showcase {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* 運獎本人 */

.official-woon-large {
    display: block;

    width: 180px;
    height: auto;

    object-fit: contain;

    transform-origin: 50% 85%;

    filter:
        drop-shadow(
            0 14px 18px rgba(251, 69, 144, 0.16)
        );

    animation:
        officialWoonJump 1.5s ease-in-out infinite;
}


/* 好運有球必應 */

.official-woon-message {
    margin-top: 8px;

    color: #FB4590;

    font-size: 18px;
    font-weight: 800;

    letter-spacing: 1px;

    white-space: nowrap;
}


/* 右上小星星 */

.official-woon-sparkle {
    position: absolute;

    top: 0;
    right: 10px;

    z-index: 2;

    font-size: 26px;

    animation:
        officialSparkle 1.2s ease-in-out infinite;
}


/* 運獎：小跳＋左右搖 */

@keyframes officialWoonJump {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(-4deg);
    }

    50% {
        transform:
            translateY(-12px)
            rotate(4deg);
    }

}


/* 星星閃爍 */

@keyframes officialSparkle {

    0%,
    100% {
        opacity: 0.4;
        transform:
            scale(0.8)
            rotate(-10deg);
    }

    50% {
        opacity: 1;
        transform:
            scale(1.15)
            rotate(10deg);
    }

}


/* 手機版 */

@media (max-width: 900px) {

    .official-action-with-woon {
        width: 100%;
        min-width: 0;
        margin-top: 24px;
    }

    .official-woon-large {
        width: 135px;
    }

    .official-woon-message {
        font-size: 16px;
    }

}
/* =========================================
   官方會員註冊按鈕旁－運獎
========================================= */

.official-register-link {
    margin-top: 28px;
    text-align: center;
}

.official-register-link > p {
    margin-bottom: 12px;
    color: var(--gray);
    font-weight: 700;
}


.official-register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 58px;
    padding: 0 28px;

    border: 2px solid var(--pink);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.7);
    color: var(--pink);

    font-size: 16px;
    font-weight: 900;

    transition: 0.2s;
}

.official-register-button:hover {
    background: var(--pink);
    color: white;
    transform: translateY(-2px);
}

@keyframes registerWoonShake {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-7px) rotate(5deg);
    }
}
/* =====================================================
   OFFICIAL MEMBER FINAL
   只作用於 #officialMemberSection
===================================================== */


/* ===== 整張卡片 ===== */

#officialMemberSection .official-member-card {
    position: relative;

    max-width: 1500px;
    margin: 0 auto;

    padding: 70px 85px 55px;

    border: 1px solid #E5E5EB;
    border-radius: 42px;

    background:
        linear-gradient(
            115deg,
            #FFF4F8 0%,
            #F9F6FB 48%,
            #EEF9FF 100%
        );

    overflow: hidden;
}


/* ===== 新會員限定 ===== */

#officialMemberSection .official-reward-badge {
    position: absolute;

    top: 0;
    left: 50px;

    padding: 15px 28px;

    border-radius: 0 0 28px 28px;

    background: #FFD814;
    color: #292934;

    font-size: 16px;
    font-weight: 900;

    z-index: 2;
}


/* =====================================================
   左右版型
===================================================== */

#officialMemberSection .official-member-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(360px, 0.85fr);

    align-items: center;

    gap: 70px;
}


/* =====================================================
   LEFT
===================================================== */

#officialMemberSection .official-member-left {
    min-width: 0;
}


/* OFFICIAL MEMBER */

#officialMemberSection .official-member-left .eyebrow {
    display: block;

    margin-bottom: 14px;

    color: #FB4590;

    font-size: 16px;
    font-weight: 900;

    letter-spacing: 4px;
}


/* 主標題 */

#officialMemberSection .official-member-left h2 {
    margin: 0 0 26px;

    color: #292934;

    font-size: clamp(34px, 3vw, 48px);
    font-weight: 900;

    line-height: 1.2;
}


/* ===== 禮物＋說明 ===== */

#officialMemberSection .official-description-row {
    display: flex;

    align-items: center;

    gap: 24px;

    margin-bottom: 28px;
}


#officialMemberSection .official-icon {
    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100px;
    height: 100px;

    border-radius: 28px;

    background: rgba(255,255,255,0.82);

    font-size: 42px;
}


#officialMemberSection .official-description {
    max-width: 600px;

    margin: 0;

    color: #777783;

    font-size: 18px;
    font-weight: 600;

    line-height: 1.8;
}


/* =====================================================
   獎勵卡
===================================================== */

#officialMemberSection .official-benefits {
    display: flex;

    gap: 16px;

    margin-bottom: 25px;
}


#officialMemberSection .official-benefits > div {
    min-width: 210px;

    padding: 20px 24px;

    border-radius: 22px;

    background: rgba(255,255,255,0.82);
}


#officialMemberSection .official-benefits small {
    display: block;

    margin-bottom: 8px;

    color: #777783;

    font-size: 14px;
    font-weight: 700;
}


#officialMemberSection .official-benefits strong {
    display: block;

    color: #FB4590;

    font-size: 21px;
    font-weight: 900;
}


/* =====================================================
   上傳證明
===================================================== */

#officialMemberSection .official-member-left .official-action {
    display: flex;

    justify-content: flex-start;

    min-width: 0;

    margin: 0 0 18px;
}


#officialMemberSection .official-member-left .btn-primary {
    min-width: 260px;

    padding: 17px 30px;

    border: 0;
    border-radius: 999px;

    background: #FB4590;
    color: #FFFFFF;

    font-size: 18px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


#officialMemberSection .official-member-left .btn-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(251,69,144,.20);
}


/* ===== 最下面提醒 ===== */

#officialMemberSection .official-warning {
    max-width: 720px;

    margin: 0;

    color: #9A9AA5;

    font-size: 13px;

    line-height: 1.7;
}


/* =====================================================
   RIGHT
===================================================== */

#officialMemberSection .official-member-right {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-width: 0;
}


/* =====================================================
   大運獎
===================================================== */

#officialMemberSection .official-mascot-wrap {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 310px;
}


#officialMemberSection .official-mascot {
    display: block;

    width: clamp(250px, 22vw, 340px);
    max-width: 100%;

    height: auto;

    object-fit: contain;

    transform-origin: 50% 85%;

    filter:
        drop-shadow(
            0 18px 22px
            rgba(251,69,144,.14)
        );

    animation:
        officialMemberMascotShake
        1.6s
        ease-in-out
        infinite;
}


/* ===== 運獎搖晃 ===== */

@keyframes officialMemberMascotShake {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(-4deg);
    }

    25% {
        transform:
            translateY(-5px)
            rotate(2deg);
    }

    50% {
        transform:
            translateY(-12px)
            rotate(4deg);
    }

    75% {
        transform:
            translateY(-5px)
            rotate(-2deg);
    }

}


/* =====================================================
   運獎旁邊小星星
===================================================== */

#officialMemberSection .official-mascot-sparkle {
    position: absolute;

    color: #FFD814;

    font-size: 34px;
    font-weight: 900;

    animation:
        officialMemberSparkle
        1.2s
        ease-in-out
        infinite;
}


#officialMemberSection .sparkle-left {
    left: 12%;
    top: 32%;
}


#officialMemberSection .sparkle-right {
    right: 12%;
    top: 55%;

    animation-delay: .3s;
}


@keyframes officialMemberSparkle {

    0%,
    100% {
        opacity: .3;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

}


/* =====================================================
   台灣運彩官網
===================================================== */

#officialMemberSection .official-register-area {
    width: 100%;

    margin-top: 4px;

    text-align: center;
}


#officialMemberSection .official-register-area p {
    margin: 0 0 10px;

    color: #777783;

    font-size: 14px;
    font-weight: 700;
}


/* 官網按鈕 */

#officialMemberSection .official-register-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding: 0 25px;

    border: 2px solid #FB4590;
    border-radius: 999px;

    background: rgba(255,255,255,.65);

    color: #FB4590;

    font-size: 15px;
    font-weight: 900;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


#officialMemberSection .official-register-button:hover {
    background: #FB4590;

    color: #FFFFFF;

    transform: translateY(-2px);
}


/* =====================================================
   平板
===================================================== */

@media (max-width: 1050px) {

    #officialMemberSection .official-member-card {
        padding:
            70px 45px
            50px;
    }

    #officialMemberSection .official-member-layout {
        grid-template-columns:
            1fr
            .75fr;

        gap: 35px;
    }

    #officialMemberSection .official-mascot {
        width: 230px;
    }

}


/* =====================================================
   手機
===================================================== */

@media (max-width: 800px) {

    #officialMemberSection .official-member-card {
        padding:
            75px 24px
            35px;

        border-radius: 30px;
    }


    #officialMemberSection .official-member-layout {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    #officialMemberSection .official-member-left h2 {
        font-size: 30px;
    }


    #officialMemberSection .official-description-row {
        align-items: flex-start;
    }


    #officialMemberSection .official-icon {
        width: 72px;
        height: 72px;

        border-radius: 20px;

        font-size: 30px;
    }


    #officialMemberSection .official-description {
        font-size: 16px;
    }


    #officialMemberSection .official-benefits {
        flex-direction: column;
    }


    #officialMemberSection .official-benefits > div {
        min-width: 0;
    }


    #officialMemberSection .official-member-left .btn-primary {
        width: 100%;
    }


    #officialMemberSection .official-mascot-wrap {
        min-height: 240px;
    }


    #officialMemberSection .official-mascot {
        width: 220px;
    }

}
/* =====================================================
   FINAL PRIZES｜統一三張獎品卡
===================================================== */

/* 每張卡片完全一致 */

.final-prize-card {
    min-width: 0;

    padding: 22px 20px 24px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;

    background: #ffffff;

    border: 1px solid #ececf1;
    border-radius: 22px;

    text-align: center;
}


/* 名次 */

.final-prize-medal {
    display: block;

    margin-bottom: 16px;

    font-size: 28px;
    line-height: 1;
}


/* 三張圖片的外框完全一樣 */

.final-prize-image {
    width: 100%;
    height: 210px;

    margin: 0 0 22px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 22px;

    background: #ffffff;

    border: 1px solid #ececf1;
    border-radius: 18px;
}


/* 圖片本身限制在相同範圍 */

.final-prize-image img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 220px;
    max-height: 165px;

    object-fit: contain;
}


/* 第一、二、三名 */

.final-prize-card strong {
    display: block;

    margin-top: auto;

    font-size: 20px;
    font-weight: 800;

    color: #292934;
}


/* 獎品名稱 */

.final-prize-card > p:not(.final-prize-disclaimer) {
    margin: 6px 0 0;

    font-size: 15px;
    font-weight: 600;

    color: #777985;
}


/* 僅供參考 */

.final-prize-disclaimer {
    grid-column: 1 / -1;

    margin: 8px 0 0;

    text-align: center;

    font-size: 12px;
    font-weight: 600;

    color: #8f909b;
}


/* 手機 */

@media (max-width: 768px) {

    .final-prizes {
        grid-template-columns: 1fr;
    }

    .final-prize-image {
        height: 190px;
    }

}
/* =====================================================
   SOCIAL FINAL FIX
   一定放在 style.css 最底部
===================================================== */

/* 左邊 */

.social-section-title {
    width: auto !important;
    min-width: 260px !important;
    flex: 0 0 260px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;

    text-align: left !important;
}


.social-section-title > span {
    display: block !important;

    margin: 0 0 10px !important;

    color: #fff !important;

    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 3px !important;

    writing-mode: horizontal-tb !important;
}


.social-section-title h2 {
    margin: 0 !important;

    color: #fff !important;

    font-size: 23px !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;

    writing-mode: horizontal-tb !important;
}


/* 右邊按鈕 */

.social-section .footer-social-links {
    width: auto !important;
    flex: 1 !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;
    inset: auto !important;
    transform: none !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}


.social-section .footer-social-button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 58px !important;

    margin: 0 !important;

    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: static !important;
    transform: none;

    padding: 12px 20px !important;

    border: 2px solid rgba(255, 255, 255, .75) !important;
    border-radius: 999px !important;

    background: transparent !important;

    color: #fff !important;
    text-decoration: none !important;

    font-size: 16px !important;
    font-weight: 800 !important;
}


.social-section .footer-social-button:hover {
    background: #fff !important;
    color: #ff3f8e !important;

    transform: translateY(-2px) !important;
}


/* 手機 */

@media (max-width: 768px) {

    .social-section {
        width: calc(100% - 32px) !important;

        padding: 30px 24px !important;

        flex-direction: column !important;
        align-items: stretch !important;

        gap: 24px !important;
    }

    .social-section-title {
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;

        text-align: center !important;
    }

    .social-section .footer-social-links {
        width: 100% !important;

        grid-template-columns: 1fr !important;
    }
}
/* =====================================================
   ALL UPLOAD MISSIONS｜統一圖片上傳框
===================================================== */

.april-checkin-upload-box,
.mission-photo-upload {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 260px;

    margin-top: 24px;
    padding: 32px 24px;

    border: 3px dashed #ff3f8e;
    border-radius: 24px;

    background: #fff0f6;

    box-sizing: border-box;
    cursor: pointer;

    text-align: center;
    overflow: hidden;
}


/* ICON */

.april-checkin-upload-icon,
.mission-photo-upload-icon {
    margin-bottom: 14px;

    font-size: 30px;
    line-height: 1;
}


/* 標題 */

.april-checkin-upload-box strong,
.mission-photo-upload-title {
    display: block;

    margin-bottom: 10px;

    color: #272833;

    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
}


/* JPG PNG 說明 */

.april-checkin-upload-box span,
.mission-photo-upload-note {
    display: block;

    color: #a1a3ad;

    font-size: 16px;
    font-weight: 700;
}


/* 隱藏原生 input */

.mission-photo-upload input[type="file"] {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}


/* =====================================================
   PREVIEW
===================================================== */

.april-checkin-preview {
    width: 100%;

    margin: 0;
    padding: 0;

    border: 0;

    background: transparent;
}


.april-checkin-preview img {
    display: block;

    width: 100%;
    max-height: 320px;

    margin: 0 auto;

    object-fit: contain;

    border-radius: 16px;
}
/* =====================================================
   EARLY REGISTRATION BANNER
===================================================== */

.early-register-banner {
    width: 100%;
    padding: 12px 24px;

    box-sizing: border-box;

    background:
        linear-gradient(
            100deg,
            #ff4f87 0%,
            #ff6f9d 55%,
            #ff8ab0 100%
        );

    color: #fff;
}

.early-register-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
}

.early-register-banner-text {
    display: flex;
    align-items: center;
    gap: 16px;
}

.early-register-badge {
    flex-shrink: 0;

    padding: 7px 11px;

    border-radius: 999px;

    background: #fff;
    color: #ff4f87;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.early-register-banner strong {
    display: block;

    margin-bottom: 2px;

    font-size: 16px;
    font-weight: 900;
}

.early-register-banner p {
    margin: 0;

    color: rgba(255, 255, 255, .9);

    font-size: 12px;
    font-weight: 700;
}

.early-register-button {
    flex-shrink: 0;

    padding: 10px 18px;

    border: 0;
    border-radius: 999px;

    background: #fff;
    color: #ff4f87;

    cursor: pointer;

    font-size: 13px;
    font-weight: 900;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.early-register-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(120, 25, 65, .18);
}


/* MOBILE */

@media (max-width: 720px) {

    .early-register-banner {
        padding: 12px 16px;
    }

    .early-register-banner-inner {
        align-items: flex-start;
        gap: 12px;
    }

    .early-register-banner-text {
        align-items: flex-start;
        gap: 10px;
    }

    .early-register-badge {
        display: none;
    }

    .early-register-banner strong {
        font-size: 14px;
    }

    .early-register-banner p {
        margin-top: 3px;
        font-size: 11px;
    }

    .early-register-button {
        padding: 9px 13px;

        font-size: 11px;
    }
}
/* =====================================================
   START HERE｜完成狀態
===================================================== */

.journey-card.completed {
    background: #f1fff8;
    border-color: #9cdec0;
}

.journey-card.completed .journey-step {
    color: #20a66a;
}

.journey-card.completed h3 {
    color: #188457;
}

.journey-card.completed strong {
    color: #20a66a;
}
/* =====================================================
   MEMBER MODAL｜登入 / 註冊
===================================================== */

#memberModal .modal-content {
    width: min(760px, calc(100vw - 40px));
    max-height: 90vh;
    padding: 48px 56px 52px;

    background: #ffffff;
    border-radius: 36px;

    box-shadow:
        0 30px 80px rgba(32, 34, 45, 0.22);

    overflow-y: auto;
}


/* MEMBER */

#memberModal .modal-eyebrow {
    margin-bottom: 18px;

    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.16em;

    color: #ff3f8e;
}


/* 標題 */

#memberModal h2 {
    margin: 0 0 14px;

    font-size: 36px;
    line-height: 1.2;
    font-weight: 900;

    color: #262832;
}


/* 說明 */

#memberModal .modal-description {
    margin: 0 0 24px;

    font-size: 18px;
    line-height: 1.7;

    color: #858894;
}


/* =====================================================
   登入 / 第一次加入切換
===================================================== */

#memberModal .member-tabs {
    display: flex;
    gap: 10px;

    margin-bottom: 30px;
}


#memberModal .member-tabs button {
    appearance: none;
    -webkit-appearance: none;

    padding: 10px 18px;

    border: 1px solid #ececf1;
    border-radius: 999px;

    background: #f6f6f9;

    color: #777b87;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;
}


#memberModal .member-tabs button.active {
    border-color: #ff3f8e;

    background: #fff0f6;

    color: #ff3f8e;
}


/* =====================================================
   INPUT
===================================================== */

#memberModal .form-group {
    margin-top: 22px;
}


#memberModal .form-group label {
    display: block;

    margin-bottom: 10px;

    font-size: 16px;
    font-weight: 800;

    color: #282a33;
}


#memberModal input {
    box-sizing: border-box;

    width: 100%;
    height: 64px;

    padding: 0 20px;

    border: 1px solid #e2e3e9;
    border-radius: 18px;

    outline: none;

    background: #ffffff;

    font-size: 17px;
    color: #262832;
}


#memberModal input:focus {
    border-color: #ff3f8e;

    box-shadow:
        0 0 0 4px rgba(255, 63, 142, 0.08);
}


#memberModal input::placeholder {
    color: #b5b7bf;
}


/* 提示文字 */

#memberModal .form-hint {
    margin-top: 10px;

    font-size: 14px;
    line-height: 1.6;

    color: #a0a3ad;
}


/* =====================================================
   主要按鈕
===================================================== */

#memberModal .btn-primary {
    width: 100%;
    min-height: 68px;

    margin-top: 30px;

    border: 0;
    border-radius: 999px;

    background: #ff3f8e;

    color: #ffffff;

    font-size: 20px;
    font-weight: 900;

    cursor: pointer;
}


/* 關閉按鈕 */

#memberModal .modal-close {
    position: absolute;

    top: 28px;
    right: 28px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #f6f6f9;

    color: #7d808b;

    font-size: 26px;

    cursor: pointer;
}
/* =====================================================
   MEMBER LOGIN｜登入區
===================================================== */

#memberLoginArea {
    width: 100%;
}


/* 欄位區 */

#memberLoginArea .member-form-group {
    width: 100%;
    margin-top: 26px;
}


/* 手機號碼 */

#memberLoginArea .member-form-label {
    display: block;

    margin-bottom: 12px;

    font-size: 16px;
    font-weight: 800;

    color: #282a33;
}


/* 輸入框 */

#memberLoginArea .member-form-input {
    box-sizing: border-box;

    display: block;

    width: 100%;
    height: 64px;

    padding: 0 20px;

    border: 1px solid #e3e4e9;
    border-radius: 18px;

    background: #ffffff;

    font-size: 17px;
    font-weight: 600;

    color: #282a33;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


#memberLoginArea .member-form-input::placeholder {
    color: #b5b7bf;
}


#memberLoginArea .member-form-input:focus {
    border-color: #ff3f8e;

    box-shadow:
        0 0 0 4px
        rgba(255, 63, 142, 0.08);
}


/* 說明 */

#memberLoginArea .member-form-note {
    margin:
        12px
        0
        0;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;

    color: #a2a5af;
}


/* 登入按鈕 */

#memberLoginArea .member-submit-button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 68px;

    margin-top: 30px;
    padding: 0 24px;

    border: 0;
    border-radius: 999px;

    background: #ff3f8e;

    color: #ffffff;

    font-size: 20px;
    font-weight: 900;

    cursor: pointer;
}
/* =====================================================
   MEMBER AUTH TABS｜已有會員 / 第一次加入
===================================================== */

.member-auth-tabs {
    display: flex;

    width: 100%;

    margin: 22px 0 28px;
    padding: 5px;

    gap: 6px;

    background: #f5f5f8;

    border-radius: 16px;
}


/* 單顆切換按鈕 */

.member-auth-tab {
    appearance: none;
    -webkit-appearance: none;

    flex: 1;

    min-height: 48px;
    padding: 10px 18px;

    border: none;
    border-radius: 12px;

    background: transparent;

    color: #8b8e99;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}


/* 目前選擇 */

.member-auth-tab.active {
    background: #ffffff;

    color: #ff3f8e;

    box-shadow:
        0 3px 12px
        rgba(32, 34, 45, 0.08);
}


/* 滑鼠移過 */

.member-auth-tab:not(.active):hover {
    color: #ff3f8e;
}
/* =====================================================
   REGISTER MODAL｜會員登入 / 註冊完整樣式
===================================================== */

/* 白色主框 */
#registerModal .modal-box {
    position: relative;

    width: min(760px, calc(100vw - 40px));
    max-height: 88vh;

    padding: 52px 56px 54px;

    box-sizing: border-box;

    background: #ffffff;
    border-radius: 36px;

    box-shadow:
        0 30px 80px rgba(35, 37, 47, 0.22);

    overflow-y: auto;
}


/* 關閉 X */
#registerModal .modal-close {
    position: absolute;

    top: 28px;
    right: 28px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: #f6f6f9;

    color: #7e818c;

    font-size: 28px;
    font-weight: 500;
    line-height: 1;

    cursor: pointer;
}


/* MEMBER */
#registerModal .eyebrow {
    display: block;

    margin-bottom: 18px;

    color: #ff3f8e;

    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.16em;
}


/* 登入活動會員 */
#registerModal #memberModalTitle {
    margin: 0 0 14px;

    color: #282a33;

    font-size: 36px;
    line-height: 1.25;
    font-weight: 900;
}


/* 說明文字 */
#registerModal #memberModalDescription {
    margin: 0;

    color: #858894;

    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
}


/* =====================================================
   已有會員 / 第一次加入
===================================================== */

#registerModal .member-auth-tabs {
    display: flex;

    width: 100%;

    box-sizing: border-box;

    margin: 24px 0 30px;
    padding: 5px;

    gap: 6px;

    background: #f5f5f8;

    border-radius: 16px;
}


#registerModal .member-auth-tab {
    appearance: none;
    -webkit-appearance: none;

    flex: 1;

    min-height: 48px;

    padding: 10px 18px;

    border: none;
    border-radius: 12px;

    background: transparent;

    color: #8b8e99;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition: 0.2s ease;
}


#registerModal .member-auth-tab.active {
    background: #ffffff;

    color: #ff3f8e;

    box-shadow:
        0 3px 12px rgba(35, 37, 47, 0.08);
}


/* =====================================================
   登入區
===================================================== */

#registerModal #memberLoginArea {
    width: 100%;
}


/* LABEL */
#registerModal #memberLoginArea label {
    display: block;

    color: #282a33;

    font-size: 16px;
    font-weight: 800;
}


/* INPUT */
#registerModal #memberLoginArea input {
    display: block;

    width: 100%;
    height: 64px;

    box-sizing: border-box;

    margin-top: 12px;
    padding: 0 20px;

    border: 1px solid #e2e3e9;
    border-radius: 18px;

    outline: none;

    background: #ffffff;

    color: #282a33;

    font-size: 17px;
    font-weight: 600;

    transition: 0.2s ease;
}


#registerModal #memberLoginArea input::placeholder {
    color: #b5b7bf;
}


#registerModal #memberLoginArea input:focus {
    border-color: #ff3f8e;

    box-shadow:
        0 0 0 4px rgba(255, 63, 142, 0.08);
}


/* 輸入框下面說明 */
#registerModal .form-note {
    margin: 12px 0 0;

    color: #a1a4ae;

    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}


/* =====================================================
   粉紅主按鈕
===================================================== */

#registerModal .modal-main-button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 68px;

    box-sizing: border-box;

    margin-top: 30px;
    padding: 0 24px;

    border: none;
    border-radius: 999px;

    background: #ff3f8e;

    color: #ffffff;

    font-size: 20px;
    font-weight: 900;

    cursor: pointer;
}


#registerModal .modal-main-button:hover {
    transform: translateY(-1px);
}


/* =====================================================
   手機版
===================================================== */

@media (max-width: 640px) {

    #registerModal .modal-box {
        width: calc(100vw - 28px);

        padding:
            42px
            26px
            34px;

        border-radius: 28px;
    }


    #registerModal #memberModalTitle {
        font-size: 30px;
    }


    #registerModal #memberModalDescription {
        font-size: 16px;
    }


    #registerModal .modal-close {
        top: 20px;
        right: 20px;

        width: 42px;
        height: 42px;
    }

}
/* =====================================================
   SIMULATION WHEEL｜模擬預測摩天輪
===================================================== */

#simulationWheelModal .simulation-wheel-box {
    position: relative;

    width: min(620px, calc(100vw - 32px));
    max-height: 90vh;

    box-sizing: border-box;
    padding: 42px 42px 38px;

    overflow-y: auto;

    background: #ffffff;
    border-radius: 34px;

    text-align: center;

    box-shadow:
        0 30px 80px rgba(35, 37, 47, 0.22);
}


/* 關閉 */

#simulationWheelModal .modal-close {
    position: absolute;

    top: 22px;
    right: 22px;

    width: 44px;
    height: 44px;

    border: none;
    border-radius: 50%;

    background: #f5f5f8;

    color: #7d808b;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    z-index: 20;
}


/* HEADER */

.simulation-wheel-header .eyebrow {
    display: block;

    margin-bottom: 12px;

    color: #ff3f8e;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: .14em;
}


.simulation-wheel-header h2 {
    margin: 0;

    color: #292b34;

    font-size: 32px;
    font-weight: 900;
}


.simulation-wheel-header p {
    margin: 10px 0 0;

    color: #8b8e98;

    font-size: 15px;
    line-height: 1.6;
}


/* 進度 */

.simulation-wheel-progress {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-top: 18px;
    padding: 8px 14px;

    border-radius: 999px;

    background: #fff0f6;
}


.simulation-wheel-progress span {
    color: #ff3f8e;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
}


.simulation-wheel-progress strong {
    color: #ff3f8e;

    font-size: 14px;
    font-weight: 900;
}


/* =====================================================
   WHEEL
===================================================== */

.simulation-wheel-stage {
    position: relative;

    width: 330px;
    height: 350px;

    margin: 22px auto 0;
}


.simulation-wheel-pointer {
    position: absolute;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    color: #ff3f8e;

    font-size: 34px;

    z-index: 10;
}


.simulation-wheel {
    position: absolute;

    top: 30px;
    left: 50%;

    width: 300px;
    height: 300px;

    transform: translateX(-50%) rotate(0deg);

    border: 8px solid #ffffff;
    border-radius: 50%;

    background:
        conic-gradient(
            #ff4d94 0deg 90deg,
            #ffd166 90deg 180deg,
            #75d8c6 180deg 270deg,
            #8e86e8 270deg 360deg
        );

    box-shadow:
        0 15px 35px rgba(35, 37, 47, 0.18);

    transition:
        transform 3.8s cubic-bezier(.12, .72, .12, 1);
}


/* 中心 */

.simulation-wheel-center {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 82px;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border: 7px solid #ffffff;
    border-radius: 50%;

    background: #292b34;

    color: #ffffff;

    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: .05em;

    z-index: 5;
}


/* 四個文字 */

.simulation-wheel-label {
    position: absolute;

    width: 90px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 900;

    text-align: center;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, .12);
}


.simulation-wheel-label.label-1 {
    top: 54px;
    right: 35px;

    transform: rotate(45deg);
}


.simulation-wheel-label.label-2 {
    right: 30px;
    bottom: 58px;

    transform: rotate(135deg);
}


.simulation-wheel-label.label-3 {
    bottom: 58px;
    left: 30px;

    transform: rotate(225deg);
}


.simulation-wheel-label.label-4 {
    top: 54px;
    left: 35px;

    transform: rotate(315deg);
}


/* 狀態 */

.simulation-wheel-status {
    margin-top: 2px;

    color: #858894;

    font-size: 14px;
    font-weight: 700;
}


/* 轉動 */

.simulation-wheel-spin-button {
    width: 100%;
    min-height: 60px;

    margin-top: 18px;

    border: none;
    border-radius: 999px;

    background: #ff3f8e;

    color: #ffffff;

    font-size: 18px;
    font-weight: 900;

    cursor: pointer;
}


.simulation-wheel-spin-button:disabled {
    opacity: .55;

    cursor: not-allowed;
}


/* =====================================================
   RESULT
===================================================== */

.simulation-wheel-result {
    margin-top: 18px;
    padding: 18px;

    border-radius: 20px;

    background: #fafafd;
}


.simulation-wheel-result > span {
    display: block;

    color: #9a9da6;

    font-size: 12px;
    font-weight: 800;
}


.simulation-wheel-result > strong {
    display: block;

    margin-top: 5px;

    color: #292b34;

    font-size: 24px;
    font-weight: 900;
}


.simulation-wheel-start-button {
    width: 100%;
    min-height: 52px;

    margin-top: 14px;

    border: none;
    border-radius: 999px;

    background: #292b34;

    color: #ffffff;

    font-size: 16px;
    font-weight: 900;

    cursor: pointer;
}
/* =====================================================
   LUCKY WHEEL｜首頁長期小遊戲 Banner
===================================================== */

.luck-wheel-banner {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 280px;

    box-sizing: border-box;

    margin-top: 32px;
    padding: 46px 56px;

    overflow: hidden;

    border-radius: 32px;

    background:
        linear-gradient(
            135deg,
            #ff3f8e 0%,
            #ff6fa9 48%,
            #ff9bc5 100%
        );

    box-shadow:
        0 18px 45px rgba(255, 63, 142, 0.18);
}


/* 左側文字 */

.luck-wheel-banner-content {
    position: relative;
    z-index: 3;

    max-width: 520px;
}


.luck-wheel-eyebrow {
    display: inline-block;

    margin-bottom: 14px;
    padding: 7px 12px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.18);

    color: #ffffff;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
}


.luck-wheel-banner h2 {
    margin: 0;

    color: #ffffff;

    font-size: 38px;
    line-height: 1.2;
    font-weight: 900;
}


.luck-wheel-banner p {
    margin: 14px 0 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 17px;
    line-height: 1.7;
    font-weight: 600;
}


/* 按鈕 */

.luck-wheel-banner-button {
    margin-top: 26px;
    padding: 15px 26px;

    border: none;
    border-radius: 999px;

    background: #ffffff;

    color: #ff3f8e;

    font-size: 16px;
    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 8px 22px rgba(93, 25, 55, 0.12);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.luck-wheel-banner-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 26px rgba(93, 25, 55, 0.17);
}


/* =====================================================
   右側小摩天輪視覺
===================================================== */

.luck-wheel-banner-visual {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 270px;
    min-width: 270px;
    height: 220px;

    z-index: 2;
}


.luck-wheel-mini {
    position: relative;

    width: 205px;
    height: 205px;

    border: 8px solid #ffffff;
    border-radius: 50%;

    background:
        conic-gradient(
            #ffd166 0deg 60deg,
            #ffffff 60deg 120deg,
            #78d9c8 120deg 180deg,
            #ffffff 180deg 240deg,
            #8e86e8 240deg 300deg,
            #ffd166 300deg 360deg
        );

    box-shadow:
        0 18px 35px rgba(76, 28, 50, 0.18);

    transform: rotate(-8deg);
}


/* 中心 */

.luck-wheel-mini-center {
    position: absolute;

    top: 50%;
    left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 78px;
    height: 78px;

    transform: translate(-50%, -50%);

    border: 6px solid #ffffff;
    border-radius: 50%;

    background: #292b34;

    color: #ffffff;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.06em;

    text-align: center;
}


/* 裝飾圓 */

.luck-wheel-banner::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    top: -150px;
    left: 42%;

    border: 45px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}


.luck-wheel-banner::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -80px;
    bottom: -100px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.10);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 720px) {

    .luck-wheel-banner {
        flex-direction: column;

        align-items: flex-start;

        padding: 36px 28px 30px;

        border-radius: 26px;
    }


    .luck-wheel-banner h2 {
        font-size: 30px;
    }


    .luck-wheel-banner p {
        font-size: 15px;
    }


    .luck-wheel-banner-visual {
        width: 100%;
        min-width: 0;
        height: 190px;

        margin-top: 24px;
    }


    .luck-wheel-mini {
        width: 170px;
        height: 170px;
    }


    .luck-wheel-mini-center {
        width: 66px;
        height: 66px;

        font-size: 10px;
    }

}
/* =====================================================
   LUCKY WHEEL MODAL
===================================================== */

.luck-wheel-modal-box {
    max-width: 560px;
}


.luck-wheel-intro {
    margin-top: 10px;

    line-height: 1.7;
}


.luck-wheel-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;

    margin-top: 24px;
}


.luck-wheel-info-item {
    padding: 18px;

    border-radius: 18px;

    background: #f7f7f8;
}


.luck-wheel-info-item span {
    display: block;

    margin-bottom: 6px;

    color: #777;

    font-size: 13px;
    font-weight: 700;
}


.luck-wheel-info-item strong {
    font-size: 22px;
    font-weight: 900;
}


.luck-wheel-cost {
    margin-top: 18px;

    padding: 14px 18px;

    border-radius: 14px;

    background: #fff2f7;

    text-align: center;

    font-weight: 700;
}


.luck-wheel-cost strong {
    color: #ff3f8e;

    font-size: 20px;
}


.luck-wheel-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;

    margin: 18px 0;
}


.luck-wheel-types span {
    padding: 12px;

    border: 1px solid #eeeeee;
    border-radius: 14px;

    text-align: center;

    font-size: 14px;
    font-weight: 800;
}


.luck-wheel-limit-note {
    margin-top: 12px;

    text-align: center;
}


@media (max-width: 520px) {

    .luck-wheel-info,
    .luck-wheel-types {
        grid-template-columns: 1fr;
    }

}
/* =====================================================
   LUCKY WHEEL｜SPINNER
===================================================== */

.luck-wheel-stage {
    position: relative;

    width: 320px;
    height: 340px;

    margin: 28px auto 20px;

    display: none;

    align-items: center;
    justify-content: center;
}


.luck-wheel-stage.show {
    display: flex;
}


/* 上方指針 */

.luck-wheel-pointer {
    position: absolute;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    z-index: 10;

    color: #ff3f8e;

    font-size: 38px;

    line-height: 1;
}


/* 摩天輪本體 */

.luck-wheel-spinner {
    position: relative;

    width: 290px;
    height: 290px;

    border-radius: 50%;

    border: 8px solid #ffffff;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.14),
        0 0 0 2px #eeeeee;

    background:
        conic-gradient(
            from -45deg,

            #ffe5f0 0deg 90deg,

            #fff3c9 90deg 180deg,

            #dff6ff 180deg 270deg,

            #e8f8e9 270deg 360deg
        );

will-change: transform;
transform: translateZ(0);
backface-visibility: hidden;
}


/* 中間 GO */

.luck-wheel-center {
    position: absolute;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    width: 76px;
    height: 76px;

    border-radius: 50%;

    background: #ff3f8e;

    border: 7px solid #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 20px;
    font-weight: 900;

    box-shadow:
        0 8px 20px
        rgba(255, 63, 142, 0.28);
}


/* 四個玩法 */

.wheel-label {
    position: absolute;

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 4px;

    font-size: 24px;

    font-weight: 900;

    color: #292934;
}


.wheel-label span {
    font-size: 13px;
}


/* 上 */

.wheel-label-1 {
    top: 30px;
    left: 50%;

    transform:
        translateX(-50%);
}


/* 右 */

.wheel-label-2 {
    top: 50%;
    right: 23px;

    transform:
        translateY(-50%);
}


/* 下 */

.wheel-label-3 {
    bottom: 28px;
    left: 50%;

    transform:
        translateX(-50%);
}


/* 左 */

.wheel-label-4 {
    top: 50%;
    left: 18px;

    transform:
        translateY(-50%);
}


@media (max-width: 520px) {

    .luck-wheel-stage {
        width: 280px;
        height: 300px;
    }


    .luck-wheel-spinner {
        width: 250px;
        height: 250px;
    }


    .luck-wheel-center {
        width: 66px;
        height: 66px;

        font-size: 17px;
    }

}
/* =====================================================
   LUCKY WHEEL｜QUESTION CARD
===================================================== */

.luck-wheel-question {
    display: none;

    margin-top: 26px;
    padding: 24px;

    border: 1px solid #eeeeee;
    border-radius: 24px;

    background: #ffffff;
}


.luck-wheel-question.show {
    display: block;
}


.luck-question-top {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 14px;
}


.luck-question-type,
.luck-question-sport {
    display: inline-flex;

    padding: 6px 11px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 900;
}


.luck-question-type {
    background: #fff0f6;
    color: #ff3f8e;
}


.luck-question-sport {
    background: #f1f3f5;
    color: #555;
}


.luck-wheel-question h3 {
    margin: 0;

    font-size: 22px;
    line-height: 1.4;
}


.luck-question-text {
    margin: 12px 0 20px;

    color: #666;

    line-height: 1.7;
}


.luck-question-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}


.luck-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-height: 130px;

    padding: 18px;

    border: 2px solid #eeeeee;
    border-radius: 18px;

    background: #ffffff;

    cursor: pointer;

    text-align: left;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}


.luck-option:hover {
    transform: translateY(-2px);

    border-color: #ffb6d2;
}


.luck-option.selected {
    border-color: #ff3f8e;

    background: #fff3f8;
}


.luck-option-letter {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    margin-bottom: 12px;

    border-radius: 50%;

    background: #292934;

    color: #ffffff;

    font-size: 12px;
    font-weight: 900;
}


.luck-option-name {
    flex: 1;

    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
}


.luck-option strong {
    margin-top: 10px;

    color: #ff3f8e;

    font-size: 17px;
}


.luck-question-selection {
    margin: 16px 0 12px;

    color: #777;

    text-align: center;

    font-size: 13px;
    font-weight: 700;
}


@media (max-width: 520px) {

    .luck-question-options {
        grid-template-columns: 1fr;
    }

}
/* =====================================================
   LUCKY WHEEL RESULT
===================================================== */

.luck-result-card {
    display: none;
    margin-top: 24px;
    padding: 30px 24px;
    border-radius: 24px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.luck-result-card.show {
    display: block;
}

.luck-result-icon {
    font-size: 52px;
    margin-bottom: 10px;
}

.luck-result-card h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 900;
}

.luck-result-points {
    margin: 12px 0 8px;
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
}

.luck-result-message {
    margin: 14px auto 20px;
    max-width: 420px;
    line-height: 1.7;
    opacity: 0.75;
}

.luck-result-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 22px 0;
}

.luck-result-info > div {
    padding: 16px 10px;
    border-radius: 16px;
    background: #f6f6f6;
}

.luck-result-info span {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    opacity: 0.6;
}

.luck-result-info strong {
    font-size: 18px;
}

.luck-result-card.win {
    background: linear-gradient(
        180deg,
        #fff7c7 0%,
        #ffffff 70%
    );
}

.luck-result-card.lose {
    background: linear-gradient(
        180deg,
        #f4f4f4 0%,
        #ffffff 70%
    );
}

@media (max-width: 600px) {

    .luck-result-card {
        padding: 26px 18px;
    }

    .luck-result-points {
        font-size: 36px;
    }

}
/* ===== LEADERBOARD CENTER FINAL ===== */

.leaderboard-section {
    width: 100vw !important;
    max-width: none !important;

    position: relative !important;
    left: 50% !important;
    right: auto !important;

    transform: translateX(-50%) !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    box-sizing: border-box !important;
}

.leaderboard-card,
.my-ranking-card,
.final-prizes,
.social-section {
    width: 100% !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* 10 月雙獎項 */
.october-prize-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-align: center;
}
.october-prize-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.october-prize-name {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;
}

.october-prize-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 7px 14px;
    border-radius: 999px;
    background: #ffd400;
    color: #282832;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}
.monthly-reward-title:has(.october-prize-list) {
    display: block;
    width: 100%;
    font-size: inherit;
}
@media (max-width: 600px) {
    .october-prize-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .october-prize-name {
        font-size: clamp(16px, 4vw, 21px);
        white-space: normal;
        text-align: center;
    }

    .october-prize-badge {
        font-size: 16px;
        padding: 6px 13px;
    }
}
/* 最終排行榜獎品備註 */
.final-prize-card .prize-note {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.5;
    color: #888;
    text-align: center;
}
/* 會員帳號截圖範例 */

.official-proof-example {
    margin: 18px 0;
    padding: 18px;
    background: #fff7fa;
    border: 1px solid #ffd6e5;
    border-radius: 16px;
}

.official-proof-example strong {
    display: block;
    font-size: 15px;
    margin-bottom: 8px;
}

.official-proof-example p {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
}

.official-proof-example-img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 12px;
}

.official-proof-example small {
    display: block;
    font-size: 12px;
    color: #888;
    line-height: 1.6;
}
.simulation-handicap-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    border-radius: 20px;
    background: #ffe5ef;
    color: #e83e80;
    font-size: 14px;
    font-weight: 700;
}
/* 排行榜活動辦法 */
.leaderboard-rules {
    max-width: 1186px;
    margin: 28px auto 36px;
    padding: 26px 32px;
    background: #fffdf0;
    border: 1px solid #f3e7aa;
    border-radius: 20px;
    box-sizing: border-box;
}

.leaderboard-rules h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 18px;
    color: #25283a;
}

.leaderboard-rules p {
    font-size: 15px;
    line-height: 1.9;
    margin: 8px 0;
    color: #44485a;
}

.leaderboard-rules strong {
    font-weight: 700;
    color: #25283a;
}

@media (max-width: 768px) {
    .leaderboard-rules {
        margin: 20px 16px 28px;
        padding: 20px;
    }

    .leaderboard-rules h3 {
        font-size: 19px;
    }

    .leaderboard-rules p {
        font-size: 14px;
        line-height: 1.8;
    }
}
/* 左上角產學合作名稱 */
.header-school-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

/* 手機版 */
@media (max-width: 768px) {
    .header-school-name {
        font-size: 12px;
        line-height: 1.4;
    }
}
/* 摩天輪｜向下滑動作答提示 */
.luck-wheel-answer-tip {
    background: #fff0f6;
    color: #f63388;
    border: 1px solid #ffc4dc;
    border-radius: 14px;
    padding: 14px 16px;
    margin: 16px 0 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}