.fa-brackets {
    --fa: "\f0e8";
    transform: rotate(90deg);
}



.pf-match-popup {
    position:absolute;
    z-index:10001;
    padding:14px 0;
    border-radius:4px;
    font-size:14px;
    font-family:"Roboto",Arial,Sans-Serif;
    display:none;
}
.pf-match-popup.visible {
    display:block;
}
.pf-match-popup .ents {
    display:flex;
    flex-direction:row;
    margin-bottom:20px;
}

.pf-match-popup .ents .ent {
    display:flex;
    flex-direction:row;
    align-items:center;
    padding:0 10px;
}
.pf-match-popup .ents .ent:first-child {
    justify-content:flex-end;
}
.pf-match-popup .ents .ent .name {
    width:80px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.pf-match-popup .ents .ent:first-child .name {
    text-align:right;
}
.pf-match-popup .ents .s_flag {
    margin:0 4px;
}
.pf-match-popup .score {
    display:flex;
    flex-direction:row;
    justify-content:center;
    width:50px;
    font-weight:bold;
}
.pf-match-popup .score .sep {
    width:10px;
    text-align:center;
}

.pf-match-popup .matchlink {
    text-align:center;
    font-weight:500;
    font-size:13px;
}

.pf-match-popup .results {
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;
    font-size:12px;
}
.pf-match-popup .results .settitle {
    margin-bottom:6px;
    font-weight:bold;
}
.pf-match-popup .results table {
    border-collapse: collapse;
    width:100%;
    margin-bottom:10px;
}
.pf-match-popup .results table td {
    text-align:center;
    padding:6px 6px;
}
.pf-match-popup .results table td.map {
    padding:6px 20px;
}
.pf-match-popup .results table td.score_value {
    width:50px;
}
.pf-match-popup .results .win {
    font-weight:bold;
}



.post.event,
.post.tournament {
    padding:0;
}
.post.event .sharelinks,
.post.tournament .sharelinks {
    padding:30px;
}
.post.event .postattach,
.post.tournament .postattach {
    padding:0 20px;
}
.post .pf-tournament-head {
    position:relative;
    display:flex;
    flex-direction:row;
    padding: 20px;
    margin:0 1px;
}
.post .pf-tournament-head .boxmenu {
    position:absolute;
    right:10px;
    top:10px;
}
.post .pf-tournament-head .boxmenu .menu_button {
    transform:none;
    height:14px;
    line-height:14px;
}
.post .pf-tournament-head .image {
    margin-right:16px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.post .pf-tournament-head .image img {
    width:210px;
    height:auto;
}
.post .pf-tournament-head .overview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.post .pf-tournament-head .overview .event {
    font-size:12px;
    margin-bottom:2px;
    font-weight:500;
}
.post .pf-tournament-head .overview .title {
    font-size:22px;
    font-weight:bold;
    margin-bottom:10px;
}
.post .pf-tournament-head .overview .list {
    display:flex;
    flex-direction:row;
    justify-content:flex-start;
    align-items:flex-start;
}
.post .pf-tournament-head .overview .list > div {
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:flex-start;
    margin-right:30px;
}
.post .pf-tournament-head .overview .list .label {
    font-size:12px;
    font-weight: 500;
    color:#888;
    margin-bottom:2px;
}
.post .pf-tournament-head .overview .list .value {
    font-size:12px;
}

.event_posts_table {
    display:grid;
    grid-template-columns:max-content max-content 1fr max-content max-content;
}
.event_posts_table .row {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    padding:10px;
    column-gap: 16px;
    font-weight:500;
}
.event_posts_table .row:first-child {
    border-top-left-radius:4px;
    border-top-right-radius:4px;
}
.event_posts_table .row:last-child {
    border-bottom-left-radius:4px;
    border-bottom-right-radius:4px;
}


.post .tour_info {
    font-size: 13px;
    line-height: 16px;
    display:grid;
    grid-template-columns:1fr 1fr 1fr 1fr;
    row-gap:10px;
    column-gap:16px;
    padding: 20px;
    border-radius: 4px;
    margin-bottom:20px;
}
.post .tour_info .prizes {
    grid-column: span 2;
}
.post .tour_info .info_title {
    font-weight:500;
    opacity:0.5;
    margin-bottom:4px;
}
.post .tournament_list {
    display:grid;
    grid-template-columns:max-content 1fr max-content;
}
.post .tournament_list > a {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    column-gap:10px;
    padding:10px;
    font-weight:500;
}
.post .tournament_list > a:first-child {
    border-top-left-radius:4px;
    border-top-right-radius:4px;
}
.post .tournament_list > a:last-child {
    border-bottom-left-radius:4px;
    border-bottom-right-radius:4px;
}


@media (max-width: 660px) {
    .post .pf-tournament-head {
        flex-direction:column;
        align-items:center;
    }
    .post .pf-tournament-head .image {
        margin-right:0;
        margin-bottom:20px;
    }
    .post .tour_info {
        grid-template-columns:1fr 1fr;
    }
}
@media (max-width: 480px) {
    .post .pf-tournament-head {
        padding:20px 10px;
    }
    .post .pf-tournament-head .overview .list {
        flex-direction:column;
    }
    .post .pf-tournament-head .overview .list > div {
        flex-direction:row;
    }
    .post .pf-tournament-head .overview .list .label {
        width:70px;
    }
    .post .pf-tournament-head .overview .list .value {
        margin-right:0.25em;
    }
}
@media (max-width: 600px) {
    .event_posts_table {
        grid-template-columns: max-content 1fr max-content;
        align-items: start;
    }
    .event_posts_table .row > div:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    .event_posts_table .row > div:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }
    .event_posts_table .row > div:nth-child(3) {
        grid-column: 2;
        grid-row: 1 / 4;
    }
    .event_posts_table .row > div:nth-child(4) {
        grid-column: 3;
        grid-row: 1;
    }
    .event_posts_table .row > div:nth-child(5) {
        grid-column: 3;
        grid-row: 2;
    }
}

@media (max-width: 400px) {
    .event_posts_table {
        grid-template-columns: max-content 1fr;
        align-items: start;
    }
    .event_posts_table .row > div:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    .event_posts_table .row > div:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }
    .event_posts_table .row > div:nth-child(3) {
        grid-column: 2;
        grid-row: 1 / 4;
    }
    .event_posts_table .row > div:nth-child(4) {
        display:none;
    }
    .event_posts_table .row > div:nth-child(5) {
        grid-column: 1;
        grid-row: 3;
    }
}

