.mvtu-tool {
    display: grid;
    gap: 18px;
    overflow-wrap: anywhere;
}

.mvtu-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 380px);
    gap: 18px;
    align-items: stretch;
}

.mvtu-hero-copy,
.mvtu-fast-card,
.mvtu-panel {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(19, 41, 32, .96), rgba(9, 19, 16, .98));
    box-shadow: var(--shadow);
    padding: 18px;
}

.mvtu-hero-copy h2,
.mvtu-fast-card h3,
.mvtu-panel h2,
.mvtu-note-grid h3 {
    margin: 0;
    color: #fff;
    line-height: 1.12;
}

.mvtu-hero-copy h2 {
    max-width: 920px;
    font-size: clamp(28px, 5vw, 46px);
}

.mvtu-lede,
.mvtu-fast-card p,
.mvtu-answer li,
.mvtu-panel p,
.mvtu-checker-grid label,
.mvtu-checks label {
    color: #d8e7df;
}

.mvtu-lede {
    max-width: 930px;
    font-size: 17px;
}

.mvtu-stat-strip,
.mvtu-links,
.mvtu-controls,
.mvtu-button-row,
.mvtu-move-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mvtu-stat-strip span,
.mvtu-links a,
.mvtu-button-row button,
.mvtu-move-controls button,
.mvtu-reset {
    border: 1px solid rgba(226, 180, 67, .42);
    border-radius: 6px;
    background: rgba(226, 180, 67, .11);
    color: #f5d882;
}

.mvtu-stat-strip span {
    padding: 7px 10px;
    font-weight: 850;
}

.mvtu-links {
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 16, 13, .72);
}

.mvtu-links a,
.mvtu-button-row button,
.mvtu-move-controls button,
.mvtu-reset {
    min-height: 36px;
    padding: 7px 10px;
    font-weight: 800;
    cursor: pointer;
}

.mvtu-links a:hover,
.mvtu-button-row button:hover,
.mvtu-button-row button.is-active,
.mvtu-move-controls button:hover,
.mvtu-move-controls button.is-active,
.mvtu-reset:hover {
    background: var(--gold);
    color: #08100d;
}

.mvtu-answer {
    display: grid;
    grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
    gap: 16px;
    border-color: rgba(226, 180, 67, .46);
    background: linear-gradient(135deg, rgba(226, 180, 67, .16), rgba(9, 19, 16, .98));
}

.mvtu-answer ol {
    margin: 0;
    padding-left: 20px;
}

.mvtu-answer li + li {
    margin-top: 8px;
}

.mvtu-section-heading {
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
}

.mvtu-checker-grid,
.mvtu-checks {
    display: grid;
    gap: 10px;
}

.mvtu-checker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mvtu-checker-grid label,
.mvtu-checks label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 16, 13, .55);
    font-weight: 760;
}

.mvtu-checker-grid input,
.mvtu-checks input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.mvtu-result {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(101, 168, 255, .36);
    border-radius: 8px;
    background: rgba(101, 168, 255, .1);
    color: #d8e7df;
    font-weight: 820;
}

.mvtu-result.is-ready {
    border-color: rgba(68, 201, 130, .5);
    background: rgba(68, 201, 130, .12);
    color: #c7f4dc;
}

.mvtu-result.is-blocked {
    border-color: rgba(241, 154, 71, .52);
    background: rgba(241, 154, 71, .12);
    color: #ffe0c3;
}

.mvtu-reset {
    width: fit-content;
    margin-top: 12px;
}

.mvtu-controls {
    justify-content: space-between;
    margin-bottom: 10px;
}

.mvtu-controls label {
    display: grid;
    gap: 6px;
    min-width: min(100%, 430px);
    color: #d8e7df;
    font-weight: 800;
}

.mvtu-controls input {
    min-height: 40px;
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: #0a1411;
    color: #fff;
    padding: 8px 10px;
}

.mvtu-count {
    min-height: 22px;
    margin-bottom: 8px;
    color: #b8c9c1;
    font-weight: 800;
}

.mvtu-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.mvtu-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.mvtu-table th,
.mvtu-table td {
    padding: 10px 11px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.mvtu-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #14281f;
    color: #f5d882;
    font-size: 12px;
    text-transform: uppercase;
}

.mvtu-table td {
    color: #d8e7df;
}

.mvtu-table tr:last-child td {
    border-bottom: 0;
}

.mvtu-table .mvtu-key {
    color: #fff;
    font-weight: 850;
}

.mvtu-tag {
    display: inline-flex;
    padding: 3px 7px;
    border-radius: 6px;
    background: rgba(101, 168, 255, .16);
    color: #cfe3ff;
    font-size: 12px;
    font-weight: 900;
}

.mvtu-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(270px, .85fr);
    gap: 18px;
}

.mvtu-move-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.mvtu-move-card {
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 16, 13, .56);
}

.mvtu-move-card h3 {
    margin: 0;
    color: #fff;
}

.mvtu-move-card p {
    margin: 0;
}

.mvtu-move-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mvtu-move-meta span {
    padding: 3px 7px;
    border-radius: 6px;
    background: rgba(68, 201, 130, .12);
    color: #c7f4dc;
    font-size: 12px;
    font-weight: 850;
}

.mvtu-note-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mvtu-note-grid article {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 16, 13, .55);
}

.mvtu-note-grid h3 {
    margin-bottom: 7px;
    font-size: 16px;
}

.mvtu-note-grid p {
    margin: 0;
}

@media (max-width: 860px) {
    .mvtu-hero,
    .mvtu-answer,
    .mvtu-grid,
    .mvtu-checker-grid,
    .mvtu-note-grid {
        grid-template-columns: 1fr;
    }

    .mvtu-hero-copy h2 {
        font-size: 30px;
    }
}

@media (max-width: 560px) {
    .mvtu-hero-copy,
    .mvtu-fast-card,
    .mvtu-panel {
        padding: 14px;
    }

    .mvtu-links a,
    .mvtu-button-row button,
    .mvtu-move-controls button,
    .mvtu-reset {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
