/* Match archive surfaces and states in the PES 2018 palette. */
body.pb-edition-2018 .pb-mh {
    --muted: #52616b;
}

body.pb-edition-2018 .pb-mh__filters {
    padding: 8px;
    gap: 8px;
    background: #e4e8eb;
    border: 1px solid #b9c2c8;
}

body.pb-edition-2018 .pb-mh__modes {
    padding: 0;
    gap: 2px;
    background: transparent;
}

body.pb-edition-2018 .pb-mh__mode {
    padding: 9px 12px;
    color: #3e4a54;
    font-size: 13px;
    letter-spacing: .025em;
}

body.pb-edition-2018 .pb-mh__mode:hover {
    color: #163239;
    background: #cbdde1;
}

body.pb-edition-2018 .pb-mh__mode.is-active {
    color: #103439;
    background: #00edf0;
}

body.pb-edition-2018 .pb-mh__mode.is-active[href*="mode=online-divisions"] {
    color: #fff;
    background: #365bc1;
}

body.pb-edition-2018 .pb-mh__search input[type="search"] {
    min-height: 38px;
    border: 1px solid #a8b5bf;
    border-radius: 0;
    color: #202c35;
    background: #f8fafb;
    font: inherit;
    padding: 8px 12px;
}

body.pb-edition-2018 .pb-mh__search input::placeholder {
    color: #586772;
    opacity: 1;
}

body.pb-edition-2018 .pb-mh__filters .pb-button {
    align-self: stretch;
    min-height: 38px;
    font-size: 14px;
}

body.pb-edition-2018 .pb-mh__row {
    --p18-match-accent: #00b7c2;
    border: 1px solid #b8c3cb !important;
    border-left: 4px solid var(--p18-match-accent) !important;
    background: #e8ecef !important;
    color: #202c35;
}

body.pb-edition-2018 .pb-mh__row.is-online-divisions {
    --p18-match-accent: #365bc1;
}

body.pb-edition-2018 .pb-mh__row .pb-mh__meta {
    background: #d4dde3;
    color: #3b4b57;
    border-color: #b8c3cb;
    font-size: 13px;
}

body.pb-edition-2018 .pb-mh__mode-tag,
body.pb-edition-2018 .pb-mh__room {
    background: #e9eef1;
    color: #364751;
    border: 1px solid #adbbc4;
    border-radius: 2px;
}

body.pb-edition-2018 .is-online-divisions .pb-mh__mode-tag {
    color: #24438d;
    background: #e5ebfc;
    border-color: #a6b7e4;
}

body.pb-edition-2018 .pb-mh__comp {
    color: #075b65;
    background: #d2ecee;
    border-color: #8dbfc4;
}

body.pb-edition-2018 .pb-mh :is(.pb-od-award, .pb-mh__abnormal) {
    color: #744608;
    background: #fff0d3;
    border-color: #c5994d;
    font: 500 13px/1.4 "PES Menu","PES18 UI", sans-serif;
}

body.pb-edition-2018 .pb-mh :is(.pb-od-award.is-unverified, .pb-mh__abnormal.is-failed) {
    color: #42535f;
    background: #e6ebef;
    border-color: #9aaebc;
}

body.pb-edition-2018 .pb-mh__row .pb-od-departure {
    color: #8c530b;
}

body.pb-edition-2018 .pb-mh__row .pb-od-departure.is-own-goal {
    color: #a22b40;
}

body.pb-edition-2018 .pb-mh__row .pb-mh__score {
    color: #fff;
    background: #172b38;
}

body.pb-edition-2018 .pb-mh__score :is(i, small) {
    color: #cbdce7 !important;
}

body.pb-edition-2018 .pb-mh__row .pb-mh__club {
    color: #4e5f6b;
    font-size: 13px;
}

body.pb-edition-2018 .pb-mh__row > p {
    color: #4e5f6b !important;
    font-size: 13px !important;
    line-height: 1.5;
}

body.pb-edition-2018 .pb-mh__row .pb-mh__goals {
    background: #dfe5e9;
    border-color: #b8c3cb;
}

body.pb-edition-2018 .pb-mh__goal {
    font-size: 14px;
    flex-wrap: wrap;
    column-gap: 8px;
}

body.pb-edition-2018 .pb-mh__minute {
    color: #00695d;
    font-size: 13px;
}

body.pb-edition-2018 .pb-mh__goal small {
    color: #4e5f6b;
}

body.pb-edition-2018 .pb-mh__scope,
body.pb-edition-2018 .pb-mh__empty,
body.pb-edition-2018 .pb-mh__pager {
    padding: 12px 16px;
    background: #e4e8eb;
    color: #344752;
    border: 1px solid #b9c2c8;
    font-size: 14px;
}

body.pb-edition-2018 :is(.pb-mh__scope, .pb-mh__pager) a {
    color: #075b65;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.pb-edition-2018 .pb-mh .pb-ot-result {
    margin: 0;
    border: 1px solid #b8c3cb;
    border-left: 4px solid #877237;
    border-radius: 3px;
    color: #202c35;
    background: #e8ecef;
}

body.pb-edition-2018 .pb-mh .pb-ot-result :is(header, small) {
    color: #4e5f6b;
}

@media (max-width: 700px) {
    body.pb-edition-2018 .pb-mh__modes { flex-basis: 100%; }
    body.pb-edition-2018 .pb-mh__mode { flex: 1 1 auto; text-align: center; }
    body.pb-edition-2018 .pb-mh__search { flex-basis: 200px; }
}
