html body .tc-studio-v2 #limbo_gameboard{justify-content:flex-start!important;padding:20px!important;gap:12px;min-height:420px!important;background:var(--gs-field,#102735)!important}
html body #limbo_gameboard .result_wrapper{display:flex;justify-content:flex-end;gap:6px;min-height:28px;margin:0!important;padding:0!important;border:0!important;background:none!important;overflow:hidden}
html body #limbo_gameboard .result_holder{flex:none;min-width:48px;border:0!important;border-radius:calc(20px * var(--ui-radius-scale,1));padding:5px 10px;margin:0;font:650 12px/18px Inter,Arial,sans-serif;background:var(--ui-p-244457,#244457);color:var(--ui-p-e8f4ff,#e8f4ff)}
html body #limbo_gameboard .result_holder.win{background:var(--ui-p-b7f76b,#b7f76b);color:var(--ui-p-203c20,#203c20)}
html body #limbo_gameboard .result_holder.lose{background:var(--ui-p-382d43,#382d43);color:var(--ui-p-ffa1b4,#ffa1b4)}
html body .tc-studio-v2 #limbo_game_outcome{position:relative;display:block!important;isolation:isolate;min-height:340px!important;height:340px!important;overflow:hidden;background:var(--ui-board-skin-background,radial-gradient(ellipse at 80% 80%,var(--ui-p-25496088,#25496088),transparent 65%),radial-gradient(circle at 15% 20%,var(--ui-p-b3e3ff55,#b3e3ff55) 1px,transparent 2px),radial-gradient(circle at 70% 40%,var(--ui-p-b3e3ff44,#b3e3ff44) 1px,transparent 2px),var(--ui-p-0d2032,#0d2032))!important;background-size:auto,73px 67px,113px 97px,auto!important;border:1px solid var(--ui-p-31516a,#31516a)!important;border-radius:calc(12px * var(--ui-radius-scale,1))!important}
html body #limbo_game_outcome::before,html body #limbo_game_outcome::after{content:none!important}
html body #limbo_game_outcome #multiplier_result{position:absolute!important;left:0;top:18%;width:100%;text-align:center;font:800 clamp(44px,6vw,76px)/1.1 Inter,Arial,sans-serif!important;letter-spacing:-2px;color:var(--ui-p-ecf7ff,#ecf7ff)!important;z-index:2;text-shadow:0 3px 20px var(--ui-p-051322,#051322)!important}
html body #limbo_game_outcome #multiplier_result[data-outcome=win]{color:var(--ui-p-b7f76b,#b7f76b)!important}
html body #limbo_game_outcome #multiplier_result[data-outcome=loss]{color:var(--ui-p-ff839b,#ff839b)!important}
.tc-limbo-route{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.tc-limbo-path{fill:none;stroke:var(--ui-p-b7f76b,#b7f76b);stroke-width:.7;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;opacity:.35}
.tc-limbo-ship{position:absolute;width:48px;height:77px;left:14%;top:79%;z-index:3;will-change:transform,left,top;filter:drop-shadow(0 4px 10px var(--ui-p-00000088,#0008))}
.tc-limbo-ship img{display:block;width:100%;height:100%;position:relative;z-index:1}
.tc-limbo-engine{position:absolute;left:36%;top:82%;width:28%;height:36%;border-radius:20% 20% 50% 50%;background:linear-gradient(var(--ui-p-fff8bd,#fff8bd),var(--ui-p-ffb24e,#ffb24e) 40%,var(--ui-p-ff5a5144,#ff5a5144) 85%,transparent);opacity:0;transform-origin:top;filter:drop-shadow(0 0 7px var(--ui-p-ffb14c,#ffb14c))}
:is(.is-pending,.is-flying) .tc-limbo-engine{opacity:1;animation:tc-limbo-thrust .12s ease-in-out infinite alternate}
@keyframes tc-limbo-thrust{from{transform:scaleY(.7)}to{transform:scaleY(1.2)}}
.tc-limbo-blast{position:absolute;left:82%;top:30%;width:120px;height:120px;background:url("../../freetron/games/limbo/explosion.webp") 0 0/120px 1080px no-repeat;transform:translate(-50%,-50%);pointer-events:none;opacity:0;z-index:4}
#limbo_game_outcome.is-loss .tc-limbo-ship{opacity:0}
#limbo_game_outcome.is-win .tc-limbo-ship{filter:drop-shadow(0 0 12px var(--ui-p-b7f76b66,#b7f76b66))}
html body .tc-limbo-controls .tc-game-modes button{min-height:44px!important}
html body .tc-limbo-controls .tc-game-modes button[aria-pressed=true]{background:var(--ui-p-2d4b5e,#2d4b5e)!important;color:var(--ui-p-edf7fc,#edf7fc)!important}
html[data-theme=light] body .tc-limbo-controls .tc-game-modes button[aria-pressed=true]{background:var(--ui-p-ffffff,#fff)!important;color:var(--ui-p-213b4c,#213b4c)!important}
@media(max-width:600px){html body .tc-studio-v2 #limbo_gameboard{padding:12px!important;min-height:310px!important}html body .tc-studio-v2 #limbo_game_outcome{min-height:260px!important;height:260px!important}.tc-limbo-ship{width:38px;height:61px}html body #limbo_game_outcome #multiplier_result{font-size:48px!important}}
@media(prefers-reduced-motion:reduce){.tc-limbo-engine{animation:none!important}.tc-limbo-ship{will-change:auto}}
html body #limbo_game_outcome #multiplier_result{margin:0!important;padding:0!important}
html body .tc-limbo-controls .tc-inline-auto .option{min-height:44px}
html body .tc-limbo-controls .tc-inline-auto .input_group{height:48px}
html body .tc-limbo-controls .tc-inline-auto .input_group input{height:46px}
@media(max-width:600px){html body .tc-limbo-controls .tc-inline-auto .input_group input{font-size:16px!important}}
html body .tc-limbo-controls .tc-inline-auto{display:flex;flex-direction:column;gap:12px}
html body .tc-limbo-controls .tc-limbo-auto-count{display:flex;flex-direction:column;align-items:stretch;gap:7px}
html body .tc-limbo-controls .tc-limbo-auto-count>div{width:100%!important;margin:0!important}
html body .tc-limbo-controls .tc-limbo-preference>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;cursor:pointer;font:600 12px/20px Inter,Arial,sans-serif;color:var(--gs-muted);list-style:none}
.tc-limbo-preference>summary::-webkit-details-marker{display:none}.tc-limbo-preference>summary::after{content:'+'}.tc-limbo-preference[open]>summary::after{content:'−'}
.tc-limbo-options{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
html body .tc-limbo-controls .tc-limbo-preference li{list-style:none}
html body .tc-limbo-controls .tc-limbo-preference .input_group{max-width:110px}
html body .tc-limbo-controls #profit_loss_box{margin:0!important}
html body .tc-limbo-controls #profit_loss_box{height:auto!important;min-height:0!important;max-height:52px;padding:6px 8px!important;gap:8px!important;border:1px solid var(--gs-line)!important;border-radius:calc(9px * var(--ui-radius-scale,1))!important;background:var(--gs-field)!important}
html body .tc-limbo-controls #profit_loss_box>div{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;min-width:0}
html body .tc-limbo-controls #profit_loss_box .label{flex:none;margin:0;font-size:10px;line-height:16px}
html body .tc-limbo-controls #profit_loss_box .input_wrapper{height:30px;min-width:0!important;min-height:30px!important;padding:0 6px!important;margin:0!important}
html body .tc-limbo-controls #profit_loss_box input{width:100%!important;height:28px!important;font-size:11px!important;text-align:right!important}
html body .tc-studio-v2 .tc-limbo-controls{gap:12px!important}
html body .tc-limbo-controls>.tc-control-heading{display:none}
html body .tc-studio-v2 #limbo_gameboard{align-self:stretch!important}
html body .tc-studio-v2 #limbo_game_outcome{flex:1;padding:0!important}
@media(min-width:901px){html body .tc-studio-v2 .tc-limbo-controls{max-height:620px}html body .tc-limbo-controls>*{flex-shrink:0}}
html body #limbo_gameboard .result_wrapper:empty{visibility:hidden!important}
@media(max-width:600px){html body .gamebox_container.tc-studio-v2.tc-game-workspace>#limbo_gameboard{padding:12px!important;min-height:288px!important;gap:10px}}
html body .tc-limbo-controls .tc-limbo-stop-limits .option{flex-direction:column;align-items:stretch;gap:6px}
html body .tc-limbo-controls .tc-limbo-stop-limits .option>div{width:100%!important;margin:0!important;max-width:none!important}
html body .tc-limbo-controls .tc-limbo-options .radio label{min-height:44px;line-height:44px}
