/* ============================================================
   MTTHAI Happy เซียมซี
   3 Job Themes: MT (red/maroon), Sales (blue), Specialist (green)
   ============================================================ */

/* ── Box sizing reset ── */
.mtthai-siamsee-v2,
.mtthai-siamsee-v2 * { box-sizing: border-box; }

/* ── Root variables (base = MTTHAI red theme) ── */
.mtthai-siamsee-v2 {
    --mtlsv2-font: "Mali", "Noto Sans Thai", "Tahoma", sans-serif;

    /* Base colours (overridden per theme) */
    --theme-primary:    #8B1A1A;
    --theme-dark:       #6B0F0F;
    --theme-light:      #FDF3E3;
    --theme-border:     #E8D5C0;
    --theme-accent:     #C0392B;
    --theme-ring-bg:    #f1d5d1;
    --theme-bar-grad:   linear-gradient(90deg, #e24a2a, #8B1A1A);
    --theme-cup-grad:   linear-gradient(135deg, #ee6a2c, #8B1A1A);
    --theme-card-grad:  linear-gradient(135deg, #fff7df, #ffe9d9);
    --theme-badge-bg:   #8B1A1A;
    --theme-chip-bg:    #fff1ed;
    --theme-chip-color: #8B1A1A;

    /* Neutral */
    --mtlsv2-cream:  #FAF6F0;
    --mtlsv2-text:   #2C1A1A;
    --mtlsv2-muted:  #8B7355;
    --mtlsv2-card:   #FFFFFF;
    --mtlsv2-shadow: 0 22px 44px rgba(127,9,12,.12);

    font-family: var(--mtlsv2-font);
    color: var(--mtlsv2-text);
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    padding: 0 16px 48px;
    line-height: 1.55;
    isolation: isolate;
    background: transparent;
}

/* ── Theme overrides by job type ── */
.mtthai-siamsee-v2[data-active-type="mt"] {
    --theme-primary:    #8B1A1A;
    --theme-dark:       #6B0F0F;
    --theme-light:      #FDF3E3;
    --theme-border:     #E8D5C0;
    --theme-accent:     #C0392B;
    --theme-ring-bg:    #f1d5d1;
    --theme-bar-grad:   linear-gradient(90deg, #e24a2a, #8B1A1A);
    --theme-cup-grad:   linear-gradient(135deg, #ee6a2c, #8B1A1A);
    --theme-card-grad:  linear-gradient(135deg, #fff7df, #ffe9d9);
    --theme-badge-bg:   #8B1A1A;
    --theme-chip-bg:    #fff1ed;
    --theme-chip-color: #8B1A1A;
    --mtlsv2-shadow:    0 22px 44px rgba(127,9,12,.14);
}
.mtthai-siamsee-v2[data-active-type="sales"] {
    --theme-primary:    #1A5C8B;
    --theme-dark:       #0F3D6B;
    --theme-light:      #EBF4FD;
    --theme-border:     #BDD8F0;
    --theme-accent:     #2980B9;
    --theme-ring-bg:    #c3def5;
    --theme-bar-grad:   linear-gradient(90deg, #3498db, #1A5C8B);
    --theme-cup-grad:   linear-gradient(135deg, #3498db, #1A5C8B);
    --theme-card-grad:  linear-gradient(135deg, #ebf7ff, #d6eeff);
    --theme-badge-bg:   #1A5C8B;
    --theme-chip-bg:    #e8f4fd;
    --theme-chip-color: #1A5C8B;
    --mtlsv2-shadow:    0 22px 44px rgba(26,92,139,.14);
}
.mtthai-siamsee-v2[data-active-type="specialist"] {
    --theme-primary:    #1A6B3C;
    --theme-dark:       #0F4D2A;
    --theme-light:      #E8F8EF;
    --theme-border:     #B8DFC9;
    --theme-accent:     #27AE60;
    --theme-ring-bg:    #b9dfc9;
    --theme-bar-grad:   linear-gradient(90deg, #2ecc71, #1A6B3C);
    --theme-cup-grad:   linear-gradient(135deg, #2ecc71, #1A6B3C);
    --theme-card-grad:  linear-gradient(135deg, #edfff4, #d2f5e3);
    --theme-badge-bg:   #1A6B3C;
    --theme-chip-bg:    #e3f9ed;
    --theme-chip-color: #1A6B3C;
    --mtlsv2-shadow:    0 22px 44px rgba(26,107,60,.14);
}

.mtthai-siamsee-v2 :where(h1,h2,h3,p,blockquote,ul) { overflow-wrap: break-word; }
.mtthai-siamsee-v2 button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.mtthai-siamsee-v2 button,
.mtthai-siamsee-v2 input,
.mtthai-siamsee-v2 select { font-family: inherit; }

/* ════════════════════════════════════════════════════════════
   STEP 1 — JOB SELECTOR
════════════════════════════════════════════════════════════ */
.mtlsv2-selector {
    max-width: 720px;
    margin: 0 auto;
    padding: 12px 0;
}

.mtlsv2-selector-inner {
    background: var(--mtlsv2-card);
    border: 1px solid #E8D5C0;
    border-radius: 28px;
    padding: clamp(28px, 5vw, 48px);
    box-shadow: 0 16px 40px rgba(139,26,26,.10);
    position: relative;
    overflow: hidden;
}

/* Decorative bg pattern */
.mtlsv2-selector-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(#F0DCCB 1px, transparent 1px),
        linear-gradient(90deg, #F0DCCB 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: .35;
    pointer-events: none;
}

.mtlsv2-selector-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 32px;
}

.mtlsv2-logo-badge {
    display: inline-block;
    background: #8B1A1A;
    color: #fff;
    font-weight: 900;
    font-size: 13px;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: .05em;
}

.mtlsv2-selector-title {
    margin: 0 0 8px;
    font-size: clamp(36px, 7vw, 58px);
    font-weight: 900;
    color: #8B1A1A;
    line-height: 1.05;
    letter-spacing: -.03em;
}

.mtlsv2-selector-sub {
    margin: 0;
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--mtlsv2-muted);
    font-weight: 600;
}

/* Job cards */
.mtlsv2-job-cards {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mtlsv2-job-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border-radius: 18px;
    border: 2px solid transparent;
    background: var(--mtlsv2-cream);
    cursor: pointer;
    text-align: left;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
    position: relative;
    overflow: hidden;
}

.mtlsv2-job-card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .3s;
}

.mtlsv2-job-mt    { --card-primary: #8B1A1A; --card-light: #FDF3E3; }
.mtlsv2-job-sales { --card-primary: #1A5C8B; --card-light: #EBF4FD; }
.mtlsv2-job-specialist { --card-primary: #1A6B3C; --card-light: #E8F8EF; }

.mtlsv2-job-card:hover {
    border-color: var(--card-primary);
    background: var(--card-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.mtlsv2-job-card:active { transform: translateY(0); }

.mtlsv2-job-icon-wrap {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 18px;
    background: var(--card-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0,0,0,.15);
    transition: transform .2s;
}
.mtlsv2-job-card:hover .mtlsv2-job-icon-wrap { transform: scale(1.08) rotate(-3deg); }

.mtlsv2-job-icon { font-size: 28px; line-height: 1; }

.mtlsv2-job-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mtlsv2-job-info strong {
    font-size: clamp(17px, 2.5vw, 20px);
    font-weight: 900;
    color: var(--card-primary);
    line-height: 1.2;
}
.mtlsv2-job-info span {
    font-size: 14px;
    color: var(--mtlsv2-muted);
    font-weight: 600;
}

.mtlsv2-job-arrow {
    font-size: 22px;
    color: var(--card-primary);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .2s, transform .2s;
    font-weight: 900;
}
.mtlsv2-job-card:hover .mtlsv2-job-arrow { opacity: 1; transform: translateX(0); }

.mtlsv2-selector-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 28px 0 0;
    color: var(--mtlsv2-muted);
    font-size: 14px;
    font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   STEP 2 — GAME PANEL
════════════════════════════════════════════════════════════ */
.mtlsv2-game {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}


/* ── Live Users Counter ── */
.mtlsv2-live-users {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px auto 0;
    padding: 9px 14px;
    border: 1px solid rgba(139,26,26,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: var(--mtlsv2-text);
    box-shadow: 0 10px 24px rgba(139,26,26,.10);
    font-weight: 800;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mtlsv2-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #20c66a;
    box-shadow: 0 0 0 0 rgba(32,198,106,.45);
    animation: mtlsv2-liveblink 1.35s infinite;
}
.mtlsv2-live-label,
.mtlsv2-live-unit { font-size: 13px; color: var(--mtlsv2-muted); }
.mtlsv2-live-count {
    min-width: 24px;
    font-size: 18px;
    line-height: 1;
    color: var(--theme-primary);
    font-weight: 900;
}
.mtlsv2-live-users-mini {
    margin: 0;
    padding: 7px 11px;
    white-space: nowrap;
    background: var(--theme-light);
    border-color: var(--theme-border);
    box-shadow: none;
}
.mtlsv2-live-users-mini .mtlsv2-live-label,
.mtlsv2-live-users-mini .mtlsv2-live-unit { font-size: 12px; }
.mtlsv2-live-users-mini .mtlsv2-live-count { font-size: 15px; }
.mtlsv2-live-pulse { transform: scale(1.035); box-shadow: 0 12px 28px rgba(139,26,26,.16); }
@keyframes mtlsv2-liveblink {
    0% { box-shadow: 0 0 0 0 rgba(32,198,106,.45); }
    70% { box-shadow: 0 0 0 8px rgba(32,198,106,0); }
    100% { box-shadow: 0 0 0 0 rgba(32,198,106,0); }
}

/* ── Game Header ── */
.mtlsv2-game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    background: var(--mtlsv2-card);
    border: 1px solid var(--theme-border);
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

.mtlsv2-back-btn {
    background: var(--theme-light);
    border: 1.5px solid var(--theme-border);
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--theme-primary);
    cursor: pointer;
    transition: background .15s, transform .15s;
    white-space: nowrap;
}
.mtlsv2-back-btn:hover { background: var(--theme-border); transform: translateX(-2px); }

.mtlsv2-game-type-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--theme-primary);
}
.mtlsv2-type-icon { font-size: 24px; }

.mtlsv2-sound-btn {
    background: var(--theme-light);
    border: 1.5px solid var(--theme-border);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    transition: background .15s, transform .15s;
}
.mtlsv2-sound-btn:hover { background: var(--theme-border); transform: scale(1.1); }
.mtlsv2-sound-btn.muted { opacity: .55; }

/* ── Game Body (3-col grid) ── */
.mtlsv2-game-body {
    display: grid;
    grid-template-columns: minmax(240px, .9fr) 1fr .8fr;
    gap: 24px;
    padding: clamp(20px, 4vw, 34px);
    background: var(--mtlsv2-card);
    border: 1px solid var(--theme-border);
    border-radius: 24px;
    box-shadow: var(--mtlsv2-shadow);
    align-items: start;
}

/* Visual column */
.mtlsv2-visual {
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mtlsv2-cup {
    position: relative;
    width: min(230px, 70vw);
    height: 160px;
    border-radius: 22px 22px 48px 48px;
    background: var(--theme-cup-grad);
    box-shadow: 0 18px 32px rgba(0,0,0,.22);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background .5s ease;
}
.mtlsv2-cup strong {
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 900;
    letter-spacing: -.03em;
}
.mtlsv2-cup small { font-size: 28px; line-height: 1; }

.mtlsv2-sticks {
    position: absolute;
    left: 36px; right: 36px;
    top: -80px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
}
.mtlsv2-sticks span {
    width: 36px; height: 116px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 18px;
    border: 2px solid #e9b39d;
    border-radius: 14px 14px 7px 7px;
    background: #fff3e2;
    box-shadow: 0 6px 12px rgba(0,0,0,.10);
    font-size: 16px;
    transform-origin: bottom center;
}
.mtlsv2-sticks span:nth-child(1) { transform: rotate(-13deg); }
.mtlsv2-sticks span:nth-child(2) { transform: rotate(-6deg); }
.mtlsv2-sticks span:nth-child(4) { transform: rotate(7deg); }
.mtlsv2-sticks span:nth-child(5) { transform: rotate(14deg); }

.mtlsv2-deco-left  { position: absolute; left:2%; bottom:12%; font-size:56px; opacity:.85; }
.mtlsv2-deco-right { position: absolute; right:4%; bottom:6%; display:flex; gap:5px; }
.mtlsv2-deco-right i {
    display: block; width: 18px; height: 76px;
    border: 2px solid #eab4a3;
    border-radius: 7px 7px 16px 16px;
    background: linear-gradient(to bottom, #fff 0 45%, rgba(238,106,44,.75) 45% 100%);
}

/* Controls column */
.mtlsv2-controls {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.mtlsv2-controls-title {
    margin: 0;
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 900;
    color: var(--theme-primary);
    line-height: 1.2;
}
.mtlsv2-controls-sub { margin: 4px 0 0; color: var(--mtlsv2-muted); font-weight: 600; }

.mtlsv2-draw-btn {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--theme-primary) 85%, white), var(--theme-dark));
    background: var(--theme-primary);
    color: #fff;
    font-size: clamp(18px, 2.2vw, 20px);
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0,0,0,.20);
    transition: transform .18s ease, opacity .18s ease, background .4s ease;
    letter-spacing: .01em;
}
.mtlsv2-draw-btn:hover  { transform: translateY(-2px); opacity: .92; }
.mtlsv2-draw-btn:active { transform: translateY(0); }
.mtlsv2-draw-btn:disabled { cursor: not-allowed; opacity: .7; transform: none; }

.mtlsv2-note {
    display: flex;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: var(--theme-light);
    border: 1px solid var(--theme-border);
    font-size: 14px;
    font-weight: 600;
    color: var(--mtlsv2-muted);
    transition: background .4s ease, border-color .4s ease;
}
.mtlsv2-note p { margin: 0; line-height: 1.5; }

/* Timer column */
.mtlsv2-timer-zone {
    text-align: center;
    padding: 0 16px;
    border-left: 1px solid var(--theme-border);
    transition: border-color .4s ease;
}

.mtlsv2-status {
    margin: 0 0 18px;
    font-size: clamp(18px, 2vw, 21px);
    font-weight: 900;
    color: var(--theme-primary);
    line-height: 1.3;
    transition: color .4s ease;
}

.mtlsv2-ring {
    --mtlsv2-progress: 0deg;
    width: clamp(130px, 16vw, 158px);
    height: clamp(130px, 16vw, 158px);
    margin: 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--theme-primary) var(--mtlsv2-progress), var(--theme-ring-bg) 0deg);
    transition: background .3s ease;
}
.mtlsv2-ring-inner {
    width: 76%; height: 76%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 5px 12px rgba(0,0,0,.05);
}
.mtlsv2-count {
    font-size: clamp(44px, 6vw, 52px);
    line-height: .9;
    color: var(--theme-primary);
    font-weight: 900;
    transition: color .4s ease;
}
.mtlsv2-count-label { color: #6a625d; font-weight: 700; font-size: 14px; }

.mtlsv2-bar-track {
    height: 10px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--theme-ring-bg);
    transition: background .4s ease;
}
.mtlsv2-bar-fill {
    display: block; width: 0%; height: 100%;
    border-radius: 999px;
    background: var(--theme-bar-grad);
    transition: width .3s ease, background .4s ease;
}
.mtlsv2-wait-text { margin: 10px 0 0; color: var(--mtlsv2-muted); font-weight: 700; font-size: 14px; }

/* ── Fortune Result ── */
.mtlsv2-result {
    padding: 0 clamp(4px, 2vw, 8px);
}
.mtlsv2-result-card {
    border-radius: 24px;
    padding: clamp(18px, 3vw, 24px);
    background: var(--theme-card-grad);
    box-shadow: 0 12px 24px rgba(0,0,0,.10);
    transition: background .5s ease, box-shadow .4s ease;
}
.mtlsv2-result-badge {
    display: inline-flex;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--theme-badge-bg);
    color: #fff;
    font-weight: 900;
    font-size: 13px;
    transition: background .4s ease;
}
.mtlsv2-fortune-text {
    margin: 14px 0 0;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--theme-border);
    border-radius: 18px;
    background: rgba(255,255,255,.78);
    padding: clamp(16px, 2.5vw, 22px);
    text-align: center;
    font-size: clamp(18px, 2.4vw, 24px);
    line-height: 1.6;
    font-weight: 900;
    color: var(--mtlsv2-text);
    transition: border-color .4s ease;
}
.mtlsv2-goodwish {
    margin-top: 12px;
    border-radius: 14px;
    background: var(--theme-light);
    padding: 12px;
    text-align: center;
    color: var(--theme-primary);
    font-weight: 800;
    font-size: 15px;
    line-height: 1.5;
    transition: background .4s ease, color .4s ease;
}

/* ── Chips ── */
.mtlsv2-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.mtlsv2-chips span {
    padding: 9px 18px;
    border-radius: 24px;
    background: var(--theme-chip-bg);
    color: var(--theme-chip-color);
    font-weight: 800;
    font-size: 14px;
    border: 1px solid var(--theme-border);
    transition: background .4s, color .4s, border-color .4s;
}

/* ── Chip visibility by type ── */
.mtlsv2-chip-mt, .mtlsv2-chip-sales, .mtlsv2-chip-specialist { display: none; }
[data-active-type="mt"]         .mtlsv2-chip-mt         { display: inline-flex; }
[data-active-type="sales"]      .mtlsv2-chip-sales      { display: inline-flex; }
[data-active-type="specialist"] .mtlsv2-chip-specialist { display: inline-flex; }

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════════════ */
.mtlsv2-is-shaking .mtlsv2-cup { animation: mtlsv2-shake .65s linear infinite; }
.mtlsv2-result-pop { animation: mtlsv2-pop .44s cubic-bezier(.34,1.56,.64,1); }
.mtlsv2-card-reveal { animation: mtlsv2-reveal .5s ease forwards; }
.mtlsv2-type-in { animation: mtlsv2-typein .04s steps(1) forwards; }

@keyframes mtlsv2-shake {
    0%,100% { transform: rotate(0deg) translateY(0); }
    20% { transform: rotate(-3deg) translateY(-3px); }
    40% { transform: rotate(3deg) translateY(2px); }
    60% { transform: rotate(-2deg) translateY(-2px); }
    80% { transform: rotate(2deg) translateY(1px); }
}
@keyframes mtlsv2-pop {
    0%   { opacity:0; transform: scale(.88) translateY(14px); }
    100% { opacity:1; transform: scale(1)   translateY(0); }
}
@keyframes mtlsv2-reveal {
    from { opacity:0; transform: translateY(10px); }
    to   { opacity:1; transform: translateY(0); }
}
/* Typewriter char reveal */
@keyframes mtlsv2-char {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Selector entrance */
.mtlsv2-selector-inner { animation: mtlsv2-reveal .45s ease; }
.mtlsv2-job-card { animation: mtlsv2-reveal .45s ease both; }
.mtlsv2-job-card:nth-child(1) { animation-delay: .05s; }
.mtlsv2-job-card:nth-child(2) { animation-delay: .12s; }
.mtlsv2-job-card:nth-child(3) { animation-delay: .19s; }

/* Game entrance */
.mtlsv2-game-header  { animation: mtlsv2-reveal .35s ease; }
.mtlsv2-game-body    { animation: mtlsv2-reveal .4s .05s ease both; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .mtlsv2-game-body {
        grid-template-columns: 1fr;
    }
    .mtlsv2-visual {
        min-height: 200px;
        order: -1;
    }
    .mtlsv2-timer-zone {
        border-left: 0;
        border-top: 1px solid var(--theme-border);
        padding: 22px 0 0;
    }
}

@media (max-width: 600px) {
    .mtthai-siamsee-v2 { padding: 0 10px 32px; }
    .mtlsv2-selector-inner { padding: 24px 18px; border-radius: 22px; }
    .mtlsv2-selector-title { font-size: 36px; }
    .mtlsv2-live-users { flex-wrap: wrap; border-radius: 18px; }
    .mtlsv2-job-card { padding: 16px 18px; gap: 14px; }
    .mtlsv2-job-icon-wrap { width: 52px; height: 52px; flex-basis: 52px; border-radius: 14px; }
    .mtlsv2-job-icon { font-size: 22px; }
    .mtlsv2-job-info strong { font-size: 16px; }
    .mtlsv2-game-body { padding: 18px; border-radius: 20px; }
    .mtlsv2-cup { width: min(200px, 74vw); height: 140px; }
    .mtlsv2-sticks { top: -68px; left: 28px; right: 28px; gap: 4px; }
    .mtlsv2-sticks span { width: 30px; height: 96px; font-size: 14px; }
    .mtlsv2-deco-left { font-size: 40px; }
    .mtlsv2-deco-right i { width: 14px; height: 60px; }
    .mtlsv2-ring { width: 140px; height: 140px; }
    .mtlsv2-count { font-size: 46px; }
    .mtlsv2-draw-btn { font-size: 18px; min-height: 54px; }
    .mtlsv2-game-header { padding: 12px 14px; flex-wrap: wrap; }
    .mtlsv2-live-users-mini { order: 3; width: 100%; }
    .mtlsv2-back-btn { padding: 7px 12px; font-size: 13px; }
    .mtlsv2-chips { gap: 8px; }
    .mtlsv2-chips span { padding: 8px 14px; font-size: 13px; }
    .mtlsv2-fortune-text { font-size: clamp(17px, 5.5vw, 22px); min-height: 90px; }
}

@media (max-width: 380px) {
    .mtlsv2-selector-inner { padding: 20px 14px; }
    .mtlsv2-selector-title { font-size: 30px; }
    .mtlsv2-game-body { padding: 14px; }
    .mtlsv2-cup { width: 180px; height: 126px; }
    .mtlsv2-sticks { left:24px; right:24px; top:-60px; }
    .mtlsv2-sticks span { width:26px; height:86px; }
    .mtlsv2-draw-btn { min-height:50px; font-size:16px; }
    .mtlsv2-fortune-text { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    .mtlsv2-is-shaking .mtlsv2-cup,
    .mtlsv2-result-pop,
    .mtlsv2-card-reveal,
    .mtlsv2-selector-inner,
    .mtlsv2-job-card,
    .mtlsv2-game-header,
    .mtlsv2-game-body { animation: none; }
    .mtlsv2-draw-btn,
    .mtlsv2-bar-fill { transition: none; }
}
