body.bit101-games{
    --game-ink:#163844;
    --game-muted:#56717b;
    --game-teal:#0aa9ae;
    --game-teal-dark:#08727c;
    --game-aqua:#6fe3d7;
    --game-orange:#ff9c35;
    --game-yellow:#ffd95b;
    --game-cream:#fff9e8;
    --game-danger:#d85c5c;
    min-height:100dvh;
    margin:0;
    overflow:hidden;
    background:
        radial-gradient(circle at 9% 18%,rgba(255,217,91,.42),transparent 21rem),
        radial-gradient(circle at 89% 10%,rgba(111,227,215,.46),transparent 24rem),
        linear-gradient(145deg,#effdf9,#fff8e6 55%,#edf9ff);
    color:var(--game-ink);
}

body.bit101-games *,
body.bit101-games *::before,
body.bit101-games *::after{box-sizing:border-box}

body.bit101-games [hidden]{display:none!important}

body.bit101-games .sr-only{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
}

body.bit101-games .game-root{min-height:100dvh}

body.bit101-games .game-selector{
    position:relative;
    width:min(1180px,100%);
    min-height:100dvh;
    margin:0 auto;
    padding:
        max(30px,env(safe-area-inset-top))
        max(24px,env(safe-area-inset-right))
        max(28px,env(safe-area-inset-bottom))
        max(24px,env(safe-area-inset-left));
    overflow:hidden;
}

body.bit101-games[data-game-view="selector"]{overflow:hidden}

body.bit101-games .game-selector::before,
body.bit101-games .game-selector::after{
    position:absolute;
    z-index:-1;
    content:"";
    border:3px solid rgba(10,169,174,.15);
    border-radius:50%;
}

body.bit101-games .game-selector::before{
    width:240px;
    height:240px;
    right:-80px;
    top:18%;
    box-shadow:inset 0 0 0 22px rgba(10,169,174,.05);
}

body.bit101-games .game-selector::after{
    width:150px;
    height:150px;
    left:-64px;
    bottom:10%;
    border-color:rgba(255,156,53,.18);
}

body.bit101-games .game-selector__doodle{
    position:absolute;
    z-index:-1;
    color:rgba(8,114,124,.13);
    font:900 clamp(36px,8vw,94px)/1 "Trebuchet MS",sans-serif;
    transform:rotate(-9deg);
    user-select:none;
}

body.bit101-games .game-selector__doodle--one{right:2%;top:2%}
body.bit101-games .game-selector__doodle--two{left:2%;bottom:1%;transform:rotate(7deg)}

body.bit101-games .game-selector__header{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:start;
    gap:clamp(18px,4vw,48px);
    margin:0 auto clamp(24px,4vw,44px);
}

body.bit101-games .game-selector__eyebrow,
body.bit101-games .game-preflight__kicker,
body.bit101-games .game-card__kicker{
    display:block;
    color:var(--game-teal-dark);
    font-size:12px;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

body.bit101-games .game-selector h1{
    max-width:760px;
    margin:5px 0 10px;
    color:var(--game-ink);
    font-size:clamp(38px,6.2vw,76px);
    font-weight:900;
    letter-spacing:-.045em;
    line-height:.95;
}

body.bit101-games .game-selector__header p{
    max-width:760px;
    margin:0;
    color:var(--game-muted);
    font-size:clamp(16px,2vw,21px);
    line-height:1.45;
}

body.bit101-games .game-back-link{
    display:inline-flex;
    align-items:center;
    min-height:46px;
    padding:0 18px;
    border:2px solid rgba(8,114,124,.17);
    border-radius:999px;
    background:rgba(255,255,255,.74);
    box-shadow:0 9px 24px rgba(22,56,68,.08);
    color:var(--game-teal-dark);
    font-weight:900;
    text-decoration:none;
    -webkit-backdrop-filter:blur(12px);
    backdrop-filter:blur(12px);
}

body.bit101-games .game-selector__grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:clamp(18px,3vw,32px);
}

body.bit101-games .game-card{
    display:grid;
    min-width:0;
    overflow:hidden;
    border:0;
    border-radius:clamp(24px,3vw,38px);
    background:rgba(255,255,255,.84);
    box-shadow:0 22px 54px rgba(22,56,68,.15);
    color:var(--game-ink);
    text-decoration:none;
    transform:translateZ(0);
    transition:transform .2s ease,box-shadow .2s ease;
}

body.bit101-games .game-card:hover,
body.bit101-games .game-card:focus-visible{
    transform:translateY(-5px) rotate(-.25deg);
    box-shadow:0 28px 68px rgba(22,56,68,.2);
}

body.bit101-games .game-card--road:hover,
body.bit101-games .game-card--road:focus-visible{transform:translateY(-5px) rotate(.25deg)}

body.bit101-games .game-card__preview{
    position:relative;
    display:block;
    aspect-ratio:16/9;
    overflow:hidden;
    background:#d9f3ef;
}

body.bit101-games .game-card__preview::after{
    position:absolute;
    inset:auto 0 0;
    height:36%;
    content:"";
    background:linear-gradient(transparent,rgba(17,42,52,.35));
    pointer-events:none;
}

body.bit101-games .game-card__preview img{
    width:100%;
    height:100%;
    object-fit:cover;
    transform:scale(1.015);
    transition:transform .45s ease;
}

body.bit101-games .game-card:hover .game-card__preview img{transform:scale(1.055)}

body.bit101-games .game-card__number{
    position:absolute;
    z-index:1;
    right:16px;
    bottom:12px;
    color:#fff;
    font-size:26px;
    font-weight:900;
    letter-spacing:.08em;
}

body.bit101-games .game-card__content{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px 18px;
    align-items:center;
    padding:clamp(20px,3vw,30px);
}

body.bit101-games .game-card__kicker{grid-column:1/-1}

body.bit101-games .game-card__name{
    font-size:clamp(25px,3vw,38px);
    font-weight:900;
    letter-spacing:-.035em;
    line-height:1.02;
}

body.bit101-games .game-card__description{
    grid-column:1;
    color:var(--game-muted);
    font-size:16px;
    line-height:1.42;
}

body.bit101-games .game-card__action{
    grid-column:2;
    grid-row:2/4;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-width:104px;
    min-height:52px;
    padding:0 18px;
    border-radius:999px;
    background:linear-gradient(135deg,var(--game-orange),var(--game-yellow));
    box-shadow:0 10px 20px rgba(255,156,53,.25);
    color:#5b3d00;
    font-weight:900;
}

body.bit101-games .game-selector__hint{
    margin:22px 0 0;
    color:var(--game-muted);
    text-align:center;
    font-size:14px;
    font-weight:800;
}

body.bit101-games .game-resume-card{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px 18px;
    align-items:center;
    margin:0 0 24px;
    padding:17px 20px;
    border:2px solid rgba(10,169,174,.17);
    border-radius:22px;
    background:rgba(255,255,255,.82);
    box-shadow:0 12px 30px rgba(22,56,68,.1);
}

body.bit101-games .game-resume-card>div:first-child{display:grid;gap:4px}
body.bit101-games .game-resume-card__actions{display:flex;flex-wrap:wrap;gap:8px}
body.bit101-games .game-resume-card>p{grid-column:1/-1;margin:0;color:var(--game-muted);font-size:13px}

body.bit101-games .game-shell,
body.bit101-games .game-stage{
    --game-tool-size:clamp(44px,6.4vmin,48px);
    --game-tool-gap:clamp(4px,.9vmin,8px);
    --game-expression-gap:clamp(10px,1.7vmin,14px);
    --game-expression-width:clamp(156px,27vmin,226px);
    --game-expression-height:clamp(56px,9vmin,70px);
    --game-expression-font:clamp(26px,4.3vmin,34px);
    --game-expression-compact-font:clamp(18px,3.4vmin,26px);
    --game-screen-radius:clamp(11px,1.9vmin,16px);
    --game-screen-inset:clamp(5px,.9vmin,8px);
    --game-progress-width:clamp(116px,19vmin,154px);
    position:relative;
    width:100%;
    height:100dvh;
    min-height:100dvh;
    overflow:hidden;
    background:#081a26;
    touch-action:manipulation;
}

body.bit101-games .game-scene{position:absolute;inset:0;overflow:hidden}

body.bit101-games .game-scene-flash{
    position:absolute;
    z-index:3;
    inset:0;
    opacity:0;
    pointer-events:none;
}

body.bit101-games .game-shell[data-outcome="correct"] .game-scene-flash{
    background:radial-gradient(circle at center,rgba(73,220,150,.28),rgba(42,177,119,.08) 52%,transparent 78%);
    animation:game-flash .58s ease-out;
}

body.bit101-games .game-shell[data-outcome="wrong"] .game-scene-flash{
    background:radial-gradient(circle at center,rgba(255,105,105,.26),rgba(218,65,65,.08) 52%,transparent 78%);
    animation:game-flash .68s ease-out;
}

@keyframes game-flash{
    0%{opacity:0}
    22%{opacity:1}
    100%{opacity:0}
}

body.bit101-games .game-shell__tools{
    position:absolute;
    z-index:6;
    top:max(12px,env(safe-area-inset-top));
    display:flex;
    gap:var(--game-tool-gap);
}

body.bit101-games .game-shell__tools--left{left:max(12px,env(safe-area-inset-left))}
body.bit101-games .game-shell__tools--right{right:max(12px,env(safe-area-inset-right))}

body.bit101-games .game-tool{
    display:grid;
    place-items:center;
    width:var(--game-tool-size);
    height:var(--game-tool-size);
    padding:0;
    border:1px solid rgba(255,255,255,.34);
    border-radius:50%;
    background:rgba(7,25,36,.55);
    box-shadow:0 8px 22px rgba(0,0,0,.18);
    color:#fff;
    cursor:pointer;
    text-decoration:none;
    -webkit-backdrop-filter:blur(12px);
    backdrop-filter:blur(12px);
}

body.bit101-games .game-tool[aria-pressed="false"]{color:#a8bbc2;opacity:.78}
body.bit101-games .game-tool svg{width:22px;height:22px;fill:currentColor}
body.bit101-games .game-tool [data-fullscreen-collapse-icon]{display:none}
body.bit101-games .game-tool[data-fullscreen-active="true"] [data-fullscreen-expand-icon]{display:none}
body.bit101-games .game-tool[data-fullscreen-active="true"] [data-fullscreen-collapse-icon]{display:block}

body.bit101-games .game-expression{
    position:absolute;
    z-index:5;
    top:50%;
    left:max(20px,env(safe-area-inset-left));
    display:grid;
    place-items:center;
    min-width:clamp(142px,14vw,190px);
    min-height:58px;
    margin:0;
    padding:10px 18px;
    transform:translateY(-50%);
    color:#eaffff;
    font:900 clamp(24px,2.5vw,34px)/1.05 "Trebuchet MS",Roboto,Arial,sans-serif;
    font-variant-numeric:tabular-nums;
    letter-spacing:.01em;
    text-align:center;
    text-shadow:0 0 12px rgba(111,227,215,.48);
    pointer-events:none;
    contain:layout paint style;
    transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease,transform .18s ease;
}

body.bit101-games .game-expression[data-expression-density="compact"]{
    padding-inline:clamp(8px,1.5vmin,12px);
    font-size:var(--game-expression-compact-font)!important;
    letter-spacing:0;
}

body.bit101-games .game-expression[data-expression-density="compact"] .bit101-numeral-run{
    font-size:1em!important;
}

body.bit101-games .game-expression::before,
body.bit101-games .game-expression::after{
    position:absolute;
    content:"";
    pointer-events:none;
}

body.bit101-games .game-shell[data-game-id="tunnel"] .game-expression{
    box-sizing:border-box;
    width:var(--game-expression-width);
    min-width:0;
    height:var(--game-expression-height);
    min-height:0;
    padding:11px 20px;
    border:1px solid rgba(174,189,194,.9);
    border-radius:var(--game-screen-radius);
    background:
        repeating-linear-gradient(0deg,transparent 0 6px,rgba(126,246,255,.055) 6px 7px),
        linear-gradient(145deg,rgba(8,29,43,.97),rgba(10,67,76,.93));
    box-shadow:0 10px 28px rgba(0,0,0,.2);
    font-size:var(--game-expression-font);
}

body.bit101-games .game-shell[data-game-id="tunnel"] .game-expression::before{
    content:none;
    display:none;
}

body.bit101-games .game-shell[data-game-id="tunnel"] .game-expression::after{
    content:none;
    display:none;
}

body.bit101-games .game-shell[data-game-id="road"] .game-expression{
    top:clamp(154px,27vh,246px);
    right:auto;
    left:clamp(62%,72vw,76%);
    box-sizing:border-box;
    width:var(--game-expression-width);
    min-width:0;
    height:var(--game-expression-height);
    min-height:0;
    padding:13px 24px;
    transform:translate(-50%,-50%);
    border:clamp(3px,.55vmin,4px) solid #dce8e7;
    border-radius:var(--game-screen-radius);
    background:
        radial-gradient(circle at 12px 12px,#7df5d0 0 2px,transparent 2.8px),
        radial-gradient(circle at calc(100% - 12px) 12px,#7df5d0 0 2px,transparent 2.8px),
        linear-gradient(145deg,rgba(8,27,35,.94),rgba(12,52,55,.9));
    box-shadow:
        0 0 0 2px rgba(31,77,82,.92),
        0 12px 30px rgba(0,0,0,.28);
    color:#fff;
    font-size:var(--game-expression-font);
    text-shadow:0 0 11px rgba(211,248,255,.34);
    contain:layout style;
}

body.bit101-games .game-shell[data-game-id="road"] .game-expression::before{
    content:none;
    display:none;
}

body.bit101-games .game-shell[data-game-id="road"] .game-expression::after{
    content:none;
    display:none;
}

body.bit101-games .game-progress-screen{
    position:absolute;
    z-index:5;
    top:calc(max(12px,env(safe-area-inset-top)) + var(--game-tool-size) + var(--game-expression-gap));
    left:max(12px,env(safe-area-inset-left));
    box-sizing:border-box;
    display:grid;
    place-items:center;
    width:var(--game-progress-width);
    height:var(--game-expression-height);
    padding:8px 12px 9px;
    border:clamp(3px,.55vmin,4px) solid #dce8e7;
    border-radius:var(--game-screen-radius);
    background:
        repeating-linear-gradient(0deg,transparent 0 6px,rgba(126,246,255,.05) 6px 7px),
        linear-gradient(145deg,rgba(8,29,43,.95),rgba(10,67,76,.91));
    box-shadow:0 0 0 2px rgba(31,77,82,.88),0 8px 20px rgba(0,0,0,.24),inset 0 0 0 1px rgba(92,227,174,.24);
    color:#fff;
    font:900 clamp(18px,3.2vmin,25px)/1 "Trebuchet MS",Roboto,Arial,sans-serif;
    pointer-events:none;
}

body.bit101-games .game-progress-screen__track{
    display:block;
    width:100%;
    height:5px;
    overflow:hidden;
    border:1px solid rgba(126,246,255,.5);
    border-radius:99px;
    background:rgba(1,20,30,.66);
}

body.bit101-games .game-progress-screen__track i{
    display:block;
    width:var(--game-progress,8.333%);
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,#32c98c,#45dcc2 55%,#63eadb);
    box-shadow:0 0 8px rgba(99,234,219,.58);
}

body.bit101-games .game-shell .game-expression[data-expression-state="correct"]{
    border-color:rgba(112,255,184,.9);
    color:#cdffe5;
    box-shadow:0 0 0 3px rgba(80,227,154,.14),inset 0 0 22px rgba(80,227,154,.2),0 10px 28px rgba(0,0,0,.2),0 0 22px rgba(75,214,143,.2);
    animation:game-expression-confirm .46s ease-out;
}

body.bit101-games .game-shell .game-expression[data-expression-state="wrong"]{
    border-color:rgba(210,112,143,.86);
    color:#efcdd8;
    box-shadow:0 0 0 3px rgba(170,74,111,.11),inset 0 0 22px rgba(180,72,112,.16),0 10px 28px rgba(0,0,0,.2),0 0 20px rgba(153,62,103,.16);
    animation:game-expression-correction .54s ease-out;
}

body.bit101-games .game-shell[data-game-id="tunnel"] .game-expression[data-result-pulse="true"]{
    scale:1.1 !important;
}

body.bit101-games .game-shell[data-game-id="road"] .game-expression[data-result-pulse="true"]{
    scale:1.1 !important;
}

@keyframes game-expression-confirm{
    0%{opacity:.68;filter:brightness(1)}
    42%{opacity:1;filter:brightness(1.24)}
    100%{opacity:1;filter:brightness(1)}
}

@keyframes game-expression-correction{
    0%{opacity:.72;filter:brightness(1)}
    38%{opacity:1;filter:brightness(1.18)}
    100%{opacity:1;filter:brightness(1)}
}

body.bit101-games .game-steering{
    --bit101-fullscreen-overlay-clearance:72px;
    --bit101-fullscreen-overlay-clearance:clamp(56px,10dvh,88px);
    position:absolute;
    z-index:7;
    right:max(18px,env(safe-area-inset-right));
    bottom:max(18px,env(safe-area-inset-bottom));
    left:max(18px,env(safe-area-inset-left));
    display:flex;
    align-items:end;
    justify-content:space-between;
    pointer-events:none;
    transition:transform .55s cubic-bezier(.22,.61,.36,1);
}

body.bit101-games [data-fullscreen-controls="elevated"] .game-steering{
    transform:translate3d(0,calc(0px - var(--bit101-fullscreen-overlay-clearance)),0);
}

body.bit101-games .game-steering__right-cluster{
    display:flex;
    align-items:end;
    gap:clamp(8px,1.2vw,14px);
    pointer-events:none;
}

body.bit101-games .game-steer{
    display:grid;
    place-items:center;
    width:clamp(70px,8vw,88px);
    height:clamp(70px,8vw,88px);
    padding:0;
    border:0;
    border-radius:50%;
    background:transparent;
    box-shadow:none;
    cursor:pointer;
    pointer-events:auto;
    touch-action:none;
    user-select:none;
    -webkit-tap-highlight-color:transparent;
    transition:
        transform .1s ease,
        opacity .15s ease,
        filter .15s ease;
}

body.bit101-games .game-diagnostics{
    position:absolute;
    z-index:11;
    top:clamp(82px,22vh,176px);
    left:max(18px,env(safe-area-inset-left));
    display:grid;
    justify-items:start;
    gap:8px;
    max-width:min(156px,34vw);
    pointer-events:none;
    contain:layout style;
}

body.bit101-games .game-diagnostics[hidden]{
    display:none !important;
}

body.bit101-games .game-fps-counter{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:74px;
    min-height:34px;
    padding:7px 11px;
    border:1px solid rgba(111,227,215,.82);
    border-radius:999px;
    background:rgba(7,25,36,.72);
    box-shadow:0 10px 24px rgba(0,0,0,.2);
    color:#fff;
    font:800 13px/1 Roboto,Arial,sans-serif;
    font-variant-numeric:tabular-nums;
    letter-spacing:.02em;
    white-space:nowrap;
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
    pointer-events:none;
}

body.bit101-games .game-quality-test{
    position:static;
    min-width:126px;
    min-height:38px;
    padding:8px 13px;
    border:1px solid rgba(255,255,255,.72);
    border-radius:999px;
    background:rgba(7,25,36,.7);
    box-shadow:0 10px 24px rgba(0,0,0,.22);
    color:#fff;
    font:800 11px/1.1 Roboto,Arial,sans-serif;
    letter-spacing:.035em;
    cursor:pointer;
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
    touch-action:manipulation;
    pointer-events:auto;
}

body.bit101-games .game-quality-test[data-quality-profile="high"]{border-color:rgba(255,220,111,.9)}
body.bit101-games .game-quality-test[data-quality-profile="balanced"]{border-color:rgba(111,227,215,.88)}
body.bit101-games .game-quality-test[data-quality-profile="fallback"]{border-color:rgba(184,203,211,.82)}
body.bit101-games .game-quality-test:focus-visible{outline:3px solid rgba(255,217,91,.98);outline-offset:3px}
body.bit101-games .game-quality-test:disabled{opacity:.5;cursor:default}

body.bit101-games .game-direction-icon{
    width:100%;
    height:100%;
    overflow:visible;
    pointer-events:none;
}

body.bit101-games .game-shell[data-game-id="tunnel"] .game-quality-test{
    top:calc(max(12px,env(safe-area-inset-top)) + 56px);
    right:max(12px,env(safe-area-inset-right));
    bottom:auto;
}

@media (hover:hover){
    body.bit101-games .game-steer:not(:disabled):hover{
        filter:brightness(1.1);
    }
}

body.bit101-games .game-steer:not(:disabled):active{
    transform:scale(.94);
    filter:brightness(.94);
}

body.bit101-games .game-steer:focus-visible{
    outline:4px solid rgba(255,217,91,.98);
    outline-offset:4px;
}

body.bit101-games .game-steer:disabled{
    opacity:.32;
    filter:saturate(.55);
    cursor:default;
}

body.bit101-games .game-renderer-fallback,
body.bit101-games .game-placeholder-warning{
    position:absolute;
    z-index:5;
    top:50%;
    left:50%;
    display:grid;
    width:min(500px,calc(100% - 32px));
    gap:6px;
    padding:16px 18px;
    transform:translate(-50%,-50%);
    border:1px solid rgba(255,255,255,.46);
    border-radius:22px;
    background:rgba(7,25,36,.72);
    box-shadow:0 18px 40px rgba(0,0,0,.24);
    color:#fff;
    text-align:center;
    -webkit-backdrop-filter:blur(12px);
    backdrop-filter:blur(12px);
}

body.bit101-games .game-renderer-fallback__answers{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
    margin-top:8px;
}

body.bit101-games .game-renderer-fallback__answers>span{
    display:grid;
    gap:2px;
    padding:8px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:12px;
}

body.bit101-games .game-renderer-fallback__answers small{color:rgba(255,255,255,.7)}
body.bit101-games .game-renderer-fallback__answers strong{font-size:24px}

body.bit101-games .game-preflight,
body.bit101-games .game-result{
    position:absolute;
    z-index:10;
    inset:0;
    display:grid;
    place-items:center;
    padding:
        max(18px,env(safe-area-inset-top))
        max(18px,env(safe-area-inset-right))
        max(18px,env(safe-area-inset-bottom))
        max(18px,env(safe-area-inset-left));
    overflow:auto;
    background:
        radial-gradient(circle at 15% 18%,rgba(255,217,91,.36),transparent 28rem),
        radial-gradient(circle at 85% 8%,rgba(111,227,215,.42),transparent 25rem),
        rgba(236,250,247,.94);
}

body.bit101-games [data-system-text="true"]{
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    font-kerning:normal;
    font-synthesis:none;
    font-variant-numeric:lining-nums tabular-nums;
}

body.bit101-games [data-system-text="true"] .game-action{font-family:inherit}

body.bit101-games .game-preflight__card,
body.bit101-games .game-result__card{
    width:min(600px,100%);
    padding:clamp(24px,5vw,48px);
    border:1px solid rgba(255,255,255,.78);
    border-radius:clamp(26px,4vw,40px);
    background:rgba(255,255,255,.82);
    box-shadow:0 24px 70px rgba(22,56,68,.16);
    text-align:center;
    -webkit-backdrop-filter:blur(14px);
    backdrop-filter:blur(14px);
}

body.bit101-games .game-preflight__card--start{
    width:min(480px,100%);
    padding:clamp(24px,4vw,36px);
}

body.bit101-games .game-preflight__card--start .game-start__hint{
    margin:0;
    color:var(--game-ink);
    font-size:clamp(18px,2.5vw,22px);
    font-weight:750;
    line-height:1.4;
}

body.bit101-games .game-preflight__card--start .game-preflight__readiness:not(.game-preflight__readiness--visible){
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}
body.bit101-games .game-preflight__card--start .game-preflight__actions{margin-top:22px}
body.bit101-games .game-preflight__card--start .game-action--primary{
    width:min(220px,100%);
    min-width:0;
}

body.bit101-games .game-preflight h1{
    margin:6px 0 10px;
    font-size:clamp(32px,6vw,54px);
    font-weight:900;
    letter-spacing:-.045em;
    line-height:1;
}

body.bit101-games .game-preflight__card>p,
body.bit101-games .game-result__card>p{margin:8px 0;color:var(--game-muted);font-size:17px}

body.bit101-games .game-result__card>[data-result-correct]{
    color:var(--game-ink);
    font-size:clamp(22px,4vw,28px);
    font-weight:800;
    line-height:1.18;
}

body.bit101-games .game-tutorial{
    display:grid;
    gap:10px;
    margin:20px 0;
    padding:18px;
    border:2px dashed rgba(10,169,174,.25);
    border-radius:22px;
    background:rgba(237,252,249,.72);
}

body.bit101-games .game-tutorial h2{margin:0;font-size:21px}
body.bit101-games .game-tutorial p{margin:0;color:var(--game-muted);line-height:1.42}
body.bit101-games .game-tutorial__equation{font-size:30px}

body.bit101-games .game-tutorial__controls{
    display:grid;
    grid-template-columns:auto minmax(40px,120px) auto;
    align-items:center;
    justify-content:center;
    gap:10px;
}

body.bit101-games .game-tutorial__controls span{
    display:grid;
    place-items:center;
    width:48px;
    height:48px;
    border-radius:50%;
    background:#fff;
    color:var(--game-teal-dark);
    box-shadow:0 7px 18px rgba(22,56,68,.1);
}

body.bit101-games .game-tutorial__controls .game-direction-icon{width:62%;height:62%}

body.bit101-games .game-tutorial__controls i{
    height:3px;
    border-radius:99px;
    background:linear-gradient(90deg,var(--game-aqua),var(--game-orange));
}

body.bit101-games .game-preflight__actions,
body.bit101-games .game-result__actions,
body.bit101-games .game-dialog__actions{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    margin-top:20px;
}

body.bit101-games .game-action{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    flex:0 0 165px;
    width:165px;
    min-width:165px;
    max-width:165px;
    height:50px;
    min-height:50px;
    padding:0 16px;
    border:1px solid rgba(0,0,0,.12);
    border-radius:12px;
    font:600 16px/1 Roboto,Arial,sans-serif;
    letter-spacing:.4px;
    cursor:pointer;
    text-decoration:none;
}

body.bit101-games .game-action--primary{
    background:linear-gradient(135deg,#ff8a00,#ffd400);
    box-shadow:0 7px 14px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.4);
    color:#5a3b00;
    text-shadow:0 -1px 1px rgba(255,255,255,.30),0 1px 0 rgba(105,62,0,.20),0 2px 2px rgba(88,52,0,.16);
}

body.bit101-games .game-action--secondary{
    background:linear-gradient(135deg,#00c6ff,#00e0c6);
    box-shadow:0 4px 10px rgba(0,0,0,.14);
    color:#e6ffff;
    text-shadow:0 1px 0 rgba(2,67,75,.34),0 2px 3px rgba(2,67,75,.27),0 0 1px rgba(2,67,75,.18);
}
body.bit101-games .game-action:hover{transform:translateY(-1px);box-shadow:0 9px 18px rgba(0,0,0,.2)}
body.bit101-games .game-action:active{transform:scale(.96);box-shadow:0 3px 7px rgba(0,0,0,.18),inset 0 2px 5px rgba(0,0,0,.18)}
body.bit101-games .game-action:focus-visible{outline:3px solid rgba(7,156,165,.28);outline-offset:2px;border-color:#079ca5}
body.bit101-games .game-action:disabled{opacity:.46;cursor:default}

body.bit101-games .game-result__accuracy{
    color:#28424b!important;
    font-size:clamp(24px,4.5vw,32px)!important;
    font-weight:850;
    line-height:1.15;
}

body.bit101-games .game-dialog{
    width:min(440px,calc(100% - 32px));
    padding:26px;
    border:0;
    border-radius:28px;
    background:#fff;
    box-shadow:0 24px 80px rgba(0,0,0,.28);
    color:var(--game-ink);
    text-align:center;
}

body.bit101-games .game-dialog[data-pause-dialog]{width:min(570px,calc(100% - 32px))}
body.bit101-games .game-dialog[data-pause-dialog] .game-dialog__actions{flex-wrap:nowrap}

body.bit101-games .game-dialog::backdrop{background:rgba(4,18,27,.58);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
body.bit101-games .game-dialog h2{margin:0 0 8px;font-size:30px}
body.bit101-games .game-dialog p{margin:0;color:var(--game-muted)}
body.bit101-games .game-dialog:focus{outline:none}
body.bit101-games .game-dialog__pause-title{display:flex;align-items:center;justify-content:center;gap:9px}
body.bit101-games .game-dialog__pause-title .game-dialog__pause-mark{display:inline-flex;gap:.08em;font:inherit;color:inherit}
body.bit101-games .game-dialog__pause-title .game-dialog__pause-mark>span{font:inherit;color:inherit}

@media (max-width:780px){
    body.bit101-games[data-game-view="selector"]{overflow-x:hidden;overflow-y:auto}
    body.bit101-games .game-selector{height:auto;min-height:100dvh;overflow-x:clip;overflow-y:visible}
    body.bit101-games .game-selector{padding-inline:max(16px,env(safe-area-inset-left),env(safe-area-inset-right))}
    body.bit101-games .game-selector__header{grid-template-columns:1fr;gap:15px}
    body.bit101-games .game-back-link{justify-self:start}
    body.bit101-games .game-selector__grid{grid-template-columns:1fr}
    body.bit101-games .game-card__content{grid-template-columns:minmax(0,1fr) auto}
    body.bit101-games .game-resume-card{grid-template-columns:1fr}
    body.bit101-games .game-resume-card>p{grid-column:auto}
}

@media (max-width:620px){
    body.bit101-games .game-shell__tools--right{
        display:flex;
        flex-wrap:nowrap;
    }
    body.bit101-games .game-steering{
        right:max(12px,env(safe-area-inset-right));
        bottom:max(14px,env(safe-area-inset-bottom));
        left:max(12px,env(safe-area-inset-left));
    }
    body.bit101-games .game-steer{
        width:min(29vw,96px);
        height:min(29vw,96px);
    }
    body.bit101-games .game-quality-test{
        min-width:116px;
        min-height:36px;
        padding:7px 11px;
        font-size:10px;
    }
    body.bit101-games .game-diagnostics{
        top:clamp(76px,18vh,132px);
        left:max(12px,env(safe-area-inset-left));
        gap:7px;
        max-width:min(124px,31vw);
    }
    body.bit101-games .game-fps-counter{
        min-width:68px;
        min-height:32px;
        padding:6px 10px;
        font-size:12px;
    }
    body.bit101-games .game-preflight__card,
    body.bit101-games .game-result__card{padding:24px 18px}
}

@media (min-width:621px) and (max-width:900px){
    body.bit101-games .game-quality-test{
        top:calc(max(12px,env(safe-area-inset-top)) + 56px);
        right:max(12px,env(safe-area-inset-right));
        bottom:auto;
    }
}

@media (min-width:781px) and (min-height:681px) and (max-height:800px){
    body.bit101-games .game-selector{
        padding-top:18px;
        padding-bottom:18px;
    }
    body.bit101-games .game-selector__header{margin-bottom:16px}
    body.bit101-games .game-selector h1{margin-block:3px 6px;font-size:clamp(38px,5vw,58px)}
    body.bit101-games .game-selector__header p{font-size:17px}
    body.bit101-games .game-card__content{padding:18px 22px}
    body.bit101-games .game-card__name{font-size:30px}
    body.bit101-games .game-card__description{font-size:15px}
    body.bit101-games .game-card__action{min-height:48px}
    body.bit101-games .game-selector__hint{margin-top:12px}
}

@media (max-height:680px){
    body.bit101-games[data-game-view="selector"]{overflow-x:hidden;overflow-y:auto}
    body.bit101-games .game-selector{height:auto;min-height:100dvh;overflow-x:clip;overflow-y:visible}
}

@media (max-width:360px){
    body.bit101-games .game-quality-test{
        min-width:98px;
        padding:6px 8px;
        font-size:9px;
    }
}

@media (max-width:620px) and (orientation:portrait){
    body.bit101-games .game-dialog[data-pause-dialog]{width:min(320px,calc(100% - 28px))}
    body.bit101-games .game-dialog[data-pause-dialog] .game-dialog__actions{
        flex-direction:column;
        align-items:center;
    }
    body.bit101-games .game-dialog[data-pause-dialog] .game-action{
        flex:0 0 50px;
        width:min(220px,100%);
        min-height:50px;
    }
}

@media (max-height:520px) and (orientation:landscape){
    body.bit101-games .game-shell__tools--right{
        display:flex;
    }
    body.bit101-games .game-steer{width:64px;height:64px}
    body.bit101-games .game-diagnostics{
        top:clamp(68px,21vh,96px);
        transform:none;
    }
    body.bit101-games .game-quality-test{min-height:34px;padding:6px 10px}
    body.bit101-games .game-shell[data-game-id="tunnel"] .game-expression{
        min-width:164px;
        min-height:50px;
        padding:7px 14px;
        font-size:26px;
    }
    body.bit101-games .game-preflight,
    body.bit101-games .game-result{place-items:center;padding-block:12px}
    body.bit101-games .game-preflight__card,
    body.bit101-games .game-result__card{padding:18px 22px}
    body.bit101-games .game-preflight h1{font-size:34px}
    body.bit101-games .game-tutorial{margin:10px 0;padding:12px}
}



@media (prefers-reduced-motion:reduce){
    body.bit101-games *,
    body.bit101-games *::before,
    body.bit101-games *::after{
        scroll-behavior:auto!important;
        animation-duration:.01ms!important;
        animation-iteration-count:1!important;
        transition-duration:.01ms!important;
    }
    body.bit101-games .game-card:hover,
    body.bit101-games .game-card:focus-visible{transform:none}
}

@media (orientation:portrait){
 body.bit101-games .game-shell[data-game-id="tunnel"] .game-expression{left:auto!important;right:max(12px,env(safe-area-inset-right))!important;top:calc(max(12px,env(safe-area-inset-top)) + 54px)!important;transform:none!important}
}
