/* TLT Arcade: Junk Work v0.2.1 - 2026-08-10 - Proprietary */
.tlt-jw,
.tlt-jw * {
    box-sizing: border-box;
}

.tlt-jw {
    --jw-black: #070908;
    --jw-cream: #f4efe6;
    --jw-warm: #f7ead6;
    --jw-orange: #f26a1b;
    --jw-orange-hot: #ff8b45;
    --jw-gold: #e1b457;
    --jw-green: #8dbb73;
    --jw-blue: #61aee6;
    --jw-red: #e35f5f;
    --jw-muted: #a7aaa4;
    --jw-line: rgba(244, 239, 230, 0.17);
    --jw-glass: rgba(8, 11, 10, 0.86);
    width: 100%;
    color: var(--jw-cream);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.35;
    isolation: isolate;
}

.tlt-jw [hidden] {
    display: none !important;
}

.tlt-jw button,
.tlt-jw input {
    font: inherit;
}

.tlt-jw button {
    color: inherit;
}

.tlt-jw button:focus-visible,
.tlt-jw input:focus-visible,
.tlt-jw canvas:focus-visible {
    outline: 3px solid var(--jw-gold);
    outline-offset: 3px;
}

.tlt-jw__shell {
    position: relative;
    width: min(1220px, 100%);
    margin: 0 auto;
    padding: clamp(12px, 2vw, 24px);
    overflow: hidden;
    border: 1px solid rgba(244, 239, 230, 0.14);
    border-radius: 24px;
    background:
        radial-gradient(circle at 76% 4%, rgba(225, 180, 87, 0.08), transparent 28%),
        radial-gradient(circle at 8% 28%, rgba(242, 106, 27, 0.07), transparent 25%),
        linear-gradient(145deg, #0d100e 0%, #050706 55%, #10110d 100%);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.tlt-jw__shell::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.16;
    pointer-events: none;
    content: "";
    background-image:
        repeating-linear-gradient(96deg, transparent 0 21px, rgba(255, 255, 255, 0.018) 22px),
        repeating-linear-gradient(2deg, transparent 0 14px, rgba(0, 0, 0, 0.2) 15px);
    mix-blend-mode: screen;
}

.tlt-jw__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.tlt-jw__title-group {
    min-width: 0;
}

.tlt-jw__eyebrow,
.tlt-jw__card-kicker,
.tlt-jw__section-head p {
    margin: 0;
    color: var(--jw-orange-hot);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tlt-jw__header h2 {
    margin: 2px 0 0;
    color: var(--jw-cream);
    font-family: Impact, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    font-size: clamp(3.2rem, 7.5vw, 6.6rem);
    font-weight: 900;
    letter-spacing: 0.025em;
    line-height: 0.86;
    text-transform: uppercase;
    text-shadow: 0 0 28px rgba(225, 180, 87, 0.12);
}

.tlt-jw__lede {
    max-width: 760px;
    margin: 9px 0 0;
    color: rgba(244, 239, 230, 0.72);
    font-size: clamp(0.88rem, 1.6vw, 1.06rem);
    font-weight: 650;
}

.tlt-jw__utility {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.tlt-jw__icon-btn {
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--jw-line);
    border-radius: 10px;
    background: rgba(244, 239, 230, 0.045);
    color: rgba(244, 239, 230, 0.76);
    cursor: pointer;
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.tlt-jw__icon-btn:hover {
    border-color: rgba(244, 239, 230, 0.35);
    background: rgba(244, 239, 230, 0.075);
    color: var(--jw-cream);
}

.tlt-jw__scoreboard {
    display: grid;
    grid-template-columns: repeat(4, minmax(76px, 0.8fr)) minmax(138px, 1.35fr);
    gap: 1px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid var(--jw-line);
    border-radius: 13px;
    background: var(--jw-line);
}

.tlt-jw__scoreboard > div {
    display: flex;
    min-width: 0;
    min-height: 54px;
    flex-direction: column;
    justify-content: center;
    padding: 7px 12px;
    background: rgba(4, 7, 6, 0.95);
}

.tlt-jw__scoreboard span {
    color: rgba(244, 239, 230, 0.47);
    font-size: 0.6rem;
    font-weight: 850;
    letter-spacing: 0.13em;
}

.tlt-jw__scoreboard strong {
    overflow: hidden;
    color: var(--jw-warm);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: clamp(0.92rem, 2vw, 1.16rem);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tlt-jw__scoreboard .tlt-jw__yard-state strong {
    color: var(--jw-gold);
}

.tlt-jw__stage {
    position: relative;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid rgba(244, 239, 230, 0.18);
    border-radius: 18px;
    aspect-ratio: 1672 / 941;
    background: #020607;
    box-shadow: inset 0 0 58px rgba(0, 0, 0, 0.48), 0 18px 36px rgba(0, 0, 0, 0.3);
    contain: layout paint;
}

.tlt-jw__environment,
.tlt-jw__environment img,
.tlt-jw__damage-layer,
.tlt-jw__canvas,
.tlt-jw__vignette {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tlt-jw__environment {
    z-index: 0;
}

.tlt-jw__environment img {
    display: block;
    object-fit: cover;
}

.tlt-jw__damage-layer {
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.tlt-jw__state,
.tlt-jw__lamp-state {
    position: absolute;
    opacity: 0;
    object-fit: contain;
    object-position: 50% 100%;
    filter: drop-shadow(0 8px 9px rgba(0, 0, 0, 0.52));
    transform: scale(0.985);
    transform-origin: 50% 100%;
    transition: opacity 150ms ease, transform 220ms cubic-bezier(0.18, 0.72, 0.28, 1.28);
}

.tlt-jw__state.is-visible,
.tlt-jw__lamp-state.is-visible {
    opacity: 1;
    transform: scale(1);
}

.tlt-jw__state.is-reacting,
.tlt-jw__lamp-state.is-reacting {
    animation: tlt-jw-object-hit 520ms ease-out both;
}

.tlt-jw__state.is-recovering {
    animation: tlt-jw-object-recover 1320ms steps(5, end) both;
}

.tlt-jw__state--car {
    top: 48.35%;
    left: 1.5%;
    width: 35.9%;
    height: 35.1%;
    object-fit: fill;
}

.tlt-jw__state--crt {
    top: 33.2%;
    left: 38.8%;
    width: 22%;
    height: 24.5%;
}

.tlt-jw__state--microwave {
    top: 52.7%;
    left: 65%;
    width: 8.5%;
    height: 16%;
}

.tlt-jw__state--washer {
    top: 58%;
    left: 64%;
    width: 10.5%;
    height: 23%;
}

.tlt-jw__state--cooler {
    top: 60%;
    left: 88%;
    width: 5%;
    height: 22%;
}

.tlt-jw__state--mattress {
    top: 34.8%;
    left: 68.5%;
    width: 14%;
    height: 15%;
}

.tlt-jw__lamp-state {
    object-position: 50% 0;
    transform-origin: 50% 0;
}

.tlt-jw__lamp-state.is-recovering {
    animation: tlt-jw-lamp-recover 1500ms steps(7, end) both;
}

.tlt-jw__lamp-state--left {
    top: -0.6%;
    left: 2.3%;
    width: 13.6%;
    height: 16%;
}

.tlt-jw__lamp-state--mid-left {
    top: 6.5%;
    left: 29.5%;
    width: 7.5%;
    height: 11%;
}

.tlt-jw__lamp-state--mid-right {
    top: 7.5%;
    left: 65%;
    width: 7.5%;
    height: 11%;
}

.tlt-jw__lamp-state--right {
    top: -0.8%;
    left: 84.3%;
    width: 13.8%;
    height: 16%;
}

.tlt-jw__lamp-state--mobile-mid {
    display: none;
}

.tlt-jw__bonus {
    --jw-bonus-x: -24%;
    --jw-bonus-y: 26%;
    --jw-bonus-swing: -8deg;
    position: absolute;
    top: var(--jw-bonus-y);
    left: var(--jw-bonus-x);
    width: 13%;
    opacity: 0;
    filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.58));
    transform: rotate(var(--jw-bonus-swing));
    transform-origin: 50% 8%;
    transition: opacity 180ms ease;
}

.tlt-jw__bonus.is-live {
    opacity: 1;
}

.tlt-jw__bonus.is-broken {
    animation: tlt-jw-screen-break 900ms ease-out both;
}

.tlt-jw__canvas {
    z-index: 2;
    display: block;
    border: 0;
    cursor: crosshair;
    touch-action: none;
}

.tlt-jw__vignette {
    z-index: 3;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.18), transparent 18%, transparent 73%, rgba(0, 0, 0, 0.28)),
        radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.34) 100%);
}

