@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Cormorant+Garamond:wght@500;600;700&display=swap');

.kh-game,
.kh-login-box {
    box-sizing: border-box;
    max-width: 1040px;
    margin: 32px auto;
    color: #2d2417;
    font-family: inherit;
}

.kh-game *,
.kh-login-box * {
    box-sizing: border-box;
}

.kh-shell,
.kh-login-box {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.7), transparent 38%),
        linear-gradient(135deg, #f7eed8 0%, #e8d4ad 100%);
    border: 1px solid rgba(104, 71, 33, 0.18);
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(42, 29, 12, 0.16);
}

.kh-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
}

.kh-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a4c1d;
    margin-bottom: 6px;
}

.kh-titlebar h2,
.kh-login-box h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
}

.kh-titlebar p,
.kh-login-box p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.55;
    max-width: 820px;
}

.kh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.kh-button:hover,
.kh-button:focus,
.kh-button:focus-visible,
.kh-button:active {
    transform: translateY(-1px);
    outline: none;
    text-decoration: none !important;
}

.kh-button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.kh-button-primary,
.kh-button-primary:visited {
    background: #7b3f1d !important;
    color: #fff !important;
    box-shadow: 0 9px 18px rgba(93, 48, 22, 0.22);
}

.kh-button-primary:hover,
.kh-button-primary:focus,
.kh-button-primary:focus-visible,
.kh-button-primary:active {
    background: #5e2f15 !important;
    color: #fff !important;
}

.kh-button-secondary,
.kh-button-secondary:visited {
    background: rgba(255,255,255,0.62) !important;
    color: #5a3416 !important;
    margin-left: 8px;
}

.kh-button-secondary:hover,
.kh-button-secondary:focus,
.kh-button-secondary:focus-visible,
.kh-button-secondary:active {
    background: rgba(255, 244, 217, 0.92) !important;
    color: #3e2410 !important;
    box-shadow: 0 6px 14px rgba(93, 48, 22, 0.18);
}

.kh-button-choice,
.kh-button-choice:visited {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    background: #fffaf0 !important;
    color: #392817 !important;
    border: 1px solid rgba(91, 57, 22, 0.14);
    border-radius: 16px;
    box-shadow: 0 5px 14px rgba(55, 34, 12, 0.08);
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 15px !important;
}

.kh-button-choice:hover,
.kh-button-choice:focus,
.kh-button-choice:focus-visible,
.kh-button-choice:active {
    background: #fff4d9 !important;
    color: #2c1e10 !important;
}

.kh-card {
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(91, 57, 22, 0.13);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(55, 34, 12, 0.08);
}

.kh-intro .kh-event-body p {
    font-size: 17px;
    line-height: 1.7;
}

.kh-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 12px;
}

.kh-stat {
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(91, 57, 22, 0.1);
    border-radius: 18px;
    padding: 13px;
}

.kh-stat-head {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 22px;
}

.kh-stat-icon {
    font-size: 17px;
}

.kh-stat-label {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(45,36,23,0.72);
}

.kh-stat-value {
    display: block;
    margin: 5px 0 7px;
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
}

.kh-stat-danger {
    background: rgba(255, 233, 224, 0.85);
}

