/*
   Friendship Challenge redesign layer.
   Loaded after Bootstrap, legacy style.css, and home_redesign.css.
   Scope every rule under body.mc-game so legacy games stay untouched.
*/

body.mc-game {
    --mc-ink: #16213e;
    --mc-ink-2: #23324f;
    --mc-muted: #5f6f89;
    --mc-line: rgba(22, 33, 62, 0.18);
    --mc-surface: #ffffff;
    --mc-surface-soft: #f6faff;
    --mc-site-bg: var(--theme-body-bg, #8abdff);
    --mc-accent: var(--theme-primary, #007bff);
    --mc-accent-2: var(--theme-primary-2, #66b2ff);
    --mc-quiz-bg: var(--theme-quiz-body-bg, #0fa1a8);
    --mc-hot: #ff4f86;
    --mc-coral: #ff7657;
    --mc-sun: #ffc94a;
    --mc-green: #22b66f;
    --mc-radius: 8px;
    --mc-shadow: 0 18px 44px rgba(22, 33, 62, 0.18);
    --mc-shadow-soft: 0 10px 28px rgba(22, 33, 62, 0.12);

    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background:
        linear-gradient(115deg, var(--mc-site-bg) 0%, #b9defe 34%, #f5fbff 68%, #fff4f8 100%);
    color: var(--mc-ink);
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

body.mc-game *,
body.mc-game *::before,
body.mc-game *::after {
    box-sizing: border-box;
}

body.mc-game a {
    color: inherit;
}

body.mc-game .mc-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(22, 33, 62, 0.08);
    box-shadow: 0 10px 26px rgba(22, 33, 62, 0.1);
}

body.mc-game .mc-header-cta,
body.mc-game .mc-btn-primary {
    background: linear-gradient(135deg, var(--mc-hot), var(--mc-coral));
    box-shadow: 0 12px 26px rgba(255, 79, 134, 0.3);
}

body.mc-game .mc-desktop-nav > a:hover,
body.mc-game .mc-nav-dropdown > summary:hover,
body.mc-game .mc-mobile-panel a:hover,
body.mc-game .mc-mobile-details > summary:hover {
    background: rgba(0, 123, 255, 0.09);
    color: var(--mc-accent);
}

body.mc-game .mc-mobile-panel {
    z-index: 1120;
    max-height: calc(100vh - 84px);
    overflow: auto;
}

.mc-game-main {
    min-height: 48vh;
    padding-bottom: 0;
}

.mc-game .mc-wrap {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.mc-game .container,
.mc-game .container-fluid {
    width: min(1120px, calc(100% - 32px));
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.mc-game .container > .row {
    margin-left: 0;
    margin-right: 0;
}

.mc-game .container > .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.mc-game .adbanner:empty,
.mc-game .ad:empty {
    display: none;
}

.mc-game .ad {
    width: 100%;
    margin: 22px auto 0;
    min-height: 0;
    text-align: center;
}

.mc-game .mc-ad-collapsed {
    display: none !important;
}

.mc-game .ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
    display: none !important;
}

/* Landing */
.mc-game-landing {
    position: relative;
    overflow: hidden;
    padding: 48px 0 42px;
    background:
        linear-gradient(135deg, var(--mc-site-bg) 0%, #b8dcff 42%, #fff4f8 100%);
    border-bottom: 1px solid rgba(22, 33, 62, 0.08);
}

.mc-game-landing::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.46) 0 10%, transparent 10% 20%, rgba(255, 255, 255, 0.25) 20% 30%, transparent 30% 100%);
    opacity: 0.42;
}

.mc-landing-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
    align-items: center;
    gap: 32px;
}

.mc-kicker,
.mc-mini-label,
.mc-side-panel small,
.mc-result-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #0c5974;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mc-landing-copy h1 {
    max-width: 700px;
    margin: 14px 0 0;
    color: var(--mc-ink);
    font-size: 3.35rem;
    line-height: 1.04;
    font-weight: 800;
}

.mc-landing-copy p {
    max-width: 650px;
    margin: 18px 0 0;
    color: #344865;
    font-size: 1.08rem;
    line-height: 1.68;
    font-weight: 600;
}

.mc-landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.mc-trust-strip,
.mc-mini-stats,
.mc-flow-list {
    display: grid;
    gap: 10px;
}

.mc-mini-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 620px;
    margin-top: 24px;
}

.mc-mini-stats div {
    min-height: 86px;
    padding: 16px;
    border: 1px solid rgba(22, 33, 62, 0.1);
    border-radius: var(--mc-radius);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--mc-shadow-soft);
}

.mc-mini-stats strong {
    display: block;
    color: var(--mc-ink);
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 800;
}

.mc-mini-stats span {
    display: block;
    margin-top: 7px;
    color: #51627f;
    font-size: 0.84rem;
    font-weight: 800;
}

.mc-trust-strip {
    grid-template-columns: repeat(3, max-content);
    align-items: center;
    margin-top: 18px;
}

.mc-trust-strip span {
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(22, 33, 62, 0.09);
    color: #263752;
    font-size: 0.84rem;
    font-weight: 800;
}

.mc-create-card {
    position: relative;
}

.mc-create-card::before,
.mc-side-dark::before,
.mc-result-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    border-radius: var(--mc-radius) var(--mc-radius) 0 0;
    background: linear-gradient(90deg, var(--mc-accent), var(--mc-hot), var(--mc-sun));
}

.mc-game-section {
    padding: 34px 0 42px;
}

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

.mc-info-panel,
.mc-side-panel,
.mc-progress-card,
.mc-panel,
.mc-game .custom-box,
.mc-game .result,
.mc-game .share-response,
.mc-game .challenge-box,
.mc-game .quiz-wrapper {
    position: relative;
    border: 1px solid var(--mc-line);
    border-radius: var(--mc-radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--mc-shadow);
}