.tlt-jw__start-card,
.tlt-jw__finish {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    width: min(530px, calc(100% - 32px));
    padding: clamp(18px, 3vw, 30px);
    transform: translate(-50%, -50%);
    border: 1px solid rgba(244, 239, 230, 0.25);
    border-radius: 18px;
    background: rgba(4, 7, 6, 0.9);
    box-shadow: 0 22px 62px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-align: center;
    backdrop-filter: blur(12px);
}

.tlt-jw__start-card h3,
.tlt-jw__finish h3,
.tlt-jw__dialog h3 {
    margin: 5px 0 8px;
    color: var(--jw-cream);
    font-family: Impact, "Arial Narrow Bold", "Arial Narrow", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
}

.tlt-jw__start-card > p:not(.tlt-jw__card-kicker),
.tlt-jw__finish > p:not(.tlt-jw__card-kicker) {
    margin: 0 auto 17px;
    color: rgba(244, 239, 230, 0.73);
    font-size: 0.9rem;
}

.tlt-jw__receipt {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    padding: 12px 17px;
    border: 1px solid rgba(244, 239, 230, 0.22);
    border-radius: 13px;
    background: rgba(5, 8, 7, 0.86);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(8px);
}

.tlt-jw__receipt strong {
    flex: 0 0 auto;
    color: var(--jw-orange-hot);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tlt-jw__receipt span {
    min-width: 0;
    color: rgba(244, 239, 230, 0.76);
    font-size: 0.82rem;
    font-weight: 650;
}

.tlt-jw__control-deck {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.78fr);
    gap: 10px;
    margin-top: 10px;
}