.kh-bar {
    width: 100%;
    height: 8px;
    background: rgba(66, 42, 17, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

.kh-bar-inner {
    height: 100%;
    background: #8b5a2b;
    border-radius: 999px;
}

.kh-info-row {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 10px;
    margin: 10px 0 12px;
}

.kh-info-pill {
    min-width: 0;
    border-radius: 16px;
    padding: 8px 11px;
    background: rgba(255,255,255,0.68);
    border: 1px solid rgba(91, 57, 22, 0.12);
    box-shadow: 0 5px 12px rgba(55, 34, 12, 0.05);
}

.kh-info-pill span {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(45,36,23,0.62);
}

.kh-info-pill strong {
    display: block;
    font-size: 14px;
    line-height: 1.25;
    color: #2d2417;
    overflow-wrap: anywhere;
}

.kh-info-pill em {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: rgba(45,36,23,0.7);
}

.kh-intel-report {
    margin: 0 0 10px;
    padding: 11px 13px;
    border-radius: 16px;
    background: rgba(255,255,255,0.56);
    border: 1px solid rgba(91, 57, 22, 0.10);
}

.kh-intel-report span,
.kh-artifact-strip span {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(45,36,23,0.62);
}

.kh-intel-report p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.kh-artifact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(123, 63, 29, 0.08);
    border: 1px solid rgba(91, 57, 22, 0.10);
}

.kh-artifact-strip span {
    width: 100%;
    margin-bottom: 0;
}

.kh-artifact-strip strong {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
    font-size: 12px;
    line-height: 1.2;
    color: #3a2a17;
}

.kh-progress {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 8px;
    padding: 8px 10px;
    border-radius: 18px;
    background: rgba(255,255,255,0.42);
    border: 1px solid rgba(91, 57, 22, 0.09);
}

.kh-progress-step {
    position: relative;
    min-width: 0;
    height: 18px;
    border-radius: 999px;
    background: rgba(91, 57, 22, 0.16);
    overflow: hidden;
}

.kh-progress-dot {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: rgba(91, 57, 22, 0.20);
}

.kh-progress-done .kh-progress-dot {
    background: #a47b45;
}

.kh-progress-active .kh-progress-dot {
    background: #7b3f1d;
    box-shadow: inset 0 0 0 3px rgba(255,255,255,0.28);
}

.kh-progress-upcoming .kh-progress-dot {
    background: rgba(91, 57, 22, 0.14);
}

.kh-current-segment {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    width: 100%;
    margin: 0 0 18px;
    padding: 10px 13px;
    border-radius: 16px;
    background: rgba(123, 63, 29, 0.10);
    border: 1px solid rgba(91, 57, 22, 0.12);
}

.kh-current-segment span {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(45,36,23,0.62);
}

.kh-current-segment strong {
    font-size: 15px;
    color: #2d2417;
}

.kh-current-segment em {
    font-size: 12px;
    color: rgba(45,36,23,0.68);
}

.kh-hero {
    width: 100%;
    min-height: 360px;
    background-size: cover;
    background-position: center;
    background-color: #d8c39c;
}

.kh-intro-hero {
    min-height: 380px;
}

.kh-event-body {
    padding: 22px;
}

.kh-phase {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 11px;
    background: rgba(123, 63, 29, 0.1);
    color: #6b3c18;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.kh-event h3,
.kh-result h3,
.kh-intro h3 {
    margin: 0 0 10px;
    font-size: clamp(23px, 3vw, 32px);
    line-height: 1.12;
}

.kh-event p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
}

.kh-choices {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.kh-last-result {
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(91, 57, 22, 0.09);
    font-style: italic;
    line-height: 1.55;
}

.kh-result {
    padding: 0;
}

.kh-result-body {
    padding: 24px;
}

.kh-final-hero {
    min-height: 280px;
}

.kh-score {
    font-size: 18px;
}

.kh-battle-result {
    margin: 16px 0;
    padding: 15px 16px;
    border-radius: 18px;
    background: rgba(123, 63, 29, 0.1);
}

.kh-battle-result h4 {
    margin: 0 0 8px;
    font-size: 18px;
}

.kh-battle-result p {
    margin: 4px 0;
}

/* === v0.5.4 — Csatakrónika és bontás === */

.kh-battle-result-v2 {
    background: rgba(248, 240, 220, 0.55);
    border: 1px solid rgba(123, 63, 29, 0.25);
}

.kh-battle-verdict {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding: 10px 14px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: rgba(123, 63, 29, 0.15);
}

.kh-verdict-text {
    font-family: 'Cinzel', 'Palatino', Georgia, serif;
    font-size: 20px;
    letter-spacing: 0.02em;
}

.kh-verdict-diff {
    font-size: 13px;
    opacity: 0.75;
}

.kh-battle-verdict.kh-verdict-won_decisive { background: rgba(80, 130, 60, 0.25); }
.kh-battle-verdict.kh-verdict-won_clear    { background: rgba(80, 130, 60, 0.18); }
.kh-battle-verdict.kh-verdict-won_narrow   { background: rgba(150, 130, 60, 0.18); }
.kh-battle-verdict.kh-verdict-lost_narrow  { background: rgba(150, 90, 60, 0.18); }
.kh-battle-verdict.kh-verdict-lost_clear   { background: rgba(150, 60, 60, 0.22); }
.kh-battle-verdict.kh-verdict-lost_rout    { background: rgba(140, 40, 40, 0.30); }

.kh-battle-enemy {
    margin: 0 0 12px;
    font-size: 14px;
    opacity: 0.85;
}

.kh-battle-chronicle {
    margin: 12px 0;
    padding: 12px 16px;
    border-left: 3px solid rgba(123, 63, 29, 0.5);
    background: rgba(255, 252, 240, 0.5);
    border-radius: 4px 14px 14px 4px;
}

.kh-battle-chronicle h4 {
    font-family: 'Cinzel', 'Palatino', Georgia, serif;
    margin: 0 0 8px;
    font-size: 16px;
    letter-spacing: 0.04em;
}

.kh-chronicle-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.kh-chronicle-list li {
    position: relative;
    padding: 4px 0 4px 18px;
    font-family: 'Cormorant Garamond', 'Palatino', Georgia, serif;
    font-size: 16px;
    line-height: 1.45;
}

.kh-chronicle-list li::before {
    content: '·';
    position: absolute;
    left: 4px;
    top: 2px;
    font-size: 18px;
    color: rgba(123, 63, 29, 0.7);
    font-weight: bold;
}

.kh-battle-artifacts {
    margin: 12px 0;
    padding: 10px 14px;
    background: rgba(170, 130, 50, 0.10);
    border-radius: 10px;
}

.kh-battle-artifacts h4 {
    margin: 0 0 6px;
    font-size: 14px;
    font-family: 'Cinzel', 'Palatino', Georgia, serif;
    letter-spacing: 0.03em;
}

.kh-artifact-list {
    margin: 0;
    padding-left: 18px;
}

.kh-artifact-list li {
    margin: 3px 0;
    font-size: 14px;
}

.kh-artifact-summary {
    opacity: 0.75;
    font-size: 13px;
}

.kh-battle-helper {
    margin: 8px 0 12px;
    font-size: 14px;
    opacity: 0.8;
}

.kh-battle-breakdown {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(123, 63, 29, 0.15);
}

.kh-battle-breakdown summary {
    cursor: pointer;
    font-weight: 600;
    font-family: 'Cinzel', 'Palatino', Georgia, serif;
    font-size: 14px;
    letter-spacing: 0.04em;
    padding: 4px 0;
}

.kh-battle-breakdown[open] summary {
    margin-bottom: 8px;
}

.kh-breakdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .kh-breakdown-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.kh-breakdown-col h5 {
    margin: 0 0 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.75;
}

.kh-breakdown-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.kh-breakdown-table td {
    padding: 3px 6px;
    border-bottom: 1px dashed rgba(123, 63, 29, 0.15);
    vertical-align: top;
}

.kh-breakdown-label {
    text-align: left;
}

.kh-breakdown-raw {
    opacity: 0.55;
    font-size: 11px;
}

.kh-breakdown-value {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    font-weight: 500;
}

.kh-breakdown-pos { color: #4a7c3a; }
.kh-breakdown-neg { color: #a04a3a; }
.kh-breakdown-zero { opacity: 0.5; }

.kh-breakdown-details {
    padding: 4px 6px 8px !important;
    font-size: 11px;
    opacity: 0.7;
    line-height: 1.4;
}

.kh-breakdown-total {
    font-weight: 700;
    background: rgba(123, 63, 29, 0.10);
}

.kh-breakdown-total td {
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 14px;
    border-bottom: none;
}

.kh-breakdown-total td:last-child {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* === v0.5.5 — Fázisos csata === */

.kh-battle-result-v3 {
    /* Plusz hely a kibővített tartalomnak */
}

.kh-phase-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 14px 0;
}

@media (max-width: 640px) {
    .kh-phase-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

.kh-phase-tile {
    padding: 10px 8px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(123, 63, 29, 0.15);
    background: rgba(255, 255, 255, 0.5);
    transition: transform 0.15s ease;
}

.kh-phase-tile-won {
    background: rgba(80, 130, 60, 0.15);
    border-color: rgba(80, 130, 60, 0.45);
}

.kh-phase-tile-lost {
    background: rgba(150, 60, 60, 0.13);
    border-color: rgba(150, 60, 60, 0.40);
}

.kh-phase-icon {
    font-size: 22px;
    line-height: 1;
    margin-bottom: 4px;
    font-weight: bold;
}

.kh-phase-tile-won .kh-phase-icon { color: #4a7c3a; }
.kh-phase-tile-lost .kh-phase-icon { color: #a04a3a; }

.kh-phase-label {
    font-family: 'Cinzel', 'Palatino', Georgia, serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.kh-phase-score {
    font-size: 15px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    margin-bottom: 3px;
}

.kh-phase-vs {
    font-weight: 400;
    opacity: 0.55;
    font-size: 12px;
    margin: 0 2px;
}

.kh-phase-stats {
    font-size: 11px;
    opacity: 0.68;
    line-height: 1.3;
    font-family: 'Cormorant Garamond', 'Palatino', Georgia, serif;
}

/* Fázisonkénti krónika-szekciók */
.kh-phase-section {
    margin: 10px 0;
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid rgba(123, 63, 29, 0.4);
    background: rgba(255, 252, 240, 0.6);
}

.kh-phase-section-won {
    border-left-color: rgba(80, 130, 60, 0.6);
}

.kh-phase-section-lost {
    border-left-color: rgba(150, 60, 60, 0.6);
}

.kh-phase-section h5 {
    margin: 0 0 6px;
    font-family: 'Cinzel', 'Palatino', Georgia, serif;
    font-size: 14px;
    letter-spacing: 0.04em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.kh-phase-section-label {
    font-weight: 600;
}

.kh-phase-section-result {
    font-size: 12px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    opacity: 0.7;
}

.kh-phase-section-won .kh-phase-section-result { color: #4a7c3a; opacity: 0.85; }
.kh-phase-section-lost .kh-phase-section-result { color: #a04a3a; opacity: 0.85; }

.kh-phase-section .kh-chronicle-list li {
    font-size: 15px;
}

/* Záró sorok (segéd, kegytárgy összegző, verdict mondat) */
.kh-battle-tail {
    margin: 10px 0;
    padding: 8px 12px;
    background: rgba(123, 63, 29, 0.08);
    border-radius: 8px;
}

.kh-battle-tail p {
    margin: 4px 0;
    font-family: 'Cormorant Garamond', 'Palatino', Georgia, serif;
    font-size: 15px;
    line-height: 1.45;
}

.kh-battle-tail p:last-child {
    font-weight: 600;
    font-family: 'Cinzel', 'Palatino', Georgia, serif;
    font-size: 14px;
    letter-spacing: 0.02em;
    margin-top: 8px;
}

/* Fázisonkénti számbontás a <details> blokkon belül */
.kh-phase-breakdown {
    margin: 12px 0;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(123, 63, 29, 0.18);
}

.kh-phase-breakdown:last-child {
    border-bottom: none;
}

.kh-phase-breakdown-title {
    margin: 0 0 8px;
    font-family: 'Cinzel', 'Palatino', Georgia, serif;
    font-size: 14px;
    letter-spacing: 0.04em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.kh-phase-breakdown-score {
    font-weight: 400;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    opacity: 0.75;
}

.kh-phase-breakdown-total {
    background: rgba(123, 63, 29, 0.10);
    padding: 10px 12px;
    border-radius: 8px;
    border-bottom: none;
}

.kh-phase-breakdown-total .kh-phase-breakdown-title {
    margin: 0;
    font-size: 15px;
}

.kh-phase-breakdown-total .kh-phase-breakdown-score {
    font-weight: 700;
    font-size: 14px;
    opacity: 1;
}

.kh-history {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.58);
}

.kh-history summary {
    cursor: pointer;
    font-weight: 900;
}

.kh-history ol {
    margin: 12px 0 0 20px;
    padding: 0;
}

.kh-history li {
    margin-bottom: 12px;
    line-height: 1.45;
}

.kh-actions {
    margin-top: 18px;
}

.kh-loading,
.kh-error {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.7);
    font-weight: 800;
}

.kh-error {
    color: #9b1c1c;
}

@media (max-width: 900px) {
    .kh-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kh-info-row {
        grid-template-columns: 1fr;
    }

    .kh-intel-report {
    margin: 0 0 10px;
    padding: 11px 13px;
    border-radius: 16px;
    background: rgba(255,255,255,0.56);
    border: 1px solid rgba(91, 57, 22, 0.10);
}

.kh-intel-report span,
.kh-artifact-strip span {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(45,36,23,0.62);
}

.kh-intel-report p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.kh-artifact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(123, 63, 29, 0.08);
    border: 1px solid rgba(91, 57, 22, 0.10);
}

.kh-artifact-strip span {
    width: 100%;
    margin-bottom: 0;
}

.kh-artifact-strip strong {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
    font-size: 12px;
    line-height: 1.2;
    color: #3a2a17;
}

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

    .kh-current-segment {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}

@media (max-width: 760px) {
    .kh-shell,
    .kh-login-box {
        padding: 18px;
        border-radius: 20px;
    }

    .kh-hero,
    .kh-intro-hero {
        min-height: 220px;
    }

    .kh-button-secondary {
        margin-left: 0;
        margin-top: 8px;
    }

    .kh-intel-report {
    margin: 0 0 10px;
    padding: 11px 13px;
    border-radius: 16px;
    background: rgba(255,255,255,0.56);
    border: 1px solid rgba(91, 57, 22, 0.10);
}

.kh-intel-report span,
.kh-artifact-strip span {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(45,36,23,0.62);
}

.kh-intel-report p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.kh-artifact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(123, 63, 29, 0.08);
    border: 1px solid rgba(91, 57, 22, 0.10);
}

.kh-artifact-strip span {
    width: 100%;
    margin-bottom: 0;
}

.kh-artifact-strip strong {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
    font-size: 12px;
    line-height: 1.2;
    color: #3a2a17;
}

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


.kh-player-line {
    margin-top: 6px !important;
    font-size: 14px !important;
    opacity: 0.78;
}

.kh-command-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 10px;
}

.kh-portrait-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 9px;
    border-radius: 16px;
    background: rgba(255,255,255,0.62);
    border: 1px solid rgba(91, 57, 22, 0.10);
}

.kh-portrait {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    background-color: #d8c39c;
}

.kh-portrait-card span {
    display: block;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(45,36,23,0.62);
}

.kh-portrait-card strong {
    display: block;
    font-size: 15px;
    line-height: 1.2;
}

.kh-portrait-card em {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.25;
    color: rgba(45,36,23,0.72);
}

.kh-intermezzo-hero {
    min-height: 320px;
}

.kh-next-segment {
    margin-top: 12px !important;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(123, 63, 29, 0.10);
}

.kh-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 18px;
    background: rgba(255,255,255,0.75);
}

.kh-table th,
.kh-table td {
    padding: 9px 8px;
    border-bottom: 1px solid rgba(91, 57, 22, 0.12);
    text-align: left;
    font-size: 14px;
}

.kh-table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 760px) {
    .kh-command-panel {
        grid-template-columns: 1fr;
    }
}


/* 0.4.3 finomítások */
.kh-game,
.kh-login-box {
    font-family: "Cormorant Garamond", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}

.kh-titlebar {
    justify-content: center;
    text-align: center;
}

.kh-titlebar > div {
    width: 100%;
}

.kh-titlebar h2,
.kh-login-box h2,
.kh-event h3,
.kh-result h3,
.kh-intro h3 {
    font-family: "Cinzel", "Palatino Linotype", Georgia, serif;
    letter-spacing: 0.01em;
}

.kh-titlebar p,
.kh-player-line {
    margin-left: auto !important;
    margin-right: auto !important;
}

.kh-player-line {
    text-align: center;
}

.kh-active-hero {
    margin: 0 0 14px;
    border-radius: 24px;
    min-height: 360px;
    overflow: hidden;
}

.kh-progress {
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    gap: 5px !important;
    padding: 7px 8px !important;
}

.kh-progress-step {
    height: 16px !important;
}

.kh-leader-description {
    margin: 6px 0 0 !important;
    font-size: 13px;
    line-height: 1.35;
    color: rgba(45,36,23,0.78);
}

.kh-artifact-strip {
    align-items: stretch;
}

.kh-artifact-strip strong {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    white-space: normal;
}

.kh-artifact-strip strong small {
    display: block;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 700;
    opacity: 0.78;
}

@media (max-width: 900px) {
    .kh-progress {
        grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
        gap: 3px !important;
    }

    .kh-progress-step {
        height: 13px !important;
    }
}

@media (max-width: 600px) {
    .kh-progress {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}


/* 0.4.6: kompakt vezér/segéd hover információ */
.kh-info-row {
    display: none !important;
}

.kh-intel-report {
    display: none !important;
}

.kh-command-panel {
    position: relative;
}

.kh-has-tooltip {
    position: relative;
    overflow: visible;
    cursor: help;
}

.kh-tooltip {
    display: none;
    position: absolute;
    z-index: 50;
    left: 12px;
    right: 12px;
    bottom: calc(100% + 10px);
    min-width: 260px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(45, 31, 18, 0.96);
    color: #fff8e8;
    box-shadow: 0 16px 35px rgba(35, 22, 10, 0.28);
    font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
    line-height: 1.35;
}

.kh-tooltip:after {
    content: "";
    position: absolute;
    left: 34px;
    bottom: -8px;
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: rgba(45, 31, 18, 0.96) transparent transparent transparent;
}

.kh-tooltip strong {
    display: block;
    margin-bottom: 5px;
    font-family: "Cinzel", "Palatino Linotype", Georgia, serif;
    font-size: 14px;
    color: #fff;
}

.kh-tooltip p {
    margin: 4px 0 0 !important;
    font-size: 14px;
}

.kh-has-tooltip:hover .kh-tooltip,
.kh-has-tooltip:focus-within .kh-tooltip {
    display: block;
}

@media (max-width: 760px) {
    .kh-tooltip {
        left: 0;
        right: 0;
        bottom: calc(100% + 8px);
        min-width: 0;
    }
}


/* 0.4.9: Politika, támogatás, játéktippek */
.kh-support-page,
.kh-tips-page {
    text-align: center;
}

.kh-support-page .kh-event-body,
.kh-tips-page .kh-event-body {
    max-width: 860px;
    margin: 0 auto;
}

.kh-bmc-box {
    margin: 22px auto 18px;
    display: flex;
    justify-content: center;
    min-height: 48px;
}

.kh-tips-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 20px;
    text-align: left;
}

.kh-tip-item {
    border: 1px solid rgba(113, 87, 45, 0.2);
    background: rgba(255, 248, 230, 0.72);
    border-radius: 18px;
    padding: 14px 16px;
}

.kh-tip-item h4 {
    margin: 0 0 6px !important;
    font-family: "Cinzel", "Palatino Linotype", Georgia, serif;
}

.kh-tip-item p {
    margin: 0 !important;
}


/* 0.4.9c: BMC oldal gomb-egységesítés */
.kh-actions a.kh-button,
.kh-actions a.kh-button:visited,
.kh-actions a.kh-button:hover,
.kh-actions a.kh-button:focus {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    line-height: 1.2;
    box-sizing: border-box;
}

.kh-exit-button {
    appearance: none;
    -webkit-appearance: none;
}


/* 0.4.9d: saját BMC-banner és egységes záróoldali gombok */
.kh-bmc-box {
    margin: 24px auto 22px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 58px !important;
}

.kh-bmc-static,
.kh-bmc-static:visited,
.kh-bmc-static:hover,
.kh-bmc-static:focus {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    min-height: 48px !important;
    padding: 0 22px !important;
    border-radius: 12px !important;
    border: 2px solid #000 !important;
    background: #FFDD00 !important;
    color: #000 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(55, 38, 12, 0.18) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

.kh-bmc-static:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(55, 38, 12, 0.24) !important;
}

.kh-bmc-cup {
    display: inline-flex !important;
    width: 28px !important;
    height: 28px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: #fff !important;
    font-size: 18px !important;
}

.kh-support-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.kh-support-actions .kh-button {
    min-width: 145px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
}


/* 0.4.9e: toplista alsó gombsor */
.kh-leaderboard-actions {
    margin-top: 18px !important;
}


/* 0.4.9f: toplista alsó gombsor két gombbal */
.kh-leaderboard-actions {
    margin-top: 18px !important;
}


/* 0.4.9i: játék közbeni zenevezérlő */
.kh-music-player {
    margin: 14px auto 0;
    padding: 9px 12px;
    border-radius: 18px;
    background: rgba(46, 35, 23, 0.92);
    color: #fff8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 820px;
    box-shadow: 0 12px 28px rgba(33, 21, 10, 0.18);
}

.kh-music-title {
    font-family: "Cinzel", "Palatino Linotype", Georgia, serif;
    font-size: 13px;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.kh-music-buttons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.kh-music-button {
    border: 1px solid rgba(255, 248, 232, 0.35);
    background: rgba(255, 248, 232, 0.12);
    color: #fff8e8;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    font-weight: 700;
}

.kh-music-button:hover,
.kh-music-button:focus {
    background: rgba(255, 221, 0, 0.22);
    border-color: rgba(255, 221, 0, 0.7);
}

.kh-music-status {
    min-width: 78px;
    font-size: 12px;
    opacity: 0.82;
    text-align: left;
}

/* Nyitóképernyő gombok mobil igazítása */
.kh-intro .kh-actions {
    justify-content: center;
    align-items: center;
}

@media (max-width: 680px) {
    .kh-intro .kh-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .kh-intro .kh-actions .kh-button {
        width: min(100%, 280px) !important;
        justify-content: center !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .kh-music-player {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
    }

    .kh-music-status {
        min-width: 0;
        text-align: center;
    }
}


/* 0.4.9k: helpernév betűtípus javítása a segédválasztó táblában */
.kh-helper-card strong,
.kh-helper-card h4,
.kh-helper-card .kh-helper-name,
.kh-choice-card strong,
.kh-choice-card h4,
.kh-choice-card .kh-helper-name,
.kh-choices strong,
.kh-choices h4 {
    font-family: "Cinzel", "Palatino Linotype", Georgia, serif !important;
    letter-spacing: 0.01em;
}


/* 0.4.9l: intermezzo kép alatti segédnév betűtípusa */
.kh-intermezzo h3,
.kh-intermezzo .kh-event-body h3,
.kh-card.kh-intermezzo h3,
.kh-result-body h3,
.kh-event-body > h3 {
    font-family: "Cinzel", "Palatino Linotype", Georgia, serif !important;
    letter-spacing: 0.01em;
    font-weight: 700;
}


/* 0.4.9o: kompaktabb fejléc */
.kh-titlebar {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.kh-titlebar h2 {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    line-height: 1.05 !important;
}

.kh-titlebar p {
    margin-top: 0 !important;
    margin-bottom: 3px !important;
    line-height: 1.25 !important;
}

.kh-titlebar .kh-player-line {
    margin-top: 2px !important;
    margin-bottom: 0 !important;
    font-size: 13px;
}

.kh-titlebar .kh-kicker {
    display: none !important;
}


/* 0.4.9p: folyamatjelző közvetlenül a hero kép alatt */
.kh-active-hero {
    margin-bottom: 8px !important;
}

.kh-progress {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.kh-current-segment {
    display: none !important;
}


/* 0.4.9q: kegytárgyak a vezér és segéd közé kerülnek */
.kh-command-panel-three {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.86fr) minmax(0, 1fr) !important;
    align-items: stretch;
}

.kh-command-panel-three .kh-portrait-card,
.kh-command-panel-three .kh-artifacts-card {
    min-width: 0;
}

.kh-artifacts-card {
    padding: 9px;
    border-radius: 16px;
    background: rgba(255,255,255,0.62);
    border: 1px solid rgba(91, 57, 22, 0.10);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.kh-artifacts-card > span {
    display: block;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(45,36,23,0.62);
    margin-bottom: 0;
}

.kh-artifact-mini {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 8px;
    border-radius: 12px;
    background: rgba(255,248,230,0.74);
    border: 1px solid rgba(91,57,22,0.08);
    min-height: 34px;
}

.kh-artifact-mini strong {
    font-family: "Cinzel", "Palatino Linotype", Georgia, serif;
    font-size: 12px;
    line-height: 1.15;
    color: #3a2a17;
}

.kh-artifact-mini small {
    display: block;
    font-size: 10.5px;
    line-height: 1.18;
    color: rgba(45,36,23,0.70);
    font-weight: 700;
}

.kh-artifact-empty strong {
    font-family: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
    font-size: 12px;
}

.kh-artifact-strip {
    display: none !important;
}

@media (max-width: 900px) {
    .kh-command-panel-three {
        grid-template-columns: 1fr !important;
    }

    .kh-artifacts-card {
        order: 2;
    }

    .kh-helper-card {
        order: 3;
    }
}


/* 0.4.9r: vezér/segéd címke felül, nagyobb portrék, eredménydoboz az esemény fölött */
.kh-portrait-card-titled {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
}

.kh-card-top-label,
.kh-portrait-card-titled > span.kh-card-top-label {
    display: block !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: rgba(45,36,23,0.62) !important;
    margin: 0 !important;
}

.kh-portrait-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.kh-command-panel-three .kh-portrait {
    width: 76px !important;
    height: 76px !important;
    border-radius: 15px !important;
}

.kh-portrait-card-titled strong {
    font-family: "Cinzel", "Palatino Linotype", Georgia, serif !important;
    font-size: 14px;
    line-height: 1.15;
}

.kh-portrait-card-titled em {
    font-size: 11.5px;
    line-height: 1.25;
}

.kh-last-result-moved {
    margin: 0 0 12px !important;
    padding: 10px 13px !important;
    border-radius: 16px !important;
    background: rgba(210, 184, 132, 0.32) !important;
    border: 1px solid rgba(91, 57, 22, 0.10);
}

.kh-last-result-moved span {
    display: block;
    margin-bottom: 4px;
    font-family: "Cinzel", "Palatino Linotype", Georgia, serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(45,36,23,0.68);
}

.kh-last-result-moved p {
    margin: 0 !important;
    line-height: 1.35;
}

.kh-last-result-moved em {
    font-style: italic;
    opacity: 0.82;
}

@media (max-width: 900px) {
    .kh-portrait-row {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .kh-command-panel-three .kh-portrait {
        width: 70px !important;
        height: 70px !important;
    }
}


/* 0.4.9s: előző választás eredménye normál betű, segéd szerepe zárójelben */
.kh-last-result-moved,
.kh-last-result-moved p {
    font-style: normal !important;
}

.kh-last-result-moved em {
    font-style: normal !important;
    opacity: 0.88;
}


/* 0.4.9t: előző döntés eredménye cím finomítás */
.kh-last-result-moved span {
    font-style: normal !important;
}


/* 0.5.3d: Info oldal */
.kh-info-page {
    text-align: center;
}

.kh-info-page .kh-event-body {
    max-width: 860px;
    margin: 0 auto;
}

.kh-info-text {
    text-align: left;
    max-width: 760px;
    margin: 14px auto 0;
    line-height: 1.65;
}

.kh-info-text p {
    margin: 0 0 12px !important;
}

.kh-info-text a,
.kh-info-text a:visited {
    color: #6f3f1c;
    font-weight: 700;
}

/* 0.5.3e: szebb, rács nélküli toplista */
.kh-leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 18px 0 22px;
}

.kh-leaderboard-row {
    display: grid;
    grid-template-columns: 54px minmax(130px, 1.25fr) minmax(120px, 1fr) 100px minmax(120px, 0.9fr);
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 10px 24px rgba(63, 42, 18, 0.08);
    font-size: 18px;
    line-height: 1.2;
}

.kh-lb-rank {
    font-size: 24px;
    font-weight: 800;
    color: rgba(82, 46, 20, 0.82);
}

.kh-lb-name {
    font-size: 21px;
    font-weight: 800;
    color: #2d2417;
}

.kh-lb-enemy {
    color: rgba(45, 36, 23, 0.74);
}

.kh-lb-score {
    font-weight: 800;
    color: #5d3519;
    white-space: nowrap;
}

.kh-lb-grade {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
    font-weight: 800;
    color: #3f2c1a;
}

.kh-crown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 999px;
    background: rgba(123, 63, 29, 0.13);
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 760px) {
    .kh-leaderboard-row {
        grid-template-columns: 46px 1fr;
        gap: 7px 10px;
        font-size: 16px;
    }
    .kh-lb-name,
    .kh-lb-enemy,
    .kh-lb-score,
    .kh-lb-grade {
        grid-column: 2;
    }
    .kh-lb-rank {
        grid-row: 1 / span 4;
        align-self: start;
    }
}

/* === v0.5.6 — Csatapulzus === */

/* Választópanel: csata közben enyhén vöröses háttér.
   Csak akkor jelenik meg, ha a backend a battle_pulse.in_battle = true értéket küldi. */
.kh-event.kh-event-in-battle {
    background: rgba(196, 110, 86, 0.18);
    border: 1px solid rgba(160, 74, 58, 0.32);
    transition: background-color 0.32s ease, border-color 0.32s ease;
}

.kh-event.kh-event-in-battle .kh-phase {
    color: rgba(140, 50, 35, 0.85);
}

/* "Az előző döntés eredménye" doboz: zöld vagy piros háttér a battle_pulse.prev_outcome szerint.
   A meglévő szabály (rgba(210,184,132,0.32) bézs) felülírása csak a két új osztály jelenléténél. */
.kh-last-result-moved.kh-last-result-won {
    background: rgba(106, 142, 80, 0.26) !important;
    border-color: rgba(74, 124, 58, 0.45);
    transition: background-color 0.32s ease, border-color 0.32s ease;
}

.kh-last-result-moved.kh-last-result-lost {
    background: rgba(196, 110, 86, 0.28) !important;
    border-color: rgba(160, 74, 58, 0.45);
    transition: background-color 0.32s ease, border-color 0.32s ease;
}

.kh-last-result-moved.kh-last-result-won span {
    color: rgba(58, 96, 42, 0.85);
}

.kh-last-result-moved.kh-last-result-lost span {
    color: rgba(140, 50, 35, 0.85);
}

/* === v0.6.0 — Facebook megosztó blokk a csata végén === */

.kh-share-block {
    margin: 16px 0;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(248, 240, 220, 0.65);
    border: 1px solid rgba(123, 63, 29, 0.30);
}

.kh-share-title {
    font-family: 'Cinzel', 'Palatino', Georgia, serif;
    font-size: 16px;
    letter-spacing: 0.04em;
    margin: 0 0 10px;
    color: rgba(70, 35, 15, 0.95);
}

.kh-share-text {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid rgba(123, 63, 29, 0.30);
    border-radius: 8px;
    background: #fff;
    font-family: 'Cormorant Garamond', 'Palatino', Georgia, serif;
    font-size: 15px;
    line-height: 1.5;
    resize: vertical;
    color: #2C1F14;
}

.kh-share-text:focus {
    outline: none;
    border-color: rgba(123, 63, 29, 0.6);
    box-shadow: 0 0 0 2px rgba(123, 63, 29, 0.15);
}

.kh-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    align-items: center;
}

.kh-share-copy,
.kh-share-fb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Cinzel', 'Palatino', Georgia, serif;
    font-size: 14px;
    letter-spacing: 0.03em;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 0.18s ease, transform 0.10s ease;
}

.kh-share-copy {
    background: rgba(170, 130, 50, 0.15);
    color: rgba(70, 50, 20, 0.95);
    border-color: rgba(170, 130, 50, 0.40);
}

.kh-share-copy:hover {
    background: rgba(170, 130, 50, 0.25);
}

.kh-share-fb {
    background: #1877F2;
    color: #fff;
    border-color: #1565d8;
}

.kh-share-fb:hover {
    background: #1565d8;
    color: #fff;
}

.kh-share-copy:active,
.kh-share-fb:active {
    transform: translateY(1px);
}

.kh-share-hint {
    margin: 8px 0 0;
    font-size: 12px;
    opacity: 0.65;
    font-style: italic;
}

@media (max-width: 480px) {
    .kh-share-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .kh-share-copy,
    .kh-share-fb {
        justify-content: center;
    }
}

/* === v0.6.9 — Hadjárati napló — delta-hatások és letöltés-gomb === */

.kh-history-actions {
    display: flex;
    justify-content: flex-end;
    margin: 10px 0 14px;
    padding: 0 4px;
}

.kh-history-list {
    margin: 0;
    padding-left: 20px;
}

.kh-history-list > li {
    margin-bottom: 12px;
    line-height: 1.5;
}

.kh-history-deltas {
    font-size: 0.85em;
    color: rgba(70, 50, 20, 0.65);
    font-style: italic;
    letter-spacing: 0.02em;
}

.kh-button.kh-history-download {
    font-size: 13px;
    padding: 6px 14px;
}