.mc-info-panel {
    padding: 22px;
}

.mc-info-panel h2,
.mc-info-panel h3,
.mc-game .custom-box h2,
.mc-game .challenge-box h2,
.mc-game .who-know h2,
.mc-share-support h2 {
    margin: 0 0 10px;
    color: var(--mc-ink);
    font-size: 1.15rem;
    line-height: 1.25;
    font-weight: 800;
}

.mc-info-panel p,
.mc-game .custom-box p,
.mc-share-support p,
.mc-side-panel p {
    margin: 0;
    color: var(--mc-muted);
    font-size: 0.94rem;
    line-height: 1.68;
}

/* Common cards, inputs, buttons */
.mc-game .custom-box,
.mc-game .challenge-box,
.mc-game .result,
.mc-game .share-response {
    padding: 26px;
    text-align: center;
}

.mc-game .logo {
    display: grid;
    place-items: center;
    width: 94px;
    height: 94px;
    margin: 0 auto 10px;
}

.mc-game .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(22, 33, 62, 0.15));
}

.mc-game .logo-name {
    margin: 4px 0 15px;
    color: var(--mc-ink);
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 1.62rem;
    line-height: 1.16;
    font-weight: 800;
}

.mc-game .logo-name h1 {
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.mc-game .custom-block {
    margin: 16px 0;
}

.mc-game .custom-input {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 430px;
    min-height: 56px;
    margin: 16px auto;
    padding: 6px 8px 6px 14px;
    border: 1.5px solid rgba(22, 33, 62, 0.16);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(22, 33, 62, 0.08);
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.mc-game .custom-input:focus-within,
.mc-game .custom-input:hover {
    border-color: var(--mc-accent);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.12), 0 10px 24px rgba(22, 33, 62, 0.1);
}

.mc-game .custom-input i {
    display: inline-flex;
    width: 24px;
    flex: 0 0 24px;
}

.mc-game .custom-input i img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.78;
}

.mc-game .custom-input input {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 11px 8px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--mc-ink);
    font-size: 1rem;
    font-weight: 700;
}

.mc-game .custom-input input::placeholder {
    color: #8d9ab2;
    opacity: 1;
}

.mc-game .custBtn,
.mc-game button.custBtn,
.mc-game .btn.btn-success,
.mc-game .btn.btn-warning,
.mc-game .btn.btn-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    width: auto;
    max-width: 100%;
    padding: 13px 24px;
    border: 0 !important;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--mc-hot), var(--mc-coral));
    color: #ffffff !important;
    font-size: 0.98rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(255, 79, 134, 0.26);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.mc-game .custBtn:hover,
.mc-game .btn.btn-success:hover,
.mc-game .btn.btn-warning:hover {
    transform: translateY(-2px);
    filter: brightness(1.02);
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(255, 79, 134, 0.28);
}

.mc-game .custBtn.ds-secondary,
.mc-game .ds-home,
.mc-game a.custBtn[href=".."],
.mc-game a.custBtn[href="../.."] {
    background: #ffffff;
    color: var(--mc-accent) !important;
    border: 1.5px solid rgba(0, 123, 255, 0.2) !important;
    box-shadow: 0 9px 22px rgba(22, 33, 62, 0.08);
}

.mc-game .language-section,
.mc-game .language-select {
    width: 100%;
    max-width: 430px;
    margin: 10px auto 18px;
}

.mc-game .language-select label {
    display: block;
    margin: 0 0 6px;
    color: var(--mc-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.mc-game .language-select select,
.mc-game select.form-select {
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    border: 1.5px solid rgba(22, 33, 62, 0.15);
    border-radius: 999px;
    background: #ffffff;
    color: var(--mc-ink);
    font-size: 0.95rem;
    font-weight: 700;
    outline: 0;
    cursor: pointer;
}

.mc-game .custom-box ul.list-group,
.mc-game .challenge-box ul.list-group,
.mc-flow-list {
    margin: 12px 0 18px !important;
    padding: 0;
    list-style: none;
    text-align: start;
}

.mc-game .custom-box ul.list-group li,
.mc-game .challenge-box ul.list-group li,
.mc-flow-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid rgba(22, 33, 62, 0.1);
    border-radius: var(--mc-radius);
    background: #ffffff;
    color: #374764;
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 700;
}

.mc-flow-list li::before {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    margin-top: 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--mc-accent), var(--mc-hot));
}

.mc-game .custom-box ul.list-group li i,
.mc-game .challenge-box ul.list-group li i {
    color: var(--mc-accent);
    margin-top: 2px;
}

/* Quiz pages */
.mc-quiz-stage,
.mc-result-stage,
.mc-simple-stage {
    padding: 30px 0 44px;
}

.mc-quiz-layout,
.mc-invite-grid,
.mc-result-layout,
.mc-share-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 22px;
}

.mc-quiz-layout {
    grid-template-columns: 300px minmax(0, 1fr);
}

.mc-game .quiz-div {
    background: transparent !important;
}

.mc-game .quiz-wrapper {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 24px;
    text-align: center;
}

.mc-quiz-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.mc-quiz-top h1,
.mc-quiz-top h2 {
    margin: 0;
    color: var(--mc-ink);
    font-size: 1.18rem;
    line-height: 1.28;
    font-weight: 800;
    text-align: start;
}

.mc-quiz-badge {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #eaf5ff;
    color: #0a6596;
    font-size: 0.78rem;
    font-weight: 800;
}

.mc-game .countdown {
    margin: 8px 0 18px;
}

