.gs-moves {
    width: min(1580px, calc(100% - 24px));
    margin: 0 auto;
    padding: 22px 0 34px;
}

.gs-moves-hero,
.gs-moves-tabs,
.gs-moves-controls,
.gs-moves-results,
.gs-move-detail,
.gs-moves-loading {
    border: 1px solid var(--line);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 215, 108, .045), transparent 34%),
        var(--panel-alpha);
    box-shadow: inset 0 1px 0 rgba(255, 236, 180, .05), var(--shadow);
}

.gs-moves-hero {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    min-height: 190px;
    padding: 28px 30px;
    overflow: hidden;
    border-color: rgba(176, 125, 34, .78);
    background:
        radial-gradient(circle at 84% 18%, rgba(106, 148, 196, .15), transparent 28%),
        radial-gradient(circle at 16% 0%, rgba(232, 188, 58, .17), transparent 34%),
        linear-gradient(120deg, rgba(200, 74, 56, .08), transparent 48%),
        var(--panel-alpha);
}

.gs-moves-hero::after {
    content: "Ⅱ";
    position: absolute;
    right: 28%;
    bottom: -70px;
    color: rgba(255, 255, 255, .025);
    font: 220px/1 Georgia, serif;
    pointer-events: none;
}

.gs-moves-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 870px;
}

.gs-moves-eyebrow {
    margin: 0;
    color: var(--gold-2);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.gs-moves-hero h1 {
    margin: 7px 0 8px;
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(31px, 4vw, 52px);
    line-height: 1.04;
    letter-spacing: -.025em;
}

.gs-moves-hero-copy > p:not(.gs-moves-eyebrow) {
    max-width: 780px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.gs-moves-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.gs-moves-stats span {
    padding: 7px 10px;
    border: 1px solid rgba(232, 188, 58, .28);
    border-radius: 999px;
    background: rgba(18, 14, 7, .68);
    color: var(--muted);
    font-size: 10px;
}

.gs-moves-stats strong {
    color: #fff;
    font-size: 12px;
}

.gs-moves-version-card {
    position: relative;
    z-index: 1;
    width: min(300px, 100%);
    padding: 18px;
    align-self: center;
    border: 1px solid rgba(232, 188, 58, .3);
    border-radius: 9px;
    background: rgba(18, 14, 7, .8);
}

.gs-moves-version-card > span {
    color: var(--soft);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gs-moves-version-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-top: 9px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
}

.gs-moves-version-tabs button {
    min-height: 36px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 11px;
    font-weight: 850;
}

.gs-moves-version-tabs button.is-active[data-version="gold"] {
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: var(--text-on-accent);
}

.gs-moves-version-tabs button.is-active[data-version="silver"] {
    background: linear-gradient(135deg, #567da8, #c2d0e2);
    color: #101824;
}

.gs-moves-version-card p {
    margin: 9px 0 0;
    color: var(--soft);
    font-size: 9px;
    line-height: 1.5;
}

.gs-moves-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 12px;
    padding: 5px;
}

.gs-moves-tabs a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: var(--muted);
}

.gs-moves-tabs a:hover,
.gs-moves-tabs a.is-active {
    border-color: rgba(232, 188, 58, .38);
    background: var(--accent-soft);
    color: #fff;
}

.gs-moves-tabs a.is-active {
    box-shadow: inset 3px 0 0 var(--gold);
}

.gs-moves-tabs .panel-glyph {
    width: 28px;
    height: 28px;
}

.gs-moves-tabs span:last-child {
    display: grid;
    gap: 1px;
}

.gs-moves-tabs strong {
    font-size: 12px;
}

.gs-moves-tabs small {
    color: var(--soft);
    font-size: 9px;
}

.gs-moves-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 170px;
    margin-top: 12px;
    color: var(--muted);
}

.gs-moves-loading > span:first-child {
    width: 20px;
    height: 20px;
    border: 2px solid var(--line);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: gs-moves-spin .8s linear infinite;
}

.gs-moves-loading[hidden] {
    display: none;
}

