.hokx-missions {
    --hm-bg: #07131c;
    --hm-panel: #0b1d28;
    --hm-panel-2: #102936;
    --hm-border: #294656;
    --hm-text: #f4f8fb;
    --hm-muted: #b9c9d3;
    --hm-green: #86e84a;
    --hm-purple: #c870ff;
    margin: 34px 0;
    color: var(--hm-text);
    background: linear-gradient(145deg, rgba(12, 31, 43, .98), rgba(5, 15, 23, .98));
    border: 1px solid var(--hm-border);
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .28);
    overflow: hidden;
}

.hokx-missions__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    gap: 24px;
    align-items: end;
    padding: 26px;
    border-bottom: 1px solid var(--hm-border);
    background: radial-gradient(circle at top right, rgba(200, 112, 255, .14), transparent 42%);
}

.hokx-missions__eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--hm-purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}

.hokx-missions__header h2 {
    margin: 0 0 8px;
    color: var(--hm-text);
    font-size: clamp(25px, 4vw, 38px);
    line-height: 1.05;
}

.hokx-missions__header p { margin: 0; color: var(--hm-muted); font-size: 16px; }

.hokx-missions__search input {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0 16px;
    color: var(--hm-text);
    background: rgba(3, 13, 20, .82);
    border: 1px solid #456373;
    border-radius: 10px;
    font-size: 16px;
}

