.page-cheats {
    background: #082f31;
}

.cheats-guide {
    --cheats-ink: #183a36;
    --cheats-deep: #075653;
    --cheats-deep-dark: #043f3e;
    --cheats-paper: #fffdf1;
    --cheats-cream: #fff9dc;
    --cheats-gold: #e5b447;
    --cheats-gold-light: #ffe584;
    --cheats-green: #4f9b43;
    --cheats-blue: #147d9e;
    --cheats-red: #b84635;
    --cheats-line: 3px solid var(--cheats-ink);
    background: var(--cheats-cream);
}

.cheats-guide h1,
.cheats-guide h2,
.cheats-guide h3,
.cheats-guide p,
.cheats-guide ol,
.cheats-guide ul,
.cheats-guide dl,
.cheats-guide figure,
.cheats-guide pre {
    margin-top: 0;
}

.cheats-guide [id] {
    scroll-margin-top: 104px;
}

.cheats-guide button,
.cheats-guide select,
.cheats-guide input {
    font: inherit;
}

.cheats-guide a:focus-visible,
.cheats-guide button:focus-visible,
.cheats-guide select:focus-visible,
.cheats-guide input:focus-visible,
.cheats-guide summary:focus-visible {
    outline: 3px solid #ffea82;
    outline-offset: 3px;
}

.cheats-hero {
    position: relative;
    overflow: hidden;
    color: #fffdf0;
    background-color: #0d4d62;
    background-image:
        linear-gradient(118deg, rgba(4, 63, 62, 0.97) 0%, rgba(7, 86, 83, 0.92) 48%, rgba(18, 96, 126, 0.88) 100%),
        url("../images/water-tile.webp");
    background-repeat: repeat;
    background-size: auto, 96px 96px;
    border-bottom: 8px solid var(--cheats-gold);
}

.cheats-hero::before,
.cheats-hero::after {
    position: absolute;
    content: "";
    pointer-events: none;
    border-radius: 50%;
}

.cheats-hero::before {
    width: 340px;
    height: 340px;
    right: -120px;
    bottom: -160px;
    border: 40px solid rgba(255, 229, 132, 0.08);
    box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.03);
}

.cheats-hero::after {
    width: 200px;
    height: 200px;
    top: -100px;
    left: -60px;
    border: 28px solid rgba(21, 154, 187, 0.14);
}

.cheats-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(calc(100% - 48px), 1220px);
    margin: 0 auto;
    padding: 56px 0 62px;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
    gap: 40px;
    align-items: center;
}

.cheats-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 24px;
    color: #d6edf0;
    font-size: 12px;
    font-weight: 800;
}

.cheats-breadcrumbs a {
    text-underline-offset: 3px;
}

.cheats-breadcrumbs a:hover {
    color: #fff1a0;
}