@keyframes gs-moves-spin {
    to { transform: rotate(360deg); }
}

.gs-moves-layout {
    display: grid;
    grid-template-columns: 246px minmax(560px, 1fr) minmax(340px, 410px);
    align-items: start;
    gap: 12px;
    margin-top: 12px;
}

.gs-moves-controls,
.gs-move-detail {
    position: sticky;
    top: calc(var(--sticky-header-offset) + 10px);
}

.gs-moves-controls {
    padding: 14px;
}

.gs-moves-control-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 11px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.gs-moves-control-heading > div {
    display: grid;
}

.gs-moves-control-heading strong {
    color: #fff;
    font-size: 12px;
}

.gs-moves-control-heading small {
    color: var(--soft);
    font-size: 8px;
}

.gs-moves-field {
    display: grid;
    gap: 5px;
    margin-top: 10px;
}

.gs-moves-field > span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.gs-moves-field input,
.gs-moves-field select {
    width: 100%;
    min-height: 38px;
    padding: 8px 9px;
    border: 1px solid var(--line);
    border-radius: 6px;
    outline: 0;
    background: var(--surface);
    color: var(--text);
    font-size: 10px;
}

.gs-moves-field input:focus,
.gs-moves-field select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.gs-moves-reset {
    width: 100%;
    min-height: 36px;
    margin-top: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: var(--accent-soft);
    color: var(--gold-2);
    cursor: pointer;
    font-size: 10px;
    font-weight: 850;
}

.gs-moves-reset:hover {
    background: rgba(232, 188, 58, .22);
}

.gs-moves-gen-note {
    margin-top: 14px;
    padding: 11px;
    border-left: 2px solid var(--gold);
    background: rgba(232, 188, 58, .06);
}

.gs-moves-gen-note strong {
    color: var(--gold-2);
    font-size: 9px;
}

.gs-moves-gen-note p {
    margin: 5px 0 0;
    color: var(--soft);
    font-size: 8px;
    line-height: 1.55;
}

.gs-moves-results {
    min-width: 0;
    overflow: hidden;
}

.gs-moves-results-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
}

.gs-moves-results-heading h2 {
    margin: 3px 0 0;
    color: #fff;
    font-size: 18px;
}

.gs-moves-results-heading h2 small {
    color: var(--gold-2);
    font-size: 10px;
}

.gs-moves-results-heading > p {
    max-width: 390px;
    margin: 0;
    color: var(--soft);
    font-size: 9px;
    text-align: right;
}

.gs-moves-table-shell {
    max-height: calc(100vh - 190px);
    overflow: auto;
}

.gs-moves-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.gs-moves-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 9px 8px;
    border-bottom: 1px solid var(--line-strong);
    background: #241a0b;
    color: var(--muted);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .06em;
    text-align: left;
    text-transform: uppercase;
}

body.version-silver .gs-moves-table th {
    background: #18202d;
}

.gs-moves-table th:nth-child(1) { width: 48px; }
.gs-moves-table th:nth-child(2) { width: 31%; }
.gs-moves-table th:nth-child(3) { width: 126px; }
.gs-moves-table th:nth-child(4),
.gs-moves-table th:nth-child(5),
.gs-moves-table th:nth-child(6) { width: 54px; text-align: center; }
.gs-moves-table th:nth-child(7) { width: 66px; text-align: center; }
.gs-moves-table th:nth-child(8) { width: 82px; }

.gs-moves-table td {
    padding: 7px 8px;
    border-bottom: 1px solid rgba(92, 67, 22, .58);
    color: var(--text);
    vertical-align: middle;
}

.gs-moves-table tr {
    background: rgba(255, 255, 255, .008);
}

.gs-moves-table tr:nth-child(even) {
    background: rgba(255, 255, 255, .018);
}

.gs-moves-table tr:hover,
.gs-moves-table tr.is-selected {
    background: color-mix(in srgb, var(--move-color) 10%, rgba(255, 255, 255, .018));
}

