.hsu-game {
    --hsu-bg: #151515;
    --hsu-panel: #202020;
    --hsu-panel-soft: #292929;
    --hsu-line: #484848;
    --hsu-text: #f1eee8;
    --hsu-muted: #bdb5aa;
    --hsu-accent: #b62f35;
    --hsu-safe: #356d5b;
    --hsu-visited: #4b5260;
    --hsu-exit: #b8904e;
    max-width: 1180px;
    margin: 24px auto;
    padding: 18px;
    scroll-margin-top: 24px;
    color: var(--hsu-text);
    background: var(--hsu-bg);
    border: 1px solid #343434;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.sudokill-leaderboard {
    max-width: 1180px;
    margin: 24px auto;
    padding: 18px;
    color: var(--hsu-text, #f1eee8);
    background: #151515;
    border: 1px solid #343434;
    font-family: Arial, Helvetica, sans-serif;
}
.sudokill-leaderboard-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(184, 144, 78, .35);
}
.sudokill-leaderboard-head h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1;
}
.sudokill-leaderboard-list {
    display: grid;
    gap: 8px;
}
.sudokill-leaderboard-entry {
    display: grid;
    grid-template-columns: auto minmax(90px, 1.2fr) repeat(10, auto);
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #202020;
    border: 1px solid #3a3a3a;
    border-left: 4px solid #b8904e;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.2;
}
.sudokill-rank,
.sudokill-score,
.sudokill-result {
    font-weight: 800;
}
.sudokill-player {
    color: #fff8ed;
}
.sudokill-debug-badge {
    padding: 2px 5px;
    color: #171717;
    background: #d9b76f;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}
.sudokill-stars {
    display: inline-flex;
    gap: 1px;
    white-space: nowrap;
}
.sudokill-stars .is-filled {
    color: #d9b76f;
}
.sudokill-stars .is-empty {
    color: rgba(241, 238, 232, .25);
}
.sudokill-time,
.sudokill-injuries,
.sudokill-wrong,
.sudokill-evidence,
.sudokill-escape,
.sudokill-completed {
    color: #cfc7bd;
}
.sudokill-load-more {
    display: block;
    margin: 14px auto 0;
    min-height: 38px;
    padding: 8px 14px;
    color: #f1eee8;
    background: #303030;
    border: 1px solid #5d5145;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}
.sudokill-load-more:hover,
.sudokill-load-more:focus {
    border-color: #b8904e;
    outline: none;
}
.sudokill-load-more[disabled] {
    opacity: .65;
    cursor: wait;
}
.sudokill-leaderboard-empty,
.sudokill-leaderboard-status {
    padding: 12px;
    color: #bdb5aa;
    background: #202020;
    border: 1px dashed #484848;
    text-align: center;
}
@media (max-width: 940px) {
    .sudokill-leaderboard {
        margin: 16px auto;
        padding: 12px;
    }
    .sudokill-leaderboard-head {
        display: block;
    }
    .sudokill-leaderboard-entry {
        grid-template-columns: auto 1fr auto;
        gap: 7px 9px;
        padding: 11px;
        font-size: 13px;
    }
    .sudokill-debug-badge {
        grid-column: 3 / 4;
        grid-row: 1;
        justify-self: start;
    }
    .sudokill-stars {
        grid-column: 1 / 4;
        grid-row: 2;
    }
    .sudokill-score,
    .sudokill-result,
    .sudokill-time {
        grid-row: 3;
    }
    .sudokill-score {
        grid-column: 1 / 2;
    }
    .sudokill-result {
        grid-column: 2 / 3;
    }
    .sudokill-time {
        grid-column: 3 / 4;
    }
    .sudokill-injuries,
    .sudokill-wrong {
        grid-row: 4;
    }
    .sudokill-injuries {
        grid-column: 1 / 2;
    }
    .sudokill-wrong {
        grid-column: 2 / 4;
    }
    .sudokill-evidence,
    .sudokill-escape {
        grid-row: 5;
    }
    .sudokill-evidence {
        grid-column: 1 / 3;
    }
    .sudokill-escape {
        grid-column: 3 / 4;
    }
    .sudokill-completed {
        grid-column: 1 / 4;
        grid-row: 6;
    }
}
.hsu-game *,
.hsu-game *::before,
.hsu-game *::after {
    box-sizing: border-box;
}
.hsu-kicker {
    margin: 0 0 4px;
    color: var(--hsu-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0;
}
.hsu-room-title,
.hsu-panel h3 {
    margin: 0;
    color: var(--hsu-text);
    line-height: 1.15;
}
.hsu-room-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(184, 144, 78, .26);
    color: #f5e6c8;
    font-size: 18px;
    font-weight: 900;
    white-space: nowrap;
}
.hsu-difficulty-stars {
    display: inline-flex;
    gap: 2px;
    font-size: .72em;
    letter-spacing: 0;
    vertical-align: .08em;
    white-space: nowrap;
}
.hsu-difficulty-stars .is-filled {
    color: #d9b76f;
}
.hsu-difficulty-stars .is-empty {
    color: rgba(241, 238, 232, .28);
}
.hsu-panel-head span {
    padding: 5px 8px;
    background: var(--hsu-panel-soft);
    border: 1px solid var(--hsu-line);
}
.hsu-layout {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(230px, .45fr);
    gap: 14px;
    align-items: start;
}
.hsu-game.is-pre-game .hsu-layout {
    display: none;
}
.hsu-pre-game {
    display: none;
    min-height: min(620px, 78vh);
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.hsu-game.is-pre-game .hsu-pre-game {
    display: flex;
}
.hsu-boot-loading {
    display: none;
    color: var(--hsu-text);
    font-size: 18px;
    font-weight: 800;
    text-align: center;
}
.hsu-game.sk-is-booting .hsu-boot-loading {
    display: block;
}
.hsu-game.sk-is-booting .hsu-kicker,
.hsu-game.sk-is-booting [data-hsu-pre-game-title],
.hsu-game.sk-is-booting [data-hsu-pre-game-body],
.hsu-game.sk-is-booting .hsu-pre-game-actions {
    display: none;
}
.hsu-pre-game-card {
    width: min(100%, 520px);
    padding: 22px;
    color: var(--hsu-text);
    background: linear-gradient(180deg, rgba(35, 35, 35, .98), rgba(24, 24, 24, .98));
    border: 1px solid rgba(184, 144, 78, .45);
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
}
.hsu-pre-game-card h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.05;
}
.hsu-pre-game-card p {
    margin: 0 0 16px;
    color: var(--hsu-muted);
    font-size: 15px;
    line-height: 1.45;
    white-space: pre-line;
}
.hsu-pre-game-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hsu-pre-game-actions button {
    min-height: 42px;
    padding: 10px 14px;
    color: var(--hsu-text);
    background: #303030;
    border: 1px solid var(--hsu-line);
    border-radius: 5px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}
.hsu-pre-game-actions .hsu-primary-action {
    background: var(--hsu-accent);
    border-color: #d45b60;
}
.hsu-pre-game-actions button:hover,
.hsu-pre-game-actions button:focus {
    border-color: var(--hsu-exit);
    outline: none;
}
.hsu-panel {
    padding: 12px;
    background: var(--hsu-panel);
    border: 1px solid var(--hsu-line);
    border-radius: 6px;
}
.hsu-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 34px;
    margin-bottom: 10px;
}
.hsu-panel h3 {
    font-size: 18px;
}
.hsu-panel-head span,
.hsu-debug-toggle {
    color: var(--hsu-muted);
    font-size: 13px;
}
.hsu-right-view {
    position: relative;
    display: grid;
    margin-bottom: 9px;
}
.hsu-avatar-panel {
    position: relative;
    display: grid;
    gap: 7px;
    margin-bottom: 9px;
}
.hsu-right-view .hsu-avatar-panel {
    margin-bottom: 0;
}
.hsu-avatar-panel[hidden],
.hsu-evidence-panel[hidden] {
    display: none !important;
}
.hsu-avatar-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #171717;
    border: 1px solid var(--hsu-line);
    border-radius: 8px;
}
.hsu-avatar-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hsu-avatar-img[hidden] {
    display: none;
}
.hsu-avatar-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    color: var(--hsu-muted);
    background: linear-gradient(145deg, #262626, #141414);
    border: 1px solid rgba(255, 255, 255, .04);
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}
.hsu-avatar-fallback[hidden] {
    display: none;
}
.hsu-evidence-reveal-img {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #111;
}
.hsu-evidence-reveal-img[hidden] {
    display: none;
}
.hsu-evidence-view-reveal-img {
    border: 1px solid rgba(217, 183, 111, .38);
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .34);
    pointer-events: none;
}
.hsu-avatar-moves-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 12;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 42px;
    padding: 5px 8px;
    color: #f1c76b;
    background: rgba(17, 17, 17, .82);
    border: 1px solid rgba(217, 183, 111, .72);
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(217, 183, 111, .22), 0 8px 18px rgba(0, 0, 0, .38);
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    pointer-events: none;
}
.hsu-avatar-moves-badge img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex: 0 0 auto;
}
.hsu-avatar-moves-badge img[hidden] {
    display: none;
}
.hsu-avatar-moves-badge.is-receiving {
    animation: hsuAvatarMovesReceive 520ms ease-out;
}
.hsu-flying-move-reward {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99999;
    color: #f1c76b;
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 0 rgba(17, 17, 17, .9), 0 0 20px rgba(217, 183, 111, .82);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 1050ms cubic-bezier(.18, .78, .22, 1), opacity 1050ms ease;
}
@keyframes hsuAvatarMovesReceive {
    0% {
        transform: scale(1);
        box-shadow: 0 0 18px rgba(217, 183, 111, .22), 0 8px 18px rgba(0, 0, 0, .38);
    }
    45% {
        transform: scale(1.18);
        box-shadow: 0 0 28px rgba(217, 183, 111, .58), 0 8px 18px rgba(0, 0, 0, .38);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 18px rgba(217, 183, 111, .22), 0 8px 18px rgba(0, 0, 0, .38);
    }
}
.hsu-monitor-overlay {
    position: absolute;
    z-index: 5;
    color: #fff;
}
.hsu-baby-monitor {
    bottom: 10px;
    left: 10px;
    display: block;
    width: min(38%, 104px);
    aspect-ratio: 9 / 16;
    min-height: 0;
    padding: 7px 5px 6px;
    background: linear-gradient(155deg, color-mix(in srgb, var(--hsu-monitor-color, #141a1e) 70%, #050608 30%), #050608 72%);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .56), inset 0 0 0 2px rgba(255, 255, 255, .045);
    backdrop-filter: blur(3px);
}
.hsu-baby-monitor::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 50%;
    width: 30%;
    height: 3px;
    background: rgba(230, 237, 232, .22);
    border-radius: 999px;
    transform: translateX(-50%);
}
.hsu-monitor-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 100%;
    padding: 16px 5px 7px;
    background: radial-gradient(circle at 50% 18%, rgba(108, 151, 138, .26), rgba(8, 16, 18, .92) 66%);
    border: 1px solid rgba(157, 205, 188, .24);
    border-radius: 13px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, .5);
    text-align: center;
}
.hsu-monitor-side {
    position: absolute;
    top: 10px;
    right: 9px;
    z-index: 7;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.hsu-monitor-speaker {
    display: none;
}
.hsu-monitor-speaker span {
    width: 6px;
    height: 6px;
    background: rgba(230, 237, 232, .35);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .28);
}
.hsu-monitor-label {
    overflow: hidden;
    width: 100%;
    font-size: clamp(6px, .7vw, 8px);
    line-height: 1.1;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: .75;
    text-align: center;
}
.hsu-monitor-state {
    overflow: hidden;
    width: 100%;
    font-size: clamp(8px, .85vw, 10px);
    font-weight: 700;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}
