/* TürkTeam Ödüller: native charcoal rows and metallic red forum headers. */
.tta_page,
.tta_profile,
.tta_postbit {
    --tta-bar: var(--tt-bar, linear-gradient(180deg, #8f1717 0%, #6e0f0f 48%, #520909 100%));
    --tta-panel: var(--tt-panel, #1d1d1d);
    --tta-row: var(--tt-row, #1f1f1f);
    --tta-line: var(--tt-line, #2c2c2c);
    --tta-edge: var(--tt-edge, #0b0b0b);
    --tta-text: var(--tt-text, #dcdcdc);
    --tta-muted: var(--tt-muted, #8d8d8d);
    --tta-accent: var(--tt-accent, #e03131);
    box-sizing: border-box;
}

.tta_page {
    color: var(--tta-text);
    margin: 0 0 22px;
}

.tta_intro {
    margin-bottom: 12px;
}

.tta_page .tta_titlebar,
.tta_page .tta_category_head {
    align-items: center;
    background: var(--tta-bar) !important;
    border: 1px solid var(--tt-red-edge, #2a0202) !important;
    border-radius: 3px 3px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(0, 0, 0, .35);
    color: #fff;
    display: flex;
    gap: 16px;
    height: auto !important;
    justify-content: space-between;
    line-height: 1.4 !important;
    min-height: 42px;
    padding: 0 14px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
}

.tta_titlebar h1,
.tta_category_head h2 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

.tta_titlebar h1 > i {
    color: #f1d9d9;
    font-size: 14px;
    margin-right: 7px;
}

.tta_stats {
    align-items: center;
    color: #d5b4b4;
    display: flex;
    flex-wrap: wrap;
    font-size: 10px;
    font-weight: 400;
    gap: 8px 14px;
    text-shadow: 0 1px 1px #350303;
}

.tta_stats > span + span {
    border-left: 1px solid rgba(255, 255, 255, .14);
    padding-left: 14px;
}

.tta_stats b {
    color: #fff;
    font-size: 12px;
    margin-right: 3px;
}

.tta_page .tta_intro_body,
.tta_page .tta_category_body {
    background: var(--tta-panel);
    border: 1px solid var(--tta-edge) !important;
    border-radius: 0 0 3px 3px;
    border-top: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
    box-sizing: border-box;
    width: 100%;
}

.tta_intro_text {
    color: #a0a0a0;
    font-size: 11.5px;
    line-height: 1.6;
    margin: 0;
    padding: 12px 14px;
}

.tta_tabs {
    background: #191919;
    border-top: 1px solid #272727;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 7px 10px;
}

.tta_tabs a:link,
.tta_tabs a:visited {
    background: linear-gradient(180deg, #2a2a2a, #202020);
    border: 1px solid #0e0e0e;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
    color: #bdbdbd;
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    padding: 7px 12px;
    text-decoration: none;
    text-shadow: 0 1px 1px #111;
}

.tta_tabs a i {
    color: #9c3a3a;
    margin-right: 4px;
}

.tta_tabs a[aria-current="page"],
.tta_tabs a:hover {
    background: var(--tta-bar);
    border-color: #360505;
    color: #fff;
}

.tta_tabs a[aria-current="page"] i,
.tta_tabs a:hover i {
    color: #e8baba;
}

.tta_category_tabs {
    background: #191919;
    border: 1px solid var(--tta-edge);
    border-radius: 3px;
    box-sizing: border-box;
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    max-width: 100%;
    overflow-x: auto;
    padding: 6px;
    scrollbar-color: #642020 #171717;
    scrollbar-width: thin;
}

.tta_category_tabs a:link,
.tta_category_tabs a:visited {
    align-items: center;
    background: linear-gradient(180deg, #292929, #202020);
    border: 1px solid #0d0d0d;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
    color: #aaa;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 600;
    gap: 8px;
    padding: 9px 14px;
    text-decoration: none;
    white-space: nowrap;
}

.tta_category_tabs a[aria-current="page"],
.tta_category_tabs a:hover {
    background: var(--tta-bar);
    border-color: #410808;
    color: #fff;
}

.tta_category_tab_count {
    background: rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 3px;
    color: #b8b8b8;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.3;
    padding: 1px 5px;
}

.tta_category_tabs a[aria-current="page"] .tta_category_tab_count {
    color: #efcccc;
}

.tta_page .tta_filters {
    align-items: center;
    background: linear-gradient(180deg, #292929, #222) !important;
    border: 1px solid var(--tta-edge) !important;
    border-radius: 3px;
    border-top: 1px solid #363636 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 9px 12px !important;
}

.tta_filters label {
    align-items: center;
    display: flex;
    flex: 0 1 245px;
    gap: 8px;
    min-width: 0;
}

.tta_filters .tta_search {
    flex: 1 1 300px;
    max-width: 480px;
}

.tta_filters label > span {
    color: #a8a8a8;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 400;
}

.tta_filters label > span i {
    color: var(--tta-muted);
    font-size: 10px;
    margin-right: 3px;
}

.tta_page .tta_filters input[type="search"],
.tta_page .tta_filters select {
    background: #171717;
    border: 1px solid #0b0b0b;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4), 0 1px 0 rgba(255, 255, 255, .035);
    box-sizing: border-box;
    color: #c8c8c8;
    font-family: inherit;
    font-size: 11px;
    height: 30px;
    min-width: 0;
    padding: 5px 8px;
    width: 100%;
}

.tta_page .tta_filters button {
    background: var(--tta-bar);
    border: 1px solid #330505;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    height: 30px;
    line-height: 1.4;
    padding: 5px 14px;
    text-shadow: 0 1px 1px #330505;
}

.tta_reset:link,
.tta_reset:visited {
    color: #999;
    font-size: 10.5px;
    font-weight: 400;
}

.tta_results {
    align-items: center;
    color: var(--tta-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 10.5px;
    gap: 8px;
    justify-content: space-between;
    margin: 12px 1px 8px;
}

.tta_category_panel {
    margin-bottom: 14px;
}

.tta_section_count {
    background: rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 3px;
    color: #ead0d0;
    flex: 0 0 auto;
    font-size: 10px;
    line-height: 1.3;
    padding: 3px 7px;
}

.tta_rows {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tta_page .tta_columns,
.tta_page .tta_row {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(170px, 23%) minmax(0, 1fr) minmax(180px, 28%);
    padding-left: 14px !important;
    padding-right: 14px !important;
}

.tta_page .tta_columns {
    background: linear-gradient(180deg, #2e2e2e, #252525) !important;
    border-bottom: 1px solid #111;
    border-top: 1px solid #3a3a3a;
    color: #b7b7b7;
    font-size: 10.5px !important;
    font-weight: 700;
    padding-bottom: 7px !important;
    padding-top: 7px !important;
}

.tta_page .tta_row {
    background: var(--tta-row) !important;
    border-top: 1px solid var(--tta-line);
    box-sizing: border-box;
    color: var(--tta-text);
    min-height: 72px;
    padding-bottom: 10px;
    padding-top: 10px;
    scroll-margin-top: 20px;
}

.tta_page .tta_row:nth-child(even) {
    background: #1c1c1c !important;
}

.tta_page .tta_row:hover {
    background: #242424 !important;
}

.tta_row:target {
    box-shadow: inset 3px 0 0 var(--tta-accent);
}

.tta_award_identity {
    align-items: center;
    display: flex;
    gap: 11px;
    min-width: 0;
}

.tta_award_icon {
    align-items: center;
    background: #181818;
    border: 1px solid #0c0c0c;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
    display: flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
}

.tta_award_identity h3 {
    color: #d2d2d2;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: anywhere;
}

.tta_description {
    color: #a3a3a3;
    font-size: 11.5px;
    line-height: 1.65;
    margin: 0;
    overflow-wrap: anywhere;
}

.tta_condition {
    min-width: 0;
}

.tta_mode {
    background: #252525;
    border: 1px solid #111;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
    color: #a7a7a7;
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.4;
    padding: 3px 6px;
}

.tta_mode i {
    margin-right: 3px;
}

.tta_mode_auto {
    background: #242522;
    color: #bbc4ab;
}

.tta_mode_auto i {
    color: #b9bd75;
}

.tta_rule {
    color: #8e8e8e;
    font-size: 10.5px;
    line-height: 1.6;
    margin: 5px 0 0;
    overflow-wrap: anywhere;
}

.tta_earned {
    color: #848484;
    font-size: 9.5px;
    line-height: 1.6;
    margin: 3px 0 0;
}

.tta_earned span {
    display: block;
}

.tta_earned span:first-child {
    color: #acacac;
}

.tta_empty {
    border: 1px solid var(--tta-edge);
    color: #999;
    font-size: 12px;
    line-height: 1.7;
    padding: 24px 16px;
    text-align: center;
}

.tta_back {
    color: #999;
    display: inline-block;
    font-size: 11px;
    margin: 0 0 10px;
}

/* Profiles share the surrounding TürkTeam profile boxes. */
.tta_profile.ttp_box {
    background: var(--ttp-panel, var(--tta-panel));
    border: 1px solid var(--tta-edge);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
    margin-bottom: 14px;
    overflow: hidden;
    padding: 0;
}

.tta_profile .tta_profile_heading {
    align-items: center;
    background: var(--ttp-bar, var(--tta-bar));
    border-bottom: 1px solid #2a0202;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
    color: #fff;
    display: flex;
    gap: 12px;
    height: 38px;
    justify-content: space-between;
    line-height: 1.4;
    padding: 0 14px;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}

.tta_profile_heading h2 {
    font-size: 12.5px;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 1;
}

.tta_profile_heading h2 > i {
    color: #e4b7b7;
    margin-right: 5px;
}

.tta_profile_heading > a:link,
.tta_profile_heading > a:visited {
    color: #e4c2c2;
    font-size: 10px;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.tta_count {
    background: rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 3px;
    color: #e4c2c2;
    display: inline-block;
    font-size: 9px;
    font-weight: 400;
    line-height: 1.4;
    margin-left: 4px;
    padding: 1px 5px;
    vertical-align: middle;
}

.tta_profile_body {
    padding: 12px 14px;
}

.tta_profile .tta_icons {
    height: auto;
    max-height: none;
    overflow: visible;
    flex-wrap: wrap;
}

.tta_catalog_link {
    display: inline-block;
    font-size: 10.5px;
    margin-top: 10px;
}

.tta_muted {
    color: var(--tta-muted);
    font-size: 11px;
    margin: 0;
}

/* Keep the author's award strip transparent and original-sized. */
.tta_postbit {
    border-top: 1px solid var(--tta-line);
    margin-top: 9px;
    max-width: 210px;
    padding-top: 7px;
    text-align: inherit;
}

.tta_postbit_label:link,
.tta_postbit_label:visited {
    color: #8d8d8d;
    display: inline-block;
    font-size: 10px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.tta_postbit_label span {
    color: #b1b1b1;
    margin-left: 3px;
}

.tta_icons {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tt_post .tta_postbit .tta_icons {
    justify-content: center;
}

.tta_icon,
.tta_more {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 3px;
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 28px;
    height: 28px;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    width: 28px;
}

.tta_icon img,
.tta_award_icon img {
    border: 0;
    display: block;
    height: 24px !important;
    max-width: none !important;
    object-fit: contain;
    width: 24px !important;
}

.tta_icon img.tta_placeholder_icon,
.tta_award_icon img.tta_placeholder_icon {
    filter: brightness(0) invert(.72);
}

.tta_icon:hover,
.tta_more:hover {
    background: rgba(128, 128, 128, .07);
    border-color: var(--tta-line);
    text-decoration: none;
}

.tta_more {
    background: #202020;
    border-color: #111;
    color: #aaa;
    font-size: 10px;
    min-width: 28px;
    padding: 0 3px;
    width: auto;
}

.tta_icon_fallback {
    color: #b58f56;
    font-size: 20px;
}

.tta_page a:focus-visible,
.tta_page button:focus-visible,
.tta_page input:focus-visible,
.tta_page select:focus-visible,
.tta_icon:focus-visible,
.tta_more:focus-visible {
    outline: 2px solid var(--tta-accent);
    outline-offset: 2px;
}

@media (max-width: 800px) {
    .tta_page .tta_titlebar {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        padding-bottom: 10px !important;
        padding-top: 10px !important;
    }

    .tta_page .tta_columns {
        display: none;
    }

    .tta_page .tta_row {
        align-items: flex-start;
        gap: 8px 12px;
        grid-template-columns: minmax(0, 1fr) minmax(150px, 33%);
        padding-bottom: 13px;
        padding-top: 13px;
    }

    .tta_award_identity {
        grid-column: 1;
        grid-row: 1;
    }

    .tta_description {
        grid-column: 1;
        grid-row: 2;
        padding-left: 47px;
    }

    .tta_condition {
        grid-column: 2;
        grid-row: 1 / 3;
    }
}

@media (max-width: 520px) {
    .tta_filters label,
    .tta_filters .tta_search {
        flex-basis: 100%;
        max-width: none;
    }

    .tta_filters label > span {
        flex: 0 0 52px;
    }

    .tta_page .tta_row {
        display: flex;
        flex-direction: column;
        gap: 9px;
    }

    .tta_description,
    .tta_condition {
        padding-left: 47px;
    }

    .tta_rule {
        display: inline;
        margin-left: 5px;
    }

    .tta_stats {
        gap: 6px 10px;
    }

    .tta_stats > span + span {
        padding-left: 10px;
    }
}
/* Match the community panels while preserving profile and postbit award strips. */
.tta_page{--tta-panel:#202126;--tta-row:#202126;--tta-line:#303138;--tta-edge:#303138;--tta-muted:#9699a6;margin-top:8px}.tta_page .tta_titlebar{background:linear-gradient(110deg,#32171b,#202126 70%)!important;border:1px solid #44232a!important;padding:20px 24px!important;border-radius:7px;box-shadow:none;text-shadow:none}.tta_titlebar h1{font-size:23px;font-weight:500}.tta_titlebar h1>i{font-size:18px;color:#d4545e}.tta_stats{font-size:11px;text-shadow:none;color:#aaa3ad}.tta_stats b{font-size:13px}.tta_page .tta_intro_body{border:0!important;background:transparent;box-shadow:none}.tta_intro_text{font-size:12px;padding:18px 2px;color:#a1a3ae}.tta_tabs{background:none;border:0;border-bottom:1px solid #303138;padding:0;margin-bottom:20px;gap:6px}.tta_tabs a:link,.tta_tabs a:visited{background:none;box-shadow:none;border:0;border-radius:0;border-bottom:2px solid transparent;padding:12px 18px 15px;font-size:12px;text-shadow:none;font-weight:400}.tta_tabs a[aria-current],.tta_tabs a:hover{background:linear-gradient(transparent,#ae29321a);border-bottom-color:#ce3c49}.tta_category_tabs{background:#202126;border-color:#303138;border-radius:6px;padding:9px;gap:6px;margin-bottom:18px}.tta_category_tabs a:link,.tta_category_tabs a:visited{background:#292b34;border:1px solid #383b46;box-shadow:none;padding:10px 15px;border-radius:4px;font-weight:500}.tta_category_tabs a[aria-current],.tta_category_tabs a:hover{background:#91303a;border-color:#b4434d}.tta_page .tta_filters{background:#202126!important;border:1px solid #303138!important;box-shadow:none;padding:16px 20px!important;border-radius:6px;gap:14px}.tta_page .tta_filters input[type=search],.tta_page .tta_filters select{background:#18191e;border:1px solid #383942;height:38px;padding:8px 10px;font-size:12px;box-shadow:none}.tta_page .tta_filters button{height:38px;background:#96303a;border:1px solid #b4444e;border-radius:4px;font-size:12px;text-shadow:none;box-shadow:none}.tta_page .tta_category_head{background:linear-gradient(115deg,#951d24,#5a1116)!important;border:1px solid #a9383f!important;padding:17px 20px!important;border-radius:6px 6px 0 0;box-shadow:none;text-shadow:none}.tta_category_head h2{font-size:14px;font-weight:500}.tta_page .tta_category_body{border:1px solid #303138!important;border-radius:0 0 6px 6px;overflow:hidden}.tta_page .tta_row{padding-top:20px;padding-bottom:20px;background:#202126}.tta_page .tta_row:nth-child(even){background:#23242b}.tta_page .tta_row:hover{background:#292831}.tta_page .tta_columns{background:#282a33}.tta_award_identity img{filter:drop-shadow(0 3px 5px #0003)}.tta_results{margin:18px 2px 12px}
@media(max-width:520px){.tta_page .tta_titlebar{padding:18px 15px!important;flex-wrap:wrap;gap:12px}.tta_titlebar h1{font-size:20px}.tta_page .tta_filters{padding:15px!important}.tta_page .tta_row{padding:18px 15px}.tta_category_tabs{padding:7px}}