.gs-moves-table tr.is-selected td:first-child {
    box-shadow: inset 3px 0 0 var(--move-color);
}

.gs-move-number {
    color: var(--soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9px;
}

.gs-move-icon {
    position: relative;
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--move-color) 72%, var(--line));
    border-radius: 8px;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .17), transparent 58%),
        color-mix(in srgb, var(--move-color) 12%, rgba(235, 230, 215, .08));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035), 0 3px 10px rgba(0, 0, 0, .2);
}

.gs-move-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    filter:
        drop-shadow(1px 0 0 rgba(255, 255, 255, .13))
        drop-shadow(-1px 0 0 rgba(255, 255, 255, .08));
}

.gs-move-icon.is-table {
    width: 40px;
    height: 40px;
    border-radius: 6px;
}

.gs-move-icon.is-detail {
    width: 68px;
    height: 68px;
    border-radius: 10px;
}

.gs-move-icon.is-entity {
    width: 112px;
    height: 112px;
    margin: 0;
    border-width: 2px;
    border-radius: 14px;
}

.gs-move-icon-machine {
    position: absolute;
    right: -5px;
    bottom: -4px;
    z-index: 1;
    min-width: 28px;
    padding: 3px 4px;
    border: 1px solid #c99f27;
    border-radius: 4px;
    background: #34280d;
    color: #ffe58d;
    font: 900 6px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: -.03em;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .48);
}

.gs-move-icon-machine.is-hm {
    border-color: #7ea9d5;
    background: #17283c;
    color: #e6f2ff;
}

.gs-move-title-cell {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}

.gs-move-select {
    display: grid;
    min-width: 0;
    width: 100%;
    padding: 2px 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.gs-move-select strong {
    overflow: hidden;
    color: #fff;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gs-move-select small {
    overflow: hidden;
    margin-top: 2px;
    color: var(--soft);
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gs-move-type-class {
    display: grid;
    justify-items: start;
    gap: 3px;
}

.gs-move-type {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 7px;
    border: 1px solid color-mix(in srgb, var(--type-color) 68%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--type-color) 13%, transparent);
    color: color-mix(in srgb, var(--type-color) 78%, white);
    font-size: 8px;
    font-weight: 900;
}

.gs-move-type-class > span:last-child {
    color: var(--soft);
    font-size: 8px;
}

.gs-move-stat-cell,
.gs-move-learner-count {
    font-variant-numeric: tabular-nums;
}

.gs-move-stat-cell {
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
}

.gs-move-learner-count,
.gs-move-cell-note {
    display: block;
    text-align: center;
}

.gs-move-learner-count {
    color: #fff;
    font-size: 10px;
}

.gs-move-cell-note {
    color: var(--soft);
    font-size: 7px;
}

.gs-move-machine-cell {
    display: grid;
    justify-items: start;
    gap: 2px;
}

.gs-move-machine-cell small {
    color: var(--soft);
    font-size: 7px;
}

.gs-move-machine-code,
.gs-move-detail-machine {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(232, 188, 58, .5);
    border-radius: 4px;
    background: rgba(232, 188, 58, .12);
    color: var(--gold-2);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 8px;
}

.gs-move-machine-code {
    min-width: 38px;
    min-height: 21px;
    padding: 2px 5px;
}

.gs-move-machine-code.is-hm,
.gs-move-detail-machine.is-hm {
    border-color: rgba(106, 148, 196, .65);
    background: rgba(106, 148, 196, .14);
    color: #d9e6f5;
}

.gs-move-no-machine {
    color: var(--soft);
}

.gs-moves-empty {
    margin: 16px;
    padding: 28px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
}

.gs-moves-empty strong,
.gs-moves-empty span {
    display: block;
}

.gs-moves-empty span {
    margin-top: 4px;
    color: var(--soft);
    font-size: 10px;
}

.gs-move-detail {
    max-height: calc(100vh - 86px);
    overflow: auto;
}

.gs-move-detail-placeholder {
    display: grid;
    justify-items: center;
    min-height: 230px;
    padding: 34px;
    align-content: center;
    text-align: center;
}

.gs-move-detail-placeholder .panel-glyph {
    width: 38px;
    height: 38px;
    opacity: .75;
}

.gs-move-detail-placeholder strong {
    margin-top: 9px;
    color: #fff;
}

.gs-move-detail-placeholder p {
    margin: 5px 0 0;
    color: var(--soft);
    font-size: 10px;
}

.gs-move-detail-card {
    padding: 14px;
}

.gs-move-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 3px 14px;
    border-bottom: 1px solid var(--line);
}