.hsu-waveform {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 4px;
    height: 34px;
    margin: 8px auto 6px;
}
.hsu-waveform span {
    display: block;
    width: 4px;
    min-height: 2px;
    border-radius: 999px;
    background: rgba(190, 235, 255, .95);
    box-shadow: 0 0 10px rgba(120, 210, 255, .76);
    animation-name: hsuWavePulse;
    animation-duration: var(--wave-speed, 1.8s);
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-delay: var(--delay, 0s);
}
.hsu-waveform span:nth-child(1) { --delay: 0s; }
.hsu-waveform span:nth-child(2) { --delay: .1s; }
.hsu-waveform span:nth-child(3) { --delay: .2s; }
.hsu-waveform span:nth-child(4) { --delay: .3s; }
.hsu-waveform span:nth-child(5) { --delay: .2s; }
.hsu-waveform span:nth-child(6) { --delay: .1s; }
.hsu-waveform span:nth-child(7) { --delay: 0s; }
@keyframes hsuWavePulse {
    0%, 100% {
        height: var(--bar-low, 4px);
        opacity: .72;
    }
    50% {
        height: var(--bar-high, 14px);
        opacity: 1;
    }
}
.hsu-signal-clear .hsu-waveform span {
    --bar-low: 2px;
    --bar-high: 5px;
    --wave-speed: 2.4s;
    opacity: .6;
}
.hsu-signal-faint-static .hsu-waveform span {
    --bar-low: 4px;
    --bar-high: 10px;
    --wave-speed: 1.8s;
}
.hsu-signal-static .hsu-waveform span {
    --bar-low: 6px;
    --bar-high: 15px;
    --wave-speed: 1.2s;
}
.hsu-signal-strong-static .hsu-waveform span {
    --bar-low: 7px;
    --bar-high: 22px;
    --wave-speed: .65s;
}
.hsu-signal-no-signal .hsu-waveform {
    align-items: center;
}
.hsu-signal-no-signal .hsu-waveform span {
    height: 2px;
    animation: none;
    box-shadow: none;
    opacity: .35;
}
.hsu-phone-signal-off {
    position: relative;
    display: flex;
    align-items: end;
    gap: 1px;
    height: 11px;
    padding-right: 5px;
    color: rgba(238, 242, 236, .78);
}
.hsu-phone-signal-off span {
    display: block;
    width: 2px;
    border-radius: 2px 2px 0 0;
    background: currentColor;
    opacity: .72;
}
.hsu-phone-signal-off span:nth-child(1) {
    height: 4px;
}
.hsu-phone-signal-off span:nth-child(2) {
    height: 7px;
}
.hsu-phone-signal-off span:nth-child(3) {
    height: 10px;
}
.hsu-phone-signal-off b {
    position: absolute;
    right: -2px;
    top: 0;
    color: #e34a4a;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 0 4px rgba(0, 0, 0, .85);
}
.hsu-battery-bars {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px 3px;
    background: rgba(0, 0, 0, .42);
    border: 1px solid rgba(108, 226, 146, .38);
    border-radius: 4px;
}
.hsu-battery-bars span {
    width: 2px;
    height: 7px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.hsu-battery-bars span.is-active {
    background: rgba(108, 226, 146, .96);
    box-shadow: 0 0 8px rgba(108, 226, 146, .66);
}
.hsu-avatar-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--hsu-muted);
    font-size: 13px;
}
.hsu-avatar-meta strong {
    color: var(--hsu-text);
    font-size: 15px;
}
.hsu-board-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    grid-template-rows: repeat(9, minmax(0, 1fr));
    gap: 0;
    width: min(100%, 620px);
    max-width: 620px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    overflow: hidden;
    background: #171717;
    border-top: 1px solid rgba(241, 238, 232, .28);
    border-left: 1px solid rgba(241, 238, 232, .28);
}
.hsu-board-cell {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    border-right: 1px solid rgba(241, 238, 232, .28);
    border-bottom: 1px solid rgba(241, 238, 232, .28);
    border-radius: 0;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    color: var(--hsu-text);
    background: inherit;
    text-align: center;
    font-size: clamp(20px, 4vw, 38px);
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hsu-game.is-sudoku .hsu-board-grid {
    background: #f8f6f0;
    border-top: 2px solid #1f1f1f;
    border-left: 2px solid #1f1f1f;
}
.hsu-game.is-sudoku .hsu-board-cell {
    border-right-color: #b8b8b8;
    border-bottom-color: #b8b8b8;
    color: #1f1f1f;
    background: #f8f6f0;
}
.hsu-game.is-sudoku .hsu-board-cell:nth-child(3n) {
    border-right: 2px solid #1f1f1f;
}
.hsu-game.is-sudoku .hsu-board-cell:nth-child(n+19):nth-child(-n+27),
.hsu-game.is-sudoku .hsu-board-cell:nth-child(n+46):nth-child(-n+54),
.hsu-game.is-sudoku .hsu-board-cell:nth-child(n+73):nth-child(-n+81) {
    border-bottom: 2px solid #1f1f1f;
}
.hsu-game.is-sudoku .hsu-board-cell.is-given {
    color: #111;
    background: #f8f6f0;
    font-weight: 800;
}
.hsu-game.is-sudoku .hsu-board-cell.is-correct {
    color: #264a63;
    background: #f8f6f0;
}
.hsu-game.is-sudoku .hsu-board-cell.is-wrong {
    color: #8d1f24;
    background: #f9e5e5;
}
.hsu-mobile-number-pad {
    display: none;
}
.sk-board-toolbar {
    display: block;
    width: min(100%, 620px);
    max-width: 620px;
    min-height: 50px;
    margin: 7px auto 0;
}
.sk-board-toolbar[hidden] {
    display: none;
}
.sk-board-toolbar-inner {
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    color: var(--hsu-text);
    background: rgba(27, 26, 25, .9);
    border: 1px solid rgba(241, 238, 232, .14);
}
.sk-toolbar-number-row {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 5px;
    min-height: 42px;
    padding: 0;
    background: transparent;
    border: 0;
}
.sk-toolbar-number-row button,
.sk-toolbar-end-turn {
    min-width: 0;
    min-height: 34px;
    padding: 0 8px;
    color: var(--hsu-text);
    background: rgba(56, 56, 56, .88);
    border: 1px solid rgba(241, 238, 232, .18);
    border-radius: 5px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}
.sk-toolbar-number-row button {
    width: 100%;
    min-height: 42px;
    padding: 0;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}
.sk-toolbar-number-row button:hover,
.sk-toolbar-number-row button:focus,
.sk-toolbar-number-row button.is-active,
.sk-toolbar-end-turn:hover,
.sk-toolbar-end-turn:focus {
    color: #111;
    background: #d9b76f;
    border-color: #e2c986;
    outline: none;
}
.sk-toolbar-number-row button:disabled,
.sk-toolbar-end-turn:disabled {
    opacity: .45;
    cursor: default;
}
.sk-toolbar-status-row {
    justify-content: space-between;
}
.sk-toolbar-chip {
    min-width: 0;
    padding: 5px 8px;
    color: var(--hsu-muted);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(241, 238, 232, .1);
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
}
.sk-toolbar-chip-mode {
    color: #f2d8b1;
    font-weight: 900;
    text-transform: uppercase;
}
.sk-toolbar-mode-escape .sk-toolbar-chip-mode {
    color: #f0a0a0;
}
.sk-toolbar-end-turn {
    flex: 0 0 auto;
}
.hsu-game .hsu-sudoku-input {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: none;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    color: inherit;
    background: transparent;
    font: inherit;
    line-height: 1;
    text-align: center;
}
.hsu-game .hsu-sudoku-input:focus {
    box-shadow: inset 0 0 0 2px rgba(38, 74, 99, .55);
}
.hsu-completion-cell-image,
.hsu-completion-box-image {
    position: absolute;
    z-index: 24;
    display: grid;
    place-items: center;
    pointer-events: none;
    opacity: 0;
    transform: scale(.78);
    animation: hsuCompletionImagePop 260ms ease-out forwards;
}
.hsu-completion-cell-image {
    inset: 10%;
}
.hsu-completion-cell-image img,
.hsu-completion-box-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.hsu-completion-box-image {
    background: rgba(248, 246, 240, .1);
    animation: hsuCompletionBoxImagePop 360ms ease-out forwards;
}
.hsu-completion-box-image img {
    padding: 7%;
}
.hsu-completion-box-reward {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    color: #f1c76b;
    font-size: clamp(34px, 7vw, 76px);
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 0 rgba(17, 17, 17, .85), 0 0 18px rgba(217, 183, 111, .76);
    transform: translate(-50%, -50%);
    animation: hsuCompletionRewardPop 520ms ease-out forwards;
}
@keyframes hsuCompletionImagePop {
    0% {
        opacity: 0;
        transform: scale(.58) rotate(-8deg);
    }
    70% {
        opacity: 1;
        transform: scale(1.08) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}
@keyframes hsuCompletionBoxImagePop {
    0% {
        opacity: 0;
        transform: scale(.86);
    }
    70% {
        opacity: 1;
        transform: scale(1.04);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes hsuCompletionRewardPop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.55);
    }
    70% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.12);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
.hsu-game.is-sudoku .hsu-board-cell.is-selected {
    box-shadow: inset 0 0 0 2px rgba(217, 183, 111, .95);
}
.hsu-game.is-sudoku .hsu-board-cell.sk-assist-row,
.hsu-game.is-sudoku .hsu-board-cell.sk-assist-column {
    background-color: #eee7d8;
}
.hsu-game.is-sudoku .hsu-board-cell.sk-assist-same-number {
    background-color: #dfcfaa;
    box-shadow: inset 0 0 0 2px rgba(184, 144, 78, .42);
}
.hsu-game.is-sudoku .hsu-board-cell.sk-assist-selected-cell,
.hsu-game.is-sudoku .hsu-board-cell.sk-assist-selected-number {
    background-color: #d9b76f;
    box-shadow: inset 0 0 0 3px rgba(31, 31, 31, .72), 0 0 0 2px rgba(217, 183, 111, .55);
}
.hsu-game.is-sudoku .hsu-board-cell.sk-assist-selected-number {
    background-color: #d0a85b;
}
.hsu-game.is-sudoku .hsu-board-cell.is-wrong.sk-assist-row,
.hsu-game.is-sudoku .hsu-board-cell.is-wrong.sk-assist-column,
.hsu-game.is-sudoku .hsu-board-cell.is-wrong.sk-assist-same-number {
    background-color: #f9e5e5;
}
.hsu-game.is-sudoku .hsu-board-cell.is-wrong.sk-assist-selected-cell,
.hsu-game.is-sudoku .hsu-board-cell.is-wrong.sk-assist-selected-number {
    background-color: #f1caca;
    box-shadow: inset 0 0 0 3px rgba(141, 31, 36, .72);
}
.hsu-game.is-sudoku .hsu-board-cell.hsu-row-complete-flash,
.hsu-game.is-sudoku .hsu-board-cell.hsu-col-complete-flash {
    animation: hsuSoftCompleteFlash 1200ms ease-out;
}
.hsu-game.is-sudoku .hsu-board-cell.hsu-box-complete-flash {
    animation: hsuBoxRewardPulse 1700ms ease-out;
}
.hsu-complete-float,
.hsu-reward-float {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 30;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    max-width: 44%;
    padding: 6px 10px;
    color: #f8f1df;
    background: rgba(25, 25, 25, .88);
    border: 1px solid rgba(217, 183, 111, .42);
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
    pointer-events: none;
    text-align: center;
    line-height: 1.15;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    animation: hsuFloatUpFade 2200ms ease-out forwards;
}
.hsu-complete-float {
    color: #dcecf4;
    border-color: rgba(180, 230, 255, .28);
    font-size: 12px;
    font-weight: 700;
}
.hsu-reward-float {
    padding: 10px 14px;
    color: #fff4d6;
    border-color: rgba(217, 183, 111, .72);
    background: rgba(31, 28, 21, .92);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .38), 0 0 24px rgba(217, 183, 111, .24);
    animation: hsuRewardFloatUpFade 2800ms ease-out forwards;
}
.hsu-reward-float strong {
    color: #f1c76b;
    font-size: 16px;
    font-weight: 900;
}
.hsu-investigation-counter-pulse {
    animation: hsuCounterPulse 1200ms ease-out;
}
@keyframes hsuSoftCompleteFlash {
    0% {
        box-shadow: inset 0 0 0 rgba(180, 230, 255, 0);
        background-color: #f8f6f0;
    }
    35% {
        box-shadow: inset 0 0 24px rgba(112, 167, 190, .58), 0 0 10px rgba(112, 167, 190, .22);
        background-color: rgba(180, 230, 255, .22);
    }
    62% {
        box-shadow: inset 0 0 16px rgba(112, 167, 190, .38);
        background-color: rgba(180, 230, 255, .12);
    }
    100% {
        box-shadow: inset 0 0 0 rgba(180, 230, 255, 0);
        background-color: #f8f6f0;
    }
}
@keyframes hsuBoxRewardPulse {
    0% {
        box-shadow: inset 0 0 0 rgba(255, 220, 140, 0);
        background-color: #f8f6f0;
    }
    35% {
        box-shadow: inset 0 0 34px rgba(217, 183, 111, .86), 0 0 18px rgba(217, 183, 111, .32);
        background-color: rgba(255, 220, 140, .28);
    }
    70% {
        box-shadow: inset 0 0 24px rgba(217, 183, 111, .52);
        background-color: rgba(255, 220, 140, .16);
    }
    100% {
        box-shadow: inset 0 0 0 rgba(255, 220, 140, 0);
        background-color: #f8f6f0;
    }
}
@keyframes hsuFloatUpFade {
    0% {
        opacity: 0;
        transform: translate(-50%, -40%) scale(.96);
    }
    14% {
        opacity: 1;
        transform: translate(-50%, -55%) scale(1);
    }
    72% {
        opacity: 1;
        transform: translate(-50%, -62%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -95%) scale(1.02);
    }
}
@keyframes hsuRewardFloatUpFade {
    0% {
        opacity: 0;
        transform: translate(-50%, -35%) scale(.94);
    }
    14% {
        opacity: 1;
        transform: translate(-50%, -52%) scale(1.04);
    }
    26% {
        opacity: 1;
        transform: translate(-50%, -56%) scale(1);
    }
    72% {
        opacity: 1;
        transform: translate(-50%, -62%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -105%) scale(1.03);
    }
}
@keyframes hsuCounterPulse {
    0% {
        transform: scale(1);
        box-shadow: none;
    }
    35% {
        transform: scale(1.06);
        box-shadow: 0 0 24px rgba(217, 183, 111, .58);
    }
    62% {
        transform: scale(1.025);
        box-shadow: 0 0 16px rgba(217, 183, 111, .36);
    }
    100% {
        transform: scale(1);
        box-shadow: none;
    }
}
.hsu-sudoku-notes {
    position: absolute;
    inset: 3px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    pointer-events: none;
    color: rgba(31, 31, 31, .62);
    font-size: clamp(8px, 1.35vw, 12px);
    font-weight: 700;
    line-height: 1;
}
.hsu-sudoku-note {
    min-width: 0;
    min-height: 0;
}
.hsu-board-cell.has-notes .hsu-sudoku-input {
    color: transparent;
    caret-color: transparent;
}
.hsu-game.is-notes-mode .hsu-board-cell:not(.is-given):not(.is-correct):not(.is-wrong) .hsu-sudoku-input {
    color: transparent;
    caret-color: transparent;
}
.hsu-game.is-notes-mode .hsu-board-cell:not(.is-given) .hsu-sudoku-input:focus {
    box-shadow: inset 0 0 0 2px rgba(217, 183, 111, .75);
}
.hsu-game.is-room .hsu-board-cell {
    cursor: pointer;
    z-index: 2;
    border-right-color: rgba(241, 238, 232, .06);
    border-bottom-color: rgba(241, 238, 232, .06);
    background: transparent;
}
.hsu-game.is-room .hsu-board-grid {
    border-top-color: rgba(241, 238, 232, .06);
    border-left-color: rgba(241, 238, 232, .06);
}
.hsu-game.is-phone .hsu-board-panel {
    display: grid;
    place-items: center;
    min-height: 620px;
    background: radial-gradient(circle at 50% 20%, #20242a, #0b0c0f 70%);
}
.hsu-game.is-phone .hsu-board-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    min-height: 0;
    padding: 10px;
    background: transparent;
    border: 0;
}
.hsu-game.is-phone .hsu-monitor-overlay {
    display: none;
}
.hsu-phone-frame {
    width: min(100%, 348px);
    max-height: 620px;
    aspect-ratio: 9 / 16;
    padding: 10px;
    color: #eef5ee;
    background: linear-gradient(155deg, #08090b, #181b20 48%, #060708);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 34px;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(255, 255, 255, .04);
}
@supports (height: 100svh) {
    .hsu-phone-frame {
        width: min(100%, 348px);
    }
}
.hsu-phone-screen {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 8px;
    height: 100%;
    padding: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #091018, #050709);
    border: 1px solid rgba(134, 170, 152, .18);
    border-radius: 24px;
}
.hsu-phone-dial {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    min-height: 0;
}
.hsu-phone-speaker {
    width: 86px;
    height: 5px;
    margin: 0 auto 5px;
    background: #2a3238;
    border-radius: 999px;
}
.hsu-call-header {
    display: grid;
    gap: 2px;
    text-align: center;
}
.hsu-call-header strong {
    font-size: 17px;
    line-height: 1.1;
}
.hsu-call-status {
    color: #7bd49c;
    font-size: 12px;
}
.hsu-phone-display {
    display: grid;
    place-items: center;
    min-height: 60px;
    margin: 9px 0;
    color: #f3f7f2;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    font-size: 32px;
    letter-spacing: 4px;
}
.hsu-phone-note {
    min-height: 20px;
    color: #d9b76f;
    font-size: 13px;
    text-align: center;
}
.hsu-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}
.hsu-keypad button,
.hsu-call-actions button,
.hsu-call-choice {
    min-height: 38px;
    color: #f2f5f1;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    cursor: pointer;
}
.hsu-keypad button:hover,
.hsu-keypad button:focus,
.hsu-call-actions button:hover,
.hsu-call-actions button:focus,
.hsu-call-choice:hover,
.hsu-call-choice:focus {
    border-color: rgba(123, 212, 156, .7);
    outline: none;
}
.hsu-keypad button {
    font-size: 20px;
}
.hsu-call-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 7px;
}
.hsu-call-actions .is-call {
    background: #245f3b;
}
.hsu-call-actions .is-clear {
    background: #4a2a2d;
}
.hsu-call-scene {
    position: relative;
    display: grid;
    grid-template-rows: minmax(78px, auto) 1fr minmax(60px, auto);
    gap: 8px;
    min-height: 0;
}
.hsu-call-bubble {
    max-width: 78%;
    padding: 8px 10px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.35;
}
.hsu-call-bubble.is-operator {
    justify-self: end;
    align-self: start;
    background: rgba(52, 64, 74, .92);
}
.hsu-call-bubble.is-player {
    justify-self: start;
    align-self: end;
    background: rgba(37, 82, 56, .9);
}
.hsu-call-choices {
    align-self: center;
    display: grid;
    gap: 6px;
}
.hsu-call-choice {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 8px 9px;
    text-align: left;
    font-size: 13px;
}
.hsu-call-choice .hsu-recovered-tag {
    color: #d9b76f;
    font-size: 11px;
    white-space: nowrap;
}
.hsu-call-result {
    display: grid;
    place-items: center;
    gap: 8px;
    height: 100%;
    text-align: center;
}
.hsu-call-result strong {
    color: #f2f5f1;
    font-size: 24px;
}
.hsu-call-save-note {
    max-width: 90%;
    color: rgba(242, 245, 241, .78);
    font-size: 13px;
    line-height: 1.35;
}
.hsu-call-result .hsu-call-actions {
    width: min(100%, 320px);
    grid-template-columns: 1fr;
}
.hsu-room-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .82;
    pointer-events: none;
}
.hsu-game.is-room .hsu-board-cell.is-move-option {
    color: #f6ead2;
    background: transparent;
}
.hsu-game.is-room .hsu-board-cell.is-move-option .hsu-move-arrow {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    animation: hsuArrowPulse 1s ease-in-out infinite;
}
.hsu-game.is-room .hsu-board-cell.is-move-option .hsu-move-arrow.is-up {
    border-width: 0 12px 18px;
    border-color: transparent transparent #f6ead2;
}
.hsu-game.is-room .hsu-board-cell.is-move-option .hsu-move-arrow.is-down {
    border-width: 18px 12px 0;
    border-color: #f6ead2 transparent transparent;
}
.hsu-game.is-room .hsu-board-cell.is-move-option .hsu-move-arrow.is-left {
    border-width: 12px 18px 12px 0;
    border-color: transparent #f6ead2 transparent transparent;
}
.hsu-game.is-room .hsu-board-cell.is-move-option .hsu-move-arrow.is-right {
    border-width: 12px 0 12px 18px;
    border-color: transparent transparent transparent #f6ead2;
}
.hsu-game.is-room .hsu-board-cell.is-paused {
    cursor: default;
}
.hsu-board-cell.is-placeholder-room {
    color: #f0e9dd;
    background: #252525;
    font-size: clamp(11px, 1.8vw, 15px);
    font-weight: 700;
}
.hsu-game.is-room .hsu-board-cell.is-visited {
    background: rgba(75, 82, 96, .14);
}
.hsu-game.is-room .hsu-board-cell.is-furniture {
    background: transparent;
    cursor: not-allowed;
}
.hsu-game.is-room .hsu-board-cell.is-furniture-image-cell {
    background: transparent;
}
.hsu-furniture-image {
    position: absolute;
    z-index: 4;
    object-fit: contain;
    object-position: center center;
    max-width: none;
    max-height: none;
    pointer-events: none;
    display: block;
    transform-origin: center center;
}
.hsu-room-darkness-overlay {
    position: absolute;
    inset: 0;
    z-index: 18;
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .78) 38%, rgba(0, 0, 0, 1) 100%);
    pointer-events: none;
}
.hsu-door-light {
    position: absolute;
    z-index: 19;
    pointer-events: none;
    mix-blend-mode: screen;
}
.hsu-door-light::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .52;
    filter: blur(1px);
}
.hsu-door-light.is-left,
.hsu-door-light.is-right {
    width: 13%;
    height: 11.111%;
}
.hsu-door-light.is-top,
.hsu-door-light.is-bottom {
    width: 11.111%;
    height: 13%;
}
.hsu-door-light.is-left::before {
    background: linear-gradient(90deg, rgba(255, 244, 196, .64) 0%, rgba(232, 184, 82, .22) 34%, rgba(232, 184, 82, 0) 100%);
}
.hsu-door-light.is-right::before {
    background: linear-gradient(270deg, rgba(255, 244, 196, .64) 0%, rgba(232, 184, 82, .22) 34%, rgba(232, 184, 82, 0) 100%);
}
.hsu-door-light.is-top::before {
    background: linear-gradient(180deg, rgba(255, 244, 196, .64) 0%, rgba(232, 184, 82, .22) 34%, rgba(232, 184, 82, 0) 100%);
}
.hsu-door-light.is-bottom::before {
    background: linear-gradient(0deg, rgba(255, 244, 196, .64) 0%, rgba(232, 184, 82, .22) 34%, rgba(232, 184, 82, 0) 100%);
}
.hsu-evidence-marker,
.hsu-search-marker {
    z-index: 10;
}
.hsu-search-object-marker {
    position: absolute;
    z-index: 14;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(18px, 5%, 32px);
    aspect-ratio: 1;
    color: #171717;
    background: #d9b76f;
    border: 1px solid rgba(17, 17, 17, .75);
    border-radius: 999px;
    font-size: clamp(12px, 1.8vw, 17px);
    font-weight: 900;
    line-height: 1;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.hsu-search-object-marker.is-unsearched::before {
    content: "";
    width: 40%;
    aspect-ratio: 1;
    border: 2px solid currentColor;
    border-radius: 999px;
    transform: translate(-10%, -8%);
}
.hsu-search-object-marker.is-unsearched::after {
    content: "";
    position: absolute;
    width: 31%;
    height: 2px;
    background: currentColor;
    transform: translate(29%, 34%) rotate(45deg);
    transform-origin: left center;
}
.hsu-search-object-marker.is-searched,
.hsu-search-object-marker.is-hidden {
    opacity: .62;
}
.hsu-injury-overlay {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(5, 5, 5, .72);
    pointer-events: none;
}
.hsu-injury-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hsu-injury-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f0e9dd;
    background: #090909;
    font-size: clamp(18px, 5vw, 44px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}
.hsu-game.is-room .hsu-board-cell.is-exit {
    overflow: visible;
}
.hsu-game.is-room .hsu-board-cell.is-exit::after {
    content: "";
    position: absolute;
    z-index: 5;
    display: block;
    background: #f0e9dd;
    box-shadow: 0 0 0 2px #222;
    pointer-events: none;
}
.hsu-game.is-room .hsu-board-cell.is-exit-left::after,
.hsu-game.is-room .hsu-board-cell.is-exit-right::after {
    top: 0;
    width: 4px;
    height: 100%;
}
.hsu-game.is-room .hsu-board-cell.is-exit-left::after {
    left: -2px;
}
.hsu-game.is-room .hsu-board-cell.is-exit-right::after {
    right: -2px;
}
.hsu-game.is-room .hsu-board-cell.is-exit-top::after {
    left: 0;
    top: -2px;
    width: 100%;
    height: 4px;
}
.hsu-game.is-room .hsu-board-cell.is-exit-bottom::after {
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 4px;
}
.hsu-game.is-room .hsu-board-cell.is-evidence-found .hsu-evidence-marker,
.hsu-game.is-debug.is-room .hsu-board-cell.is-evidence-hidden .hsu-evidence-marker {
    position: absolute;
    right: 7%;
    bottom: 7%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22%;
    height: 22%;
    min-width: 16px;
    min-height: 16px;
    color: #171717;
    background: #f0e9dd;
    border: 1px solid rgba(17, 17, 17, .75);
    border-radius: 999px;
    font-size: clamp(10px, 1.7vw, 14px);
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}
.hsu-game.is-debug.is-room .hsu-board-cell.is-evidence-hidden .hsu-evidence-marker {
    opacity: .45;
}
.hsu-game.is-room .hsu-board-cell.is-searchable-ready .hsu-search-marker,
.hsu-game.is-room .hsu-board-cell.is-searchable-done .hsu-search-marker,
.hsu-game.is-debug.is-room .hsu-board-cell.is-searchable-hidden .hsu-search-marker {
    position: absolute;
    left: 7%;
    top: 7%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22%;
    height: 22%;
    min-width: 16px;
    min-height: 16px;
    color: #171717;
    background: #d9b76f;
    border: 1px solid rgba(17, 17, 17, .75);
    border-radius: 999px;
    font-size: clamp(10px, 1.7vw, 14px);
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}
.hsu-game.is-room .hsu-board-cell.is-searchable-ready {
    box-shadow: inset 0 0 0 2px rgba(217, 183, 111, .7);
}
.hsu-game.is-room .hsu-board-cell.is-searchable-done .hsu-search-marker,
.hsu-game.is-debug.is-room .hsu-board-cell.is-searchable-hidden .hsu-search-marker {
    opacity: .45;
}
.hsu-game.is-room .hsu-board-cell.is-player {
    z-index: 22;
    background: transparent;
    color: #111;
}
.hsu-player-marker-img {
    display: block;
    position: relative;
    z-index: 23;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    pointer-events: none;
}
.hsu-marker-move-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    color: #171717;
    background: #d9b76f;
    border: 1px solid rgba(17, 17, 17, .76);
    border-radius: 999px;
    font-size: clamp(10px, 1.65vw, 13px);
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
    text-shadow: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .42);
}
.hsu-game.is-room .hsu-board-cell.is-marker-motion-hidden > :not(.hsu-move-arrow) {
    opacity: 0;
}
.hsu-game.is-room .hsu-board-cell.is-marker-motion-hidden {
    color: transparent;
    text-shadow: none;
}
.hsu-marker-roll-overlay {
    position: absolute;
    z-index: 36;
    pointer-events: none;
    animation: hsuMarkerRollMove var(--hsu-marker-roll-duration, 260ms) linear var(--hsu-marker-roll-delay, 0ms) both;
}
.hsu-marker-roll-scene {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 280px;
    transform-style: preserve-3d;
}
.hsu-marker-roll-scene .hsu-marker-move-badge {
    z-index: 4;
}
.hsu-marker-roll-cube {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    will-change: transform;
}
.hsu-marker-roll-overlay.is-right .hsu-marker-roll-cube {
    animation: hsuMarkerRollRight var(--hsu-marker-roll-duration, 260ms) ease-in-out var(--hsu-marker-roll-delay, 0ms) both;
}
.hsu-marker-roll-overlay.is-left .hsu-marker-roll-cube {
    animation: hsuMarkerRollLeft var(--hsu-marker-roll-duration, 260ms) ease-in-out var(--hsu-marker-roll-delay, 0ms) both;
}
.hsu-marker-roll-overlay.is-down .hsu-marker-roll-cube {
    animation: hsuMarkerRollDown var(--hsu-marker-roll-duration, 260ms) ease-in-out var(--hsu-marker-roll-delay, 0ms) both;
}
.hsu-marker-roll-overlay.is-up .hsu-marker-roll-cube {
    animation: hsuMarkerRollUp var(--hsu-marker-roll-duration, 260ms) ease-in-out var(--hsu-marker-roll-delay, 0ms) both;
}
.hsu-marker-roll-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(18, 18, 18, .92);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
    color: #f7e5c2;
    font-size: clamp(18px, 4vw, 34px);
    font-weight: 900;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.hsu-marker-roll-cube.is-player .hsu-marker-roll-face {
    background: rgba(28, 36, 34, .94);
}
.hsu-marker-roll-cube.is-killer .hsu-marker-roll-face {
    background: rgba(64, 12, 16, .95);
}
.hsu-marker-roll-face img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}
.hsu-marker-roll-face-front {
    transform: translateZ(var(--hsu-marker-roll-half, 28px));
}
.hsu-marker-roll-face-back {
    transform: rotateY(180deg) translateZ(var(--hsu-marker-roll-half, 28px));
}
.hsu-marker-roll-face-right {
    transform: rotateY(90deg) translateZ(var(--hsu-marker-roll-half, 28px));
}
.hsu-marker-roll-face-left {
    transform: rotateY(-90deg) translateZ(var(--hsu-marker-roll-half, 28px));
}
.hsu-marker-roll-face-top {
    transform: rotateX(90deg) translateZ(var(--hsu-marker-roll-half, 28px));
}
.hsu-marker-roll-face-bottom {
    transform: rotateX(-90deg) translateZ(var(--hsu-marker-roll-half, 28px));
}
@keyframes hsuMarkerRollMove {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(var(--hsu-marker-roll-x, 0), var(--hsu-marker-roll-y, 0), 0);
    }
}
@keyframes hsuMarkerRollRight {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(90deg);
    }
}
@keyframes hsuMarkerRollLeft {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(-90deg);
    }
}
@keyframes hsuMarkerRollDown {
    from {
        transform: rotateX(0deg);
    }
    to {
        transform: rotateX(-90deg);
    }
}
@keyframes hsuMarkerRollUp {
    from {
        transform: rotateX(0deg);
    }
    to {
        transform: rotateX(90deg);
    }
}
.hsu-game.is-debug.is-room .hsu-board-cell.is-protected {
    outline: 2px solid var(--hsu-safe);
    outline-offset: -3px;
}
.hsu-game.is-room .hsu-board-cell.is-threat {
    background: rgba(182, 47, 53, .16);
    box-shadow: inset 0 0 0 2px rgba(182, 47, 53, .34);
}
.hsu-game.is-room .hsu-board-cell.is-threat::before {
    content: "";
    position: absolute;
    inset: 28%;
    border: 1px solid rgba(255, 205, 170, .55);
    transform: rotate(45deg);
    pointer-events: none;
}
.hsu-game.is-room .hsu-board-cell.is-killer-path {
    box-shadow: inset 0 0 0 2px rgba(217, 183, 111, .46), 0 0 12px rgba(217, 183, 111, .18);
}
.hsu-dice-overlay {
    position: absolute;
    inset: 0;
    z-index: 44;
    display: grid;
    place-items: center;
    padding: 14px;
    background: rgba(9, 9, 9, .38);
}
.hsu-dice-card {
    position: relative;
    width: min(94%, 560px);
    aspect-ratio: 4 / 3;
    display: block;
    padding: clamp(58px, 14%, 112px) clamp(32px, 8%, 68px) clamp(32px, 7%, 58px);
    color: var(--hsu-text);
    background: transparent url("../images/dice-backdrop.png") center / 100% 100% no-repeat;
    border: 0;
    box-shadow: none;
}
.hsu-dice-card strong {
    font-size: 16px;
}
.hsu-dice-subtitle {
    color: var(--hsu-muted);
    font-size: 12px;
}
.hsu-dice-title {
    position: absolute;
    left: 22%;
    right: 22%;
    top: 11%;
    z-index: 2;
    color: #ffffff;
    font-size: clamp(18px, 3.4vw, 30px);
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .72);
    pointer-events: none;
}
.hsu-dice-row {
    position: absolute;
    left: 21%;
    right: 21%;
    top: 52%;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 5%, 30px);
    align-items: center;
    transform: translateY(-50%);
}
.hsu-dice-roll-row {
    position: absolute;
    left: 0;
    right: 0;
    top: 67%;
    display: flex;
    justify-content: center;
    justify-self: center;
    width: 100%;
    margin-top: 0;
    transform: translate(6px, 15px);
    z-index: 8;
}
.hsu-dice-face-wrap {
    position: relative;
    display: grid;
    gap: 7px;
    justify-items: center;
}
.hsu-dice-face-wrap.sk-dice-loser .hsu-dice-face {
    filter: brightness(.62) saturate(.82);
    opacity: .82;
}
.hsu-dice-face-wrap.sk-dice-winner.sk-dice-result-animating .hsu-dice-face {
    animation: hsuDiceWinnerPulse .58s ease-out both;
}
.hsu-dice-face-wrap.sk-dice-winner::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -9%;
    z-index: 1;
    width: 128%;
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: .62;
}
.sk-dice-result-safe .hsu-dice-face-wrap.sk-dice-winner::before {
    background: radial-gradient(circle, rgba(255, 220, 92, .46), rgba(255, 220, 92, .16) 43%, rgba(255, 220, 92, 0) 72%);
}
.sk-dice-result-danger .hsu-dice-face-wrap.sk-dice-winner::before {
    background: radial-gradient(circle, rgba(218, 0, 22, .48), rgba(128, 0, 13, .2) 45%, rgba(128, 0, 13, 0) 74%);
}
.sk-dice-result-danger .hsu-dice-face-wrap.is-player-die.sk-dice-loser.sk-dice-result-animating .hsu-dice-face {
    animation: hsuDiceLoserShake .42s ease-out both;
}
.hsu-dice-face {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: min(100%, 112px);
    aspect-ratio: 1 / 1;
    color: #fff8ea;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 42px;
    font-weight: 900;
}
.hsu-dice-face.is-rolling {
    animation: none;
}
.hsu-dice-face-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}
.hsu-dice-face.is-image-missing {
    background: linear-gradient(145deg, #38322c, #171514);
    border: 1px solid rgba(217, 183, 111, .54);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, .42), 0 10px 24px rgba(0, 0, 0, .28);
    font-size: 42px;
    font-weight: 900;
}
.hsu-dice-scene {
    width: 112px;
    height: 112px;
    max-width: 100%;
    max-height: 100%;
    perspective: 600px;
    transform-style: preserve-3d;
}
.hsu-dice-cube {
    --hsu-dice-cube-half: 56px;
    position: relative;
    width: 112px;
    height: 112px;
    max-width: 100%;
    max-height: 100%;
    transform-style: preserve-3d;
    transition: transform 2s cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
}
.hsu-dice-cube-face {
    position: absolute;
    width: 112px;
    height: 112px;
    max-width: 100%;
    max-height: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: transparent;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow: none;
    transform-style: preserve-3d;
    will-change: transform;
}
.hsu-dice-cube-face img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    transform: translateZ(.1px);
    -webkit-transform: translateZ(.1px);
}
.hsu-dice-cube-face-front {
    transform: translateZ(var(--hsu-dice-cube-half));
}
.hsu-dice-cube-face-back {
    transform: rotateY(180deg) translateZ(var(--hsu-dice-cube-half));
}
.hsu-dice-cube-face-right {
    transform: rotateY(90deg) translateZ(var(--hsu-dice-cube-half));
}
.hsu-dice-cube-face-left {
    transform: rotateY(-90deg) translateZ(var(--hsu-dice-cube-half));
}
.hsu-dice-cube-face-top {
    transform: rotateX(90deg) translateZ(var(--hsu-dice-cube-half));
}
.hsu-dice-cube-face-bottom {
    transform: rotateX(-90deg) translateZ(var(--hsu-dice-cube-half));
}
.hsu-dice-label {
    position: relative;
    z-index: 3;
    color: #111111;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    transform: translateY(-4px);
}
.hsu-dice-roll-button,
.hsu-dice-actions button {
    min-height: 26px;
    min-width: 98px;
    padding: 4px 16px;
    color: #fff8ea;
    background:
        linear-gradient(180deg, rgba(86, 87, 83, .98) 0%, rgba(47, 49, 48, .98) 48%, rgba(34, 35, 35, 1) 100%);
    border: 1px solid rgba(14, 12, 10, .85);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        inset 0 -2px 0 rgba(0, 0, 0, .38),
        0 0 0 1px rgba(217, 183, 111, .42),
        0 4px 10px rgba(0, 0, 0, .35);
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .7);
}
.hsu-dice-roll-button:hover,
.hsu-dice-roll-button:focus,
.hsu-dice-actions button:hover,
.hsu-dice-actions button:focus {
    background:
        linear-gradient(180deg, rgba(99, 101, 96, .98) 0%, rgba(54, 56, 55, .98) 48%, rgba(39, 40, 40, 1) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .22),
        inset 0 -2px 0 rgba(0, 0, 0, .42),
        0 0 0 1px rgba(217, 183, 111, .72),
        0 5px 14px rgba(0, 0, 0, .4);
    outline: none;
}
.hsu-dice-roll-button:active,
.hsu-dice-actions button:active {
    transform: translateY(1px);
}
.hsu-dice-roll-button:disabled,
.hsu-dice-actions button:disabled {
    cursor: default;
    opacity: .7;
}
.hsu-dice-body {
    white-space: pre-line;
    color: var(--hsu-muted);
    font-size: 13px;
    line-height: 1.45;
}
.hsu-dice-result {
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 8%;
    z-index: 7;
    white-space: pre-line;
    padding: 0;
    color: #2c2119;
    background: transparent;
    border: 0;
    font-family: "American Typewriter", "Courier New", Courier, monospace;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}