.mc-game .countdown ul {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mc-game .countdown ul li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    min-width: 0;
    border: 1px solid rgba(22, 33, 62, 0.12);
    border-radius: 999px;
    background: #ffffff;
    color: #75849f;
    font-size: 0.76rem;
    font-weight: 800;
    box-shadow: 0 3px 8px rgba(22, 33, 62, 0.06);
}

.mc-game .countdown ul li.active {
    border-color: transparent;
    background: linear-gradient(135deg, var(--mc-accent), var(--mc-accent-2));
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.24);
}

.mc-game .skipBtnWrapper {
    margin: 10px 0 8px;
}

.mc-game .skipBtnWrapper .custBtn {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 0.86rem;
}

.mc-challenge-prompt {
    margin: 12px 0 18px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 123, 255, 0.14);
    border-radius: var(--mc-radius);
    background: #f0f8ff;
    color: #344865;
    font-weight: 700;
}

.mc-game .question-text {
    max-width: 640px;
    margin: 15px auto 20px;
    color: var(--mc-ink);
    font-size: 1.36rem;
    line-height: 1.32;
    font-weight: 800;
    text-align: center;
}

.mc-game .question .row {
    margin-left: -8px;
    margin-right: -8px;
}

.mc-game .qns {
    display: flex;
    padding-left: 8px;
    padding-right: 8px;
}

.mc-game .custom-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    width: 100%;
    min-height: 118px;
    overflow: hidden;
    border: 1.5px solid rgba(22, 33, 62, 0.12);
    border-radius: var(--mc-radius);
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(22, 33, 62, 0.08);
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.mc-game .qns:hover .custom-card {
    transform: translateY(-3px);
    border-color: rgba(0, 123, 255, 0.42);
    box-shadow: 0 16px 34px rgba(22, 33, 62, 0.13);
}

.mc-game .custom-card.active {
    border-color: var(--mc-accent);
    background: #eff8ff;
}

.mc-game .custom-card .q-img {
    width: 96px;
    height: 100%;
    padding: 12px;
    background: linear-gradient(145deg, #eaf6ff, #fff4f8);
}

.mc-game .custom-card .q-img img {
    width: 72px;
    height: 72px;
    max-width: none;
    object-fit: cover;
    border: 3px solid #ffffff;
    border-radius: 999px;
    padding: 0;
    box-shadow: 0 8px 16px rgba(22, 33, 62, 0.12);
}

.mc-game .custom-card .custom-card-body {
    padding: 12px 14px;
    background: transparent;
    text-align: start;
}

.mc-game .custom-card .question-option {
    margin: 0;
    color: var(--mc-ink);
    font-size: 1rem;
    line-height: 1.32;
    font-weight: 800;
}

.mc-game .custom-card .right,
.mc-game .right {
    background: rgba(34, 182, 111, 0.18);
    opacity: 1;
}

.mc-game .custom-card .wrong,
.mc-game .wrong {
    background: rgba(255, 79, 134, 0.18);
    opacity: 1;
}

.mc-side-stack {
    display: grid;
    gap: 14px;
}

.mc-side-panel,
.mc-progress-card {
    padding: 20px;
}

.mc-side-dark {
    overflow: hidden;
    background:
        linear-gradient(145deg, #16213e 0%, #173d64 58%, #0f929b 100%);
    color: #ffffff;
}

.mc-side-dark small {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.mc-side-dark h2 {
    margin: 16px 0 10px;
    color: #ffffff;
    font-size: 1.28rem;
    line-height: 1.24;
    font-weight: 800;
}

.mc-side-dark p {
    color: rgba(255, 255, 255, 0.82);
}

.mc-progress-card {
    background: #ffffff;
}

.mc-progress-card h3 {
    margin: 0 0 12px;
    color: var(--mc-ink);
    font-size: 1rem;
    font-weight: 800;
}

.mc-progress-bars {
    display: grid;
    gap: 8px;
}

.mc-progress-bars span {
    display: block;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eff8;
}

.mc-progress-bars span::before {
    content: "";
    display: block;
    height: 100%;
    width: var(--w, 65%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--mc-accent), var(--mc-hot));
}

.mc-game .process {
    display: none;
    max-width: 480px;
    margin: 28px auto;
    padding: 28px;
    border: 1px solid var(--mc-line);
    border-radius: var(--mc-radius);
    background: #ffffff;
    box-shadow: var(--mc-shadow);
    text-align: center;
}

.mc-game .processing_container {
    min-height: 190px;
    background: transparent;
}

.mc-game .processing_container .loader {
    max-width: 150px;
}

.mc-game .process h2 {
    color: var(--mc-ink);
    font-size: 1.14rem;
    font-weight: 800;
}

.mc-game .process h3 {
    color: var(--mc-muted);
    font-size: 0.95rem;
    font-weight: 700;
}

/* Invite, share, result */
.mc-game-hero {
    padding: 36px 0 32px;
    background:
        linear-gradient(135deg, var(--mc-quiz-bg) 0%, var(--mc-accent) 52%, var(--mc-accent-2) 100%);
    color: #ffffff;
    text-align: center;
    border-bottom: 1px solid rgba(22, 33, 62, 0.08);
}

.mc-game-hero .mc-wrap {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.mc-game-hero .mc-hero-eyebrow {
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mc-game-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #ffffff;
    font-size: 2.25rem;
    line-height: 1.12;
    font-weight: 800;
}

.mc-game-hero p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.58;
    font-weight: 600;
}

.mc-invite-grid {
    padding: 30px 0 44px;
}

.mc-invite-grid .challenge-box {
    margin-bottom: 0;
}

.mc-leader-panel {
    padding: 20px;
}

.mc-empty-score {
    padding: 18px;
    border: 1px dashed rgba(22, 33, 62, 0.18);
    border-radius: var(--mc-radius);
    background: #f7fbff;
    color: var(--mc-muted);
    font-weight: 700;
    text-align: center;
}

.mc-game .who-know {
    margin: 0;
}

.mc-game .who-know h2 {
    margin-bottom: 14px;
    text-align: start;
}

.mc-game #point-table {
    width: 100%;
    overflow: hidden;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--mc-radius);
    box-shadow: 0 8px 20px rgba(22, 33, 62, 0.08);
}