.gs-move-detail-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.gs-move-detail-copy {
    min-width: 0;
}

.gs-move-detail-copy > span {
    color: var(--move-color);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
}

.gs-move-detail-head h2 {
    margin: 3px 0 5px;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 27px;
    line-height: 1.08;
}

.gs-move-detail-head p {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.gs-move-detail-head p b {
    color: var(--muted);
    font-size: 9px;
}

.gs-move-detail-machine {
    min-width: 50px;
    min-height: 29px;
    padding: 4px 7px;
    font-size: 10px;
}

.gs-move-detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 10px;
}

.gs-move-detail-actions a {
    display: grid;
    min-height: 34px;
    padding: 6px 8px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--surface);
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    text-align: center;
}

.gs-move-detail-actions a:hover,
.gs-move-detail-actions a.is-primary {
    border-color: var(--move-color);
    color: #fff;
}

.gs-move-detail-actions a.is-primary {
    background: color-mix(in srgb, var(--move-color) 15%, var(--surface));
}

.gs-move-detail-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin: 10px 0 0;
}

.gs-move-detail-stats div {
    padding: 9px 4px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    text-align: center;
}

.gs-move-detail-stats dt {
    color: var(--soft);
    font-size: 7px;
    font-weight: 850;
    text-transform: uppercase;
}

.gs-move-detail-stats dd {
    margin: 2px 0 0;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.gs-move-detail-section {
    margin-top: 10px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(18, 14, 7, .56);
}

.gs-move-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 9px;
}

.gs-move-section-heading span {
    color: var(--move-color);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .08em;
}

.gs-move-section-heading h3 {
    margin: 2px 0 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
}

.gs-move-section-heading > a {
    color: var(--gold-2);
    font-size: 8px;
    font-weight: 800;
}

.gs-move-description {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}

.gs-move-effect-tags,
.gs-move-method-tags,
.gs-machine-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 9px;
}

.gs-move-effect-tags span,
.gs-move-method-tags span,
.gs-machine-facts span {
    padding: 4px 7px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 8px;
}

.gs-machine-facts strong {
    color: #fff;
}

.gs-move-learner-group {
    margin-top: 8px;
    border: 1px solid rgba(92, 67, 22, .7);
    border-radius: 6px;
    background: var(--surface);
}

.gs-move-learner-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px;
    color: var(--muted);
    cursor: pointer;
    font-size: 9px;
    font-weight: 800;
    list-style: none;
}

.gs-move-learner-group summary::-webkit-details-marker {
    display: none;
}

.gs-move-learner-group summary strong {
    display: grid;
    min-width: 24px;
    height: 20px;
    padding: 0 5px;
    place-items: center;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--gold-2);
    font-size: 8px;
}

.gs-move-learner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    max-height: 330px;
    padding: 0 8px 8px;
    overflow: auto;
}

.gs-move-learner {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    min-width: 0;
    padding: 4px 6px 4px 3px;
    border: 1px solid rgba(92, 67, 22, .54);
    border-radius: 5px;
    background: rgba(255, 255, 255, .015);
}

.gs-move-learner:hover {
    border-color: var(--move-color);
    background: color-mix(in srgb, var(--move-color) 8%, transparent);
}

.gs-move-learner img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    image-rendering: pixelated;
}

.gs-move-learner > span {
    display: grid;
    min-width: 0;
}

.gs-move-learner strong,
.gs-move-learner small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gs-move-learner strong {
    color: #fff;
    font-size: 9px;
}

