.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_container {
    display:grid;
    grid-template-columns:max-content max-content 1fr max-content max-content;
}
.post .tournament_list_container .tc_title {
    grid-column: 1 / -1;
}
.post .tournament_list {
    display:grid;
    grid-template-columns:subgrid;
    grid-column: 1 / -1;
}
.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 .money {
    text-align:right;
}
.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;
}

.post .tour_rankings {
    display: grid;
    grid-template-columns: 60px max-content minmax(180px, max-content) minmax(0, 1fr) max-content max-content;
    column-gap:10px;
}
.post .tour_rankings .row {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    padding:10px;
}
.post .tour_rankings .row > div {
    align-self:center;
}

.post .tour_rankings .rank {}
.post .tour_rankings .position {}
.post .tour_rankings .entity {}
.post .tour_rankings .otherprize {}
.post .tour_rankings .prizemoney {
    text-align:right;
}
.post .tour_rankings .usd {}

.post .tour_rankings.teams .rank {
    grid-column:1;
    grid-row: 1 / span 2;
}
.post .tour_rankings.teams .position {
    grid-column:2;
    grid-row: 1 / span 2;
}
.post .tour_rankings.teams .entity {
    grid-column:3;
    grid-row: 1;
}
.post .tour_rankings.teams .lineup {
    grid-column:3;
    grid-row:2;
}
.post .tour_rankings.teams .otherprize {
    grid-column:4;
    grid-row: 1 / span 2;
}
.post .tour_rankings.teams .prizemoney {
    grid-column:5;
    text-align:right;
}
.post .tour_rankings.teams .usd {
    grid-column:6;
}

#event_list {
    display:grid;
    grid-template-columns: max-content 1fr max-content max-content max-content;
    column-gap:10px;
    row-gap:4px;
}
#event_list > a {
    padding:10px 20px;
    display:grid;
    grid-template-columns:subgrid;
    grid-column: 1 / -1;
    row-gap:4px;
}
#event_list > a .game {
    align-self:center;
    grid-column:1;
    grid-row: 1 / span 2;
    margin-right:10px;
}
#event_list > a .game .pfcat { 
    font-size:24px;
}
#event_list > a .title {
    font-size:16px;
    align-self:end;
}
#event_list > a .data1_label {
    font-size:12px;
    font-weight:500;
    align-self:end;
    opacity:0.6;
}
#event_list > a .data1 {
    grid-column: 3;
    grid-row: 2;
    font-size:13px;
    margin-right:20px;
}
#event_list > a .data2_label {
    font-size:12px;
    font-weight: 500;
    align-self:end;
    opacity:0.6;
}
#event_list > a .data2 {
    grid-column: 4;
    grid-row: 2;
    font-size:13px;
}
#event_list > a .date {
    grid-column: 2 / 3;
    grid-row: 2;
    font-size:13px;
}
#event_list > a img {
    grid-column: 5;
    grid-row: 1 / span 2;
}

@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 .tournament_list_container {
        grid-template-columns:max-content 1fr max-content;
    }
    .post .tournament_list .game {
        grid-column:2;
        grid-row:2;
    }
    .post .tournament_list .date {
        grid-column:3;
        grid-row:2;
    }
    .post .tour_info {
        grid-template-columns:1fr 1fr;
    }
    .post .tour_rankings {
        grid-template-columns: max-content 1fr max-content max-content;
    }
    .post .tour_rankings .rank {
        padding:10px 0 20px 0;
        grid-column:1 / -1 !important;
        grid-row:1 !important;
    }
    .post .tour_rankings .position {
        grid-column:1 !important;
        grid-row:2 !important;
    }
    .post .tour_rankings .entity {
        grid-column:2 !important;
        grid-row:2 !important;
    }
    .post .tour_rankings.teams .lineup {
        grid-column:2 / -1 !important;
        grid-row:3 !important;
    }
    .post .tour_rankings.solo .otherprize {
        margin-top:6px;
        grid-column:2 / -1 !important;
        grid-row:3 !important;
    }
    .post .tour_rankings.teams .otherprize {
        margin-top:10px;
        grid-column:2 / -1 !important;
        grid-row:4 !important;
    }
    .post .tour_rankings .prizemoney {
        grid-column:3 !important;
        grid-row:2 !important;
    }
    .post .tour_rankings .usd {
        grid-column:4 !important;
        grid-row:2 !important;
    }

    #event_list {
        grid-template-columns: max-content 1fr 1fr max-content;
        column-gap:10px;
        row-gap:4px;
    }
    #event_list > a {
        padding:10px;
    }
    #event_list > a .game {
        grid-row: 1 / span 4;
    }
    #event_list > a .title {
        font-size:14px;
        grid-column: 2 / 4;
    }
    #event_list > a .date {
        grid-column: 2 / 4;
    }
    #event_list > a img {
        grid-column: 4;
        grid-row: 1 / span 4;
        align-self:center;
    }
    #event_list > a .data1_label {
        grid-column:2;
        grid-row:3;
    }
    #event_list > a .data1 {
        grid-column: 2;
        grid-row: 4;
        margin-right:0;
    }
    #event_list > a .data2_label {
        grid-column:3;
        grid-row:3;
    }
    #event_list > a .data2 {
        grid-column:3;
        grid-row:4;
    }
}
@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;
    }
}

