/* Unified journey product language. Gameplay board/HUD/pieces are intentionally untouched. */
:is(.journey-page,.journey-level-page,.m3j-page,.m3j-level){--jp-radius-xl:34px;--jp-radius-lg:24px;--jp-radius-md:16px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
:is(.journey-page,.journey-level-page,.m3j-page,.m3j-level) :is(.button,button){font-family:inherit}
:is(.journey-page,.journey-level-page,.m3j-page,.m3j-level) .button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border:1px solid rgba(255,255,255,.32);border-radius:15px;color:#fff;font-weight:850;line-height:1.15;text-align:center;box-shadow:inset 0 2px rgba(255,255,255,.28),inset 0 -5px rgba(3,7,18,.27),0 5px 0 rgba(3,6,20,.62),0 12px 24px rgba(0,0,0,.31);transition:transform .16s ease,filter .16s ease,box-shadow .16s ease}
:is(.journey-page,.journey-level-page,.m3j-page,.m3j-level) .button:hover{transform:translateY(-2px);filter:brightness(1.1) saturate(1.08)}
:is(.journey-page,.journey-level-page,.m3j-page,.m3j-level) .button:active{transform:translateY(3px);box-shadow:inset 0 2px rgba(255,255,255,.2),inset 0 -3px rgba(3,7,18,.3),0 2px 0 rgba(3,6,20,.62),0 7px 15px rgba(0,0,0,.3)}

/* Blockfall — dark, dimensional, cyan/violet accents from the logo. */
.journey-page,.journey-level-page{--jp-a:#32d8ff;--jp-b:#7357ff;--jp-surface:#0c1532;--jp-surface-2:#111d42;color:#f7fbff}
.journey-page .journey-hero,.journey-level-page .journey-level-hero{position:relative;isolation:isolate;overflow:hidden;border:1px solid rgba(70,217,255,.43)!important;border-radius:var(--jp-radius-xl)!important;background:radial-gradient(circle at 82% 8%,rgba(48,210,255,.2),transparent 29rem),radial-gradient(circle at 12% 100%,rgba(116,77,255,.25),transparent 32rem),linear-gradient(145deg,#101d46,#070d23 64%,#101137)!important;box-shadow:inset 0 2px rgba(255,255,255,.12),inset 0 -9px rgba(2,6,23,.42),0 28px 72px rgba(0,0,0,.5),0 0 34px rgba(47,207,255,.11)!important}
.journey-page .journey-hero:after,.journey-level-page .journey-level-hero:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(rgba(83,208,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(125,91,255,.035) 1px,transparent 1px);background-size:31px 31px;mask-image:linear-gradient(135deg,#000,transparent 80%);pointer-events:none}
.journey-page .journey-brand-logo,.journey-level-page .journey-brand-logo{filter:drop-shadow(0 11px 20px rgba(0,0,0,.68)) drop-shadow(0 0 14px rgba(42,211,255,.18))}
.journey-level-page .journey-brand-logo{width:min(250px,62%);max-height:82px;margin:12px 0 14px;object-fit:contain;object-position:left center}
.journey-page .journey-hero-copy h1,.journey-level-page h1{color:#f5faff;text-shadow:0 4px 24px rgba(3,7,18,.8)}
.journey-page .journey-hero-copy h1 span{background:linear-gradient(90deg,#8eefff,#a1b7ff,#b79aff);background-clip:text;-webkit-background-clip:text;color:transparent!important;text-shadow:none}
.journey-page .journey-play-cta,.journey-level-page .journey-play-cta{background:linear-gradient(135deg,#087ea8,#4054d8 58%,#7038c7)!important}
.journey-page .button.secondary,.journey-level-page .button.secondary{background:linear-gradient(145deg,#1c2c55,#10172f)!important}
.journey-page :is(.journey-summary,.journey-standing,.journey-resume,.powerup-store,.tetris-daily,.weekly-mission-track,.journey-leaderboard-compact),.journey-level-page :is(.panel,.journey-level-stars){border:1px solid rgba(92,171,255,.24)!important;border-radius:var(--jp-radius-lg)!important;background:linear-gradient(150deg,rgba(18,30,68,.95),rgba(7,13,31,.96))!important;box-shadow:inset 0 2px rgba(255,255,255,.08),inset 0 -6px rgba(2,6,23,.3),0 16px 38px rgba(0,0,0,.32)!important}
.journey-page .journey-summary-ring{border-radius:50%;background:radial-gradient(circle,rgba(42,203,255,.13),rgba(11,17,45,.12) 68%);filter:drop-shadow(0 0 22px rgba(50,216,255,.12))}
.journey-page .journey-stat{border:1px solid rgba(255,255,255,.08);border-radius:13px;background:rgba(255,255,255,.035)}
.journey-page .journey-world{position:relative;isolation:isolate;overflow:hidden;margin-block:28px;border:1px solid color-mix(in srgb,var(--journey-accent,#53d7ff) 34%,transparent)!important;border-radius:var(--jp-radius-xl)!important;box-shadow:inset 0 2px rgba(255,255,255,.09),inset 0 -8px rgba(2,6,23,.32),0 24px 58px rgba(0,0,0,.38)!important}
.journey-page .journey-world>header{position:relative;padding:30px clamp(22px,5vw,58px) 24px!important;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(110deg,rgba(7,13,32,.22),rgba(255,255,255,.035),rgba(7,13,32,.2))}
.journey-page .journey-world>header h2{margin:5px 0 8px;font-size:clamp(29px,5vw,51px);letter-spacing:-.035em;text-shadow:0 3px 18px rgba(0,0,0,.55)}
.journey-page .journey-node>a,.journey-page .node-locked{border-width:3px!important;box-shadow:inset 0 3px rgba(255,255,255,.3),inset 0 -7px rgba(2,6,23,.3),0 7px 0 rgba(3,7,24,.62),0 15px 25px rgba(0,0,0,.34),0 0 22px color-mix(in srgb,var(--journey-accent,#53d7ff) 23%,transparent)!important}
.journey-page .node-copy{padding:10px 13px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(5,10,27,.58);box-shadow:inset 0 1px rgba(255,255,255,.06)}

/* Colorfall — glossy candy palette from the logo. */
.m3j-page,.m3j-level{--jp-a:#ff3f9d;--jp-b:#8d46f1;--jp-c:#19d8ee;color:#fff8fd}
.m3j-page .m3j-hero,.m3j-level .m3j-level-hero{position:relative;isolation:isolate;overflow:hidden;border:1px solid rgba(255,113,197,.55)!important;border-radius:var(--jp-radius-xl)!important;background:radial-gradient(circle at 10% 4%,rgba(255,48,150,.36),transparent 30rem),radial-gradient(circle at 92% 12%,rgba(16,211,238,.31),transparent 28rem),linear-gradient(140deg,#431253,#1a1747 55%,#07384a)!important;box-shadow:inset 0 2px rgba(255,255,255,.21),inset 0 -9px rgba(23,4,38,.35),0 28px 72px rgba(0,0,0,.48),0 0 38px rgba(247,50,166,.14)!important}
.m3j-page .m3j-hero:after,.m3j-level .m3j-level-hero:after{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 15% 22%,rgba(255,255,255,.2) 0 2px,transparent 3px),radial-gradient(circle at 74% 32%,rgba(255,255,255,.13) 0 2px,transparent 3px);background-size:67px 67px,83px 83px;mask-image:linear-gradient(135deg,#000,transparent 86%);pointer-events:none}
.m3j-page .journey-brand-logo,.m3j-level .journey-brand-logo{filter:drop-shadow(0 11px 21px rgba(0,0,0,.6)) drop-shadow(0 0 15px rgba(255,58,160,.2))}
.m3j-level .journey-brand-logo{width:min(260px,64%);max-height:86px;margin:12px 0 14px;object-fit:contain;object-position:left center}
.m3j-page .m3j-hero h1,.m3j-level .m3j-level-hero h1{background:linear-gradient(90deg,#fff,#ffd1ea 37%,#bff8ff);background-clip:text;-webkit-background-clip:text;color:transparent!important;text-shadow:none}
.m3j-page .match3-cta,.m3j-level .match3-cta{background:linear-gradient(135deg,#ee166f,#bd2bc4 53%,#5c49e8)!important}
.m3j-page .button.secondary,.m3j-level .button.secondary{background:linear-gradient(145deg,#274a7a,#252052)!important}
.m3j-page :is(.m3j-summary,.m3j-summary-stats,.journey-resume,.powerup-store,.m3j-daily-tasks,.weekly-mission-track,.m3j-top),.m3j-level :is(.panel,.m3j-level-best){border:1px solid rgba(255,132,211,.26)!important;border-radius:var(--jp-radius-lg)!important;background:radial-gradient(circle at 100% 0,rgba(11,205,232,.1),transparent 35%),linear-gradient(150deg,rgba(49,17,70,.96),rgba(10,20,46,.96))!important;box-shadow:inset 0 2px rgba(255,255,255,.11),inset 0 -6px rgba(7,4,28,.31),0 16px 38px rgba(0,0,0,.31)!important}
.m3j-page .m3j-summary{box-shadow:inset 0 2px rgba(255,255,255,.16),inset 0 -7px rgba(23,4,38,.31),0 0 0 8px rgba(246,57,165,.08),0 18px 42px rgba(0,0,0,.36)!important}
.m3j-page .m3j-summary-stats>span{border:1px solid rgba(255,255,255,.11);border-radius:15px;background:linear-gradient(145deg,rgba(255,56,158,.13),rgba(30,195,228,.09));box-shadow:inset 0 1px rgba(255,255,255,.1)}
.m3j-page .m3j-chapter{position:relative;isolation:isolate;overflow:hidden;margin-block:28px;border:1px solid rgba(255,103,194,.34)!important;border-radius:var(--jp-radius-xl)!important;background:radial-gradient(circle at 85% 5%,rgba(19,211,235,.16),transparent 25rem),radial-gradient(circle at 10% 84%,rgba(242,47,159,.19),transparent 30rem),linear-gradient(150deg,#361144,#111938 70%,#073040)!important;box-shadow:inset 0 2px rgba(255,255,255,.11),inset 0 -8px rgba(8,4,27,.32),0 24px 58px rgba(0,0,0,.38)!important}
.m3j-page .m3j-chapter>header{position:relative;padding:30px clamp(22px,5vw,58px) 24px!important;border-bottom:1px solid rgba(255,255,255,.09);background:linear-gradient(110deg,rgba(255,44,148,.1),rgba(255,255,255,.035),rgba(11,195,224,.09))}
.m3j-page .m3j-chapter>header h2{margin:5px 0 8px;font-size:clamp(29px,5vw,51px);letter-spacing:-.035em;text-shadow:0 3px 18px rgba(0,0,0,.48)}
.m3j-page .m3j-node>a,.m3j-page .m3j-lock{border-width:3px!important;background:linear-gradient(145deg,#ff4a9f,#9e3be3 55%,#367be9)!important;box-shadow:inset 0 4px rgba(255,255,255,.34),inset 0 -8px rgba(63,8,80,.28),0 7px 0 rgba(29,7,55,.64),0 15px 25px rgba(0,0,0,.34),0 0 24px rgba(255,64,170,.24)!important}
.m3j-page .m3j-node-copy{padding:10px 13px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(20,9,40,.59);box-shadow:inset 0 1px rgba(255,255,255,.07)}
.m3j-page :is(.powerup-store,.m3j-daily-tasks,.weekly-mission-track,.m3j-top)>header{border-bottom:1px solid rgba(255,255,255,.09)}

/* Journey start/result modals only — no gameplay surface selectors. */
.game[data-game-mode="JOURNEY"]>.overlay .modal,.m3j-game>.match3-overlay .match3-modal{overflow:hidden;border:1px solid rgba(255,255,255,.23)!important;border-radius:28px!important;box-shadow:inset 0 2px rgba(255,255,255,.19),inset 0 -8px rgba(3,7,18,.34),0 30px 78px rgba(0,0,0,.68)!important}
.game[data-game-mode="JOURNEY"]>.overlay .modal{background:radial-gradient(circle at 82% 3%,rgba(44,210,255,.19),transparent 34%),linear-gradient(150deg,#14224d,#070d25 68%,#121039)!important}
.m3j-game>.match3-overlay .match3-modal{background:radial-gradient(circle at 10% 0,rgba(255,45,148,.3),transparent 35%),radial-gradient(circle at 92% 4%,rgba(15,208,235,.23),transparent 35%),linear-gradient(145deg,#431252,#171541 58%,#083346)!important}
:is(.game[data-game-mode="JOURNEY"]>.overlay .modal,.m3j-game>.match3-overlay .match3-modal) :is(.modal-actions,.match3-modal-actions){gap:10px!important}
:is(.game[data-game-mode="JOURNEY"]>.overlay .modal,.m3j-game>.match3-overlay .match3-modal) :is(.modal-actions,.match3-modal-actions)>.button{display:inline-flex!important;min-height:48px!important;align-items:center!important;justify-content:center!important;gap:8px!important;border:1px solid rgba(255,255,255,.31)!important;border-radius:15px!important;box-shadow:inset 0 2px rgba(255,255,255,.27),inset 0 -5px rgba(3,7,18,.27),0 5px 0 rgba(3,6,20,.62),0 12px 24px rgba(0,0,0,.31)!important}
html body :is(a,button).button:is(.journey-result-return,.m3j-journey-return){display:grid!important;grid-template-columns:42px auto!important;grid-template-rows:auto auto!important;column-gap:11px!important;row-gap:1px!important;align-items:center!important;justify-content:center!important;min-height:64px!important;text-align:left!important}
html body a.button.journey-result-return,html body button.button.journey-result-return,html body a.button.m3j-journey-return,html body button.button.m3j-journey-return{display:grid!important;grid-template-columns:42px auto!important;grid-template-rows:auto auto!important;column-gap:11px!important;row-gap:1px!important;align-items:center!important;justify-content:center!important;min-height:64px!important;text-align:left!important}
html body #game-overlay :is(a,button).button.journey-result-return,html body [data-match3-game] .match3-modal-actions :is(a,button).button.m3j-journey-return{display:grid!important;grid-template-columns:42px auto!important;grid-template-rows:auto auto!important}
html body #m3j-result-journey-return{display:grid!important;grid-template-columns:42px auto!important;grid-template-rows:auto auto!important}
:is(.journey-result-return,.m3j-journey-return)>span{grid-column:1!important;grid-row:1/3!important;align-self:center!important}
:is(.journey-result-return,.m3j-journey-return)>span{display:grid!important;width:34px!important;height:34px!important;place-items:center!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:10px!important;background:rgba(255,255,255,.1)!important;box-shadow:inset 0 1px rgba(255,255,255,.2),0 4px 10px rgba(0,0,0,.24)!important;color:#fff!important;font-size:20px!important;font-weight:900!important;line-height:1!important}
:is(.journey-result-return,.m3j-journey-return)>b{grid-column:2!important;grid-row:1!important;align-self:end!important;line-height:1.2!important}
:is(.journey-result-return,.m3j-journey-return)>small{grid-column:2!important;grid-row:2!important;align-self:start!important;line-height:1.25!important}
.game #game-overlay.tetris-result-overlay .game-modal-emblem>strong{display:grid!important;place-items:center!important;transform:none!important}
.game #game-overlay.tetris-result-overlay .game-modal-emblem>strong:before{display:block!important;line-height:1!important;transform:none!important}
.game #game-overlay.tetris-result-overlay.tetris-result-success .modal{border-color:rgba(52,211,153,.5)!important;background:radial-gradient(circle at 50% 0,rgba(52,211,153,.24),transparent 40%),linear-gradient(155deg,rgba(13,45,39,.97),rgba(7,12,25,.98))!important;box-shadow:0 28px 90px rgba(0,0,0,.62),0 0 48px rgba(52,211,153,.22)!important}
.game #game-overlay.tetris-result-overlay.tetris-result-failed .modal{border-color:rgba(251,113,133,.48)!important;background:radial-gradient(circle at 50% 0,rgba(251,113,133,.22),transparent 40%),linear-gradient(155deg,rgba(54,17,29,.97),rgba(9,11,24,.98))!important;box-shadow:0 28px 90px rgba(0,0,0,.62),0 0 45px rgba(244,63,94,.2)!important}
html body .game #game-overlay.tetris-result-success #overlay-title,html body .m3j-game .m3j-result-success [data-match3-title]{color:#d1fae5!important;text-shadow:0 0 12px rgba(255,255,255,.28),0 0 28px rgba(52,211,153,.48)!important}
.journey-result-highlight{display:grid;justify-items:center;gap:1px;margin:8px auto 6px}.journey-result-highlight .journey-result-stars,.m3j-result-stars-inline{display:block;color:#fde68a;font-size:clamp(27px,6vw,39px);font-weight:950;line-height:1;letter-spacing:.08em;text-shadow:0 0 8px #fff,0 0 22px rgba(245,158,11,.85),0 4px 0 #92400e}.journey-result-highlight>strong{color:#fff;font-size:clamp(32px,7vw,46px);line-height:1.05;text-shadow:0 0 28px rgba(52,211,153,.55)}.journey-result-highlight>small{color:#a7f3d0;font-size:9px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.journey-result-meta{display:block;color:#d1fae5;font-size:11px}.m3j-result-success [data-match3-title]{display:grid;gap:4px}.m3j-result-success .m3j-run-summary>b:first-child{grid-column:span 2;background:linear-gradient(145deg,rgba(52,211,153,.28),rgba(245,158,11,.14))!important;color:#fff;font-size:clamp(23px,5vw,34px)!important;box-shadow:inset 0 1px rgba(255,255,255,.25),0 0 25px rgba(52,211,153,.18)}.m3j-result-success .m3j-run-summary>b:first-child small{color:#a7f3d0;font-size:8px}
.journey-daily-earned{display:block;margin:9px auto 0;color:#fde68a;font-size:11px;text-shadow:0 0 14px rgba(245,158,11,.45)}.game-flow-card .journey-result-next,.game-flow-card .m3j-result-next{grid-column:1/-1!important;width:100%!important}
.tetris-result-success #overlay-text,.m3j-result-success [data-match3-text]{color:#d1fae5!important}.tetris-result-failed #overlay-text,.m3j-result-failed [data-match3-text]{color:#ffe4e6!important}.tetris-result-success .modal-actions .button,.m3j-result-success .match3-modal-actions .button{border-color:rgba(52,211,153,.3)!important}.tetris-result-failed .modal-actions .button,.m3j-result-failed .match3-modal-actions .button{border-color:rgba(251,113,133,.28)!important}.tetris-result-success .modal:before,.m3j-result-success .match3-modal:after{background:linear-gradient(90deg,transparent,#fde68a,transparent)!important;box-shadow:0 0 26px rgba(245,158,11,.65)!important}.tetris-result-failed .modal:before,.m3j-result-failed .match3-modal:after{background:linear-gradient(90deg,transparent,#fda4af,transparent)!important;box-shadow:0 0 23px rgba(251,113,133,.55)!important}

@media(max-width:700px){
 :is(.journey-page,.journey-level-page,.m3j-page,.m3j-level){padding-inline:10px!important}
 :is(.journey-page .journey-hero,.journey-level-page .journey-level-hero,.m3j-page .m3j-hero,.m3j-level .m3j-level-hero){padding:24px 18px!important;border-radius:25px!important}
 :is(.journey-page,.journey-level-page,.m3j-page,.m3j-level) :is(.journey-hero-actions,.hero-actions){display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:10px!important}
 :is(.journey-page,.journey-level-page,.m3j-page,.m3j-level) :is(.journey-hero-actions,.hero-actions) :is(.button,form){width:100%!important}
 .journey-page .journey-world,.m3j-page .m3j-chapter{margin-block:18px;border-radius:25px!important}
 .journey-page .journey-world>header,.m3j-page .m3j-chapter>header{padding:24px 18px 20px!important}
 .journey-page .node-copy,.m3j-page .m3j-node-copy{padding:8px 10px}
 .journey-level-page .journey-brand-logo,.m3j-level .journey-brand-logo{width:min(220px,74%);max-height:70px;margin:9px 0 11px}
 :is(.game[data-game-mode="JOURNEY"]>.overlay .modal,.m3j-game>.match3-overlay .match3-modal){width:min(94vw,480px)!important;padding:24px 18px!important;border-radius:23px!important}
 :is(.game[data-game-mode="JOURNEY"]>.overlay .modal,.m3j-game>.match3-overlay .match3-modal) :is(.modal-actions,.match3-modal-actions){display:grid!important;grid-template-columns:1fr!important;width:100%!important}
 :is(.game[data-game-mode="JOURNEY"]>.overlay .modal,.m3j-game>.match3-overlay .match3-modal) :is(.modal-actions,.match3-modal-actions)>.button{width:100%!important}
}
@media(prefers-reduced-motion:reduce){:is(.journey-page,.journey-level-page,.m3j-page,.m3j-level) .button{transition:none}}
@media(max-width:700px){html body .m3j-game>.match3-overlay.m3j-page-result{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:1400!important;padding:5px!important}}
.m3j-run-summary.m3j-run-summary-primary{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:410px;margin:14px auto!important;gap:10px!important}.m3j-run-summary.m3j-run-summary-primary>b{padding:13px 9px!important;font-size:clamp(20px,4.6vw,30px)!important;background:linear-gradient(145deg,rgba(244,114,182,.24),rgba(139,92,246,.24))!important;box-shadow:inset 0 1px rgba(255,255,255,.27),0 12px 30px rgba(0,0,0,.24)}.m3j-run-summary.m3j-run-summary-primary>b:first-child{grid-column:auto!important}.m3j-run-summary.m3j-run-summary-primary>b:last-child{color:#fde68a;text-shadow:0 0 15px rgba(245,158,11,.55)}
.game #game-overlay.tetris-result-success.tetris-result-guest .journey-result-next{order:-10;background:linear-gradient(180deg,#52e3a4,#159768)!important;border-color:#8bf4c5!important;color:#041f17!important;text-shadow:0 1px rgba(255,255,255,.38);box-shadow:inset 0 2px rgba(255,255,255,.5),inset 0 -5px rgba(5,86,59,.34),0 5px 0 #075d42,0 14px 30px rgba(16,185,129,.3)!important}.game #game-overlay.tetris-result-guest .journey-result-auth{position:relative;grid-column:1/-1!important;width:100%!important;margin-top:13px!important}.game #game-overlay.tetris-result-guest .journey-result-auth:before{content:"";position:absolute;left:0;right:0;top:-12px;height:1px;background:linear-gradient(90deg,transparent,rgba(148,163,184,.5),transparent);pointer-events:none}
.m3j-game>.match3-overlay:is(.m3j-result-success,.m3j-result-failed) .match3-modal{background:radial-gradient(circle at 50% -14%,rgba(90,184,210,.15),transparent 42%),linear-gradient(155deg,#17223a,#0a1022 68%,#17142c)!important;border-color:rgba(164,190,218,.38)!important;box-shadow:inset 0 1px rgba(255,255,255,.16),0 30px 86px rgba(0,0,0,.72)!important}.m3j-game>.match3-overlay:is(.m3j-result-success,.m3j-result-failed) [data-match3-title]{color:#f7fafc!important;text-shadow:0 2px 12px rgba(0,0,0,.72)!important}.m3j-game>.match3-overlay:is(.m3j-result-success,.m3j-result-failed) [data-match3-text]{color:#dce7f3!important}.m3j-game>.match3-overlay:is(.m3j-result-success,.m3j-result-failed) [data-match3-text]>em{color:#c7d5e4!important}.m3j-game>.match3-overlay:is(.m3j-result-success,.m3j-result-failed) .m3j-run-summary-primary>b{background:#202c46!important;border:1px solid rgba(178,205,231,.2);color:#fff!important;text-shadow:none;box-shadow:inset 0 1px rgba(255,255,255,.14),0 9px 22px rgba(0,0,0,.28)!important}.m3j-game>.match3-overlay.m3j-result-success .m3j-run-summary-primary>b:last-child{color:#ffe08a!important}.m3j-game>.match3-overlay.m3j-result-failed{--m3j-result-accent:#fb7185}.m3j-game>.match3-overlay.m3j-result-success{--m3j-result-accent:#55d6a7}.m3j-game>.match3-overlay.m3j-result-guest .m3j-result-auth{position:relative;grid-column:1/-1!important;width:100%!important;margin-top:13px!important}.m3j-game>.match3-overlay.m3j-result-guest .m3j-result-auth:before{content:"";position:absolute;left:0;right:0;top:-12px;height:1px;background:linear-gradient(90deg,transparent,rgba(164,190,218,.48),transparent);pointer-events:none}
.game #game-overlay.tetris-result-guest .journey-result-auth-note,.m3j-game>.match3-overlay.m3j-result-guest .m3j-result-auth-note{position:relative;display:block;grid-column:1/-1;width:100%;margin:13px 0 -2px;padding-top:14px;color:#b9c9da;font-size:11px;line-height:1.45;text-align:center}.game #game-overlay.tetris-result-guest .journey-result-auth-note:before,.m3j-game>.match3-overlay.m3j-result-guest .m3j-result-auth-note:before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(164,190,218,.48),transparent)}.game #game-overlay.tetris-result-guest .journey-result-auth,.m3j-game>.match3-overlay.m3j-result-guest .m3j-result-auth{margin-top:0!important}.game #game-overlay.tetris-result-guest .journey-result-auth:before,.m3j-game>.match3-overlay.m3j-result-guest .m3j-result-auth:before{display:none!important}
@media(max-width:430px) and (max-height:620px){.game #game-overlay.tetris-result-overlay .modal,.m3j-game>.match3-overlay:is(.m3j-result-success,.m3j-result-failed) .match3-modal{max-height:calc(100dvh - 10px)!important;padding:9px 10px!important;border-radius:20px!important}.game #game-overlay.tetris-result-overlay h1,.m3j-game>.match3-overlay:is(.m3j-result-success,.m3j-result-failed) h2{margin:2px 0 4px!important;font-size:20px!important}.game #game-overlay.tetris-result-overlay #overlay-text,.m3j-game>.match3-overlay:is(.m3j-result-success,.m3j-result-failed) [data-match3-text]{margin:2px auto!important;font-size:10px!important;line-height:1.25!important}.game #game-overlay.tetris-result-overlay .journey-result-highlight{margin:2px auto!important}.game #game-overlay.tetris-result-overlay .journey-result-stars,.m3j-game>.match3-overlay:is(.m3j-result-success,.m3j-result-failed) .m3j-result-stars-inline{font-size:23px!important}.game #game-overlay.tetris-result-overlay .journey-result-highlight>strong{font-size:28px!important}.game #game-overlay.tetris-result-overlay .journey-result-meta{font-size:9px!important}.game #game-overlay.tetris-result-overlay .modal-actions,.m3j-game>.match3-overlay:is(.m3j-result-success,.m3j-result-failed) .match3-modal-actions{gap:5px!important;margin-top:6px!important}.game #game-overlay.tetris-result-overlay .modal-actions>.button,.m3j-game>.match3-overlay:is(.m3j-result-success,.m3j-result-failed) .match3-modal-actions>.button{min-height:37px!important;padding:6px 8px!important;font-size:11px!important}.game #game-overlay.tetris-result-overlay .journey-result-return,.m3j-game>.match3-overlay:is(.m3j-result-success,.m3j-result-failed) .m3j-journey-return{min-height:43px!important;grid-template-columns:28px auto!important}.game #game-overlay.tetris-result-overlay .journey-result-return>span,.m3j-game>.match3-overlay:is(.m3j-result-success,.m3j-result-failed) .m3j-journey-return>span{width:26px!important;height:26px!important;font-size:15px!important}.game #game-overlay.tetris-result-guest .journey-result-auth-note,.m3j-game>.match3-overlay.m3j-result-guest .m3j-result-auth-note{margin:4px 0 -1px!important;padding-top:7px!important;font-size:9px!important;line-height:1.25!important}}