.mc-game #point-table th,
.mc-game #point-table td {
    padding: 12px 14px;
    border: 0;
    text-align: start;
    vertical-align: middle;
}

.mc-game #point-table thead th,
.mc-game #point-table .table-bg {
    background: #16213e;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mc-game #point-table tbody tr:nth-of-type(odd) {
    background: #ffffff;
    color: #384762;
}

.mc-game #point-table tbody tr:nth-of-type(even) {
    background: #f1f7ff;
    color: #384762;
}

.mc-game #point-table tbody td {
    border-bottom: 1px solid rgba(22, 33, 62, 0.07);
    font-weight: 700;
}

.mc-result-layout {
    padding: 30px 0 44px;
}

.mc-result-card {
    padding: 28px;
    text-align: center;
}

.mc-result-card h1,
.mc-result-card h2 {
    margin: 8px 0 8px;
    color: var(--mc-ink);
    font-size: 1.65rem;
    line-height: 1.22;
    font-weight: 800;
}

.mc-result-card p {
    margin: 0 auto 12px;
    max-width: 520px;
    color: var(--mc-muted);
    font-weight: 700;
    line-height: 1.58;
}

.mc-game .score-check {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 148px;
    margin: 8px auto 16px;
}

.mc-game .circle-progress-value {
    stroke: var(--mc-green);
}

.mc-game .circle-progress-circle {
    stroke: #d7e5f5;
    fill: #16213e;
}

.mc-game .circle-progress-text {
    fill: #ffffff;
    font-weight: 800;
}

.mc-share-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.mc-share-primary {
    min-width: 0;
}

.mc-share-support {
    padding: 20px;
}

.mc-game .share-response.ds-share {
    padding: 28px;
    text-align: center;
}

.mc-game .share-response h2 {
    margin: 0 0 8px;
    color: var(--mc-ink);
    font-size: 1.7rem;
    line-height: 1.2;
    font-weight: 800;
}

.mc-game .share-response h3 {
    margin: 0 0 16px;
    color: var(--mc-muted);
    font-size: 1rem;
    font-weight: 700;
}

body.mc-game .share-response.ds-share .ds-linkbox {
    max-width: 620px;
    gap: 10px;
    margin: 16px auto;
}

body.mc-game .share-response.ds-share .ds-linkbox input {
    min-height: 50px;
    border: 1.5px solid rgba(22, 33, 62, 0.14);
    border-radius: 999px;
    background: #f7fbff;
    color: var(--mc-ink);
    font-weight: 700;
}

body.mc-game .share-response.ds-share .ds-chip {
    border-color: rgba(22, 33, 62, 0.13);
    border-radius: 999px;
    color: #384762;
    font-weight: 800;
}

body.mc-game .share-response.ds-share .ds-chip.selected,
body.mc-game .share-response.ds-share .ds-chip:hover {
    border-color: var(--mc-accent);
}

body.mc-game .share-response.ds-share .ds-chip.selected {
    background: linear-gradient(135deg, var(--mc-accent), var(--mc-accent-2));
    color: #ffffff;
}

body.mc-game .ds-grid {
    max-width: 620px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

body.mc-game .ds-sbtn {
    min-height: 88px;
    border: 1px solid rgba(22, 33, 62, 0.11);
    border-radius: var(--mc-radius);
    background: #ffffff;
    color: #2f405f;
    font-weight: 800;
    box-shadow: 0 7px 18px rgba(22, 33, 62, 0.06);
}

body.mc-game .ds-sbtn:hover {
    border-color: rgba(0, 123, 255, 0.42);
    box-shadow: 0 13px 25px rgba(22, 33, 62, 0.12);
}

body.mc-game .ds-actions {
    margin-top: 18px;
}

body.mc-game .ds-del {
    color: var(--mc-muted);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: underline;
}

body.mc-game .ds-wishing a,
body.mc-game .wishing-web-link a {
    color: var(--mc-accent);
    font-weight: 800;
}

.mc-simple-card {
    max-width: 620px;
    margin: 0 auto;
    padding: 30px;
    text-align: center;
}

.mc-game .deleted-quiz {
    margin: 12px 0;
    color: var(--mc-ink);
    font-size: 1.06rem;
    line-height: 1.58;
    font-weight: 800;
}

.mc-game .custom-box img[src*="stop"] {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.mc-game .promo-box-wrapper {
    max-width: 650px;
    margin: 24px auto;
}

.mc-game .promo-box-card,
.mc-game .promo-games-grid,
.mc-game .promo-external-card {
    border-radius: var(--mc-radius);
}

/* Refinement pass: clearer separation, stronger forms, richer quiz feedback. */
.mc-game .mc-create-card,
.mc-game .mc-info-panel,
.mc-game .mc-side-panel,
.mc-game .mc-progress-card,
.mc-game .mc-panel,
.mc-game .custom-box,
.mc-game .challenge-box,
.mc-game .result,
.mc-game .share-response,
.mc-game .quiz-wrapper,
.mc-game .mc-simple-card {
    border: 1.5px solid rgba(22, 33, 62, 0.2);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.96));
    box-shadow:
        0 18px 40px rgba(22, 33, 62, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.mc-game .mc-info-panel,
.mc-game .mc-panel,
.mc-game .mc-progress-card,
.mc-game .challenge-box,
.mc-game .share-response,
.mc-game .result,
.mc-game .quiz-wrapper {
    overflow: hidden;
}

.mc-game .mc-info-panel::before,
.mc-game .mc-panel::before,
.mc-game .challenge-box::before,
.mc-game .share-response::before,
.mc-game .quiz-wrapper::before,
.mc-game .mc-simple-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--mc-accent), var(--mc-hot), var(--mc-sun));
}