.cheats-kicker,
.cheats-section-heading > p,
.cheats-toc > p,
.cheats-side-list > p,
.cheats-detail-kicker {
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.cheats-kicker {
    color: #ffe888;
}

.cheats-hero h1 {
    max-width: 720px;
    margin-bottom: 18px;
    color: #fffdf0;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    text-shadow: 3px 3px 0 var(--cheats-deep-dark);
}

.cheats-lead {
    max-width: 690px;
    margin-bottom: 24px;
    color: #e8f5e9;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.62;
}

.cheats-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.cheats-primary-action,
.cheats-secondary-action {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 3px solid #132f2d;
    border-radius: 5px;
    box-shadow: 4px 4px 0 rgba(2, 43, 42, 0.82);
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.cheats-primary-action {
    color: var(--cheats-ink);
    background: var(--cheats-gold-light);
}

.cheats-secondary-action {
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
}

.cheats-primary-action:hover,
.cheats-secondary-action:hover {
    transform: translateY(-1px);
    box-shadow: 4px 5px 0 rgba(2, 43, 42, 0.92);
}

.cheats-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
}

.cheats-hero-stats > div {
    display: grid;
    min-width: 110px;
    gap: 2px;
    padding: 8px 12px;
    background: rgba(2, 47, 47, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.cheats-hero-stats dt {
    color: #bfe3d0;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.cheats-hero-stats dd {
    margin: 0;
    color: #fff4a6;
    font-size: 15px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.cheats-answer-card {
    padding: 22px;
    color: var(--cheats-ink);
    background: var(--cheats-paper);
    border: 4px solid var(--cheats-ink);
    border-radius: 8px;
    box-shadow: 9px 9px 0 rgba(3, 48, 47, 0.74);
}

.cheats-answer-heading {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.cheats-chip-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: var(--cheats-red);
    border: 3px solid var(--cheats-ink);
    border-radius: 50%;
    font-size: 22px;
    font-weight: 900;
}

.cheats-answer-heading p {
    margin-bottom: 2px;
    color: var(--cheats-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cheats-answer-heading h2 {
    margin-bottom: 0;
    color: var(--cheats-deep);
    font-size: 24px;
    line-height: 1.1;
}

.cheats-answer-card ol {
    display: grid;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.cheats-answer-card li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.cheats-answer-card li > span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #fff;
    background: var(--cheats-deep);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 900;
}

.cheats-answer-card li p {
    margin-bottom: 0;
    color: #365851;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.cheats-answer-note {
    margin-bottom: 0;
    padding-top: 12px;
    border-top: 2px dashed #90aa8f;
    color: #45655e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.cheats-page-layout {
    display: grid;
    width: min(calc(100% - 48px), 1220px);
    margin: 0 auto;
    padding: 48px 0 72px;
    grid-template-columns: minmax(0, 1fr) 254px;
    gap: 30px;
    align-items: start;
}

.cheats-main-column {
    min-width: 0;
}

.cheats-section {
    margin-bottom: 26px;
    padding: 30px;
    background: var(--cheats-paper);
    border: var(--cheats-line);
    border-radius: 8px;
    box-shadow: 6px 6px 0 #89a77e;
}

.cheats-section-heading {
    max-width: 820px;
    margin-bottom: 24px;
}

.cheats-section-heading > p {
    color: var(--cheats-red);
}

.cheats-section-heading h2 {
    margin-bottom: 10px;
    color: var(--cheats-deep);
    font-size: clamp(28px, 3.4vw, 38px);
    line-height: 1.06;
    letter-spacing: -0.025em;
}

.cheats-section-heading > span {
    display: block;
    color: #45655e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.58;
}

.cheats-section-heading.is-light > p {
    color: #ffe584;
}

.cheats-section-heading.is-light h2 {
    color: #fffdf0;
}

.cheats-section-heading.is-light > span {
    color: #d8ece3;
}

.cheats-tool-section {
    color: #fffdf0;
    background-color: var(--cheats-deep);
    background-image:
        linear-gradient(rgba(4, 63, 62, 0.88), rgba(4, 63, 62, 0.88)),
        url("../images/grass-tile.webp");
    background-repeat: repeat;
    background-size: auto, 96px 96px;
    border-color: #092d2c;
    box-shadow: 7px 7px 0 #be963c;
}

.cheats-tool-shell {
    display: grid;
    gap: 16px;
}

.cheats-tool-controls {
    display: grid;
    gap: 12px;
    padding: 16px;
    color: var(--cheats-ink);
    background: var(--cheats-paper);
    border: 3px solid #122f2d;
    border-radius: 6px;
    box-shadow: 4px 4px 0 rgba(2, 38, 37, 0.48);
}

.cheats-device-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cheats-device-tabs button {
    min-height: 40px;
    padding: 8px 12px;
    color: var(--cheats-deep);
    background: #fff9dc;
    border: 2px solid var(--cheats-ink);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.cheats-device-tabs button.is-active {
    color: var(--cheats-ink);
    background: var(--cheats-gold-light);
    box-shadow: 2px 2px 0 rgba(2, 43, 42, 0.35);
}

.cheats-device-tabs button:hover {
    background: #fff1b0;
}

.cheats-filter-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.7fr);
    gap: 12px;
}

.cheats-search-field,
.cheats-select-field {
    display: grid;
    min-width: 0;
    gap: 6px;
}

.cheats-search-field > span,
.cheats-select-field > span {
    color: var(--cheats-deep);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.cheats-search-field input,
.cheats-select-field select {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    color: var(--cheats-ink);
    background: #fff;
    border: 2px solid var(--cheats-ink);
    border-radius: 4px;
}

.cheats-tool-body {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.85fr);
    gap: 14px;
    align-items: stretch;
}

.cheats-table-wrap {
    min-width: 0;
    max-height: 520px;
    overflow: auto;
    background: var(--cheats-paper);
    border: 3px solid #122f2d;
    border-radius: 6px;
    box-shadow: 4px 4px 0 rgba(2, 38, 37, 0.48);
}

.cheats-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--cheats-ink);
}

.cheats-table th,
.cheats-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #d5e2c7;
    text-align: left;
    vertical-align: top;
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.cheats-table td:nth-child(3) {
    min-width: 7.5rem;
    max-width: 14rem;
}

.cheats-table td:nth-child(4) {
    min-width: 0;
    max-width: 18rem;
}

.cheats-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    color: #fffdf0;
    background: #0b4d4a;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cheats-table tbody tr {
    cursor: pointer;
    background: #fffdf1;
}

.cheats-table tbody tr:nth-child(even) {
    background: #fff8d8;
}

.cheats-table tbody tr:hover,
.cheats-table tbody tr.is-selected {
    background: #e7f7c8;
}

.cheats-table tbody tr.is-empty {
    cursor: default;
}

.cheats-table tbody tr.is-empty:hover {
    background: #fffdf1;
}

.cheats-table code {
    display: inline-block;
    padding: 2px 5px;
    color: #0b3f3c;
    background: #dff2ef;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 800;
    word-break: break-all;
}

.cheats-effect-name {
    display: block;
    margin-bottom: 3px;
    color: var(--cheats-deep);
    font-size: 13px;
    font-weight: 900;
}

.cheats-device-tag {
    display: inline-block;
    padding: 2px 6px;
    color: #fff;
    background: var(--cheats-blue);
    border-radius: 3px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cheats-row-copy {
    min-width: 62px;
    min-height: 34px;
    padding: 5px 8px;
    color: var(--cheats-ink);
    background: var(--cheats-gold-light);
    border: 2px solid var(--cheats-ink);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.cheats-row-copy:hover,
.cheats-copy-button:hover:not(:disabled) {
    background: #fff1a0;
}

.cheats-detail-panel {
    display: grid;
    align-content: start;
    gap: 10px;
    min-width: 0;
    padding: 18px;
    color: var(--cheats-ink);
    background: var(--cheats-paper);
    border: 3px solid #122f2d;
    border-radius: 6px;
    box-shadow: 4px 4px 0 rgba(2, 38, 37, 0.48);
}

.cheats-detail-kicker {
    color: var(--cheats-red);
}

.cheats-detail-panel h3 {
    margin-bottom: 0;
    color: var(--cheats-deep);
    font-size: 22px;
    line-height: 1.15;
}

.cheats-detail-panel > p {
    margin-bottom: 0;
    color: #45655e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.cheats-detail-meta {
    display: grid;
    gap: 8px;
    margin: 4px 0 0;
}

.cheats-detail-meta > div {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed #8aa68d;
}

.cheats-detail-meta dt {
    color: #6a4a20;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.cheats-detail-meta dd {
    margin: 0;
    font-size: 12px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.cheats-detail-code {
    min-height: 72px;
    margin: 0;
    padding: 12px;
    overflow-x: auto;
    color: #e8fff8;
    background: #0b3d3b;
    border: 2px solid #122f2d;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-all;
}

.cheats-copy-button {
    min-height: 44px;
    padding: 8px 12px;
    color: var(--cheats-ink);
    background: var(--cheats-gold-light);
    border: 2px solid var(--cheats-ink);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.cheats-copy-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.cheats-detail-warning {
    margin-bottom: 0 !important;
    padding: 10px 12px;
    color: #5a2d14;
    background: #ffe8a8;
    border: 2px solid #c28a24;
    border-radius: 4px;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
}

.cheats-tool-footer {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    color: #e8f5e9;
    background: rgba(2, 47, 47, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 5px;
}

.cheats-tool-footer p {
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.cheats-tool-footer p:first-child {
    color: #fff4a6;
    font-weight: 900;
}

.cheats-tool-footer code {
    padding: 1px 5px;
    color: #fff8c8;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 3px;
    font-size: 0.95em;
    font-weight: 800;
}

.cheats-noscript {
    margin: 14px 0 0;
    padding: 14px 16px;
    color: var(--cheats-ink);
    background: #fff4c2;
    border: 2px solid #122f2d;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.cheats-noscript p {
    margin: 0 0 10px;
    color: #2d5149;
}

.cheats-noscript p:last-child {
    margin-bottom: 0;
}

.cheats-static-codes {
    display: grid;
    gap: 6px;
    margin: 0 0 12px;
    padding-left: 1.15rem;
    color: #2d5149;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

.cheats-static-codes li {
    min-width: 0;
    overflow-wrap: anywhere;
}

.cheats-static-codes code {
    padding: 1px 5px;
    color: #0b3f3c;
    background: #dff2ef;
    border-radius: 3px;
    font-size: 0.95em;
    font-weight: 800;
    word-break: break-all;
}

.cheats-noscript-note {
    margin-bottom: 0 !important;
    padding-top: 10px;
    border-top: 1px dashed #8a6a20;
    color: #5a2d14 !important;
    font-size: 12px !important;
}

.cheats-device-grid,
.cheats-tips-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.cheats-device-grid article,
.cheats-tips-grid article {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 18px;
    background: #fff9dc;
    border: 2px solid var(--cheats-ink);
    border-radius: 5px;
}

.cheats-device-grid article > *,
.cheats-tips-grid article > * {
    min-width: 0;
    max-width: 100%;
}

.cheats-tier-badge,
.cheats-tip-label {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 7px;
    color: #fff;
    background: var(--cheats-deep);
    border-radius: 3px;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cheats-device-grid article:nth-child(2) .cheats-tier-badge,
.cheats-tips-grid article:nth-child(2) .cheats-tip-label {
    background: #7a4b1f;
}

.cheats-device-grid article:nth-child(3) .cheats-tier-badge,
.cheats-tips-grid article:nth-child(3) .cheats-tip-label {
    background: var(--cheats-blue);
}

.cheats-tips-grid article:nth-child(4) .cheats-tip-label {
    background: #2e7138;
}

.cheats-tips-grid article:nth-child(5) .cheats-tip-label {
    background: var(--cheats-red);
}

.cheats-tips-grid article:nth-child(6) .cheats-tip-label {
    background: #0d6680;
}

.cheats-device-grid h3,
.cheats-tips-grid h3 {
    margin-bottom: 8px;
    color: var(--cheats-deep);
    font-size: 19px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.cheats-device-grid p,
.cheats-tips-grid p {
    margin-bottom: 12px;
    color: #36554e;
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.cheats-device-grid ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding-left: 18px;
    color: #2d5149;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
}

.cheats-device-grid code,
.cheats-workflow code,
.cheats-guide kbd {
    padding: 1px 5px;
    color: #0b3f3c;
    background: #dff2ef;
    border-radius: 3px;
    font-size: 0.95em;
    font-weight: 800;
}

.cheats-guide kbd {
    border: 1px solid #8ab0aa;
    box-shadow: 0 1px 0 #8ab0aa;
}

.cheats-tips-grid a {
    color: var(--cheats-deep);
    font-size: 12px;
    font-weight: 900;
    text-underline-offset: 3px;
}

.cheats-tips-grid a:hover {
    color: var(--cheats-blue);
}

.cheats-workflow {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cheats-workflow li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px;
    background: #fff9dc;
    border: 2px solid var(--cheats-ink);
    border-radius: 5px;
}

.cheats-workflow li > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: var(--cheats-deep);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 900;
}

.cheats-workflow h3 {
    margin-bottom: 5px;
    color: var(--cheats-deep);
    font-size: 17px;
    line-height: 1.15;
}

.cheats-workflow p {
    margin-bottom: 0;
    color: #45635c;
    font-size: 12px;
    line-height: 1.52;
}

.cheats-faq-list {
    display: grid;
    gap: 10px;
}

.cheats-faq-list details {
    padding: 0;
    background: #fff9dc;
    border: 2px solid var(--cheats-ink);
    border-radius: 5px;
    overflow: hidden;
}

.cheats-faq-list summary {
    padding: 14px 16px;
    color: var(--cheats-deep);
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.cheats-faq-list summary::-webkit-details-marker {
    display: none;
}

.cheats-faq-list summary::after {
    float: right;
    color: #7a4b1f;
    content: "+";
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.cheats-faq-list details[open] summary::after {
    content: "−";
}

.cheats-faq-list details[open] summary {
    border-bottom: 1px dashed #90aa8f;
}

.cheats-faq-list p {
    margin: 0;
    padding: 14px 16px 16px;
    color: #36554e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.cheats-faq-list a {
    color: var(--cheats-deep);
    font-weight: 900;
    text-underline-offset: 3px;
}

.cheats-faq-list a:hover {
    color: var(--cheats-blue);
}

.cheats-next-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cheats-next-links a {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 16px 18px;
    color: inherit;
    text-decoration: none;
    background: var(--cheats-paper);
    border: 3px solid var(--cheats-ink);
    border-radius: 6px;
    box-shadow: 4px 4px 0 #89a77e;
}

.cheats-next-links a:hover {
    background: #fff5bf;
}

.cheats-next-links span {
    color: #6a4a20;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cheats-next-links strong {
    color: var(--cheats-deep);
    font-size: 18px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.cheats-side-column {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 14px;
}

.cheats-toc,
.cheats-side-rule,
.cheats-side-list {
    padding: 16px;
    background: var(--cheats-paper);
    border: 3px solid var(--cheats-ink);
    border-radius: 6px;
    box-shadow: 4px 4px 0 #89a77e;
}

.cheats-toc {
    display: grid;
    gap: 8px;
}

.cheats-toc > p,
.cheats-side-list > p {
    color: var(--cheats-red);
}

.cheats-toc a {
    color: var(--cheats-deep);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.cheats-toc a:hover {
    color: var(--cheats-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cheats-side-rule {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.cheats-side-rule > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--cheats-ink);
    background: var(--cheats-gold-light);
    border: 2px solid var(--cheats-ink);
    border-radius: 4px;
    font-size: 18px;
    font-weight: 900;
}

.cheats-side-rule p {
    margin-bottom: 0;
    color: #45655e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.cheats-side-rule strong {
    display: block;
    margin-bottom: 4px;
    color: var(--cheats-deep);
    font-size: 13px;
}

.cheats-side-list ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-left: 16px;
    color: #2d5149;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.cheats-side-list.is-warn {
    background: #fff0b0;
    border-color: #8a5a18;
}

@media (max-width: 1080px) {
    .cheats-hero-inner,
    .cheats-page-layout,
    .cheats-tool-body,
    .cheats-device-grid,
    .cheats-tips-grid {
        grid-template-columns: 1fr;
    }

    .cheats-side-column {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cheats-toc {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .cheats-hero-inner,
    .cheats-page-layout {
        width: min(calc(100% - 28px), 1220px);
        padding-top: 36px;
        padding-bottom: 48px;
    }

    .cheats-section {
        padding: 18px;
    }

    .cheats-filter-row,
    .cheats-next-links,
    .cheats-side-column {
        grid-template-columns: 1fr;
    }

    .cheats-hero h1 {
        font-size: clamp(30px, 9vw, 44px);
        overflow-wrap: anywhere;
    }

    .cheats-lead {
        font-size: 16px;
    }

    .cheats-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cheats-primary-action,
    .cheats-secondary-action {
        width: 100%;
    }

    .cheats-device-tabs button {
        flex: 1 1 auto;
        min-width: 0;
    }

    .cheats-table th:nth-child(4),
    .cheats-table td:nth-child(4) {
        display: none;
    }

    .cheats-table th,
    .cheats-table td {
        padding: 10px 8px;
        font-size: 11px;
    }

    .cheats-table td:nth-child(3) {
        max-width: 9.5rem;
    }

    .cheats-row-copy {
        min-width: 52px;
        padding: 5px 6px;
    }

    .cheats-section-heading h2,
    .cheats-detail-panel h3,
    .cheats-workflow h3 {
        overflow-wrap: anywhere;
    }

    .cheats-answer-card li p,
    .cheats-workflow p,
    .cheats-tool-footer p {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 420px) {
    .cheats-hero-stats {
        width: 100%;
    }

    .cheats-hero-stats > div {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
    }

    .cheats-table th:nth-child(2),
    .cheats-table td:nth-child(2) {
        display: none;
    }
}
