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

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

.hera-hero-copy,
.hera-sprite-card,
.hera-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(19, 41, 32, .96), rgba(10, 22, 18, .97));
    box-shadow: var(--shadow);
}

.hera-hero-copy,
.hera-panel {
    padding: 18px;
}

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

.hera-hero-copy h2 {
    max-width: 860px;
    font-size: clamp(28px, 4vw, 44px);
}

.hera-lede,
.hera-panel p,
.hera-check em,
.hera-result,
.hera-sprite-card figcaption {
    color: #d6e6de;
}

.hera-lede {
    max-width: 850px;
    font-size: 17px;
}

.hera-quick-grid,
.hera-links,
.hera-tabs,
.hera-related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hera-quick-grid span,
.hera-links a,
.hera-tabs button,
.hera-progress button,
.hera-related-grid a {
    border: 1px solid rgba(226, 180, 67, .36);
    border-radius: 6px;
    background: rgba(226, 180, 67, .1);
    color: var(--gold-2);
}

.hera-quick-grid span {
    padding: 8px 10px;
}

.hera-quick-grid strong {
    display: block;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
}

.hera-sprite-card {
    display: grid;
    place-items: center;
    margin: 0;
    padding: 18px;
    text-align: center;
}

.hera-sprite-card img {
    width: min(180px, 72%);
    image-rendering: pixelated;
}

.hera-sprite-card figcaption {
    margin-top: 12px;
    font-size: 13px;
}

.hera-links a,
.hera-related-grid a {
    padding: 8px 10px;
    text-decoration: none;
}

.hera-links a:hover,
.hera-related-grid a:hover,
.hera-tabs button:hover,
.hera-tabs button.is-active,
.hera-progress button:hover {
    background: var(--gold);
    color: #08100d;
}

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

.hera-picker-grid,
.hera-table-tools {
    display: grid;
    grid-template-columns: minmax(230px, 340px) minmax(0, 1fr);
    gap: 14px;
    align-items: end;
}

.hera-table-tools {
    margin-bottom: 12px;
}

.hera-select-label,
.hera-table-tools label {
    display: grid;
    gap: 6px;
    color: #fff;
    font-weight: 800;
}

.hera-select-label select,
.hera-table-tools input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(6, 14, 11, .96);
    color: #fff;
}

.hera-select-label select {
    padding: 0 10px;
}

.hera-table-tools input {
    padding: 0 12px;
}

.hera-result {
    min-height: 62px;
    padding: 13px 14px;
    border: 1px solid rgba(68, 201, 130, .32);
    border-radius: 8px;
    background: rgba(68, 201, 130, .09);
    font-weight: 750;
}

.hera-tabs {
    justify-content: flex-end;
}

.hera-tabs button,
.hera-progress button {
    min-height: 36px;
    padding: 7px 12px;
    cursor: pointer;
}

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

.hera-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
    color: #dceae3;
}

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

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

.hera-check-grid,
.hera-rule-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hera-check,
.hera-rule-grid article {
    border: 1px solid rgba(79, 103, 91, .7);
    border-radius: 8px;
    background: rgba(6, 14, 11, .42);
}

.hera-check {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
}

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

.hera-check span {
    display: grid;
    gap: 3px;
}

.hera-check strong,
.hera-rule-grid h3 {
    color: #fff;
}

.hera-check em {
    font-style: normal;
}

.hera-progress {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    color: #fff;
    font-weight: 850;
}

.hera-rule-grid article {
    padding: 14px;
}

.hera-rule-grid h3 {
    margin: 0 0 6px;
}

.hera-rule-grid p {
    margin: 0;
}

.hera-team-grid a {
    color: var(--gold-2);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 820px) {
    .hera-hero,
    .hera-picker-grid,
    .hera-table-tools,
    .hera-check-grid,
    .hera-rule-grid {
        grid-template-columns: 1fr;
    }

    .hera-tabs {
        justify-content: flex-start;
    }
}

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

    .hera-hero-copy h2 {
        font-size: 28px;
    }
}