.gs-move-learner small {
    color: var(--soft);
    font-size: 7px;
}

.gs-move-no-learners {
    margin: 9px 0 0;
    color: var(--soft);
    font-size: 9px;
}

.gs-machine-source-list {
    display: grid;
    gap: 6px;
    margin: 9px 0 0;
    padding: 0;
    list-style: none;
}

.gs-machine-source {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-left: 2px solid var(--move-color);
    background: var(--surface);
}

.gs-machine-source > div {
    min-width: 0;
}

.gs-machine-source span,
.gs-machine-source strong,
.gs-machine-source p {
    display: block;
}

.gs-machine-source span {
    color: var(--move-color);
    font-size: 7px;
    font-weight: 850;
}

.gs-machine-source strong {
    margin-top: 2px;
    color: #fff;
    font-size: 9px;
}

.gs-machine-source p {
    margin: 3px 0 0;
    color: var(--soft);
    font-size: 7px;
    line-height: 1.45;
}

.gs-machine-source > a {
    padding: 6px 7px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    color: var(--gold-2);
    font-size: 7px;
    font-weight: 800;
    text-align: center;
}

.gs-machine-unavailable {
    margin-top: 9px;
    padding: 10px;
    border: 1px solid rgba(212, 84, 72, .45);
    border-radius: 6px;
    background: rgba(212, 84, 72, .08);
}

.gs-machine-unavailable strong {
    color: #f1aea6;
    font-size: 9px;
}

.gs-machine-unavailable p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 8px;
    line-height: 1.5;
}

body.version-silver .gs-moves-hero,
body.version-silver .gs-moves-tabs,
body.version-silver .gs-moves-controls,
body.version-silver .gs-moves-results,
body.version-silver .gs-move-detail,
body.version-silver .gs-moves-loading {
    background:
        linear-gradient(180deg, rgba(194, 208, 226, .05), transparent 34%),
        var(--panel-alpha);
}

.gs-move-entity {
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
    padding: 22px 0 36px;
}

.gs-move-entity-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: var(--soft);
    font-size: 9px;
}

.gs-move-entity-breadcrumbs a:hover,
.gs-move-entity-breadcrumbs strong {
    color: var(--gold-2);
}

.gs-move-entity-hero,
.gs-move-entity-panel,
.gs-move-entity-stats,
.gs-move-entity-pagination {
    border: 1px solid var(--line);
    border-radius: 10px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--move-color) 5%, transparent), transparent 32%),
        var(--panel-alpha);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), var(--shadow);
}

.gs-move-entity-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 28px 30px;
    border-color: color-mix(in srgb, var(--move-color) 52%, var(--line));
}

.gs-move-entity-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 24px;
}

.gs-move-entity-copy {
    min-width: 0;
}

.gs-move-entity-copy > p:first-child {
    margin: 0;
    color: var(--move-color);
    font: 850 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .08em;
}

.gs-move-entity-hero h1 {
    margin: 6px 0 8px;
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1;
}

.gs-move-entity-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.gs-move-entity-tags > span:not(.gs-move-type),
.gs-move-entity-tags > a {
    padding: 4px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
}

.gs-move-entity-tags > a {
    border-color: color-mix(in srgb, var(--move-color) 50%, var(--line));
    color: color-mix(in srgb, var(--move-color) 75%, white);
}

.gs-move-entity-summary {
    max-width: 760px;
    margin: 13px 0 0 !important;
    color: var(--muted) !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
}

.gs-move-entity-tool,
.gs-move-entity-item-link {
    display: inline-grid;
    min-height: 38px;
    padding: 8px 13px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--move-color) 68%, var(--line));
    border-radius: 6px;
    background: color-mix(in srgb, var(--move-color) 12%, var(--surface));
    color: #fff;
    font-size: 9px;
    font-weight: 850;
    text-align: center;
}

.gs-move-entity-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    margin: 12px 0 0;
    padding: 5px;
}