.mc-info-grid .mc-info-panel:nth-child(2)::before {
    background: linear-gradient(180deg, var(--mc-quiz-bg), var(--mc-accent-2));
}

.mc-info-grid .mc-info-panel:nth-child(3)::before {
    background: linear-gradient(180deg, var(--mc-hot), var(--mc-coral), var(--mc-sun));
}

.mc-game .mc-create-card {
    border-color: rgba(0, 123, 255, 0.26);
}

.mc-form-panel {
    max-width: 470px;
    margin: 18px auto 0;
    padding: 14px;
    border: 1.5px solid rgba(0, 123, 255, 0.22);
    border-radius: var(--mc-radius);
    background:
        linear-gradient(135deg, rgba(240, 248, 255, 0.96), rgba(255, 247, 251, 0.98));
    box-shadow: 0 12px 26px rgba(22, 33, 62, 0.1);
}

.mc-field-label,
.mc-game .language-select label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: #174166;
    font-size: 0.84rem;
    font-weight: 900;
    text-align: start;
}

.mc-field-label::before,
.mc-game .language-select label::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--mc-hot), var(--mc-sun));
    box-shadow: 0 0 0 4px rgba(255, 79, 134, 0.12);
}

.mc-game .language-section,
.mc-game .language-select {
    max-width: none;
}

.mc-game .custom-input,
body.mc-game .share-response.ds-share .ds-linkbox input,
.mc-game .language-select select,
.mc-game select.form-select {
    border: 2px solid rgba(0, 123, 255, 0.28);
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(0, 123, 255, 0.68), rgba(255, 79, 134, 0.55)) border-box;
    box-shadow:
        0 9px 20px rgba(0, 123, 255, 0.1),
        0 0 0 4px rgba(255, 255, 255, 0.78);
}

.mc-game .custom-input {
    border-radius: 18px;
}

.mc-game .language-select select,
.mc-game select.form-select {
    border-radius: 18px;
    appearance: auto;
}

.mc-game .custom-input:hover,
.mc-game .custom-input:focus-within,
.mc-game .language-select select:hover,
.mc-game .language-select select:focus,
.mc-game select.form-select:hover,
.mc-game select.form-select:focus,
body.mc-game .share-response.ds-share .ds-linkbox input:hover,
body.mc-game .share-response.ds-share .ds-linkbox input:focus {
    border-color: rgba(255, 79, 134, 0.58);
    background:
        linear-gradient(#ffffff, #f1fbff) padding-box,
        linear-gradient(135deg, var(--mc-hot), var(--mc-accent), var(--mc-sun)) border-box;
    box-shadow:
        0 0 0 5px rgba(0, 123, 255, 0.14),
        0 13px 28px rgba(22, 33, 62, 0.14);
}

.mc-game .custom-input input {
    color: #10233f;
}

.mc-game .custom-input input::placeholder {
    color: #607798;
    font-weight: 800;
}

.mc-game .mc-step-list {
    counter-reset: mcStep;
    position: relative;
}

.mc-game .custom-box ul.mc-step-list li,
.mc-game .challenge-box ul.mc-step-list li,
.mc-game .mc-flow-list.mc-step-list li {
    counter-increment: mcStep;
    position: relative;
    align-items: center;
    min-height: 58px;
    padding: 13px 14px 13px 58px;
    border: 1.5px solid rgba(22, 33, 62, 0.14);
    background:
        linear-gradient(90deg, rgba(234, 247, 255, 0.98), rgba(255, 255, 255, 0.98));
    box-shadow: 0 7px 18px rgba(22, 33, 62, 0.07);
}

.mc-game .custom-box ul.mc-step-list li + li,
.mc-game .challenge-box ul.mc-step-list li + li,
.mc-game .mc-flow-list.mc-step-list li + li {
    margin-top: 10px;
}

.mc-game .custom-box ul.mc-step-list li::before,
.mc-game .challenge-box ul.mc-step-list li::before,
.mc-game .mc-flow-list.mc-step-list li::before {
    content: counter(mcStep);
    position: absolute;
    left: 14px;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin: 0;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--mc-accent), var(--mc-hot));
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(0, 123, 255, 0.22);
    transform: translateY(-50%);
}

.mc-game .custom-box ul.mc-step-list li::after,
.mc-game .challenge-box ul.mc-step-list li::after,
.mc-game .mc-flow-list.mc-step-list li::after {
    content: "";
    position: absolute;
    left: 29px;
    top: calc(50% + 20px);
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, rgba(0, 123, 255, 0.32), rgba(255, 79, 134, 0.18));
}

.mc-game .custom-box ul.mc-step-list li:last-child::after,
.mc-game .challenge-box ul.mc-step-list li:last-child::after,
.mc-game .mc-flow-list.mc-step-list li:last-child::after {
    display: none;
}

.mc-game .custom-box ul.mc-step-list li i,
.mc-game .challenge-box ul.mc-step-list li i {
    display: none;
}

.mc-quiz-layout {
    align-items: stretch;
}

.mc-game .quiz-wrapper {
    max-width: 760px;
    padding: 26px;
    border-color: rgba(15, 161, 168, 0.32);
}