.hokx-missions__search input::placeholder { color: #9eb1bd; }
.hokx-missions__search input:focus { outline: 3px solid rgba(134, 232, 74, .28); border-color: var(--hm-green); }

.hokx-missions__tabs {
    display: flex;
    gap: 8px;
    padding: 18px 26px 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.hokx-missions__tabs button {
    min-width: 94px;
    min-height: 44px;
    padding: 9px 13px;
    color: #d8e4ea;
    background: #0a1a24;
    border: 1px solid #395564;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 750;
    white-space: nowrap;
    cursor: pointer;
}

.hokx-missions__tabs button span { color: #9fb2bd; margin-left: 4px; }
.hokx-missions__tabs button:hover,
.hokx-missions__tabs button:focus-visible { border-color: var(--hm-green); color: #fff; outline: none; }
.hokx-missions__tabs button.is-active { color: #08110a; background: var(--hm-green); border-color: var(--hm-green); }
.hokx-missions__tabs button.is-active span { color: #173a0a; }

.hokx-missions__status { padding: 7px 26px 13px; color: var(--hm-muted); font-size: 14px; }

.hokx-missions__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 26px 26px;
}

.hokx-mission {
    align-self: start;
    background: var(--hm-panel);
    border: 1px solid var(--hm-border);
    border-radius: 12px;
    overflow: hidden;
}

.hokx-mission[hidden] { display: none !important; }

.hokx-mission summary {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 28px;
    gap: 12px;
    align-items: center;
    min-height: 86px;
    padding: 15px;
    list-style: none;
    cursor: pointer;
}

.hokx-mission summary::-webkit-details-marker { display: none; }
.hokx-mission summary:hover { background: var(--hm-panel-2); }
.hokx-mission summary:focus-visible { outline: 3px solid var(--hm-green); outline-offset: -3px; }

.hokx-mission__code {
    display: inline-grid;
    place-items: center;
    min-height: 42px;
    padding: 7px;
    color: #071108;
    background: linear-gradient(135deg, #9af15e, #62c934);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
}

.hokx-mission__summary strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--hm-text);
    font-size: 15px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hokx-mission__summary small { display: block; margin-top: 5px; color: var(--hm-purple); font-size: 12px; font-weight: 750; }
.hokx-mission__toggle { color: var(--hm-green); font-size: 27px; line-height: 1; text-align: center; transition: transform .2s ease; }
.hokx-mission[open] .hokx-mission__toggle { transform: rotate(45deg); }

.hokx-mission__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--hm-border);
}

.hokx-mission__body section { min-width: 0; padding: 16px; border-right: 1px solid var(--hm-border); border-bottom: 1px solid var(--hm-border); }
.hokx-mission__body section:nth-child(even) { border-right: 0; }
.hokx-mission__body h3 { margin: 0 0 7px; color: var(--hm-green); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hokx-mission__body p { margin: 0; color: #d6e2e8; font-size: 14px; line-height: 1.55; }
.hokx-mission__body ul { margin: 7px 0 0 18px; color: #d6e2e8; }
.hokx-mission__recommendations { background: rgba(134, 232, 74, .045); }
.hokx-missions__empty { margin: 0 26px 26px; padding: 20px; color: var(--hm-muted); text-align: center; border: 1px dashed var(--hm-border); border-radius: 10px; }

@media (max-width: 900px) {
    .hokx-missions__header { grid-template-columns: 1fr; }
    .hokx-missions__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hokx-missions { margin: 24px -2px; border-radius: 12px; }
    .hokx-missions__header { gap: 18px; padding: 20px 16px; }
    .hokx-missions__header p { font-size: 15px; }
    .hokx-missions__tabs { padding: 15px 16px 7px; }
    .hokx-missions__tabs button { min-height: 46px; }
    .hokx-missions__status { padding: 8px 16px 12px; }
    .hokx-missions__grid { gap: 10px; padding: 0 16px 18px; }
    .hokx-mission summary { grid-template-columns: 64px minmax(0, 1fr) 24px; min-height: 92px; padding: 13px; }
    .hokx-mission__body { grid-template-columns: 1fr; }
    .hokx-mission__body section,
    .hokx-mission__body section:nth-child(even) { border-right: 0; }
    .hokx-missions__empty { margin: 0 16px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .hokx-mission__toggle { transition: none; }
}

/* World of Warships permanent campaign guides */
.hokx-wows-hub,
.hokx-wows-guide {
    --hm-navy: #071722;
    --hm-card: #0c2330;
    --hm-card-strong: #102d3b;
    --hm-line: #315568;
    --hm-cyan: #62d8e8;
    --hm-gold: #f1c56b;
    --hm-soft: #c3d4dd;
    overflow: clip;
    container-type: inline-size;
    font-size: 16px;
}

.hokx-wows-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: center;
    padding: clamp(26px, 4vw, 48px);
    background:
        radial-gradient(circle at 84% 20%, rgba(98, 216, 232, .16), transparent 28%),
        linear-gradient(135deg, rgba(15, 44, 58, .98), rgba(5, 17, 26, .99));
    border-bottom: 1px solid var(--hm-line);
}

.hokx-wows-hero h1,
.hokx-wows-guide__header h1 {
    max-width: 780px;
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.hokx-wows-hero p,
.hokx-wows-guide__header p {
    max-width: 760px;
    margin: 0;
    color: var(--hm-soft);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.58;
}

.hokx-wows-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(92px, 1fr));
    margin: 0;
    background: rgba(3, 15, 22, .72);
    border: 1px solid var(--hm-line);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
}

.hokx-wows-stats div { padding: 18px 17px; text-align: center; border-right: 1px solid var(--hm-line); }
.hokx-wows-stats div:last-child { border-right: 0; }
.hokx-wows-stats dt { color: var(--hm-cyan); font-size: 26px; font-weight: 900; line-height: 1; }
.hokx-wows-stats dd { margin: 7px 0 0; color: var(--hm-soft); font-size: 12px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }

.hokx-wows-hub__intro {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 18px clamp(22px, 4vw, 40px);
    color: var(--hm-soft);
    background: rgba(98, 216, 232, .055);
    border-bottom: 1px solid var(--hm-line);
    line-height: 1.5;
}

.hokx-wows-hub__intro strong { color: var(--hm-cyan); white-space: nowrap; }

.hokx-wows-campaign-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: clamp(20px, 4vw, 38px);
}

.hokx-wows-campaign-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-width: 0;
    padding: 24px;
    background: linear-gradient(150deg, rgba(16, 45, 59, .94), rgba(8, 25, 35, .98));
    border: 1px solid var(--hm-line);
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
}

.hokx-wows-campaign-card:first-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); column-gap: 30px; }
.hokx-wows-campaign-card:first-child > dl { align-self: center; }
.hokx-wows-campaign-card:first-child > .hokx-wows-button { grid-column: 1 / -1; }
.hokx-wows-campaign-card__number { position: absolute; top: 18px; right: 22px; color: rgba(98, 216, 232, .16); font-size: 42px; font-weight: 950; line-height: 1; }
.hokx-wows-campaign-card__meta { color: var(--hm-gold); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.hokx-wows-campaign-card h2 { margin: 9px 50px 9px 0; color: #fff; font-size: clamp(22px, 3vw, 30px); line-height: 1.12; letter-spacing: -.02em; }
.hokx-wows-campaign-card p { margin: 0 0 20px; color: var(--hm-soft); font-size: 15px; line-height: 1.55; }
.hokx-wows-campaign-card dl { margin: 0 0 20px; }
.hokx-wows-campaign-card dl div { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid rgba(81, 116, 133, .45); }
.hokx-wows-campaign-card dt { color: #88a5b4; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.hokx-wows-campaign-card dd { margin: 0; color: #eaf2f5; font-size: 14px; line-height: 1.45; }

.hokx-wows-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    padding: 11px 16px;
    color: #041317 !important;
    background: linear-gradient(135deg, #7ee7f3, #4cbecf);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none !important;
}

.hokx-wows-button:hover,
.hokx-wows-button:focus-visible { color: #041317; filter: brightness(1.08); outline: 3px solid rgba(126, 231, 243, .3); outline-offset: 2px; }

.hokx-wows-guide__header {
    padding: clamp(24px, 4vw, 42px);
    background:
        radial-gradient(circle at 88% 14%, rgba(241, 197, 107, .14), transparent 27%),
        linear-gradient(145deg, rgba(14, 42, 55, .99), rgba(6, 19, 28, .99));
    border-bottom: 1px solid var(--hm-line);
}

.hokx-wows-back { display: inline-flex; margin-bottom: 23px; color: var(--hm-cyan) !important; font-size: 14px; font-weight: 800; text-decoration: none !important; }
.hokx-wows-back:hover { text-decoration: underline !important; }
.hokx-wows-guide__title { display: grid; grid-template-columns: minmax(0, 1fr) 138px; gap: 28px; align-items: end; }
.hokx-wows-guide__count { display: grid; padding: 17px; text-align: center; background: rgba(4, 16, 24, .72); border: 1px solid var(--hm-line); border-radius: 12px; }
.hokx-wows-guide__count strong { color: var(--hm-gold); font-size: 32px; line-height: 1; }
.hokx-wows-guide__count span { margin-top: 7px; color: var(--hm-soft); font-size: 12px; line-height: 1.3; }

.hokx-wows-guide__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 26px 0 0;
    border: 1px solid var(--hm-line);
    border-radius: 12px;
    overflow: hidden;
}

.hokx-wows-guide__facts div { min-width: 0; padding: 15px 17px; background: rgba(5, 19, 28, .66); border-right: 1px solid var(--hm-line); }
.hokx-wows-guide__facts div:last-child { border-right: 0; }
.hokx-wows-guide__facts dt { color: #88a5b4; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.hokx-wows-guide__facts dd { margin: 6px 0 0; color: #f2f7f9; font-size: 14px; line-height: 1.45; }
.hokx-wows-route-tip { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; margin-top: 14px; padding: 14px 17px; background: rgba(134, 232, 74, .075); border: 1px solid rgba(134, 232, 74, .34); border-radius: 10px; }
.hokx-wows-route-tip strong { color: var(--hm-green); white-space: nowrap; }
.hokx-wows-route-tip span { color: #d9e8df; line-height: 1.5; }

.hokx-wows-toolbar { position: sticky; top: 0; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 340px); gap: 16px; padding: 16px clamp(18px, 3vw, 28px); background: rgba(5, 17, 25, .96); border-bottom: 1px solid var(--hm-line); backdrop-filter: blur(12px); }
.admin-bar .hokx-wows-toolbar { top: 32px; }
.hokx-wows-mission-tabs { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: thin; }
.hokx-wows-mission-tabs::-webkit-scrollbar { height: 6px; }
.hokx-wows-mission-tabs::-webkit-scrollbar-track { background: #071722; border-radius: 999px; }
.hokx-wows-mission-tabs::-webkit-scrollbar-thumb { background: #36586a; border-radius: 999px; }
.hokx-wows-mission-tabs::-webkit-scrollbar-thumb:hover { background: var(--hm-cyan); }
.hokx-wows-mission-tabs button { flex: 0 0 auto; min-width: 76px; min-height: 44px; padding: 7px 12px; color: #d7e4ea; background: #0b202c; border: 1px solid #36586a; border-radius: 8px; font-size: 15px; font-weight: 900; cursor: pointer; }
.hokx-wows-mission-tabs button span { display: block; color: #88a5b4; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.hokx-wows-mission-tabs button.is-active { color: #061619; background: var(--hm-cyan); border-color: var(--hm-cyan); }
.hokx-wows-mission-tabs button.is-active span { color: #17454c; }
.hokx-wows-mission-tabs button:focus-visible { outline: 3px solid rgba(98, 216, 232, .3); outline-offset: 2px; }
.hokx-wows-search input { width: 100%; min-height: 44px; margin: 0; padding: 0 14px; color: #fff; background: #081b25; border: 1px solid #426477; border-radius: 8px; font-size: 15px; }
.hokx-wows-search input::placeholder { color: #91a8b4; }
.hokx-wows-search input:focus { outline: 3px solid rgba(98, 216, 232, .22); border-color: var(--hm-cyan); }
.hokx-wows-result-status { min-height: 24px; padding: 12px clamp(20px, 4vw, 38px) 0; color: #9eb3bd; font-size: 13px; }
.hokx-wows-missions { padding: 12px clamp(20px, 4vw, 38px) clamp(24px, 4vw, 38px); }
.hokx-wows-mission[hidden] { display: none !important; }
.hokx-wows-mission__header { display: flex; justify-content: space-between; gap: 22px; align-items: center; margin-bottom: 14px; padding: 18px 20px; background: linear-gradient(135deg, rgba(15, 44, 58, .92), rgba(8, 27, 37, .94)); border: 1px solid var(--hm-line); border-radius: 12px; }
.hokx-wows-mission__header span { color: var(--hm-cyan); font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.hokx-wows-mission__header h2 { margin: 4px 0 0; color: #fff; font-size: 22px; }
.hokx-wows-pin-goal { display: flex; gap: 10px; align-items: center; max-width: 190px; }
.hokx-wows-pin-goal strong { color: var(--hm-gold); font-size: 31px; line-height: 1; }
.hokx-wows-pin-goal span { color: var(--hm-soft); font-size: 12px; letter-spacing: 0; line-height: 1.3; }
.hokx-wows-task-list { display: grid; gap: 9px; }
.hokx-wows-task { background: var(--hm-card); border: 1px solid var(--hm-line); border-radius: 11px; overflow: hidden; }
.hokx-wows-task[hidden] { display: none !important; }
.hokx-wows-task.is-final { border-color: rgba(241, 197, 107, .56); background: linear-gradient(135deg, rgba(53, 42, 23, .36), var(--hm-card)); }
.hokx-wows-task summary { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(220px, auto) 26px; gap: 14px; align-items: center; min-height: 72px; padding: 12px 16px; list-style: none; cursor: pointer; }
.hokx-wows-task summary::-webkit-details-marker { display: none; }
.hokx-wows-task summary:hover { background: rgba(98, 216, 232, .055); }
.hokx-wows-task summary:focus-visible { outline: 3px solid var(--hm-cyan); outline-offset: -3px; }
.hokx-wows-task__number { color: #8fa8b4; font-size: 11px; font-weight: 900; letter-spacing: .07em; }
.is-final .hokx-wows-task__number { color: var(--hm-gold); }
.hokx-wows-task__objective { color: #f3f8fa; font-size: 15px; font-weight: 750; line-height: 1.42; }
.hokx-wows-task__badges { display: flex; justify-content: flex-end; gap: 6px; align-items: center; }
.hokx-wows-badge,
.hokx-wows-pins { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 8px; border-radius: 6px; font-size: 10px; font-weight: 900; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.hokx-wows-badge { color: #d6e2e8; background: #173441; border: 1px solid #426274; }
.hokx-wows-badge.is-recommended { color: #071707; background: var(--hm-green); border-color: var(--hm-green); }
.hokx-wows-badge.is-required-final { color: #201705; background: var(--hm-gold); border-color: var(--hm-gold); }
.hokx-wows-badge.is-challenge,
.hokx-wows-badge.is-hard { color: #ffd8d8; background: rgba(219, 79, 79, .14); border-color: rgba(255, 117, 117, .48); }
.hokx-wows-badge.is-easy { color: #caffb0; background: rgba(134, 232, 74, .1); border-color: rgba(134, 232, 74, .34); }
.hokx-wows-badge.is-specialist { color: #eed5ff; background: rgba(200, 112, 255, .11); border-color: rgba(200, 112, 255, .42); }
.hokx-wows-pins { color: #ffe3a7; background: rgba(241, 197, 107, .09); border: 1px solid rgba(241, 197, 107, .35); }
.hokx-wows-task__toggle { color: var(--hm-cyan); font-size: 26px; line-height: 1; text-align: center; transition: transform .18s ease; }
.hokx-wows-task[open] .hokx-wows-task__toggle { transform: rotate(45deg); }
.hokx-wows-task__body { border-top: 1px solid var(--hm-line); }
.hokx-wows-task__official { display: grid; grid-template-columns: 1.35fr .65fr; background: rgba(3, 16, 23, .5); border-bottom: 1px solid var(--hm-line); }
.hokx-wows-task__official section,
.hokx-wows-task__advice section { min-width: 0; padding: 15px 17px; }
.hokx-wows-task__official section + section { border-left: 1px solid var(--hm-line); }
.hokx-wows-task__advice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hokx-wows-task__advice section { border-right: 1px solid rgba(49, 85, 104, .58); border-bottom: 1px solid rgba(49, 85, 104, .58); }
.hokx-wows-task__advice section:nth-child(2n) { border-right: 0; }
.hokx-wows-task__advice section.is-wide { grid-column: 1 / -1; border-right: 0; }
.hokx-wows-task__advice section:last-child { border-bottom: 0; }
.hokx-wows-task__body h3 { margin: 0 0 6px; color: var(--hm-cyan); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.hokx-wows-task__body p { margin: 0; color: #d7e4ea; font-size: 14px; line-height: 1.55; }
.hokx-wows-task__repeat { background: rgba(134, 232, 74, .04); }
.hokx-wows-task__repeat h3 { color: var(--hm-green); }
.hokx-wows-source-note { display: flex; justify-content: space-between; gap: 20px; padding: 17px clamp(20px, 4vw, 38px); color: #91a8b4; background: #06141d; border-top: 1px solid var(--hm-line); font-size: 12px; line-height: 1.45; }
.hokx-wows-source-note a { color: var(--hm-cyan) !important; white-space: nowrap; }

/*
 * Soledad applies high-specificity typography rules inside article content.
 * Keep the guide typography authoritative so headings and explanatory copy
 * retain sufficient contrast on the dark campaign panels.
 */
.hokx-wows-hub .hokx-wows-hero h1,
.hokx-wows-guide .hokx-wows-guide__header h1 {
    margin: 0 0 12px !important;
    color: #fff !important;
    font-size: clamp(30px, 5vw, 52px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em !important;
}

.hokx-wows-hub .hokx-wows-hero p,
.hokx-wows-guide .hokx-wows-guide__header p {
    margin: 0 !important;
    color: var(--hm-soft) !important;
    font-size: clamp(16px, 2vw, 19px) !important;
    line-height: 1.58 !important;
}

.hokx-wows-hub .hokx-wows-campaign-card h2 {
    margin: 9px 50px 9px 0 !important;
    color: #fff !important;
    font-size: clamp(22px, 3vw, 30px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.02em !important;
}

.hokx-wows-hub .hokx-wows-campaign-card p {
    margin: 0 0 20px !important;
    color: var(--hm-soft) !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.hokx-wows-guide .hokx-wows-mission__header h2 {
    margin: 4px 0 0 !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
}

.hokx-wows-guide .hokx-wows-task__body h3 {
    margin: 0 0 6px !important;
    color: var(--hm-cyan) !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
}

.hokx-wows-guide .hokx-wows-task__repeat h3 { color: var(--hm-green) !important; }

.hokx-wows-guide .hokx-wows-task__body p {
    margin: 0 !important;
    color: #d7e4ea !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

/* The live layout uses a narrower article column beside two widget rails. */
@container (max-width: 900px) {
    .hokx-wows-hub .hokx-wows-hero { grid-template-columns: 1fr; gap: 24px; }
    .hokx-wows-hub .hokx-wows-stats { width: 100%; }
    .hokx-wows-hub .hokx-wows-hero h1,
    .hokx-wows-guide .hokx-wows-guide__header h1 {
        font-size: clamp(34px, 6cqw, 44px) !important;
    }
    .hokx-wows-hub .hokx-wows-campaign-card:first-child { grid-template-columns: 1fr; }
    .hokx-wows-hub .hokx-wows-campaign-card:first-child > .hokx-wows-button { grid-column: auto; }
}

@media (max-width: 900px) {
    .hokx-wows-hero { grid-template-columns: 1fr; }
    .hokx-wows-stats { width: 100%; }
    .hokx-wows-campaign-card:first-child { grid-template-columns: 1fr; }
    .hokx-wows-campaign-card:first-child > .hokx-wows-button { grid-column: auto; }
    .hokx-wows-toolbar { grid-template-columns: 1fr; }
    .hokx-wows-task summary { grid-template-columns: 66px minmax(0, 1fr) 24px; }
    .hokx-wows-task__badges { grid-column: 2 / 3; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; }
    .hokx-wows-task__toggle { grid-column: 3; grid-row: 1 / span 2; }
}

@media (max-width: 680px) {
    .post-entry:has(.hokx-wows-hub, .hokx-wows-guide) + .tags-share-box {
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
    }
    .hokx-wows-hub,
    .hokx-wows-guide { margin-inline: -2px; font-size: 15px; }
    .hokx-wows-hero { gap: 24px; padding: 25px 18px; }
    .hokx-wows-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hokx-wows-stats div { padding: 14px 6px; }
    .hokx-wows-stats dt { font-size: 23px; }
    .hokx-wows-hub__intro { grid-template-columns: 1fr; gap: 5px; padding: 16px 18px; }
    .hokx-wows-hub__intro strong { white-space: normal; }
    .hokx-wows-campaign-grid { grid-template-columns: 1fr; padding: 16px; }
    .hokx-wows-campaign-card:first-child { grid-column: auto; }
    .hokx-wows-campaign-card { padding: 20px 17px; }
    .hokx-wows-campaign-card dl div { grid-template-columns: 78px minmax(0, 1fr); }
    .hokx-wows-guide__header { padding: 24px 18px; }
    .hokx-wows-guide__title { grid-template-columns: 1fr; gap: 18px; }
    .hokx-wows-guide__count { grid-template-columns: auto 1fr; gap: 10px; align-items: center; text-align: left; }
    .hokx-wows-guide__facts { grid-template-columns: 1fr; }
    .hokx-wows-guide__facts div { border-right: 0; border-bottom: 1px solid var(--hm-line); }
    .hokx-wows-guide__facts div:last-child { border-bottom: 0; }
    .hokx-wows-route-tip { grid-template-columns: 1fr; gap: 4px; }
    .hokx-wows-route-tip strong { white-space: normal; }
    .hokx-wows-toolbar { top: 0; padding: 12px 14px; }
    .admin-bar .hokx-wows-toolbar { top: 46px; }
    .hokx-wows-result-status { padding-inline: 16px; }
    .hokx-wows-missions { padding: 10px 14px 20px; }
    .hokx-wows-mission__header { align-items: flex-start; padding: 15px; }
    .hokx-wows-pin-goal { justify-content: flex-end; max-width: 125px; }
    .hokx-wows-task summary { grid-template-columns: 54px minmax(0, 1fr) 22px; gap: 9px; min-height: 78px; padding: 11px 12px; }
    .hokx-wows-task__objective { font-size: 14px; }
    .hokx-wows-task__official,
    .hokx-wows-task__advice { grid-template-columns: 1fr; }
    .hokx-wows-task__official section + section,
    .hokx-wows-task__advice section { border-left: 0; border-right: 0; border-bottom: 1px solid rgba(49, 85, 104, .58); }
    .hokx-wows-task__advice section.is-wide { grid-column: auto; }
    .hokx-wows-guide .hokx-wows-task__body p { font-size: 13px !important; }
    .hokx-wows-source-note { flex-direction: column; gap: 8px; padding: 16px; }
}

/* Homepage campaign gateway: visually distinct from WoT without breaking the
   shared HoKx card rhythm. The shortcode owns these styles so theme updates do
   not remove the WoWS discovery route. */
.hokx-home .hokx-wows-home-guides {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(98, 216, 232, .14);
    background:
        radial-gradient(circle at 88% 12%, rgba(98, 216, 232, .08), transparent 31%),
        radial-gradient(circle at 8% 92%, rgba(47, 128, 151, .08), transparent 27%),
        #0c1116;
}

.hokx-home .hokx-wows-home-guides .hokx-section-heading {
    max-width: 800px;
}

.hokx-home .hokx-wows-home-guides .hokx-eyebrow,
.hokx-home .hokx-wows-home-guides .hokx-guide-card > span,
.hokx-home .hokx-wows-home-guides .hokx-wows-home-card__link,
.hokx-home .hokx-wows-home-guides .hokx-wows-home-card__link > span {
    color: #62d8e8 !important;
}

.hokx-home .hokx-wows-home-guides .hokx-wows-home-hub {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 30px;
    align-items: center;
    min-height: 0;
    padding: 27px 30px;
    border-color: rgba(98, 216, 232, .36);
    background:
        linear-gradient(120deg, rgba(98, 216, 232, .12), rgba(17, 27, 35, .92) 58%),
        #111b23;
}

.hokx-home .hokx-wows-home-guides .hokx-wows-home-hub:hover,
.hokx-home .hokx-wows-home-guides .hokx-wows-home-hub:focus-visible,
.hokx-home .hokx-wows-home-guides .hokx-wows-home-card:hover,
.hokx-home .hokx-wows-home-guides .hokx-wows-home-card:focus-visible {
    border-color: #62d8e8;
    outline: none;
}

.hokx-home .hokx-wows-home-guides .hokx-wows-home-hub > span,
.hokx-home .hokx-wows-home-guides .hokx-wows-home-hub > h3,
.hokx-home .hokx-wows-home-guides .hokx-wows-home-hub > p {
    grid-column: 1;
}

.hokx-home .hokx-wows-home-guides .hokx-wows-home-hub h3 {
    margin: 4px 0 1px;
    font-size: clamp(24px, 2.4vw, 31px);
}

.hokx-home .hokx-wows-home-guides .hokx-wows-home-hub p {
    max-width: 720px;
    margin: 0;
    font-size: 16px;
}

.hokx-home .hokx-wows-home-guides .hokx-wows-home-hub > strong {
    grid-column: 2;
    grid-row: 1 / span 3;
    padding: 12px 15px;
    border: 1px solid rgba(98, 216, 232, .3);
    border-radius: 8px;
    color: #e9fbff;
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
}

.hokx-home .hokx-wows-home-guides .hokx-wows-home-hub > strong span {
    color: #62d8e8;
}

.hokx-home .hokx-wows-home-guides .hokx-wows-home-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hokx-home .hokx-wows-home-guides .hokx-wows-home-grid > .hokx-wows-home-card {
    grid-column: span 2;
}

.hokx-home .hokx-wows-home-guides .hokx-wows-home-grid > .hokx-wows-home-card:nth-child(n+4) {
    grid-column: span 3;
}

.hokx-home .hokx-wows-home-guides .hokx-wows-home-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 24px;
    border-color: rgba(98, 216, 232, .18);
    background:
        linear-gradient(145deg, rgba(98, 216, 232, .055), transparent 46%),
        #121a21;
}

.hokx-home .hokx-wows-home-guides .hokx-wows-home-card h3 {
    margin: 12px 0 9px;
    font-size: 21px;
    line-height: 1.2;
}

.hokx-home .hokx-wows-home-guides .hokx-wows-home-card p {
    display: -webkit-box;
    margin: 0 0 18px;
    overflow: hidden;
    color: #c4d2d9;
    font-size: 15px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.hokx-home .hokx-wows-home-guides .hokx-wows-home-card__meta {
    display: block;
    margin-top: auto;
    color: #91a9b4;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
}

.hokx-home .hokx-wows-home-guides .hokx-wows-home-card__link {
    display: block;
    margin-top: 11px;
    font-size: 13px;
}

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

    .hokx-home .hokx-wows-home-guides .hokx-wows-home-grid > .hokx-wows-home-card,
    .hokx-home .hokx-wows-home-guides .hokx-wows-home-grid > .hokx-wows-home-card:nth-child(n+4) {
        grid-column: auto;
    }

    .hokx-home .hokx-wows-home-guides .hokx-wows-home-grid > .hokx-wows-home-card:last-child {
        grid-column: 1 / -1;
        min-height: 210px;
    }
}

@media (max-width: 650px) {
    .hokx-home .hokx-wows-home-guides .hokx-wows-home-hub {
        display: block;
        padding: 23px 20px;
    }

    .hokx-home .hokx-wows-home-guides .hokx-wows-home-hub > strong {
        display: inline-block;
        margin-top: 18px;
        white-space: normal;
    }

    .hokx-home .hokx-wows-home-guides .hokx-wows-home-grid {
        grid-template-columns: 1fr;
    }

    .hokx-home .hokx-wows-home-guides .hokx-wows-home-grid > .hokx-wows-home-card,
    .hokx-home .hokx-wows-home-guides .hokx-wows-home-grid > .hokx-wows-home-card:nth-child(n+4),
    .hokx-home .hokx-wows-home-guides .hokx-wows-home-grid > .hokx-wows-home-card:last-child {
        grid-column: auto;
    }

    .hokx-home .hokx-wows-home-guides .hokx-wows-home-card {
        min-height: 0;
        padding: 22px 20px;
    }

    .hokx-home .hokx-wows-home-guides .hokx-wows-home-card p {
        display: block;
        overflow: visible;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hokx-wows-task__toggle { transition: none; }
}
.hokx-game-mission-hub {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 64px) 20px;
}

.hokx-game-mission-hub__hero {
    max-width: 820px;
    margin-bottom: 28px;
}

.hokx-game-mission-hub__hero h1 {
    margin: 6px 0 12px;
    color: #f7fafc;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.hokx-game-mission-hub__hero p {
    margin: 0;
    color: #b7c3cf;
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.65;
}

.hokx-game-mission-hub__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 18px;
}

.hokx-game-mission-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: clamp(24px, 3.4vw, 38px);
    border: 1px solid #263747;
    border-radius: 18px;
    background: linear-gradient(145deg, #101c25, #0a1118);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

.hokx-game-mission-card.is-primary {
    border-color: rgba(124, 255, 0, .5);
    background: radial-gradient(circle at 92% 8%, rgba(124, 255, 0, .14), transparent 38%), linear-gradient(145deg, #12221e, #0a1215);
}

.hokx-game-mission-card__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #94a4b2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.hokx-game-mission-card.is-primary .hokx-game-mission-card__topline span {
    color: #98f15c;
}

.hokx-game-mission-card h2 {
    margin: 22px 0 10px;
    color: #fff;
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.08;
}

.hokx-game-mission-card > p {
    margin: 0;
    color: #b8c3cd;
    font-size: 16px;
    line-height: 1.6;
}

.hokx-game-mission-card dl {
    display: flex;
    gap: 30px;
    margin: 28px 0;
}

.hokx-game-mission-card dl div {
    display: grid;
    gap: 2px;
}

.hokx-game-mission-card dt {
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

.hokx-game-mission-card dd {
    margin: 0;
    color: #8fa0ae;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hokx-game-mission-card__button {
    display: flex;
    min-height: 48px;
    margin-top: auto;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border: 1px solid #40556a;
    border-radius: 10px;
    color: #fff !important;
    font-weight: 850;
    text-decoration: none !important;
}

.hokx-game-mission-card.is-primary .hokx-game-mission-card__button {
    border-color: #78d83e;
    background: #5faa31;
    color: #071006 !important;
}

.hokx-game-mission-card__button:hover,
.hokx-game-mission-card__button:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

@media (max-width: 760px) {
    .hokx-game-mission-hub__grid {
        grid-template-columns: 1fr;
    }

    .hokx-game-mission-card__topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .hokx-game-mission-card dl {
        margin: 22px 0;
    }
}
