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

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

.kanto-hero-copy,
.kanto-map-card,
.kanto-panel,
.kanto-map-grid figure,
.kanto-trouble-grid article {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(19, 41, 32, .96), rgba(8, 16, 13, .98));
    box-shadow: var(--shadow);
}

.kanto-hero-copy,
.kanto-panel,
.kanto-trouble-grid article {
    padding: 18px;
}

.kanto-hero-copy h2,
.kanto-section-heading h2,
.kanto-fast h2 {
    margin: 0;
    color: #fff;
    line-height: 1.12;
}

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

.kanto-lede,
.kanto-panel p,
.kanto-table td,
.kanto-check-grid em,
.kanto-flow,
.kanto-note,
.kanto-trouble-grid span,
.kanto-map-grid figcaption {
    color: #d8e7df;
}

.kanto-lede {
    max-width: 940px;
    font-size: 17px;
}

.kanto-answer-strip,
.kanto-links,
.kanto-stage-filter,
.kanto-progress,
.kanto-trouble-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.kanto-answer-strip span,
.kanto-links a,
.kanto-stage-filter button,
.kanto-progress button,
.kanto-trouble-buttons button {
    border: 1px solid rgba(226, 180, 67, .42);
    border-radius: 6px;
    background: rgba(226, 180, 67, .1);
    color: #f5d882;
}

.kanto-answer-strip span {
    padding: 7px 10px;
    font-weight: 850;
}

.kanto-map-card,
.kanto-map-grid figure {
    display: grid;
    margin: 0;
    overflow: hidden;
}

.kanto-map-card img,
.kanto-map-grid img {
    width: 100%;
    background: #08100d;
    image-rendering: pixelated;
    object-fit: cover;
}

.kanto-map-card img {
    height: 100%;
    min-height: 260px;
}

.kanto-map-card figcaption,
.kanto-map-grid figcaption {
    padding: 10px 12px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

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

.kanto-stage-filter {
    position: sticky;
    top: 64px;
    z-index: 5;
    backdrop-filter: blur(12px);
}

.kanto-links a,
.kanto-stage-filter button,
.kanto-progress button,
.kanto-trouble-buttons button {
    min-height: 36px;
    padding: 7px 10px;
    font-weight: 800;
    cursor: pointer;
}

.kanto-links a:hover,
.kanto-stage-filter button:hover,
.kanto-stage-filter button.is-active,
.kanto-progress button:hover,
.kanto-trouble-buttons button:hover,
.kanto-trouble-buttons button.is-active {
    background: var(--gold);
    color: #08100d;
}

.kanto-fast {
    display: grid;
    grid-template-columns: minmax(190px, 300px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    border-color: rgba(226, 180, 67, .48);
    background: linear-gradient(135deg, rgba(226, 180, 67, .16), rgba(8, 16, 13, .98));
}

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

.kanto-table-wrap {
    overflow-x: auto;
}

.kanto-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.kanto-table th,
.kanto-table td {
    padding: 11px 10px;
    border-bottom: 1px solid rgba(79, 103, 91, .56);
    text-align: left;
    vertical-align: top;
}

.kanto-table th {
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
}

.kanto-check-grid,
.kanto-map-grid,
.kanto-grid,
.kanto-trouble-grid {
    display: grid;
    gap: 12px;
}

.kanto-check-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.kanto-trouble-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 12px;
}

.kanto-check-grid label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(79, 103, 91, .5);
    border-radius: 8px;
    background: rgba(8, 16, 13, .42);
}

.kanto-check-grid input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--gold);
}

.kanto-check-grid span,
.kanto-check-grid em,
.kanto-trouble-grid article,
.kanto-trouble-grid span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.kanto-check-grid strong,
.kanto-trouble-grid strong,
.kanto-map-grid strong {
    color: #fff;
}

.kanto-check-grid em {
    font-style: normal;
    font-size: 13px;
}

.kanto-progress {
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.kanto-search {
    display: grid;
    gap: 6px;
    max-width: 460px;
    margin-bottom: 12px;
    color: #d8e7df;
    font-weight: 800;
}

.kanto-search input {
    min-height: 40px;
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: #08100d;
    color: #fff;
    padding: 8px 10px;
}

.kanto-flow {
    margin: 0;
    padding-left: 20px;
}

.kanto-flow li + li {
    margin-top: 8px;
}

.kanto-next {
    border-color: rgba(68, 201, 130, .38);
}

@media (max-width: 980px) {
    .kanto-hero,
    .kanto-fast,
    .kanto-grid {
        grid-template-columns: 1fr;
    }

    .kanto-check-grid,
    .kanto-map-grid,
    .kanto-trouble-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .kanto-hero-copy,
    .kanto-panel,
    .kanto-trouble-grid article {
        padding: 14px;
    }

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

    .kanto-check-grid,
    .kanto-map-grid,
    .kanto-trouble-grid {
        grid-template-columns: 1fr;
    }

    .kanto-stage-filter {
        top: 58px;
    }
}