.mc-game .question-wrapper {
    position: relative;
    margin-top: 18px;
    padding: 16px;
    border: 1.5px solid rgba(15, 161, 168, 0.24);
    border-radius: var(--mc-radius);
    background:
        linear-gradient(180deg, rgba(241, 255, 255, 0.94), rgba(255, 255, 255, 0.98));
    box-shadow: 0 10px 24px rgba(22, 33, 62, 0.08) inset;
}

.mc-game .question-text {
    margin: 0 auto 20px;
    padding: 16px 18px;
    border: 1.5px solid rgba(0, 123, 255, 0.18);
    border-radius: var(--mc-radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 248, 255, 0.98));
    box-shadow: 0 10px 22px rgba(22, 33, 62, 0.08);
}

.mc-game .custom-card.mc-answer-card {
    position: relative;
    border: 2px solid rgba(22, 33, 62, 0.15);
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(0, 123, 255, 0.48), rgba(255, 79, 134, 0.36)) border-box;
    box-shadow: 0 12px 24px rgba(22, 33, 62, 0.1);
}

.mc-game .question .qns:nth-child(2n) .custom-card.mc-answer-card {
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(15, 161, 168, 0.52), rgba(255, 201, 74, 0.46)) border-box;
}

.mc-game .question .qns:nth-child(3n) .custom-card.mc-answer-card {
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(255, 79, 134, 0.5), rgba(255, 118, 87, 0.44)) border-box;
}

.mc-game .custom-card.mc-answer-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, var(--mc-accent), var(--mc-accent-2));
}

.mc-game .question .qns:nth-child(2n) .custom-card.mc-answer-card::before {
    background: linear-gradient(180deg, var(--mc-quiz-bg), var(--mc-sun));
}

.mc-game .question .qns:nth-child(3n) .custom-card.mc-answer-card::before {
    background: linear-gradient(180deg, var(--mc-hot), var(--mc-coral));
}

.mc-game .qns:hover .custom-card.mc-answer-card,
.mc-game .custom-card.mc-answer-card.active {
    transform: translateY(-3px);
    border-color: rgba(0, 123, 255, 0.5);
    box-shadow:
        0 16px 32px rgba(22, 33, 62, 0.14),
        0 0 0 5px rgba(0, 123, 255, 0.1);
}