.gs-move-entity-stats div {
    display: grid;
    min-height: 76px;
    padding: 10px;
    align-content: center;
    border-radius: 6px;
    background: var(--surface);
    text-align: center;
}

.gs-move-entity-stats dt {
    color: var(--soft);
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.gs-move-entity-stats dd {
    margin: 4px 0 0;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.gs-move-entity-stats div:nth-child(n+5) dd {
    font-size: 10px;
}

.gs-move-entity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.gs-move-entity-panel {
    padding: 18px;
}

.gs-move-entity-heading {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.gs-move-entity-heading p {
    margin: 0;
    color: var(--move-color);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .09em;
}

.gs-move-entity-heading h2 {
    margin: 4px 0 0;
    color: #fff;
    font-size: 19px;
    line-height: 1.25;
}

.gs-move-entity-description {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.65;
}

.gs-move-entity-facts {
    display: grid;
    gap: 6px;
    margin: 14px 0 0;
}

.gs-move-entity-facts div {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 10px;
    border-left: 2px solid var(--move-color);
    background: var(--surface);
}

.gs-move-entity-facts dt {
    color: var(--soft);
    font-size: 9px;
}

.gs-move-entity-facts dd {
    margin: 0;
    color: var(--text);
    font-size: 9px;
    text-align: right;
}

.gs-move-entity-facts code {
    color: var(--gold-2);
    font-size: 8px;
}

.gs-machine-source-version-links {
    display: grid;
    gap: 5px;
}

.gs-machine-source-version-links a {
    padding: 6px 8px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    color: var(--gold-2);
    font-size: 8px;
    font-weight: 800;
    text-align: center;
}

.gs-move-entity-item-link {
    margin-top: 10px;
}

.gs-move-entity-learners {
    margin-top: 12px;
}

.gs-move-entity-groups {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.gs-move-entity-groups details {
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
}

.gs-move-entity-groups summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 13px;
    color: var(--muted);
    cursor: pointer;
    font-size: 10px;
    font-weight: 850;
    list-style: none;
}

.gs-move-entity-groups summary::-webkit-details-marker {
    display: none;
}

.gs-move-entity-groups summary strong {
    color: var(--gold-2);
}

.gs-move-entity-learner-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    padding: 0 10px 10px;
}

.gs-move-entity-learner-grid a {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: center;
    min-width: 0;
    padding: 5px 7px 5px 3px;
    border: 1px solid rgba(92, 67, 22, .58);
    border-radius: 6px;
    background: rgba(255, 255, 255, .015);
}

.gs-move-entity-learner-grid a:hover {
    border-color: var(--move-color);
    background: color-mix(in srgb, var(--move-color) 8%, transparent);
}

.gs-move-entity-learner-grid img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    image-rendering: pixelated;
}

.gs-move-entity-learner-grid a > span {
    display: grid;
    min-width: 0;
}

.gs-move-entity-learner-grid strong,
.gs-move-entity-learner-grid small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gs-move-entity-learner-grid strong {
    color: #fff;
    font-size: 10px;
}

.gs-move-entity-learner-grid small {
    color: var(--soft);
    font-size: 8px;
}

.gs-move-entity-pagination {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 12px;
    padding: 5px;
}

.gs-move-entity-pagination a {
    display: grid;
    padding: 11px 14px;
    border-radius: 6px;
    background: var(--surface);
}

.gs-move-entity-pagination a:last-child {
    text-align: right;
}

.gs-move-entity-pagination a:hover {
    background: color-mix(in srgb, var(--move-color) 10%, var(--surface));
}

.gs-move-entity-pagination span {
    color: var(--soft);
    font-size: 8px;
}

.gs-move-entity-pagination strong {
    margin-top: 2px;
    color: #fff;
    font-size: 11px;
}

@media (max-width: 1320px) {
    .gs-moves-layout {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .gs-move-detail {
        position: static;
        grid-column: 1 / -1;
        max-height: none;
    }

    .gs-move-detail-card {
        display: grid;
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        gap: 10px;
    }

    .gs-move-detail-head,
    .gs-move-detail-actions,
    .gs-move-detail-stats {
        grid-column: 1;
    }

    .gs-move-detail-section {
        grid-column: 2;
        margin-top: 0;
    }
}

@media (max-width: 980px) {
    .gs-moves {
        width: calc(100% - 18px);
        padding-top: 14px;
    }

    .gs-moves-hero {
        flex-direction: column;
        padding: 23px;
    }

    .gs-moves-version-card {
        width: 100%;
        align-self: stretch;
    }

    .gs-moves-layout {
        grid-template-columns: 1fr;
    }

    .gs-moves-controls {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
    }

    .gs-moves-control-heading,
    .gs-moves-gen-note {
        grid-column: 1 / -1;
    }

    .gs-moves-field,
    .gs-moves-reset {
        margin-top: 0;
    }

    .gs-moves-results {
        grid-row: 2;
    }

    .gs-move-detail {
        grid-row: 3;
    }

    .gs-move-detail-card {
        display: block;
    }

    .gs-move-detail-section {
        margin-top: 10px;
    }

    .gs-moves-table-shell {
        max-height: 680px;
    }

    .gs-move-entity-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gs-move-entity-grid {
        grid-template-columns: 1fr;
    }

    .gs-move-entity-learner-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .gs-moves-tabs {
        grid-template-columns: 1fr;
    }

    .gs-moves-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gs-moves-results-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .gs-moves-results-heading > p {
        max-width: none;
        text-align: left;
    }

    .gs-moves-table th:nth-child(1),
    .gs-moves-table td:nth-child(1),
    .gs-moves-table th:nth-child(6),
    .gs-moves-table td:nth-child(6) {
        display: none;
    }

    .gs-moves-table th:nth-child(2) { width: 34%; }
    .gs-moves-table th:nth-child(3) { width: 108px; }
    .gs-moves-table th:nth-child(4),
    .gs-moves-table th:nth-child(5) { width: 48px; }
    .gs-moves-table th:nth-child(7) { width: 56px; }
    .gs-moves-table th:nth-child(8) { width: 70px; }

    .gs-move-learner-grid {
        grid-template-columns: 1fr;
    }

    .gs-move-entity {
        width: calc(100% - 16px);
    }

    .gs-move-entity-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .gs-move-entity-identity {
        align-items: flex-start;
    }

    .gs-move-entity-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gs-move-entity-learner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .gs-moves {
        width: calc(100% - 12px);
    }

    .gs-moves-hero {
        padding: 19px;
    }

    .gs-moves-hero h1 {
        font-size: 30px;
    }

    .gs-moves-controls {
        grid-template-columns: 1fr;
    }

    .gs-moves-table th:nth-child(3),
    .gs-moves-table td:nth-child(3),
    .gs-moves-table th:nth-child(5),
    .gs-moves-table td:nth-child(5) {
        display: none;
    }

    .gs-moves-table th:nth-child(2) { width: auto; }
    .gs-moves-table th:nth-child(4) { width: 48px; }
    .gs-moves-table th:nth-child(7) { width: 52px; }
    .gs-moves-table th:nth-child(8) { width: 66px; }

    .gs-move-detail-actions,
    .gs-move-detail-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gs-machine-source {
        grid-template-columns: 1fr;
    }

    .gs-machine-source > a {
        justify-self: start;
    }

    .gs-move-entity {
        width: calc(100% - 12px);
    }

    .gs-move-entity-hero h1 {
        font-size: 38px;
    }

    .gs-move-entity-identity {
        width: 100%;
        flex-direction: column;
        gap: 14px;
    }

    .gs-move-icon.is-entity {
        width: 88px;
        height: 88px;
    }

    .gs-move-entity-stats,
    .gs-move-entity-learner-grid,
    .gs-move-entity-pagination {
        grid-template-columns: 1fr;
    }

    .gs-move-entity-facts div {
        grid-template-columns: 1fr;
    }

    .gs-move-entity-facts dd {
        text-align: left;
    }
}