.hsu-dice-actions {
    position: absolute;
    left: 0;
    right: 0;
    top: 67%;
    display: flex;
    justify-content: center;
    width: 100%;
    transform: translate(6px, 11px);
    z-index: 8;
}
.sk-dice-panel.sk-dice-result-safe::before,
.sk-dice-panel.sk-dice-result-danger::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .82;
    animation: hsuDiceResultFade .25s ease-out both;
}
.sk-dice-panel.sk-dice-result-safe::before {
    background: radial-gradient(circle at 36% 48%, rgba(255, 219, 109, .34), rgba(201, 148, 45, .12) 42%, rgba(0, 0, 0, 0) 76%);
}
.sk-dice-panel.sk-dice-result-danger::before {
    background: radial-gradient(circle at 63% 48%, rgba(174, 0, 12, .42), rgba(91, 0, 8, .22) 44%, rgba(0, 0, 0, 0) 78%);
}
.sk-dice-panel.sk-dice-result-complete::before {
    animation: none;
    opacity: .82;
}
.sk-result-overlay,
.sk-static-flash {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
}
.sk-result-overlay-active {
    animation: hsuDiceResultFade .25s ease-out both;
}
.sk-result-overlay-complete {
    animation: none;
    opacity: .82;
}
.sk-static-flash-active {
    z-index: 3;
    opacity: .72;
    animation: hsuDiceStaticFlash .42s steps(2, end) both;
}
.sk-dice-panel-shake {
    animation: hsuDicePanelShake .38s ease-out .34s both;
}
.sk-dice-impact {
    position: absolute;
    left: 50%;
    top: -9%;
    z-index: 1;
    width: 128%;
    max-width: none;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    transform: translateX(-50%) scale(.72);
    pointer-events: none;
    opacity: 0;
}
.sk-dice-impact-active {
    animation: hsuDiceImpact .5s ease-out both;
}
.sk-dice-impact-complete {
    opacity: .68;
    transform: translateX(-50%) scale(1);
}
.sk-result-stamp {
    position: absolute;
    left: 50%;
    top: 25%;
    z-index: 7;
    width: 44%;
    max-width: 270px;
    height: auto;
    object-fit: contain;
    transform: translate(-50%, -50%) scale(1.18) rotate(-4deg);
    pointer-events: none;
    opacity: 0;
}
.sk-result-stamp-active {
    animation: hsuDiceStampSlam .48s cubic-bezier(.18, .88, .26, 1.18) .5s both;
}
.sk-result-stamp-complete {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(-4deg);
}
.sk-result-equation {
    position: absolute;
    left: 28%;
    right: 28%;
    bottom: 29%;
    z-index: 7;
    padding: 4px 8px;
    color: #fff0e7;
    background: rgba(52, 5, 7, .78);
    border: 1px solid rgba(255, 220, 198, .28);
    font-size: clamp(15px, 2.8vw, 22px);
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
    opacity: 0;
}
.sk-result-equation-active {
    animation: hsuDiceTextIn .32s ease-out .7s both;
}
.sk-result-equation-complete {
    opacity: 1;
}
.sk-step-markers {
    position: absolute;
    left: 50%;
    bottom: 22%;
    z-index: 7;
    display: flex;
    justify-content: center;
    gap: 7px;
    min-height: 28px;
    transform: translateX(-50%);
}
.sk-step-marker {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: clamp(20px, 4.2vw, 34px);
    height: clamp(20px, 4.2vw, 34px);
    border-radius: 999px;
    background: radial-gradient(circle, #d90f1d 0 36%, #580007 62%, rgba(88, 0, 7, .25) 100%);
    box-shadow: 0 0 12px rgba(198, 0, 18, .34);
    transform: translateY(8px) scale(.5);
    opacity: 0;
}
.sk-step-marker-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.sk-step-marker-active {
    animation: hsuDiceStepIn .26s ease-out both;
}
.sk-step-marker-complete {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.hsu-dice-actions button:disabled {
    cursor: default;
    filter: grayscale(.35);
    opacity: .55;
}
@keyframes hsuDiceResultFade {
    from { opacity: 0; }
    to { opacity: .82; }
}
@keyframes hsuDiceImpact {
    0% { opacity: 0; transform: translateX(-50%) scale(.58); }
    45% { opacity: 1; transform: translateX(-50%) scale(1.14); }
    100% { opacity: .68; transform: translateX(-50%) scale(1); }
}
@keyframes hsuDiceWinnerPulse {
    0% { transform: scale(1); }
    48% { transform: scale(1.12); }
    100% { transform: scale(1); }
}
@keyframes hsuDiceLoserShake {
    0%, 100% { transform: translateX(0); }
    22% { transform: translateX(-3px); }
    44% { transform: translateX(3px); }
    66% { transform: translateX(-2px); }
}
@keyframes hsuDicePanelShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-2px); }
    40% { transform: translateX(2px); }
    60% { transform: translateX(-1px); }
}
@keyframes hsuDiceStampSlam {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(1.65) rotate(-9deg); }
    70% { opacity: 1; transform: translate(-50%, -50%) scale(.94) rotate(-3deg); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
}
@keyframes hsuDiceTextIn {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes hsuDiceStepIn {
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hsuDiceStaticFlash {
    0%, 100% { opacity: 0; }
    25%, 62% { opacity: .68; }
}
@media (max-width: 520px) {
    .hsu-dice-card {
        width: min(78%, 300px);
        aspect-ratio: 3 / 4;
        background-image: url("../images/dice-background-mobile.png");
        padding: 38px 22px 22px;
    }
    .hsu-dice-row {
        left: 17%;
        right: 17%;
        top: 49%;
        gap: 12px;
        transform: translateY(-50%);
    }
    .hsu-dice-title {
        left: 12%;
        right: 12%;
        top: 12.5%;
        font-size: clamp(15px, 5.1vw, 20px);
    }
    .hsu-dice-roll-row {
        top: 60%;
        margin-top: 0;
        transform: translate(6px, 46px);
    }
    .hsu-dice-face {
        width: min(100%, 82px);
        font-size: 32px;
    }
    .hsu-dice-scene,
    .hsu-dice-cube,
    .hsu-dice-cube-face {
        width: 82px;
        height: 82px;
    }
    .hsu-dice-cube {
        --hsu-dice-cube-half: 41px;
    }
    .hsu-dice-roll-button {
        min-height: 24px;
        min-width: 78px;
        padding: 4px 11px;
        font-size: 13px;
    }
    .hsu-dice-label {
        transform: none;
    }
    .hsu-dice-result {
        left: 13%;
        right: 13%;
        bottom: 9%;
        padding: 5px 8px;
        font-size: 11px;
        line-height: 1.25;
    }
    .hsu-dice-actions {
        top: 60%;
        transform: translate(6px, 46px);
    }
    .sk-result-stamp {
        top: 25%;
        width: 58%;
        max-width: 190px;
    }
    .sk-result-equation {
        left: 22%;
        right: 22%;
        bottom: 25%;
        font-size: 16px;
    }
    .sk-step-markers {
        bottom: 19%;
        gap: 5px;
    }
    .sk-step-marker {
        width: 24px;
        height: 24px;
    }
}
.hsu-dice-board-hud {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 43;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 9px;
    color: var(--hsu-text);
    background: rgba(27, 26, 25, .9);
    border: 1px solid rgba(217, 183, 111, .34);
    font-size: 12px;
}
.hsu-dice-board-hud button {
    min-height: 28px;
    padding: 4px 9px;
    color: var(--hsu-text);
    background: #383838;
    border: 1px solid var(--hsu-line);
    cursor: pointer;
}
.hsu-exit-overlay {
    position: absolute;
    inset: 0;
    z-index: 45;
    display: grid;
    place-items: center;
    padding: 14px;
    background: rgba(9, 9, 9, .42);
}
.hsu-exit-card {
    width: min(86%, 390px);
    display: grid;
    gap: 14px;
    padding: 16px;
    color: var(--hsu-text);
    background: rgba(32, 29, 28, .96);
    border: 1px solid rgba(217, 183, 111, .45);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .42);
}
.hsu-exit-card strong {
    font-size: 16px;
    line-height: 1.35;
}
.hsu-exit-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.hsu-exit-actions button {
    min-height: 34px;
    padding: 7px 10px;
    color: var(--hsu-text);
    background: #383838;
    border: 1px solid var(--hsu-line);
    cursor: pointer;
}
.hsu-exit-actions button:hover,
.hsu-exit-actions button:focus {
    border-color: var(--hsu-exit);
    outline: none;
}
.hsu-game.is-debug.is-room .hsu-board-cell.is-danger {
    box-shadow: inset 0 0 0 3px rgba(182, 47, 53, .8);
}
.hsu-game.is-room .hsu-board-cell.is-killer {
    z-index: 24;
    background: var(--hsu-accent);
    color: #fff;
    font-weight: 900;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .7);
    box-shadow: inset 0 0 0 2px rgba(255, 235, 220, .5), 0 0 18px rgba(182, 47, 53, .42);
}
.hsu-game.is-room .hsu-board-cell.is-killer-image {
    background: transparent;
    box-shadow: none;
}
.hsu-killer-marker-img {
    display: block;
    position: relative;
    z-index: 25;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    pointer-events: none;
}
@keyframes hsuArrowPulse {
    0%, 100% {
        opacity: .52;
        transform: scale(.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}
.hsu-message {
    min-height: 46px;
    padding: 9px 10px;
    color: #f8ead4;
    background: linear-gradient(180deg, rgba(60, 39, 35, .96), rgba(43, 31, 30, .96));
    border: 1px solid rgba(184, 92, 82, .45);
    border-left: 3px solid rgba(217, 183, 111, .72);
    border-radius: 5px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    font-size: 13px;
    line-height: 1.35;
    white-space: pre-line;
}
.hsu-account-note {
    margin: 8px 0 10px;
    padding: 7px 9px;
    color: var(--hsu-muted);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.25;
}
.hsu-sudoku-tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 7px;
}
.hsu-sudoku-tools button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 32px;
    min-width: 0;
    min-height: 32px;
    padding: 4px 6px;
    color: var(--hsu-text);
    background: linear-gradient(180deg, #393939, #2c2c2c);
    border: 1px solid rgba(217, 183, 111, .24);
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}
.hsu-sudoku-tools button[aria-pressed="true"] {
    color: #111;
    background: #d9b76f;
    border-color: #e2c986;
}
.hsu-sudoku-tools button:hover,
.hsu-sudoku-tools button:focus {
    border-color: var(--hsu-exit);
    outline: none;
}
.hsu-reset-start {
    width: 100%;
    min-height: 36px;
    margin-top: 12px;
    color: var(--hsu-text);
    background: #383838;
    border: 1px solid var(--hsu-line);
    cursor: pointer;
}
.hsu-reset-start:hover,
.hsu-reset-start:focus {
    border-color: var(--hsu-exit);
    outline: none;
}
.hsu-route-panel {
    display: grid;
    gap: 6px;
    margin-top: 8px;
    padding: 8px 9px;
    color: var(--hsu-muted);
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.3;
}
.hsu-route-panel[hidden] {
    display: none;
}
.hsu-route-panel strong {
    color: var(--hsu-text);
}
.hsu-threat-preview {
    display: grid;
    gap: 2px;
    padding: 6px 7px;
    color: #f3d4c8;
    background: rgba(182, 47, 53, .14);
    border: 1px solid rgba(182, 47, 53, .34);
    border-radius: 5px;
}
.hsu-threat-preview span {
    color: var(--hsu-muted);
    font-size: 12px;
}
.hsu-dice-hud {
    display: grid;
    gap: 4px;
    padding: 6px 7px;
    color: var(--hsu-muted);
    background: rgba(217, 183, 111, .11);
    border: 1px solid rgba(217, 183, 111, .32);
    border-radius: 5px;
}
.hsu-dice-hud span {
    font-size: 12px;
}
.hsu-route-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 34px;
    gap: 6px;
}
.hsu-route-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 34px;
    padding: 4px 6px;
    color: var(--hsu-text);
    background: #383838;
    border: 1px solid var(--hsu-line);
    cursor: pointer;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    overflow: hidden;
}
.hsu-route-actions button:only-child,
.hsu-route-actions button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}
.hsu-route-actions button:hover,
.hsu-route-actions button:focus {
    border-color: var(--hsu-exit);
    outline: none;
}
.hsu-evidence-panel {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(184, 144, 78, .22);
}
.hsu-right-view .hsu-evidence-panel {
    margin-top: 0;
    padding: 8px;
    background: rgba(11, 11, 11, .32);
    border: 1px solid rgba(184, 144, 78, .24);
    border-radius: 6px;
}
.hsu-evidence-panel h4 {
    margin: 0 0 6px;
    color: #d9b76f;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}
.hsu-evidence-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 5px;
    color: var(--hsu-muted);
    background: rgba(9, 9, 9, .28);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 5px;
    font-size: 13px;
}
.hsu-evidence-slot {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    width: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    color: rgba(242, 232, 210, .52);
    background: rgba(12, 12, 12, .38);
    border: 1px solid rgba(217, 183, 111, .14);
    border-radius: 3px;
    cursor: pointer;
}
.hsu-evidence-slot:hover,
.hsu-evidence-slot:focus {
    border-color: rgba(217, 183, 111, .58);
    outline: none;
}
.hsu-evidence-slot.is-locked {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(0, 0, 0, .1)),
        rgba(12, 12, 12, .42);
}
.hsu-evidence-slot.is-found {
    background: rgba(19, 17, 15, .78);
    border-color: rgba(217, 183, 111, .45);
    animation: hsuEvidenceFoundPulse .55s ease-out;
}
.hsu-evidence-slot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.hsu-evidence-slot-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: clamp(13px, 2vw, 18px);
    font-weight: 900;
    line-height: 1;
    opacity: .72;
}
.hsu-evidence-slot.is-found .hsu-evidence-slot-placeholder {
    color: #171717;
    background: rgba(217, 183, 111, .7);
}
@keyframes hsuEvidenceFoundPulse {
    0% {
        transform: scale(.94);
        box-shadow: 0 0 0 rgba(217, 183, 111, 0);
    }
    55% {
        transform: scale(1.04);
        box-shadow: 0 0 14px rgba(217, 183, 111, .32);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(217, 183, 111, 0);
    }
}
.hsu-debug-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}
.hsu-debug-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}
.hsu-debug-actions,
.hsu-debug-room-actions {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}
.hsu-debug-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 28px;
}
.hsu-debug-room-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 26px;
}
.hsu-debug-actions button,
.hsu-debug-room-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 3px 5px;
    border: 1px solid var(--hsu-line);
    color: var(--hsu-text);
    background: #383838;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    overflow: hidden;
    text-transform: uppercase;
}
.hsu-debug-actions .hsu-reset-start {
    min-height: 0;
    margin-top: 0;
}
.hsu-debug-actions button:only-child,
.hsu-debug-actions button:last-child:nth-child(odd),
.hsu-debug-room-actions button:only-child,
.hsu-debug-room-actions button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}
.hsu-debug-panel pre {
    max-height: 210px;
    overflow: auto;
    padding: 8px;
    color: #d9efe3;
    background: #101010;
    border: 1px solid #333;
    font-size: 12px;
    white-space: pre-wrap;
}
@media (min-width: 941px) {
    .hsu-board-panel,
    .hsu-status-panel {
        height: 701px;
        max-height: 701px;
    }
    .hsu-board-panel {
        overflow: hidden;
    }
    .hsu-status-panel {
        display: flex;
        flex-direction: column;
        min-height: 0;
        overflow-y: auto;
        scrollbar-width: thin;
    }
    .hsu-status-panel > * {
        flex: 0 0 auto;
    }
    .hsu-right-view {
        height: clamp(270px, 31vw, 350px);
        min-height: 0;
        overflow: hidden;
    }
    .hsu-right-view .hsu-avatar-panel,
    .hsu-right-view .hsu-evidence-panel {
        height: 100%;
    }
    .hsu-right-view .hsu-avatar-wrap {
        height: 100%;
        aspect-ratio: auto;
    }
    .hsu-right-view .hsu-evidence-panel {
        display: flex;
        flex-direction: column;
        min-height: 0;
        overflow: hidden;
    }
    .hsu-right-view .hsu-evidence-list {
        flex: 1 1 auto;
        min-height: 0;
        align-content: start;
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .hsu-message {
        height: 64px;
        min-height: 64px;
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .hsu-route-panel {
        flex: 1 1 auto;
        min-height: 88px;
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .hsu-route-panel[hidden] {
        display: grid;
        visibility: hidden;
        pointer-events: none;
    }
    .hsu-debug-panel {
        max-height: 170px;
        overflow: auto;
    }
    .hsu-debug-panel pre {
        max-height: 120px;
    }
    .sk-board-toolbar[hidden] {
        display: block;
        visibility: hidden;
        pointer-events: none;
    }
}
@media (max-width: 940px) {
    .hsu-layout {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .hsu-panel {
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
    }
    .hsu-room-title {
        grid-column: 1 / -1;
        margin-bottom: 3px;
        padding-bottom: 5px;
        font-size: 16px;
    }
    .hsu-status-panel {
        --hsu-mobile-avatar-size: min(34vw, 132px);
        --hsu-mobile-control-gap: 3px;
        --hsu-mobile-monitor-width: calc(var(--hsu-mobile-avatar-size) * .5625);
        display: grid;
        grid-template-columns: var(--hsu-mobile-avatar-size) var(--hsu-mobile-monitor-width) minmax(74px, 1fr);
        grid-template-rows: auto var(--hsu-mobile-avatar-size) auto auto auto auto;
        column-gap: 8px;
        row-gap: 5px;
        align-items: start;
        justify-content: stretch;
    }
    .hsu-right-view {
        display: contents;
    }
    .hsu-avatar-panel {
        display: contents;
        position: static;
    }
    .hsu-avatar-wrap {
        grid-column: 1;
        grid-row: 2;
        gap: 5px;
        margin-bottom: 0;
        width: var(--hsu-mobile-avatar-size);
        max-width: 132px;
        margin: 0;
        overflow: hidden;
        border-radius: 6px;
        position: relative;
    }
    .hsu-avatar-img,
    .hsu-avatar-fallback,
    .hsu-evidence-reveal-img {
        border-radius: 6px;
    }
    .hsu-avatar-meta {
        font-size: 12px;
    }
    .hsu-avatar-meta strong {
        font-size: 13px;
    }
    .hsu-message {
        grid-column: 1 / -1;
        min-height: 0;
        padding: 7px 8px;
        font-size: 12px;
    }
    .hsu-sudoku-tools {
        grid-column: 3;
        grid-row: 2;
        grid-template-columns: 1fr;
        align-self: start;
        justify-self: stretch;
        width: 100%;
        margin-top: 0;
    }
    .hsu-sudoku-tools button {
        width: 100%;
        min-height: 31px;
        padding: 4px 8px;
        font-size: 11px;
    }
    .hsu-route-panel {
        grid-column: 1 / -1;
        gap: 5px;
        margin-top: 6px;
        padding: 7px;
    }
    .hsu-evidence-panel {
        grid-column: 1 / -1;
        grid-row: 3;
        margin-top: 2px;
        padding: 7px;
    }
    .hsu-evidence-panel h4 {
        margin-bottom: 5px;
        font-size: 11px;
    }
    .hsu-evidence-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-height: 0;
        padding: 5px;
        font-size: 12px;
    }
    .hsu-baby-monitor {
        position: static;
        grid-column: 2;
        grid-row: 2;
        justify-self: stretch;
        align-self: stretch;
        width: 100%;
        min-height: 0;
        height: var(--hsu-mobile-avatar-size);
        transform: none;
        padding: 6px 5px 5px;
        border-radius: 15px;
    }
    .hsu-monitor-screen {
        padding: 13px 4px 5px;
        border-radius: 11px;
    }
    .hsu-monitor-side {
        top: 8px;
        right: 8px;
        gap: 5px;
    }
    .hsu-monitor-label {
        font-size: 6px;
    }
    .hsu-monitor-state {
        font-size: 7px;
    }
    .hsu-waveform {
        height: 25px;
        gap: 3px;
        margin: 6px auto 5px;
    }
    .hsu-waveform span {
        width: 3px;
    }
    .hsu-battery-bars span {
      width: 2px;
      height: 7px;
    }
    .hsu-phone-signal-off {
        height: 10px;
        padding-right: 4px;
    }
    .hsu-phone-signal-off span {
        width: 2px;
    }
    .hsu-phone-signal-off span:nth-child(1) {
        height: 3px;
    }
    .hsu-phone-signal-off span:nth-child(2) {
        height: 6px;
    }
    .hsu-phone-signal-off span:nth-child(3) {
        height: 9px;
    }
    .hsu-phone-signal-off b {
        top: 0;
        font-size: 7px;
    }
    .hsu-game.is-phone .hsu-board-panel {
        min-height: 0;
    }
    .sk-board-toolbar {
        min-height: 48px;
        margin-top: 6px;
    }
    .sk-board-toolbar-inner {
        min-height: 48px;
        gap: 4px;
        padding: 5px;
    }
    .sk-toolbar-number-row {
        min-height: 40px;
        gap: 4px;
        padding: 0;
    }
    .sk-toolbar-number-row button {
        min-height: 40px;
        padding: 0;
        font-size: 16px;
    }
    .sk-toolbar-status-row {
        gap: 4px;
    }
    .sk-toolbar-chip {
        padding: 5px 5px;
        font-size: 10px;
    }
    .sk-toolbar-chip-moves {
        font-size: 0;
    }
    .sk-toolbar-chip-moves::before {
        content: "Moves: " attr(data-value);
        font-size: 10px;
    }
    .sk-toolbar-chip-investigation {
        font-size: 0;
    }
    .sk-toolbar-chip-investigation::before {
        content: "IM: " attr(data-value);
        font-size: 10px;
    }
    .sk-toolbar-chip-killer {
        font-size: 0;
    }
    .sk-toolbar-chip-killer::before {
        content: "Killer: " attr(data-value);
        font-size: 10px;
    }
    .sk-toolbar-end-turn {
        min-height: 32px;
        padding: 0 7px;
        font-size: 0;
    }
    .sk-toolbar-end-turn::before {
        content: "End";
        font-size: 12px;
    }
    .hsu-phone-frame {
        max-height: none;
        width: min(390px, 94vw, calc((100vh - 110px) * 9 / 16));
    }
    @supports (height: 100svh) {
        .hsu-phone-frame {
            width: min(390px, 94vw, calc((100svh - 110px) * 9 / 16));
        }
    }
    .hsu-phone-screen {
        gap: 8px;
        padding: 12px;
    }
    .hsu-phone-display {
        min-height: 58px;
        margin: 8px 0;
        font-size: 28px;
    }
    .hsu-phone-note {
        min-height: 16px;
        font-size: 12px;
    }
    .hsu-keypad {
        gap: 7px;
    }
    .hsu-keypad button,
    .hsu-call-actions button {
        min-height: 36px;
    }
    .hsu-call-actions {
        gap: 7px;
        margin-top: 7px;
    }
    .hsu-call-choice {
        min-height: 38px;
        padding: 9px 10px;
        font-size: 12px;
    }
    .hsu-call-scene {
        grid-template-rows: minmax(92px, auto) 1fr minmax(72px, auto);
        gap: 10px;
    }
    .hsu-call-bubble {
        padding: 10px 12px;
    }
    .hsu-call-choices {
        gap: 7px;
    }
    .hsu-call-result {
        gap: 10px;
    }
    .hsu-complete-float {
        max-width: 56%;
        padding: 5px 8px;
        font-size: 11px;
    }
    .hsu-reward-float {
        max-width: 64%;
        padding: 7px 10px;
        font-size: 12px;
    }
    .hsu-reward-float strong {
        font-size: 13px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hsu-row-complete-flash,
    .hsu-col-complete-flash,
    .hsu-box-complete-flash,
    .hsu-completion-cell-image,
    .hsu-completion-box-image,
    .hsu-completion-box-reward,
    .hsu-avatar-moves-badge.is-receiving,
    .hsu-flying-move-reward,
    .hsu-complete-float,
    .hsu-reward-float,
    .hsu-investigation-counter-pulse,
    .sk-result-overlay-active,
    .sk-static-flash-active,
    .sk-dice-impact-active,
    .sk-result-stamp-active,
    .sk-result-equation,
    .sk-step-marker-active,
    .sk-dice-panel-shake,
    .hsu-dice-face-wrap.sk-dice-winner .hsu-dice-face,
    .sk-dice-result-danger .hsu-dice-face-wrap.is-player-die.sk-dice-loser .hsu-dice-face {
        animation-duration: 1ms !important;
        animation-delay: 0ms !important;
    }
}