.mc-game .custom-card.mc-answer-card.active:not(.right):not(.wrong) {
    background:
        linear-gradient(135deg, #f0f9ff, #fff8fb) padding-box,
        linear-gradient(135deg, var(--mc-accent), var(--mc-hot)) border-box;
}

.mc-game .custom-card.mc-answer-card.right,
.mc-game .custom-card.right {
    border-color: rgba(21, 151, 92, 0.9);
    background:
        linear-gradient(135deg, #e9fff4, #ffffff) padding-box,
        linear-gradient(135deg, #14a85f, #56d98f) border-box;
    box-shadow:
        0 18px 34px rgba(21, 151, 92, 0.2),
        0 0 0 5px rgba(34, 182, 111, 0.14);
    opacity: 1;
}

.mc-game .custom-card.mc-answer-card.wrong,
.mc-game .custom-card.wrong {
    border-color: rgba(224, 47, 78, 0.9);
    background:
        linear-gradient(135deg, #fff0f3, #ffffff) padding-box,
        linear-gradient(135deg, #e02f4e, #ff7657) border-box;
    box-shadow:
        0 18px 34px rgba(224, 47, 78, 0.18),
        0 0 0 5px rgba(255, 79, 134, 0.13);
    opacity: 1;
}

.mc-game .custom-card.mc-answer-card.right::before,
.mc-game .custom-card.right::before {
    background: linear-gradient(180deg, #10a866, #53d88f);
}

.mc-game .custom-card.mc-answer-card.wrong::before,
.mc-game .custom-card.wrong::before {
    background: linear-gradient(180deg, #e02f4e, #ff7657);
}

.mc-game .custom-card.mc-answer-card.right::after,
.mc-game .custom-card.mc-answer-card.wrong::after,
.mc-game .custom-card.right::after,
.mc-game .custom-card.wrong::after {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(22, 33, 62, 0.18);
}

.mc-game .custom-card.mc-answer-card.right::after,
.mc-game .custom-card.right::after {
    content: "\2713";
    background: #13a261;
}

.mc-game .custom-card.mc-answer-card.wrong::after,
.mc-game .custom-card.wrong::after {
    content: "\00d7";
    background: #e02f4e;
}

.mc-game .custom-card.mc-answer-card.right .q-img,
.mc-game .custom-card.right .q-img {
    background: linear-gradient(145deg, #dfffee, #ffffff);
}

.mc-game .custom-card.mc-answer-card.wrong .q-img,
.mc-game .custom-card.wrong .q-img {
    background: linear-gradient(145deg, #ffe7ed, #ffffff);
}

.mc-game .custom-card.mc-answer-card.right .question-option,
.mc-game .custom-card.right .question-option {
    color: #09633b;
}

.mc-game .custom-card.mc-answer-card.wrong .question-option,
.mc-game .custom-card.wrong .question-option {
    color: #9f1732;
}

.mc-game .qns:hover .custom-card.mc-answer-card.right,
.mc-game .custom-card.mc-answer-card.right.active,
.mc-game .custom-card.right.active {
    border-color: rgba(21, 151, 92, 0.9);
    box-shadow:
        0 18px 34px rgba(21, 151, 92, 0.2),
        0 0 0 5px rgba(34, 182, 111, 0.14);
}

.mc-game .qns:hover .custom-card.mc-answer-card.wrong,
.mc-game .custom-card.mc-answer-card.wrong.active,
.mc-game .custom-card.wrong.active {
    border-color: rgba(224, 47, 78, 0.9);
    box-shadow:
        0 18px 34px rgba(224, 47, 78, 0.18),
        0 0 0 5px rgba(255, 79, 134, 0.13);
}

.mc-game .custom-card .right,
.mc-game .right,
.mc-game .custom-card .wrong,
.mc-game .wrong {
    opacity: 1;
}

.mc-game .mc-side-dark {
    border-color: rgba(255, 255, 255, 0.26);
    background:
        linear-gradient(145deg, #16213e 0%, #173d64 58%, #0f929b 100%);
    color: #ffffff;
}

.mc-game .mc-side-dark h2,
.mc-game .mc-side-dark p,
.mc-game .mc-side-dark small {
    color: #ffffff;
}

.mc-game .mc-side-dark p {
    opacity: 0.86;
}

.mc-game .mc-side-dark small,
.mc-game .mc-side-dark .mc-mini-label {
    background: rgba(255, 255, 255, 0.16);
}

.mc-promo-section {
    padding-top: 0;
}

.mc-promo-zone {
    width: 100%;
}

.mc-game .promo-block {
    width: 100%;
    max-width: 760px;
    margin: 22px auto;
    padding: 18px;
    border: 1.5px solid rgba(22, 33, 62, 0.16);
    border-radius: var(--mc-radius);
    background:
        linear-gradient(180deg, #ffffff, #f6fbff);
    box-shadow: 0 14px 30px rgba(22, 33, 62, 0.12);
}

.mc-game .mc-promo-zone-compact .promo-block {
    max-width: 100%;
    margin: 16px 0;
    padding: 14px;
}

.mc-game .promo-block-heading {
    margin: 0 0 14px;
    color: var(--mc-ink);
    font-size: 1rem;
    font-weight: 900;
}

.mc-game .promo-sep {
    width: min(520px, 80%);
    height: 1px;
    margin: 20px auto;
    border: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.36), rgba(255, 79, 134, 0.34), transparent);
}

.mc-game .promo-external-block {
    padding: 0;
}

.mc-game .promo-external-card {
    max-width: 100%;
    border: 1px solid rgba(22, 33, 62, 0.12);
    box-shadow: 0 12px 28px rgba(22, 33, 62, 0.13);
}

.mc-game .promo-games-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
    gap: 12px;
    align-items: stretch;
}

.mc-game .promo-game-item {
    min-width: 0;
    max-width: none;
}

.mc-game .promo-game-item .box {
    height: 100%;
    margin: 0;
    padding: 12px;
    border: 1.5px solid rgba(22, 33, 62, 0.14);
    border-radius: var(--mc-radius);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(22, 33, 62, 0.08);
}

.mc-game .promo-game-item .box a {
    display: grid;
    gap: 9px;
    height: 100%;
    color: var(--mc-ink);
    text-decoration: none;
}

.mc-game .promo-game-item .box img {
    width: 100%;
    max-height: 126px;
    border: 1px solid rgba(22, 33, 62, 0.09);
    border-radius: 6px;
    background: #f4f9ff;
    object-fit: contain;
}

.mc-game .promo-game-item .box h3 {
    margin: 0;
    color: var(--mc-ink);
    font-size: 0.88rem;
    line-height: 1.3;
    font-weight: 900;
}

.mc-game .ad:not(:empty),
.mc-game .adbanner:not(:empty) {
    border: 1px solid rgba(22, 33, 62, 0.1);
    border-radius: var(--mc-radius);
    background: rgba(255, 255, 255, 0.52);
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
    .mc-landing-copy,
    .mc-create-card,
    .mc-quiz-layout,
    .mc-invite-grid,
    .mc-result-layout,
    .mc-share-layout,
    .mc-simple-card {
        animation: mcGameRise 0.42s ease both;
    }

    @keyframes mcGameRise {
        from { opacity: 0; transform: translateY(12px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* RTL */
[dir="rtl"] .mc-game .custom-box ul.list-group,
[dir="rtl"] .mc-game .challenge-box ul.list-group,
[dir="rtl"] .mc-game #point-table th,
[dir="rtl"] .mc-game #point-table td,
[dir="rtl"] .mc-game .custom-card .custom-card-body,
[dir="rtl"] .mc-game .who-know h2,
[dir="rtl"] .mc-quiz-top h1,
[dir="rtl"] .mc-quiz-top h2 {
    text-align: right;
}

/* Responsive */
@media (max-width: 980px) {
    .mc-game .mc-wrap,
    .mc-game .container,
    .mc-game .container-fluid {
        width: min(1120px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
    }

    .mc-landing-grid,
    .mc-quiz-layout,
    .mc-invite-grid,
    .mc-result-layout,
    .mc-share-layout {
        grid-template-columns: 1fr;
    }

    .mc-landing-grid > *,
    .mc-quiz-layout > *,
    .mc-invite-grid > *,
    .mc-result-layout > *,
    .mc-share-layout > * {
        min-width: 0;
        max-width: 100%;
    }

    .mc-game .quiz-div,
    .mc-quiz-side {
        width: 100%;
        max-width: 100%;
    }

    .mc-quiz-side {
        order: 2;
    }

    .mc-quiz-layout .quiz-div {
        order: 1;
    }

    .mc-landing-grid .mc-create-card,
    .mc-invite-grid .challenge-box {
        order: -1;
    }

    .mc-landing-copy h1 {
        font-size: 2.55rem;
    }

    .mc-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .mc-game .quiz-wrapper {
        max-width: 100%;
        padding: 16px;
    }

    .mc-quiz-top {
        display: grid;
        justify-items: start;
    }

    .mc-game .question-wrapper {
        margin-top: 12px;
        padding: 12px;
    }

    .mc-game .countdown ul {
        display: flex;
        gap: 5px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding-bottom: 3px;
        -webkit-overflow-scrolling: touch;
    }

    .mc-game .countdown ul li {
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
        aspect-ratio: auto;
        font-size: 0.7rem;
    }

    .mc-game .skipBtnWrapper {
        text-align: start;
    }

    .mc-game .skipBtnWrapper .custBtn {
        width: auto;
        min-height: 38px;
        padding: 9px 14px;
        font-size: 0.82rem;
    }

    .mc-game .question-text {
        font-size: 1.15rem;
    }

    .mc-game .question .qns {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .mc-game .custom-card {
        grid-template-columns: 82px minmax(0, 1fr);
        min-height: 96px;
    }

    .mc-game .custom-card .q-img {
        width: 82px;
        padding: 10px;
    }

    .mc-game .custom-card .question-option {
        font-size: 0.9rem;
    }
}

@media (max-width: 680px) {
    .mc-game .mc-wrap,
    .mc-game .container,
    .mc-game .container-fluid {
        width: min(100% - 24px, 1120px);
    }

    .mc-game-landing {
        padding: 18px 0 24px;
    }

    .mc-landing-grid {
        gap: 16px;
    }

    .mc-landing-grid .mc-create-card,
    .mc-invite-grid .challenge-box {
        display: flex;
        flex-direction: column;
    }

    .mc-landing-grid .mc-create-card .logo,
    .mc-invite-grid .challenge-box .logo {
        order: 0;
        width: 64px;
        height: 64px;
        margin-bottom: 6px;
    }

    .mc-landing-grid .mc-create-card .logo-name,
    .mc-invite-grid .challenge-box .logo-name {
        order: 1;
        margin-bottom: 10px;
        font-size: 1.16rem;
    }

    .mc-landing-grid .mc-create-card > h2,
    .mc-invite-grid .challenge-box > h2 {
        order: 2;
        margin-top: 14px;
        font-size: 0.96rem;
    }

    .mc-landing-grid .mc-create-card .mc-home-steps,
    .mc-invite-grid .challenge-box .mc-step-list {
        order: 3;
        margin-bottom: 14px !important;
    }

    .mc-landing-grid .mc-create-card .mc-form-panel,
    .mc-invite-grid .challenge-box .mc-form-panel {
        order: 4;
        margin-top: 0;
        padding: 12px;
    }

    .mc-game .custom-box ul.mc-step-list li,
    .mc-game .challenge-box ul.mc-step-list li,
    .mc-game .mc-flow-list.mc-step-list li {
        min-height: 46px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .mc-landing-copy h1,
    .mc-game-hero h1 {
        font-size: 2.05rem;
        line-height: 1.12;
    }

    .mc-landing-copy p,
    .mc-game-hero p {
        font-size: 0.98rem;
    }

    .mc-mini-stats,
    .mc-trust-strip {
        display: none;
    }

    .mc-game .custom-box,
    .mc-game .challenge-box,
    .mc-game .result,
    .mc-game .share-response,
    .mc-game .quiz-wrapper,
    .mc-result-card,
    .mc-simple-card {
        padding: 18px;
    }

    .mc-quiz-top {
        display: grid;
        justify-items: start;
    }

    .mc-quiz-stage,
    .mc-result-stage,
    .mc-simple-stage,
    .mc-invite-grid {
        padding-top: 16px;
    }

    .mc-game .quiz-wrapper {
        padding: 16px;
    }

    .mc-game .question-wrapper {
        margin-top: 12px;
        padding: 12px;
    }

    .mc-game .countdown ul {
        display: flex;
        gap: 5px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding-bottom: 3px;
        -webkit-overflow-scrolling: touch;
    }

    .mc-game .countdown ul li {
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
        aspect-ratio: auto;
        font-size: 0.7rem;
    }

    .mc-game .skipBtnWrapper {
        text-align: start;
    }

    .mc-game .skipBtnWrapper .custBtn {
        width: auto;
        min-height: 38px;
        padding: 8px 13px;
        font-size: 0.82rem;
    }

    .mc-challenge-prompt {
        margin: 10px 0 12px;
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .mc-game .question-text {
        font-size: 1.15rem;
    }

    .mc-game .question .qns {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .mc-game .custom-card {
        grid-template-columns: 82px minmax(0, 1fr);
        min-height: 96px;
    }

    .mc-game .custom-card .q-img {
        width: 82px;
        padding: 10px;
    }

    .mc-game .custom-card .q-img img {
        width: 60px;
        height: 60px;
    }

    body.mc-game .ds-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mc-game .promo-block {
        padding: 14px;
    }

    .mc-game .promo-games-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mc-game .promo-game-item .box {
        padding: 10px;
    }

    .mc-game .promo-game-item .box a {
        grid-template-columns: 74px minmax(0, 1fr);
        align-items: center;
        text-align: start;
    }

    .mc-game .promo-game-item .box img {
        width: 74px;
        height: 74px;
        max-height: 74px;
        object-fit: contain;
    }

    .mc-game .promo-game-item .box h3 {
        font-size: 0.86rem;
        text-align: start;
    }

    .mc-share-support {
        display: none;
    }

    .mc-game .custBtn,
    .mc-game button.custBtn,
    .mc-game .btn.btn-success,
    .mc-game .btn.btn-warning,
    .mc-game .btn.btn-lg {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .mc-landing-copy h1,
    .mc-game-hero h1 {
        font-size: 1.82rem;
    }

    .mc-mini-stats div {
        min-height: 72px;
        padding: 13px;
    }

    .mc-game .logo {
        width: 78px;
        height: 78px;
    }

    .mc-game .logo-name {
        font-size: 1.32rem;
    }

    body.mc-game .ds-grid {
        gap: 8px;
    }
}