.tlt-jw__weapons,
.tlt-jw__shot-panel {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--jw-line);
    border-radius: 15px;
    background: rgba(5, 9, 7, 0.82);
}

.tlt-jw__section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.tlt-jw__section-head span {
    overflow: hidden;
    color: rgba(244, 239, 230, 0.45);
    font-size: 0.68rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tlt-jw__weapon-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.tlt-jw__weapon-grid button {
    display: grid;
    min-width: 0;
    min-height: 102px;
    grid-template-columns: 44px minmax(0, 1fr);
    align-content: center;
    align-items: center;
    gap: 2px 10px;
    padding: 12px;
    border: 1px solid rgba(244, 239, 230, 0.18);
    border-radius: 13px;
    background: rgba(244, 239, 230, 0.035);
    cursor: pointer;
    text-align: left;
    transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.tlt-jw__weapon-grid button:hover {
    transform: translateY(-1px);
    border-color: rgba(244, 239, 230, 0.34);
}

.tlt-jw__weapon-grid button.is-active {
    border-color: rgba(242, 106, 27, 0.8);
    background: linear-gradient(145deg, rgba(242, 106, 27, 0.17), rgba(225, 180, 87, 0.06));
    box-shadow: inset 0 0 25px rgba(242, 106, 27, 0.08);
}

.tlt-jw__weapon-icon {
    display: grid;
    width: 42px;
    height: 42px;
    grid-row: 1 / 3;
    place-items: center;
    border: 1px solid rgba(244, 239, 230, 0.18);
    border-radius: 50%;
    background: #111814;
    color: var(--jw-orange-hot);
    font-family: Impact, "Arial Narrow Bold", sans-serif;
    font-size: 1.05rem;
}

.tlt-jw__weapon-grid strong {
    overflow: hidden;
    color: var(--jw-cream);
    font-size: 0.96rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tlt-jw__weapon-grid small {
    overflow: hidden;
    color: rgba(244, 239, 230, 0.5);
    font-size: 0.67rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tlt-jw__sliders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tlt-jw__sliders label {
    display: grid;
    gap: 5px;
}

.tlt-jw__sliders label > span {
    color: rgba(244, 239, 230, 0.57);
    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.tlt-jw__sliders input {
    width: 100%;
    min-height: 42px;
    margin: 0;
    accent-color: var(--jw-orange);
    cursor: pointer;
}

.tlt-jw__primary {
    min-height: 46px;
    padding: 11px 19px;
    border: 1px solid rgba(255, 139, 69, 0.7);
    border-radius: 11px;
    background: linear-gradient(180deg, var(--jw-orange-hot), var(--jw-orange));
    box-shadow: 0 10px 24px rgba(242, 106, 27, 0.2);
    color: #130a04 !important;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 950;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.tlt-jw__primary:hover {
    filter: brightness(1.08);
}

.tlt-jw__launch {
    width: 100%;
    margin-top: 9px;
}

.tlt-jw__target-key {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px 16px;
    padding: 12px 8px 2px;
    color: rgba(244, 239, 230, 0.55);
    font-size: 0.69rem;
    font-weight: 700;
}

.tlt-jw__target-key b {
    color: var(--jw-gold);
    font-family: "SFMono-Regular", Consolas, monospace;
}

.tlt-jw__dialog {
    width: min(650px, calc(100vw - 30px));
    max-height: min(760px, calc(100vh - 30px));
    padding: 0;
    overflow: auto;
    border: 1px solid rgba(244, 239, 230, 0.24);
    border-radius: 18px;
    background: #080d0a;
    color: var(--jw-cream);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72);
}

.tlt-jw__dialog::backdrop {
    background: rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(4px);
}

.tlt-jw__dialog-inner {
    padding: clamp(21px, 5vw, 35px);
}

.tlt-jw__dialog ol {
    display: grid;
    gap: 10px;
    margin: 18px 0 23px;
    padding-left: 22px;
    color: rgba(244, 239, 230, 0.74);
    font-size: 0.9rem;
}

@keyframes tlt-jw-object-hit {
    0% { transform: scale(0.94) rotate(0deg); filter: brightness(2.1) drop-shadow(0 8px 9px rgba(0, 0, 0, 0.5)); }
    28% { transform: scale(1.05) rotate(-2deg); }
    58% { transform: scale(0.99) rotate(1.4deg); }
    100% { transform: scale(1) rotate(0deg); filter: brightness(1) drop-shadow(0 8px 9px rgba(0, 0, 0, 0.52)); }
}

@keyframes tlt-jw-screen-break {
    0% { transform: rotate(var(--jw-bonus-swing)) scale(1); filter: brightness(2.4) drop-shadow(0 10px 12px rgba(0, 0, 0, 0.58)); }
    35% { transform: rotate(calc(var(--jw-bonus-swing) + 28deg)) scale(1.08); }
    100% { transform: rotate(calc(var(--jw-bonus-swing) + 95deg)) translateY(65%) scale(0.82); opacity: 0; }
}

@keyframes tlt-jw-object-recover {
    0%, 68% { opacity: 1; filter: brightness(1) drop-shadow(0 8px 9px rgba(0, 0, 0, 0.52)); }
    76% { opacity: 0.22; filter: brightness(1.4) drop-shadow(0 8px 9px rgba(0, 0, 0, 0.52)); }
    84% { opacity: 0.88; }
    92% { opacity: 0.16; }
    100% { opacity: 0; }
}

@keyframes tlt-jw-lamp-recover {
    0%, 18% { opacity: 0.88; filter: brightness(0.72) drop-shadow(0 0 5px rgba(225, 180, 87, 0.2)); }
    24% { opacity: 0.2; }
    35% { opacity: 1; filter: brightness(1.45) drop-shadow(0 0 16px rgba(255, 196, 92, 0.56)); }
    48% { opacity: 0.3; }
    63% { opacity: 0.94; }
    75% { opacity: 0.36; }
    100% { opacity: 0; }
}

@media (max-width: 820px) {
    .tlt-jw__header {
        align-items: flex-end;
    }

    .tlt-jw__control-deck {
        grid-template-columns: 1fr;
    }

    .tlt-jw__shot-panel {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0 12px;
    }

    .tlt-jw__shot-panel .tlt-jw__section-head,
    .tlt-jw__shot-panel .tlt-jw__sliders {
        grid-column: 1;
    }

    .tlt-jw__launch {
        width: min(180px, 28vw);
        grid-column: 2;
        grid-row: 1 / 3;
        margin: 0;
    }
}

@media (min-width: 821px) and (max-height: 900px) {
    .tlt-jw__shell {
        padding: 14px;
    }

    .tlt-jw__header {
        margin-bottom: 8px;
    }

    .tlt-jw__scoreboard {
        margin-bottom: 8px;
    }

    .tlt-jw__scoreboard > div {
        min-height: 46px;
        padding-block: 5px;
    }

    .tlt-jw__stage {
        width: min(100%, calc((100dvh - 235px) * 1.7778));
        min-height: 420px;
        margin-inline: auto;
    }

    .tlt-jw__receipt {
        min-height: 46px;
        margin-top: 8px;
        padding: 8px 13px;
    }

    .tlt-jw__control-deck {
        gap: 8px;
        margin-top: 8px;
    }

    .tlt-jw__weapons,
    .tlt-jw__shot-panel {
        padding: 9px;
    }

    .tlt-jw__section-head {
        margin-bottom: 6px;
    }

    .tlt-jw__weapon-grid {
        gap: 6px;
    }

    .tlt-jw__weapon-grid button {
        min-height: 62px;
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 8px;
    }

    .tlt-jw__weapon-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .tlt-jw__weapon-grid small {
        display: none;
    }

    .tlt-jw__shot-panel {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 98px;
        gap: 0 9px;
    }

    .tlt-jw__shot-panel .tlt-jw__section-head,
    .tlt-jw__shot-panel .tlt-jw__sliders {
        grid-column: 1;
    }

    .tlt-jw__sliders input {
        min-height: 34px;
    }

    .tlt-jw__launch {
        width: 98px;
        grid-column: 2;
        grid-row: 1 / 3;
        margin: 0;
    }
}

@media (max-width: 720px) {
    .tlt-jw__shell {
        padding: 10px;
        border-radius: 18px;
    }

    .tlt-jw__header {
        align-items: flex-start;
        gap: 8px;
    }

    .tlt-jw__header h2 {
        font-size: clamp(3.05rem, 18vw, 4.7rem);
    }

    .tlt-jw__eyebrow {
        font-size: 0.56rem;
        letter-spacing: 0.12em;
    }

    .tlt-jw__lede {
        margin-top: 6px;
        font-size: 0.78rem;
    }

    .tlt-jw__utility {
        flex-direction: column;
        gap: 5px;
    }

    .tlt-jw__icon-btn {
        min-height: 36px;
        padding: 7px 9px;
        font-size: 0.56rem;
    }

    .tlt-jw__scoreboard {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .tlt-jw__scoreboard > div {
        min-height: 47px;
        padding: 6px 7px;
    }

    .tlt-jw__scoreboard .tlt-jw__yard-state {
        grid-column: 1 / -1;
        min-height: 39px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .tlt-jw__scoreboard span {
        font-size: 0.5rem;
    }

    .tlt-jw__scoreboard strong {
        font-size: 0.82rem;
    }

    .tlt-jw__stage {
        min-height: 0;
        border-radius: 15px;
        aspect-ratio: 941 / 1672;
    }

    .tlt-jw__state,
    .tlt-jw__lamp-state,
    .tlt-jw__bonus {
        filter: none;
    }

    .tlt-jw__start-card,
    .tlt-jw__finish {
        top: 47%;
        width: calc(100% - 24px);
        padding: 17px 14px;
    }

    .tlt-jw__start-card h3,
    .tlt-jw__finish h3 {
        font-size: clamp(1.65rem, 8vw, 2.15rem);
    }

    .tlt-jw__start-card > p:not(.tlt-jw__card-kicker),
    .tlt-jw__finish > p:not(.tlt-jw__card-kicker) {
        font-size: 0.76rem;
    }

    .tlt-jw__receipt {
        min-height: 54px;
        gap: 9px;
        margin-top: 8px;
        padding: 10px 12px;
    }

    .tlt-jw__receipt strong {
        font-size: 0.61rem;
    }

    .tlt-jw__receipt span {
        font-size: 0.69rem;
    }

    .tlt-jw__state--car {
        top: 51.44%;
        left: 0;
        width: 41.45%;
        height: 27.51%;
    }

    .tlt-jw__state--crt {
        top: 35%;
        left: 39%;
        width: 25%;
        height: 14%;
    }

    .tlt-jw__state--microwave {
        top: 56.8%;
        left: 62%;
        width: 17%;
        height: 12%;
    }

    .tlt-jw__state--washer {
        top: 60.5%;
        left: 61%;
        width: 18%;
        height: 16%;
    }

    .tlt-jw__state--cooler {
        top: 60%;
        left: 89%;
        width: 10%;
        height: 15.2%;
    }

    .tlt-jw__state--mattress {
        top: 33%;
        left: 73%;
        width: 22%;
        height: 11%;
    }

    .tlt-jw__lamp-state--left {
        top: -0.6%;
        left: -2.6%;
        width: 37%;
        height: 17%;
    }

    .tlt-jw__lamp-state--mid-left,
    .tlt-jw__lamp-state--mid-right {
        display: none;
    }

    .tlt-jw__lamp-state--mobile-mid {
        display: block;
        top: 13.3%;
        left: 25.8%;
        width: 17.8%;
        height: 10.7%;
    }

    .tlt-jw__lamp-state--right {
        top: 14.5%;
        left: 68.2%;
        width: 21%;
        height: 11.8%;
    }

    .tlt-jw__bonus {
        width: 20%;
    }

    .tlt-jw__control-deck {
        gap: 8px;
        margin-top: 8px;
    }

    .tlt-jw__weapons,
    .tlt-jw__shot-panel {
        padding: 11px;
        border-radius: 13px;
    }

    .tlt-jw__section-head {
        margin-bottom: 8px;
    }

    .tlt-jw__section-head p {
        font-size: 0.58rem;
        letter-spacing: 0.12em;
    }

    .tlt-jw__section-head span {
        font-size: 0.57rem;
    }

    .tlt-jw__weapon-grid {
        gap: 6px;
    }

    .tlt-jw__weapon-grid button {
        min-height: 82px;
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 1px 7px;
        padding: 8px;
        border-radius: 11px;
    }

    .tlt-jw__weapon-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .tlt-jw__weapon-grid strong {
        font-size: 0.78rem;
    }

    .tlt-jw__weapon-grid small {
        font-size: 0.54rem;
    }

    .tlt-jw__shot-panel {
        display: block;
    }

    .tlt-jw__sliders {
        gap: 8px;
    }

    .tlt-jw__sliders input {
        min-height: 38px;
    }

    .tlt-jw__launch {
        width: 100%;
        margin-top: 8px;
    }

    .tlt-jw__target-key {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 5px 9px;
        padding: 10px 5px max(78px, calc(env(safe-area-inset-bottom) + 58px));
        font-size: 0.58rem;
    }
}

@media (max-width: 360px) {
    .tlt-jw__weapon-grid button {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .tlt-jw__weapon-icon {
        grid-row: auto;
    }

    .tlt-jw__weapon-grid small {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tlt-jw__state,
    .tlt-jw__lamp-state,
    .tlt-jw__bonus,
    .tlt-jw__weapon-grid button {
        animation: none !important;
        transition-duration: 1ms !important;
    }
}
