/* ============================================================
   TelsizTürkiye Premium Red/White Theme — SMF 2.1.7
   A modern, premium UI overhaul by Antigravity
   ============================================================ */

/* === Google Font Import === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* === CSS Variables (Design Tokens) === */
:root {
    /* Primary Palette */
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-200: #fecaca;
    --red-300: #fca5a5;
    --red-400: #f87171;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --red-700: #b91c1c;
    --red-800: #991b1b;
    --red-900: #7f1d1d;
    --red-950: #450a0a;

    /* Crimson Brand Colors */
    --brand-primary: #C41E2A;
    --brand-primary-light: #E63946;
    --brand-primary-dark: #9B1B20;
    --brand-primary-hover: #D42A36;
    --brand-gradient: linear-gradient(135deg, #C41E2A 0%, #E63946 50%, #C41E2A 100%);
    --brand-gradient-dark: linear-gradient(135deg, #9B1B20 0%, #C41E2A 100%);
    --brand-gradient-subtle: linear-gradient(135deg, #C41E2A 0%, #D42A36 100%);

    /* Neutral Palette */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    /* Semantic Colors */
    --success: #16a34a;
    --warning: #f59e0b;
    --info: #3b82f6;
    --danger: #ef4444;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
    --shadow-red: 0 4px 14px rgba(196,30,42,0.15);
    --shadow-red-lg: 0 10px 30px rgba(196,30,42,0.2);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Global Reset & Base === */
html {
    background: var(--gray-100) !important;
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--gray-100) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--gray-800) !important;
    letter-spacing: -0.01em;
}

::selection {
    background: var(--brand-primary) !important;
    color: var(--white) !important;
    text-shadow: none !important;
}

.tt-role-manager,
.tt-verify-manager {
    margin: 14px 0 0;
}

.tt-role-manager form,
.tt-verify-manager form {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tt-role-manager label,
.tt-verify-manager label {
    color: var(--gray-800) !important;
    font-weight: 700;
}

.tt-role-manager select,
.tt-verify-manager select {
    min-width: 170px;
    max-width: 100%;
}

.tt-verify-direct-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 8px !important;
}

img.tt-verified-check {
    display: inline-block !important;
    width: clamp(18px, 1.35vw, 24px) !important;
    height: clamp(18px, 1.35vw, 24px) !important;
    min-width: clamp(18px, 1.35vw, 24px) !important;
    margin-left: 6px !important;
    object-fit: contain !important;
    vertical-align: -0.2em !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.tt-name-with-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

.tt-name-with-badge img.tt-verified-check {
    flex: 0 0 auto !important;
    margin-left: 0 !important;
}

.tt-guest-topic-lock {
    padding: 22px !important;
    border: 1px solid var(--gray-200) !important;
    border-left: 4px solid var(--brand-primary) !important;
    background: var(--white) !important;
    box-shadow: var(--shadow-sm) !important;
}

.tt-guest-topic-lock h3 {
    margin: 0 0 8px !important;
    color: var(--gray-900) !important;
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
}

.tt-guest-topic-lock p {
    max-width: 760px !important;
    margin: 0 !important;
    color: var(--brand-primary) !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.tt-guest-topic-lock__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 18px !important;
}

.tt-guest-topic-lock__actions .button {
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#profileview #basicinfo h4 img.tt-verified-check {
    width: clamp(22px, 1.8vw, 30px) !important;
    height: clamp(22px, 1.8vw, 30px) !important;
    min-width: clamp(22px, 1.8vw, 30px) !important;
    margin-left: 8px !important;
}

.poster h4 img.tt-verified-check {
    width: clamp(19px, 1.45vw, 25px) !important;
    height: clamp(19px, 1.45vw, 25px) !important;
    min-width: clamp(19px, 1.45vw, 25px) !important;
}

@media (max-width: 640px) {
    .tt-role-manager form,
    .tt-verify-manager form {
        align-items: stretch;
    }

    .tt-role-manager label,
    .tt-role-manager select,
    .tt-role-manager .button,
    .tt-verify-manager label,
    .tt-verify-manager select,
    .tt-verify-manager .button,
    .tt-verify-direct-button {
        width: 100%;
    }
}

/* === Board Index Topic Tabs === */
.tt-topic-tabs {
    margin: 0 0 16px !important;
    background: #f4f7fb !important;
    border: 1px solid #dfe4ec !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: none !important;
    letter-spacing: 0 !important;
}

.tt-topic-tabs__nav {
    display: flex !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background: #3f4254 !important;
    border-bottom: 1px solid #343747 !important;
    scrollbar-width: none !important;
}

.tt-topic-tabs__nav::-webkit-scrollbar {
    display: none !important;
}

.tt-topic-tabs__button {
    appearance: none !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #d4d7e2 !important;
    font: 700 13px/1.2 'Inter', system-ui, sans-serif !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.tt-topic-tabs__button:last-child {
    border-right: 0 !important;
}

.tt-topic-tabs__button span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.tt-topic-tabs__button::before {
    content: "\25A3" !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    margin-right: 7px !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #c9cedb !important;
    font-size: 13px !important;
    line-height: 1 !important;
}

.tt-topic-tabs__button[data-tt-topic-tab="replied"]::before {
    content: "\25B1" !important;
}

.tt-topic-tabs__button[data-tt-topic-tab="popular"]::before {
    content: "\223F" !important;
}

.tt-topic-tabs__button[data-tt-topic-tab="shopping"]::before,
.tt-topic-tabs__button[data-tt-topic-tab="questions"]::before {
    content: "\2605" !important;
}

.tt-topic-tabs__button:hover,
.tt-topic-tabs__button.is-active {
    background: #393c4d !important;
    color: #ffffff !important;
}

.tt-topic-tabs__button.is-active {
    box-shadow: inset 0 -3px 0 #58a8f5 !important;
}

.tt-topic-tabs__button.is-active::before {
    color: #ffffff !important;
}

.tt-topic-tabs__panel[hidden] {
    display: none !important;
}

.tt-topic-tabs__panel {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

.tt-topic-tabs__head,
.tt-topic-tabs__row {
    display: grid !important;
    grid-template-columns: minmax(360px, 1fr) 190px 220px 190px !important;
    align-items: center !important;
    column-gap: 0 !important;
    min-width: 820px !important;
}

.tt-topic-tabs__head {
    min-height: 42px !important;
    padding: 0 !important;
    background: #4b4e61 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border-bottom: 1px solid #dfe4ec !important;
}

.tt-topic-tabs__head span {
    min-width: 0 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 14px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.tt-topic-tabs__head span:first-child {
    border-left: 0 !important;
}

.tt-topic-tabs__list {
    background: #f4f7fb !important;
}

.tt-topic-tabs__row {
    min-height: 44px !important;
    padding: 0 !important;
    border-top: 1px solid #dfe4ec !important;
    color: #565b6d !important;
    background: #f4f7fb !important;
    transition: background var(--transition-fast) !important;
}

.tt-topic-tabs__row:first-child {
    border-top: 0 !important;
}

.tt-topic-tabs__row:hover {
    background: #eef3f9 !important;
    box-shadow: none !important;
}

.tt-topic-tabs__title {
    min-width: 0 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 14px !important;
    color: #565b6d !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.tt-topic-tabs__title:hover {
    color: #2d7fca !important;
}

.tt-topic-tabs__stats {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    height: 100% !important;
    padding: 0 12px !important;
    color: #565b6d !important;
    justify-self: center !important;
    width: 100% !important;
    border-left: 1px solid #dfe4ec !important;
}

.tt-topic-tabs__stats i {
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #58a8f5 !important;
    box-shadow: none !important;
}

.tt-topic-tabs__last,
.tt-topic-tabs__category {
    min-width: 0 !important;
    height: 100% !important;
    color: #565b6d !important;
    font-weight: 600 !important;
    border-left: 1px solid #dfe4ec !important;
}

.tt-topic-tabs__last {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 0 !important;
    overflow: hidden !important;
    padding: 0 14px !important;
}

.tt-topic-tabs__last a {
    color: #565b6d !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.tt-topic-tabs__last small {
    color: #7a8091 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
}

.tt-topic-tabs__category {
    display: flex !important;
    align-items: center !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.tt-topic-tabs__empty {
    padding: 18px !important;
    color: #565b6d !important;
    font-weight: 700 !important;
    text-align: center !important;
}

@media (max-width: 960px) {
    .tt-topic-tabs__nav {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x proximity !important;
    }

    .tt-topic-tabs__button {
        flex: 0 0 auto !important;
        min-width: 128px !important;
        scroll-snap-align: start !important;
    }

    .tt-topic-tabs__head,
    .tt-topic-tabs__row {
        grid-template-columns: 330px 180px 200px 180px !important;
        min-width: 890px !important;
    }
}

@media (max-width: 680px) {
    .tt-topic-tabs {
        margin-bottom: 12px !important;
    }

    .tt-topic-tabs__button {
        min-height: 42px !important;
        min-width: 118px !important;
        padding: 0 12px !important;
        font-size: 12px !important;
    }

    .tt-topic-tabs__head,
    .tt-topic-tabs__row {
        grid-template-columns: 280px 160px 180px 160px !important;
        min-width: 780px !important;
    }
}

@media (max-width: 420px) {
    .tt-topic-tabs__button {
        min-width: 108px !important;
        font-size: 11px !important;
    }

    .tt-topic-tabs__button::before {
        margin-right: 5px !important;
    }
}

/* === Typography === */
strong, .strong {
    color: var(--gray-800) !important;
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gray-800) !important;
    font-family: 'Inter', sans-serif !important;
    letter-spacing: -0.02em;
}

a, a:visited {
    color: var(--brand-primary) !important;
    text-decoration: none !important;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
    color: var(--brand-primary-hover) !important;
    text-decoration: none !important;
}

/* === Links inside specific containers with different colors === */
.cat_bar a, .cat_bar a:visited, .cat_bar a:hover,
h3.catbg a, h3.catbg a:visited, h3.catbg a:hover {
    color: var(--white) !important;
}

.titlebg a, .subbg a {
    color: var(--brand-primary) !important;
}

.titlebg a:hover, .subbg a:hover {
    color: var(--brand-primary-dark) !important;
}

/* === Top Section (User Bar) === */
#top_section {
    background: var(--white) !important;
    border-bottom: 1px solid var(--gray-200) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}

#top_info {
    padding: 6px 0 !important;
}

#top_info > li > a,
.dropmenu > li > a {
    border-radius: var(--radius-sm) !important;
    padding: 4px 12px !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
    transition: all var(--transition-fast) !important;
    border: 1px solid transparent !important;
}

#top_info > li:hover > a, #top_info > li > a:focus,
#top_info > li > a.open,
.dropmenu > li:hover > a, .dropmenu > li > a:focus {
    background: var(--red-50) !important;
    border-color: var(--red-200) !important;
    color: var(--brand-primary) !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.dropmenu a.active, #top_info a.active {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    box-shadow: var(--shadow-red) !important;
}

.dropmenu li a.active:hover, .dropmenu li:hover a.active {
    background: var(--brand-primary-hover) !important;
    border-color: var(--brand-primary-hover) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-red) !important;
    text-shadow: none !important;
}

/* Active menu item badge */
.amt {
    background: var(--brand-primary) !important;
    color: var(--white) !important;
    border-radius: 100px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    padding: 1px 7px !important;
    min-width: 18px;
    text-align: center;
}

.dropmenu li .active .amt, #top_info li .active .amt {
    background: rgba(255,255,255,0.25) !important;
    color: var(--white) !important;
}

/* === Dropdown Menus (Level 2+) === */
.dropmenu li ul, .top_menu {
    background: var(--white) !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-xl) !important;
    padding: 6px !important;
    animation: fadeInDown var(--transition-fast) ease-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropmenu li li {
    border-radius: var(--radius-sm) !important;
}

.dropmenu li:hover li a, .dropmenu li li a {
    color: var(--gray-700) !important;
    padding: 4px 12px !important;
    border-radius: var(--radius-sm) !important;
    transition: all var(--transition-fast) !important;
}

.dropmenu li li:hover > a, .dropmenu li li a:focus, .dropmenu li li a:hover {
    background: var(--red-50) !important;
    color: var(--brand-primary) !important;
    border: none !important;
}

/* === Header === */
#header {
    padding: 16px 2px 20px 2px !important;
    display: flex !important;
    align-items: center !important;
    gap: clamp(16px, 3.8vw, 64px) !important;
}

h1.forumtitle {
    flex: 0 0 auto !important;
    font-weight: 800 !important;
    font-size: 2em !important;
    font-family: 'Inter', sans-serif !important;
    letter-spacing: 0;
}

h1.forumtitle a {
    color: var(--gray-800) !important;
    display: inline-block;
    line-height: 0;
    padding-top: clamp(18px, 2.4vw, 34px);
    position: relative;
    text-shadow: none !important;
    text-decoration: none !important;
}

.site-flag {
    display: block !important;
    height: auto;
    left: 50%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: clamp(44px, 5.8vw, 86px);
    z-index: 2;
}

.header-brandline {
    flex: 1 1 auto;
    min-width: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.8vw, 22px);
}

.header-ataturk {
    display: block !important;
    flex: 0 0 auto;
    width: clamp(60px, 5.5vw, 88px);
    height: auto;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 3px 5px rgba(17, 24, 39, 0.18));
}

.header-tagline {
    flex: 0 1 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, max-content);
    grid-template-areas:
        "portrait tat"
        "portrait text";
    align-items: center;
    justify-content: center;
    column-gap: clamp(10px, 1.8vw, 22px);
    color: var(--gray-800);
    font-family: 'Inter', sans-serif;
    text-align: left;
    overflow-wrap: anywhere;
}

.header-tagline::before {
    content: "";
    grid-area: portrait;
    display: block !important;
    width: clamp(60px, 5.5vw, 88px);
    aspect-ratio: 520 / 624;
    background: url("../images/ataturk-tat.png?v=1") center / contain no-repeat;
    filter: drop-shadow(0 3px 5px rgba(17, 24, 39, 0.18));
}

.header-brandline .header-tagline {
    display: block;
    column-gap: normal;
}

.header-brandline .header-tagline::before {
    display: none !important;
}

.header-tat,
.header-tagline-text {
    display: block !important;
}

.header-tat {
    grid-area: tat;
    color: var(--brand-primary-dark);
    font-size: clamp(1.15rem, 2.25vw, 2.55rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0.12em;
}

.header-tagline-text {
    grid-area: text;
    color: var(--gray-800);
    font-size: clamp(0.82rem, 1.42vw, 1.48rem);
    font-weight: 800;
    line-height: 1.12;
    margin-top: 5px;
}

.header-emblem-stack {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(5px, 0.8vw, 9px);
    margin-left: clamp(8px, 1.5vw, 22px);
    max-width: min(24vw, 320px);
}

.header-emblem-link {
    display: block;
    line-height: 0;
}

.header-query-link {
    display: block;
    width: 100%;
    line-height: 0;
}

.header-emblem {
    display: block;
    width: clamp(58px, 7vw, 92px);
    height: clamp(58px, 7vw, 92px);
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(127, 29, 29, 0.14));
}

.header-query-badge {
    display: block;
    width: min(100%, 320px);
    height: auto;
    object-fit: contain;
}

/* Hide default SMF logo if using text */
img#smflogo {
    display: none !important;
}

/* === Search Form === */
#search_form input[type="search"] {
    border: 2px solid var(--gray-200) !important;
    border-radius: 100px !important;
    padding: 6px 16px !important;
    font-size: 0.85rem !important;
    background: var(--gray-50) !important;
    transition: all var(--transition-fast) !important;
    box-shadow: none !important;
    width: 180px;
}

#search_form input[type="search"]:focus {
    border-color: var(--brand-primary) !important;
    background: var(--white) !important;
    box-shadow: 0 0 0 3px rgba(196,30,42,0.1) !important;
    width: 220px;
}

#search_form select {
    border: 2px solid var(--gray-200) !important;
    border-radius: var(--radius-sm) !important;
    padding: 4px 8px !important;
    font-size: 0.8rem !important;
    background: var(--gray-50) !important;
    box-shadow: none !important;
}

#search_form .button {
    background: var(--brand-primary) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 100px !important;
    padding: 6px 18px !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-red) !important;
    cursor: pointer;
    transition: all var(--transition-fast) !important;
}

#search_form .button:hover {
    background: var(--brand-primary-hover) !important;
    box-shadow: var(--shadow-red-lg) !important;
    transform: translateY(-1px);
}

/* === Inner Section (Date, Unread, News) === */
#upper_section {
    padding: 0 2px !important;
}

#inner_section {
    padding: 10px 12px 0 12px !important;
}

#inner_wrap {
    border-bottom: 1px solid var(--gray-200) !important;
    margin-bottom: 10px !important;
    padding-bottom: 8px;
}

.user {
    font-size: 0.85em !important;
    color: var(--gray-500) !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    white-space: normal !important;
    width: 100%;
}

.user time,
.user .unread_links,
.user .unread_links li {
    flex: 0 0 auto;
}

.user time {
    order: 1;
}

.callsign-approval-notice {
    display: block !important;
    order: 2;
    flex: 1 1 auto;
    min-width: 180px;
    color: #c62828;
    font-size: clamp(0.72rem, 1.15vw, 0.86rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

#inner_wrap .user .unread_links::before {
    content: "Çağrı İşareti onaylanmamış kişiler platformda konu açma yetkisi veya ileti gönderme yetkisi bulunmamaktadır." !important;
    display: inline-block !important;
    max-width: min(720px, 45vw);
    margin: 0 18px 0 0;
    color: #c62828;
    font-size: 0.82em;
    font-style: italic;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    vertical-align: middle;
}

#inner_wrap .user .callsign-approval-notice + .unread_links::before {
    content: none !important;
}

.user::after {
    content: none !important;
}

.user .unread_links {
    order: 3;
}

@media (max-width: 720px) {
    .user {
        flex-wrap: wrap;
        gap: 6px 10px;
    }

    .callsign-approval-notice {
        flex-basis: 100%;
        text-align: left;
    }

    #inner_wrap .user .unread_links::before {
        display: block !important;
        max-width: none;
        width: 100%;
        margin: 0 0 6px 0;
        text-align: left;
    }
}

/* === Navigation (Linktree / Breadcrumb) === */
.navigate_section ul {
    border: 1px solid var(--gray-200) !important;
    border-radius: var(--radius-md) !important;
    background: var(--white) !important;
    box-shadow: none !important;
    padding: 6px 14px !important;
}

.navigate_section ul li {
    color: var(--gray-500) !important;
    text-shadow: none !important;
    font-size: 0.85em !important;
}

.navigate_section ul li a {
    color: var(--brand-primary) !important;
    font-weight: 500 !important;
}

.navigate_section ul .forum-ad-banner {
    align-items: stretch;
    display: flex !important;
    flex-direction: column;
    flex: 1 1 100%;
    margin: 8px auto 0 !important;
    max-width: 1180px;
    padding: 0 !important;
    width: 100%;
}

.forum-ad-banner__label {
    color: #8a94a6 !important;
    display: block !important;
    font-size: 0.58rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    line-height: 1;
    margin: 0 !important;
    padding: 2px 0 !important;
    text-align: center;
    text-shadow: none !important;
}

.forum-ad-banner--mobilicom .mobilicom-banner {
    align-items: center;
    background:
        radial-gradient(circle at 18% 44%, rgba(75, 126, 255, 0.42), transparent 24%),
        radial-gradient(circle at 70% 46%, rgba(110, 231, 249, 0.26), transparent 28%),
        radial-gradient(circle at 88% 50%, rgba(253, 230, 138, 0.22), transparent 18%),
        linear-gradient(100deg, #071329 0%, #102b65 45%, #071a43 100%) !important;
    border: 1px solid rgba(134, 180, 255, 0.32);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(6, 18, 44, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    display: flex !important;
    gap: 14px;
    height: 78px;
    isolation: isolate;
    justify-content: stretch;
    min-height: 78px;
    overflow: hidden;
    padding: 7px 14px 7px 8px !important;
    position: relative;
    text-decoration: none !important;
    transition: box-shadow 180ms ease, transform 180ms ease;
    width: 100%;
}

.forum-ad-banner--mobilicom .mobilicom-banner::before,
.forum-ad-banner--mobilicom .mobilicom-banner::after {
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.forum-ad-banner--mobilicom .mobilicom-banner::before {
    animation: mobilicomEnergyFlow 5.5s linear infinite;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.16) 48%, transparent 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 46px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 32px);
    mix-blend-mode: screen;
    opacity: 0.72;
    transform: translateX(-24%);
}

.forum-ad-banner--mobilicom .mobilicom-banner::after {
    animation: mobilicomSweep 3.4s ease-in-out infinite;
    background: linear-gradient(105deg, transparent 0 42%, rgba(255, 255, 255, 0.8) 48%, transparent 54% 100%);
    filter: blur(10px);
    opacity: 0.55;
    transform: translateX(-120%);
}

.forum-ad-banner--mobilicom .mobilicom-banner:hover,
.forum-ad-banner--mobilicom .mobilicom-banner:focus {
    box-shadow: 0 22px 44px rgba(6, 18, 44, 0.34), 0 0 0 4px rgba(110, 231, 249, 0.16);
    outline: none;
    transform: translateY(-1px);
}

.forum-ad-banner--mobilicom .mobilicom-banner span {
    margin-top: 0 !important;
}

.mobilicom-banner__logo {
    align-items: center;
    align-self: stretch;
    background:
        radial-gradient(circle at 18% 50%, rgba(42, 72, 171, 0.12), transparent 42%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(235, 242, 255, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 7px 30px 30px 7px;
    box-shadow: 10px 0 30px rgba(5, 18, 46, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    display: flex !important;
    flex: 0 0 255px;
    gap: 8px;
    justify-content: flex-start;
    margin-right: 0;
    overflow: hidden;
    padding: 5px 20px 5px 14px;
    position: relative;
    z-index: 2;
}

.mobilicom-banner__logo::before {
    background: radial-gradient(circle, rgba(42, 72, 171, 0.18), transparent 66%);
    border-radius: 50%;
    content: "";
    display: block !important;
    height: 132px;
    left: -48px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 132px;
    z-index: 0;
}

.mobilicom-banner__logo::after {
    background: linear-gradient(90deg, transparent, rgba(22, 74, 167, 0.22), transparent);
    content: "";
    height: 100%;
    pointer-events: none;
    position: absolute;
    right: -18px;
    top: 0;
    transform: skewX(-18deg);
    width: 42px;
}

.mobilicom-banner__logo img {
    animation: mobilicomLogoPulse 3.8s ease-in-out infinite;
    display: block !important;
    filter: drop-shadow(0 5px 10px rgba(8, 32, 76, 0.24));
    flex: 0 0 auto;
    height: 72px;
    max-width: 128px;
    object-fit: contain;
    object-position: center;
    position: relative;
    transform-origin: center;
    z-index: 1;
}

.mobilicom-banner__brand {
    color: #172f7d !important;
    display: block !important;
    font-size: 1.08rem;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.98;
    min-width: 0;
    position: relative;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    z-index: 1;
}

.mobilicom-banner__copy {
    align-items: center;
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 2px;
    justify-content: center;
    min-width: 0;
    padding: 0 8px;
    position: relative;
    z-index: 2;
}

.mobilicom-banner__eyebrow,
.mobilicom-banner__subline {
    color: rgba(224, 242, 254, 0.86) !important;
    display: block !important;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.24);
    white-space: nowrap;
}

.mobilicom-banner__eyebrow {
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mobilicom-banner__copy strong {
    animation: mobilicomHeadlineGlow 2.8s ease-in-out infinite, mobilicomTextShine 4.6s linear infinite;
    background: linear-gradient(90deg, #ffffff 0%, #6ee7f9 42%, #fde68a 58%, #ffffff 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    display: block;
    font-size: clamp(1.5rem, 2.42vw, 2.1rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    text-shadow: 0 0 18px rgba(110, 231, 249, 0.24);
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.mobilicom-banner__subline {
    color: rgba(219, 234, 254, 0.72) !important;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.mobilicom-banner__cta {
    align-items: center;
    background: linear-gradient(135deg, #ffffff, #dff9ff);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(8, 32, 76, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.86);
    color: #102b65 !important;
    display: inline-flex !important;
    flex: 0 0 auto;
    font-size: 0.82rem;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    line-height: 1;
    min-width: 82px;
    padding: 0 16px;
    position: relative;
    text-shadow: none !important;
    z-index: 2;
}

.mobilicom-banner__signal {
    align-items: center;
    display: flex;
    flex: 0 0 90px;
    height: 64px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.mobilicom-banner__signal-core {
    background: linear-gradient(135deg, #6ee7f9, #2563eb);
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(110, 231, 249, 0.64);
    height: 14px;
    position: relative;
    width: 14px;
}

.mobilicom-banner__signal-core span {
    animation: mobilicomWave 1.7s ease-out infinite;
    border: 2px solid rgba(110, 231, 249, 0.48);
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-radius: 50%;
    height: 28px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg) scale(0.72);
    width: 28px;
}

.mobilicom-banner__signal-core span:nth-child(2) {
    animation-delay: 0.36s;
    height: 46px;
    width: 46px;
}

.mobilicom-banner__signal-core span:nth-child(3) {
    animation-delay: 0.72s;
    height: 64px;
    width: 64px;
}

.mobilicom-banner__spark {
    animation: mobilicomTwinkle 2.2s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    height: 3px;
    position: absolute;
    width: 3px;
    z-index: 1;
}

.mobilicom-banner__spark:nth-child(1) { left: 32%; top: 18px; animation-delay: 0.1s; }
.mobilicom-banner__spark:nth-child(2) { left: 58%; top: 45px; animation-delay: 0.8s; }
.mobilicom-banner__spark:nth-child(3) { left: 84%; top: 16px; animation-delay: 1.3s; }

@keyframes mobilicomEnergyFlow {
    0% { transform: translateX(-24%); }
    100% { transform: translateX(24%); }
}

@keyframes mobilicomSweep {
    0%, 34% { transform: translateX(-120%); }
    70%, 100% { transform: translateX(120%); }
}

@keyframes mobilicomLogoPulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-1px) scale(1.025); }
}

@keyframes mobilicomHeadlineGlow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(110, 231, 249, 0.28)); }
    50% { filter: drop-shadow(0 0 16px rgba(253, 230, 138, 0.5)); }
}

@keyframes mobilicomTextShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}

@keyframes mobilicomWave {
    0% { opacity: 0.95; transform: translate(-50%, -50%) rotate(45deg) scale(0.58); }
    100% { opacity: 0; transform: translate(-50%, -50%) rotate(45deg) scale(1.34); }
}

@keyframes mobilicomTwinkle {
    0%, 100% { opacity: 0.22; transform: scale(0.7); }
    50% { opacity: 1; transform: scale(1.45); }
}

.tt-ad-page {
    max-width: 1180px;
    margin: 12px auto 28px;
}

.tt-ad-hero {
    align-items: center;
    background: linear-gradient(135deg, #fff7f7 0%, #ffffff 58%, #ffe9e9 100%);
    border: 1px solid rgba(185, 28, 28, 0.18);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.08);
    display: flex;
    gap: 18px;
    padding: 22px;
}

.tt-ad-hero__icon {
    align-items: center;
    background: #b91c1c;
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 74px;
    height: 74px;
    justify-content: center;
    width: 74px;
}

.tt-ad-hero__icon img {
    filter: brightness(0) invert(1);
    height: 48px;
    object-fit: contain;
    width: 48px;
}

.tt-ad-eyebrow {
    color: #991b1b;
    font-size: 0.82rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    margin: 0 0 7px;
    text-transform: uppercase;
}

.tt-ad-hero h1 {
    color: #111827 !important;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 950;
    line-height: 0.98;
    margin: 0 0 10px;
}

.tt-ad-hero p:last-child {
    color: #374151;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.55;
    margin: 0;
    max-width: 760px;
}

.tt-ad-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
    gap: 18px;
    margin-top: 18px;
}

.tt-ad-info,
.tt-ad-form-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 12px 26px rgba(17, 24, 39, 0.07);
    padding: 20px;
}

.tt-ad-info h2 {
    color: #111827 !important;
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0 0 10px;
}

.tt-ad-price {
    color: #b91c1c;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 1000;
    line-height: 1;
    margin-bottom: 12px;
}

.tt-ad-price span {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 800;
}

.tt-ad-info p {
    color: #374151;
    font-weight: 650;
    line-height: 1.55;
}

.tt-ad-info ul {
    margin: 16px 0 0;
    padding-left: 20px;
}

.tt-ad-info li {
    color: #111827;
    font-weight: 700;
    margin: 8px 0;
}

.tt-ad-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tt-ad-form label {
    display: grid;
    gap: 6px;
}

.tt-ad-form label span {
    color: #374151;
    font-size: 0.82rem;
    font-weight: 850;
}

.tt-ad-form input,
.tt-ad-form textarea {
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #111827;
    font: inherit;
    font-weight: 650;
    min-height: 42px;
    padding: 10px 11px;
    width: 100%;
}

.tt-ad-form textarea {
    resize: vertical;
}

.tt-ad-form input:focus,
.tt-ad-form textarea:focus {
    border-color: #b91c1c;
    box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.12);
    outline: none;
}

.tt-ad-form__full,
.tt-ad-form button {
    grid-column: 1 / -1;
}

.tt-ad-form button {
    background: linear-gradient(135deg, #b91c1c, #ef4444);
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 950;
    min-height: 46px;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.tt-ad-form button:hover,
.tt-ad-form button:focus {
    box-shadow: 0 12px 24px rgba(185, 28, 28, 0.24);
    outline: none;
    transform: translateY(-1px);
}

.tt-ad-hidden {
    left: -9999px;
    position: absolute;
}

.tt-ad-success,
.tt-ad-error {
    border-radius: 6px;
    font-weight: 750;
    line-height: 1.45;
    margin-bottom: 14px;
    padding: 12px 14px;
}

.tt-ad-success {
    background: #ecfdf3;
    border: 1px solid #16a34a;
    color: #166534;
}

.tt-ad-error {
    background: #fff1f2;
    border: 1px solid #dc2626;
    color: #991b1b;
}

.tt-ad-error ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.navigate_section ul .forum-linktree-notice {
    align-items: center !important;
    background: #fff5f5 !important;
    border: 1px solid #dc2626 !important;
    border-left: 5px solid #991b1b !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 18px rgba(153, 27, 27, 0.08) !important;
    color: #111827 !important;
    display: flex !important;
    flex: 1 1 100%;
    gap: 10px !important;
    line-height: 1.35 !important;
    margin: 8px auto 0 !important;
    max-width: 1180px;
    padding: 10px 14px !important;
    text-align: left !important;
    white-space: normal !important;
}

.navigate_section ul .forum-linktree-notice span {
    margin-top: 0 !important;
}

.navigate_section ul .forum-linktree-notice .forum-linktree-notice__mark {
    align-items: center !important;
    background: #991b1b !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    color: #ffffff !important;
    display: grid !important;
    flex: 0 0 26px !important;
    font-family: Arial, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    height: 26px !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    min-width: 26px !important;
    padding: 0 !important;
    place-items: center !important;
    text-align: center !important;
    width: 26px !important;
}

.forum-linktree-notice__body {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.forum-linktree-notice__label {
    color: #991b1b;
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-transform: uppercase;
}

.forum-linktree-notice__text {
    color: #111827;
    display: block;
    font-size: clamp(0.82rem, 1.8vw, 0.95rem);
    font-weight: 700;
}

.forum-linktree-notice__text strong {
    color: #7f1d1d !important;
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: rgba(153, 27, 27, 0.55);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.tt-dmr-live {
    --tt-dmr-grid-columns: 86px minmax(116px, 1fr) 112px minmax(128px, 0.95fr) minmax(160px, 1.05fr) 68px;
    background: #101827;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-bottom: 6px solid #dc2626;
    border-radius: 6px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
    color: #e5e7eb;
    margin: 8px auto 14px;
    max-width: 1180px;
    overflow: hidden;
    padding-bottom: 0;
}

.tt-dmr-live__header {
    align-items: center;
    background: linear-gradient(135deg, #0b1120 0%, #101827 58%, #1f2937 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 10px 14px;
}

.tt-dmr-live__heading {
    align-items: center;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.24);
    border-radius: 999px;
    display: inline-flex;
    gap: 9px;
    min-height: 30px;
    padding: 0 12px;
}

.tt-dmr-live__pulse {
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    flex: 0 0 9px;
    height: 9px;
    width: 9px;
    animation: ttDmrPulse 1.8s infinite;
}

.tt-dmr-live__title {
    color: #fca5a5 !important;
    cursor: default;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-shadow: 0 0 8px rgba(248, 113, 113, 0.35);
    transition: color var(--transition-fast), text-shadow var(--transition-fast), filter var(--transition-fast);
}

.tt-dmr-live__title:hover {
    color: #fecaca !important;
    filter: saturate(1.25);
    text-shadow: 0 0 8px rgba(248, 113, 113, 0.95), 0 0 18px rgba(239, 68, 68, 0.58);
}

.tt-dmr-live__filter,
.tt-dmr-live__count,
.tt-dmr-live__status {
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    padding: 5px 8px;
    white-space: nowrap;
}

.tt-dmr-live__filter {
    background: rgba(239, 68, 68, 0.14);
    color: #fecaca;
}

.tt-dmr-live__count {
    background: rgba(148, 163, 184, 0.14);
    color: #cbd5e1;
}

.tt-dmr-live__status {
    background: rgba(250, 204, 21, 0.13);
    color: #fde68a;
}

.tt-dmr-live__status[data-state="live"] {
    background: rgba(34, 197, 94, 0.14);
    color: #bbf7d0;
}

.tt-dmr-live__status[data-state="error"] {
    background: rgba(248, 113, 113, 0.14);
    color: #fecaca;
}

.tt-dmr-live__columns {
    align-items: center;
    background: #0f172a;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    color: #94a3b8;
    display: grid;
    font-size: 0.68rem;
    font-weight: 900;
    gap: 10px;
    grid-template-columns: var(--tt-dmr-grid-columns);
    letter-spacing: 0.04em;
    min-height: 28px;
    padding: 6px 14px;
    text-transform: uppercase;
}

.tt-dmr-live__columns span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-dmr-live__stream {
    display: grid;
    gap: 1px;
    max-height: 400px;
    overflow: auto;
}

.tt-dmr-live__item,
.tt-dmr-live__empty {
    align-items: center;
    background: rgba(15, 23, 42, 0.78);
    display: grid;
    grid-template-columns: var(--tt-dmr-grid-columns);
    gap: 10px;
    min-height: 40px;
    padding: 8px 14px;
}

.tt-dmr-live__item:nth-child(even) {
    background: rgba(30, 41, 59, 0.64);
}

.tt-dmr-live__empty {
    color: #94a3b8;
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}

.tt-dmr-live__time {
    color: #93c5fd;
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
}

.tt-dmr-live__call {
    color: #ffffff !important;
    font-size: 0.86rem;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-dmr-live__id,
.tt-dmr-live__dest,
.tt-dmr-live__meta {
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-dmr-live__meta {
    color: #94a3b8;
}

.tt-dmr-live__play {
    background: #ef4444 !important;
    border: 1px solid rgba(254, 202, 202, 0.45) !important;
    border-radius: 999px !important;
    box-shadow: 0 0 0 rgba(239, 68, 68, 0) !important;
    color: #ffffff !important;
    cursor: pointer;
    font-size: 0.68rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    min-height: 24px;
    padding: 5px 9px !important;
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.tt-dmr-live__play:hover,
.tt-dmr-live__play:focus {
    background: #f87171 !important;
    box-shadow: 0 0 12px rgba(248, 113, 113, 0.65) !important;
    transform: translateY(-1px);
}

.tt-dmr-live__play:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.tt-ad-slot {
    align-items: center;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
        repeating-linear-gradient(135deg, rgba(15, 23, 42, 0.08) 0 1px, transparent 1px 12px);
    border: 1px dashed #9aa8bb;
    border-radius: 6px;
    color: #475569 !important;
    display: flex;
    justify-content: center;
    max-width: 1180px;
    min-height: 42px;
    text-decoration: none !important;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.tt-ad-slot--below-dmr {
    margin: 10px auto 14px;
}

.tt-ad-slot span {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0;
}

.tt-ad-slot span::before,
.tt-ad-slot span::after {
    background: #b91c1c;
    border-radius: 999px;
    content: "";
    height: 6px;
    width: 6px;
}

.tt-ad-slot:hover,
.tt-ad-slot:focus {
    border-color: #b91c1c;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1), 0 0 0 3px rgba(185, 28, 28, 0.08);
    color: #7f1d1d !important;
    outline: none;
}

.tt-app-promo {
    display: block;
    margin: 10px auto 14px;
    max-width: 800px;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.22);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.tt-app-promo:hover,
.tt-app-promo:focus {
    border-color: #b91c1c;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18), 0 0 0 3px rgba(185, 28, 28, 0.08);
    outline: none;
    transform: translateY(-2px);
}

.tt-app-promo__video {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes ttDmrPulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65); }
    70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.tt-exam-cta {
    align-items: center;
    animation: ttExamCtaIdle 2.4s ease-in-out infinite;
    background: linear-gradient(135deg, #991b1b 0%, #ef233c 44%, #ff4d5a 58%, #b91c1c 100%);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    box-shadow: 0 14px 30px rgba(185, 28, 28, 0.36), 0 0 0 3px rgba(239, 68, 68, 0.14);
    color: #ffffff !important;
    display: flex;
    gap: 14px;
    justify-content: center;
    margin: 14px auto 20px;
    max-width: 1180px;
    min-height: 66px;
    padding: 15px 22px;
    text-align: center;
    text-decoration: none !important;
}

.tt-exam-cta__icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.22);
    border: 2px solid rgba(255, 255, 255, 0.56);
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 42px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.tt-exam-cta__icon svg {
    fill: none;
    height: 27px;
    stroke: #ffffff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
    width: 27px;
}

.tt-exam-cta span:last-child {
    color: #ffffff !important;
    font-size: 1.18rem;
    font-weight: 1000;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-shadow: 0 2px 0 rgba(70, 0, 0, 0.28), 0 0 14px rgba(255, 255, 255, 0.22);
}

.tt-exam-cta:hover,
.tt-exam-cta:focus {
    animation: ttExamCtaBreath 1.05s ease-in-out infinite;
    background: linear-gradient(135deg, #7f1d1d 0%, #ff1f3d 45%, #ff6b75 58%, #991b1b 100%);
    color: #ffffff !important;
    outline: none;
    transform: translateY(-2px);
}

@keyframes ttExamCtaIdle {
    0%, 100% {
        box-shadow: 0 14px 30px rgba(185, 28, 28, 0.34), 0 0 0 3px rgba(239, 68, 68, 0.14);
    }
    50% {
        box-shadow: 0 16px 34px rgba(185, 28, 28, 0.44), 0 0 0 7px rgba(239, 68, 68, 0.08);
    }
}

@keyframes ttExamCtaBreath {
    0%, 100% {
        box-shadow: 0 10px 24px rgba(185, 28, 28, 0.22), 0 0 0 0 rgba(239, 68, 68, 0.32);
    }
    50% {
        box-shadow: 0 14px 30px rgba(185, 28, 28, 0.36), 0 0 0 9px rgba(239, 68, 68, 0.08);
    }
}

.navigate_section ul li .dividers {
    color: var(--gray-300) !important;
    padding: 0 4px !important;
}

/* === Main Menu (Navigation Bar) === */
#main_menu {
    margin: 0 0 2px 0 !important;
}

.dropmenu.menu_nav {
    display: flex !important;
    gap: 2px !important;
}

.dropmenu.menu_nav > li > a {
    font-weight: 500 !important;
    color: var(--gray-700) !important;
    padding: 6px 14px !important;
    border-radius: var(--radius-sm) !important;
    transition: all var(--transition-fast) !important;
    border: 1px solid transparent !important;
}

.dropmenu.menu_nav > li:hover > a,
.dropmenu.menu_nav > li > a:focus {
    background: var(--red-50) !important;
    color: var(--brand-primary) !important;
    border-color: var(--red-100) !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.dropmenu.menu_nav > li > a.active {
    background: var(--brand-primary) !important;
    color: var(--white) !important;
    border-color: var(--brand-primary) !important;
    box-shadow: var(--shadow-red) !important;
    text-shadow: none !important;
}

.dropmenu.menu_nav > li > a.active:hover {
    background: var(--brand-primary-hover) !important;
    color: var(--white) !important;
    text-shadow: none !important;
}

/* === Wrapper (Main Content Area) === */
#wrapper {
    background: var(--white) !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-lg) !important;
    overflow: hidden;
}

/* === Category Bars (Main Headers) === */
div.cat_bar {
    background: var(--brand-gradient) !important;
    border-bottom: none !important;
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
    box-shadow: var(--shadow-red), 0 16px 30px rgba(255,255,255,0.1) inset !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    position: relative;
    overflow: hidden;
}

div.cat_bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08));
    pointer-events: none;
}

.cat_bar.collapsed,
.cat_bar.cat_bar_round {
    border-radius: var(--radius-md) !important;
}

.cat_bar h3 {
    padding: 10px 16px 8px 16px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    letter-spacing: -0.01em;
}

.cat_bar strong {
    color: var(--white) !important;
}

h3.catbg {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
}

h3.catbg, h3.catbg a, h3.catbg a:hover {
    color: var(--white) !important;
}

.cat_bar .desc {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 400 !important;
}

.cat_bar .desc a {
    color: var(--white) !important;
    font-weight: 600 !important;
}

.cat_bar + .windowbg, .cat_bar + .roundframe {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    margin-top: -1px !important;
}

/* === Title Bars (Sub-headers) === */
.title_bar {
    border: 1px solid var(--gray-200) !important;
    border-top: 3px solid var(--brand-primary) !important;
    border-bottom: 1px solid var(--gray-200) !important;
    background: var(--gray-50) !important;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important;
    margin: 8px 0 0 0 !important;
}

h3.titlebg, h4.titlebg, .titlebg, h3.subbg, h4.subbg, .subbg {
    background: none !important;
    color: var(--brand-primary) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    padding: 8px 14px !important;
    text-shadow: none !important;
    font-size: 0.9rem !important;
}

.sub_bar {
    border-bottom: 1px solid var(--gray-200) !important;
    box-shadow: none !important;
}

/* === Window Backgrounds (Content Rows) === */
.generic_list_wrapper, .windowbg, .approvebg, .approvebg2 {
    background: var(--white) !important;
    margin: 0 !important;
    padding: 14px 18px !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: background var(--transition-fast) !important;
}

.generic_list_wrapper {
    border-radius: var(--radius-md) !important;
    margin: 10px 0 0 0 !important;
}

.windowbg:nth-of-type(even), .bg.even {
    background: var(--gray-50) !important;
}

.windowbg:nth-of-type(odd), .bg.odd {
    background: var(--white) !important;
}

.windowbg:target {
    background: var(--red-50) !important;
}

tr.windowbg:hover {
    background: var(--red-50) !important;
}

.windowbg.sticky {
    background: rgba(196,30,42,0.03) !important;
    border-left: 3px solid var(--brand-primary) !important;
}

.windowbg.locked {
    background: var(--gray-50) !important;
    opacity: 0.85;
}

.windowbg.sticky.locked {
    background: var(--red-50) !important;
    border-left: 3px solid var(--red-300) !important;
}

/* === Roundframe (General Content Boxes) === */
.roundframe {
    margin: 0 !important;
    padding: 16px 20px !important;
    background: var(--white) !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
    box-shadow: none !important;
}

/* === Information Boxes === */
.information {
    background: var(--gray-50) !important;
    border: 1px solid var(--gray-200) !important;
    border-top: none !important;
    border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
    padding: 14px !important;
}

/* === Buttons === */
.button, .quickbuttons > li > a, .inline_mod_check {
    background: var(--white) !important;
    color: var(--gray-700) !important;
    border: 1.5px solid var(--gray-300) !important;
    border-radius: var(--radius-sm) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    padding: 4px 12px !important;
    line-height: 1.8em !important;
    vertical-align: middle !important;
    transition: all var(--transition-fast) !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0;
    box-sizing: border-box !important;
    min-height: unset !important;
}

.button:hover, .button:focus,
.quickbuttons > li:hover > a, .quickbuttons > li > a:focus {
    background: var(--red-50) !important;
    color: var(--brand-primary) !important;
    border-color: var(--red-300) !important;
    box-shadow: var(--shadow-sm) !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* Active Button (Yeni Konu, etc.) — must be high specificity */
.button.active,
.pagesection .button.active,
.buttonlist .button.active,
a.button.active {
    background: var(--brand-primary) !important;
    color: var(--white) !important;
    border-color: var(--brand-primary) !important;
    box-shadow: var(--shadow-red) !important;
    text-shadow: none !important;
    font-weight: 600 !important;
}

.button.active:hover, .button.active:focus,
.pagesection .button.active:hover,
.pagesection .button.active:focus {
    background: var(--brand-primary-hover) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-red-lg) !important;
}

.pagesection .button:not(.active) {
    color: var(--brand-primary) !important;
}

/* Page section alignment fix */
.pagesection {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 3px !important;
    padding: 6px 0 !important;
}

.pagesection .pagelinks {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
}

.buttonlist {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Submit/Primary Buttons */
input[type="submit"], button[type="submit"] {
    background: var(--brand-primary) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    padding: 8px 24px !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    transition: all var(--transition-fast) !important;
    box-shadow: var(--shadow-red) !important;
    text-transform: none !important;
    letter-spacing: 0;
}

input[type="submit"]:hover, button[type="submit"]:hover {
    background: var(--brand-primary-hover) !important;
    box-shadow: var(--shadow-red-lg) !important;
    transform: translateY(-1px);
}

/* === Input Fields === */
input, button, textarea {
    font-family: 'Inter', sans-serif !important;
    border: 1.5px solid var(--gray-300) !important;
    border-radius: var(--radius-sm) !important;
    background: var(--white) !important;
    color: var(--gray-800) !important;
    box-shadow: none !important;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast) !important;
    padding: 6px 10px !important;
}

select {
    font-family: 'Inter', sans-serif !important;
    border: 1.5px solid var(--gray-300) !important;
    border-radius: var(--radius-sm) !important;
    background: var(--white) !important;
    color: var(--gray-800) !important;
    box-shadow: none !important;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast) !important;
    padding: 4px 8px !important;
    line-height: 1.4 !important;
    height: auto !important;
    vertical-align: middle !important;
}

input:hover, textarea:hover, select:hover {
    border-color: var(--gray-400) !important;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--brand-primary) !important;
    box-shadow: 0 0 0 3px rgba(196,30,42,0.1) !important;
    background: var(--white) !important;
    outline: none !important;
}

input[type="checkbox"], input[type="radio"] {
    border: none !important;
    box-shadow: none !important;
    accent-color: var(--brand-primary);
    padding: 0 !important;
    vertical-align: middle !important;
}

/* === Footer === */
#footer {
    background: var(--gray-900) !important;
    border-top: 3px solid var(--brand-primary) !important;
    margin-top: 3em !important;
    padding: 16px 0 !important;
}

#footer li, #footer p, #footer a {
    color: var(--gray-400) !important;
    font-size: 0.82rem !important;
}

#footer ul {
    position: relative;
}

#footer li.footer-deprem-link {
    clear: both;
    display: block !important;
    float: none !important;
    margin: 6px auto 0 !important;
    text-align: center !important;
    width: 100% !important;
}

#footer li.footer-deprem-link a {
    color: var(--gray-300) !important;
    font-weight: 700 !important;
}

#footer a:hover {
    color: var(--white) !important;
}

/* === Pages / Pagination === */
.current_page {
    color: var(--brand-primary) !important;
    font-weight: 700 !important;
}

.nav_page {
    color: var(--gray-600) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    transition: all var(--transition-fast) !important;
}

.nav_page:hover {
    background: var(--red-50) !important;
    color: var(--brand-primary) !important;
    text-decoration: none !important;
}

/* === "New" Posts Badge === */
.new_posts, a.new_posts {
    background: var(--brand-primary) !important;
    color: var(--white) !important;
    border-radius: 100px !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    padding: 1px 8px !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    opacity: 1 !important;
    box-shadow: var(--shadow-red) !important;
}

.new_posts:hover, .new_posts:focus {
    background: var(--brand-primary-hover) !important;
    opacity: 1 !important;
}

/* === Error / Notice / Info Boxes === */
.errorbox {
    background-color: var(--red-50) !important;
    border-top: 2px solid var(--brand-primary) !important;
    border-bottom: 2px solid var(--brand-primary) !important;
    border-radius: var(--radius-sm) !important;
}

.noticebox {
    border-radius: var(--radius-sm) !important;
}

.infobox {
    border-radius: var(--radius-sm) !important;
}

/* === Blockquotes === */
blockquote {
    background: var(--gray-50) !important;
    border: 1px solid var(--gray-200) !important;
    border-left: 3px solid var(--brand-primary) !important;
    border-right: none !important;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
    padding: 10px 16px !important;
    margin: 8px 0 !important;
}

blockquote cite::before {
    color: var(--brand-primary) !important;
}

/* === Code Blocks === */
.bbc_code {
    background: var(--gray-900) !important;
    color: #e5e5e5 !important;
    border: 1px solid var(--gray-700) !important;
    border-top: 3px solid var(--brand-primary) !important;
    border-bottom: none !important;
    border-radius: var(--radius-sm) !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.82rem !important;
    padding: 12px 16px !important;
}

/* === Board Index Icons / Indicators === */
.board_icon {
    border-radius: var(--radius-sm) !important;
}

/* === Member Link Styles === */
.poster h4 a, .poster h4 span {
    font-weight: 600 !important;
}

/* === Highlight === */
.highlight {
    color: var(--brand-primary) !important;
    font-weight: 700 !important;
}

/* === Progress / Stats Bars === */
.generic_bar, .progress_bar {
    border: 1px solid var(--gray-200) !important;
    border-radius: var(--radius-sm) !important;
    background: var(--gray-100) !important;
}

.generic_bar .bar, .progress_bar .bar {
    background: var(--brand-primary) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: none !important;
}

.progress_bar .bar {
    background-color: var(--brand-primary) !important;
    background-image: linear-gradient(135deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent) !important;
}

/* === Toggle Buttons === */
.toggle_up::before, .toggle_down::before {
    border: 1.5px solid var(--gray-300) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: none !important;
    background-color: var(--white) !important;
    transition: all var(--transition-fast) !important;
}

.toggle_up:hover::before, .toggle_down:hover::before {
    background-color: var(--red-50) !important;
    border-color: var(--red-300) !important;
}

/* === Quickbuttons (Post Actions) === */
.quickbuttons > li > a {
    border-radius: var(--radius-sm) !important;
    font-size: 0.72rem !important;
    padding: 2px 8px !important;
    margin: 1px !important;
}

.quickbuttons > li:first-child > a {
    border-radius: var(--radius-sm) !important;
}

.quickbuttons > li:last-child > a, .inline_mod_check:last-child {
    border-radius: var(--radius-sm) !important;
}

/* Post options dropdown */
.post_options ul {
    background: var(--white) !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-xl) !important;
}

.post_options ul a {
    border-radius: var(--radius-sm) !important;
    color: var(--gray-700) !important;
    transition: all var(--transition-fast) !important;
}

.post_options ul a:hover, .post_options ul a:focus {
    background: var(--red-50) !important;
    color: var(--brand-primary) !important;
    border-color: transparent !important;
}

/* === Popup / Modal Styling === */
.popup_window {
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-xl) !important;
    border: 1px solid var(--gray-200) !important;
}

.popup_heading {
    background: var(--brand-gradient) !important;
    color: var(--white) !important;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
    padding: 12px 16px !important;
    font-weight: 700 !important;
}

/* === Unread Notifications === */
.unread_notify {
    border-bottom: 1px solid var(--gray-100) !important;
    border-radius: var(--radius-sm) !important;
    transition: background var(--transition-fast) !important;
}

.unread_notify:hover {
    background: var(--red-50) !important;
}

/* === Fieldset === */
fieldset {
    border: 1px solid var(--gray-200) !important;
    border-radius: var(--radius-md) !important;
    padding: 20px !important;
}

fieldset legend {
    color: var(--brand-primary) !important;
    font-weight: 600 !important;
}

/* === Horizontal Rule === */
hr {
    background: var(--gray-200) !important;
    box-shadow: none !important;
    height: 1px !important;
}

/* === Moderation Link === */
a.moderation_link, a.moderation_link:visited {
    background: var(--warning) !important;
    color: var(--white) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    padding: 2px 10px !important;
}

/* === Welcome message === */
.welcome {
    color: var(--gray-600) !important;
    font-size: 0.85rem !important;
}

/* === Board Index specific styles === */
#board_stats_header {
    color: var(--gray-500) !important;
}

/* Board info padding */
.board_info {
    padding-left: 4px;
}

/* === Message Index (Topic List) === */
#topic_container .windowbg {
    transition: all var(--transition-fast) !important;
}

#topic_container .windowbg:hover {
    background: var(--red-50) !important;
}

/* === Post Area (Display) === */
#forumposts .cat_bar {
    margin-bottom: 0 !important;
}

#forumposts .windowbg {
    border: 1px solid var(--gray-200) !important;
    margin-bottom: -1px !important;
}

/* Poster info side */
.poster h4 {
    font-size: 1.05em !important;
    margin-bottom: 4px !important;
}

/* Post content */
.post {
    line-height: 1.65em !important;
}

/* === Auto Suggest === */
.auto_suggest_div {
    border: 1px solid var(--gray-200) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
}

.auto_suggest_item {
    background: var(--white) !important;
    padding: 4px 10px !important;
}

.auto_suggest_item_hover {
    background: var(--red-50) !important;
    color: var(--brand-primary) !important;
    cursor: pointer !important;
    padding: 4px 10px !important;
}

/* === Table Grid === */
table.table_grid {
    border-radius: var(--radius-sm) !important;
    overflow: hidden;
}

.title_bar th, .windowbg th {
    padding: 8px 12px !important;
    font-weight: 600 !important;
}

/* === AJAX Loading Bar === */
#ajax_in_progress {
    background: var(--white) !important;
    border-bottom: 3px solid var(--brand-primary) !important;
    color: var(--brand-primary) !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-lg) !important;
}

/* === Registration Form === */
dl.register_form dt {
    font-weight: 500 !important;
    color: var(--gray-700) !important;
}

#registration dl.register_form {
    max-width: 860px;
}

#registration dl.register_form dt,
#registration dl.register_form dd {
    box-sizing: border-box;
}

#registration .register-required-field strong {
    color: var(--brand-primary-dark) !important;
}

#registration input[name="real_name"],
#registration input[name="email"],
#registration input[name="customfield[cust_cagri]"],
#registration input[name="customfield[cust_loca]"],
#registration input[name="customfield[cust_phone]"] {
    background: linear-gradient(180deg, #fffafa 0%, #fff4f4 100%) !important;
    border: 2px solid var(--brand-primary) !important;
    border-left: 7px solid var(--brand-primary-dark) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 0 0 4px rgba(196, 30, 42, 0.08) !important;
    font-weight: 600 !important;
}

#registration .register-field-cust_phone .smalltext {
    color: #000000 !important;
    font-style: italic !important;
    font-weight: 500 !important;
}

.valid_input {
    background: #f0fdf4 !important;
    border-color: var(--success) !important;
}

.invalid_input {
    background: var(--red-50) !important;
    border-color: var(--brand-primary) !important;
}

/* === Login Form === */
.login dt {
    color: var(--gray-700) !important;
    font-weight: 600 !important;
}

/* === Generic bar colors === */
.progress_green .bar {
    background-color: var(--success) !important;
}

.progress_red .bar {
    background-color: var(--brand-primary) !important;
}

.progress_yellow .bar {
    background-color: var(--warning) !important;
}

.progress_blue .bar {
    background-color: var(--info) !important;
}

/* === Scrollbar Styling === */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-primary);
}

/* === Animations === */
@keyframes subtleEntrance {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#content_section {
    animation: subtleEntrance 0.3s ease-out;
}

/* === Custom Profile Fields (Çağrı İşareti vb.) === */
.poster li.custom.cust_cagri {
    display: none !important; /* Hijacked and moved to postgroup in template */
}

.poster li.postgroup.cagri,
#profileview .custom.cust_cagri,
#profileview .custom_field.cust_cagri,
#profileview #detailedinfo dd .cust_cagri {
    color: #000000 !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1.5px !important;
    text-underline-offset: 3px !important;
}

.poster li.postgroup.cagri {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    font-size: 1.05em !important;
    padding: 2px 0 !important;
    text-transform: uppercase !important;
    text-align: left !important;
    width: 100% !important;
}

.poster li.postgroup.cagri::before {
    content: none !important;
    display: none !important;
}

.poster li.postage {
    color: #333333 !important;
    font-weight: 600 !important;
}

.post_wrapper .poster,
.post_wrapper .poster h4,
.post_wrapper .poster .user_info,
.post_wrapper .poster .user_info > li {
    text-align: left !important;
}

.post_wrapper .poster .user_info {
    width: 100% !important;
}

.post_wrapper .poster li.postcount,
.post_wrapper .poster li.postage,
.post_wrapper .poster li.custom.cust_loca {
    align-items: baseline !important;
    gap: 4px !important;
    justify-content: flex-start !important;
    line-height: 1.35 !important;
    width: 100% !important;
}

@media (min-width: 721px) {
    .post_wrapper .poster li.postcount,
    .post_wrapper .poster li.postage,
    .post_wrapper .poster li.custom.cust_loca {
        display: flex !important;
    }
}

.poster-field-label {
    font-weight: 800 !important;
}

.callsign-radio-icon {
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: clamp(34px, 2.8vw, 46px) !important;
    max-width: 30px !important;
    object-fit: contain !important;
    margin-right: 2px !important;
    vertical-align: middle !important;
    text-decoration: none !important;
}

#profileview #basicinfo .icon_fields li.custom_field.cust_cagri .callsign-radio-icon {
    display: inline-block !important;
    height: clamp(44px, 4vw, 64px) !important;
    max-width: 42px !important;
    margin-right: 8px !important;
    object-fit: contain !important;
    vertical-align: middle !important;
}

@media (max-width: 720px) {
    .callsign-radio-icon {
        height: 34px !important;
        max-width: 24px !important;
    }

    #profileview #basicinfo .icon_fields li.custom_field.cust_cagri .callsign-radio-icon {
        display: inline-block !important;
        height: 44px !important;
        max-width: 32px !important;
        margin-right: 7px !important;
    }
}

/* === Emoji / Smiley Constraints === */
img.smiley {
    max-width: 28px !important;
    max-height: 28px !important;
    vertical-align: middle;
}
.smiley_box img.smiley, #sceditor-popup-smiley img {
    cursor: pointer;
    transition: transform 0.2s ease;
}
.smiley_box img.smiley:hover, #sceditor-popup-smiley img:hover {
    transform: scale(1.2);
}

/* Make Emoji Popup a Grid */
#sceditor-popup-smiley {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(28px, 1fr));
    gap: 8px;
    padding: 10px;
    max-width: 250px;
    box-sizing: border-box;
    align-items: center;
    justify-items: center;
}

/* === Logo Enhancements === */
#header #top img.site-logo {
    display: block;
    width: auto;
    max-width: 320px;
    max-height: 80px;
    margin-left: 0;
    object-fit: contain;
    transform: none;
}

/* ============================================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ============================================================ */

/* === Tablet Landscape (max-width: 1024px) === */
@media (max-width: 1024px) {
    .lastpost {
        width: 25% !important;
        font-size: 0.8em !important;
    }

    .board_stats {
        width: 12% !important;
    }

    .boardindex_table .info {
        width: calc(55% - 60px) !important;
    }
}

/* === Tablet Portrait (max-width: 855px) === */
@media (max-width: 855px) {
    .board_stats {
        display: none !important;
    }

    .lastpost {
        width: 35% !important;
    }

    .boardindex_table .info {
        width: calc(65% - 60px) !important;
    }

    /* Top bar shrink */
    #top_info .welcome {
        display: none !important;
    }

    #top_info > li > a,
    .dropmenu > li > a {
        padding: 3px 8px !important;
        font-size: 0.8rem !important;
    }
}

/* === Small Tablet / Large Phone (max-width: 768px) === */
@media (max-width: 768px) {
    /* Wrapper full width */
    #wrapper {
        border-radius: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        border-left: none !important;
        border-right: none !important;
    }

    /* Header */
    #top_section .inner_wrap, #header, #footer .inner_wrap {
        width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }

    h1.forumtitle {
        font-size: 1.3em !important;
    }

    #header {
        padding: 10px !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }

    #header #top img.site-logo {
        max-width: 260px;
        max-height: 70px;
        margin: 0 auto;
    }

    .header-brandline {
        width: 100%;
        gap: 10px;
    }

    .header-ataturk {
        width: clamp(50px, 12vw, 68px);
    }

    .header-tagline::before {
        width: clamp(50px, 12vw, 68px);
    }

    .header-tagline {
        width: auto;
        text-align: left;
    }

    .header-emblem-stack {
        width: min(100%, 320px);
        max-width: 92vw;
        margin: 0 auto;
    }

    .header-emblem {
        width: 68px;
        height: 68px;
    }

    .header-query-badge {
        width: min(100%, 320px);
    }

    .header-tat {
        font-size: clamp(1.18rem, 5vw, 1.75rem);
    }

    .header-tagline-text {
        font-size: clamp(0.78rem, 3.15vw, 1.05rem);
        line-height: 1.15;
    }

    /* Search form */
    #search_form {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 4px !important;
        margin-top: 8px !important;
    }

    #search_form input[type="search"] {
        width: 150px !important;
        font-size: 0.8rem !important;
    }

    #search_form select {
        font-size: 0.75rem !important;
    }

    /* Navigation */
    .dropmenu.menu_nav {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 2px !important;
    }

    .dropmenu.menu_nav > li > a {
        padding: 5px 10px !important;
        font-size: 0.8rem !important;
    }

    /* Breadcrumb */
    .navigate_section ul {
        padding: 4px 10px !important;
        font-size: 0.8em !important;
    }

    .navigate_section ul .forum-linktree-notice {
        gap: 8px !important;
        padding: 9px 10px !important;
    }

    .navigate_section ul .forum-linktree-notice .forum-linktree-notice__mark {
        flex-basis: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        width: 24px !important;
    }

    .forum-ad-banner--mobilicom .mobilicom-banner {
        gap: 9px;
        height: 66px;
        min-height: 66px;
        padding: 6px 10px 6px 6px !important;
    }

    .mobilicom-banner__logo {
        border-radius: 7px 24px 24px 7px;
        flex-basis: 168px;
        gap: 5px;
        padding: 4px 13px 4px 8px;
    }

    .mobilicom-banner__logo img {
        height: 56px;
        max-width: 98px;
    }

    .mobilicom-banner__brand {
        font-size: 0.74rem;
        line-height: 1;
    }

    .mobilicom-banner__eyebrow,
    .mobilicom-banner__subline {
        display: none !important;
    }

    .mobilicom-banner__copy strong {
        font-size: clamp(1rem, 4.2vw, 1.32rem);
    }

    .mobilicom-banner__cta {
        font-size: 0.72rem;
        height: 30px;
        min-width: 68px;
        padding: 0 12px;
    }

    .mobilicom-banner__signal {
        flex-basis: 52px;
    }

    .tt-dmr-live__header {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 7px;
    }

    .tt-dmr-live__heading {
        max-width: 100%;
    }

    .tt-dmr-live__columns,
    .tt-dmr-live__item {
        grid-template-columns: 64px 96px 86px 112px 132px 58px;
        min-width: 548px;
    }

    .tt-dmr-live__stream {
        overflow: auto;
    }

    .tt-exam-cta {
        gap: 10px;
        margin: 10px auto 16px;
        min-height: 64px;
        padding: 12px 10px;
    }

    .tt-exam-cta span:last-child {
        font-size: 0.96rem;
    }

    .tt-ad-hero,
    .tt-ad-grid {
        grid-template-columns: 1fr;
    }

    .tt-ad-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px;
    }

    .tt-ad-form {
        grid-template-columns: 1fr;
    }

    /* Main content */
    #main_content_section {
        padding: 6px !important;
    }

    /* Board rows */
    .windowbg {
        padding: 10px 12px !important;
    }

    .boardindex_table .board_icon {
        width: 50px !important;
    }

    .board_icon a {
        width: 32px !important;
        height: 32px !important;
    }

    /* lastpost hide time details */
    .lastpost {
        font-size: 0.78em !important;
    }

    /* Category bars */
    .cat_bar h3 {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }

    /* Buttons */
    .pagesection {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .buttonlist {
        justify-content: center !important;
    }

    .pagesection .pagelinks {
        justify-content: center !important;
        margin-bottom: 4px !important;
    }

    .button {
        font-size: 0.7rem !important;
        padding: 3px 8px !important;
    }

    /* Footer */
    #footer {
        padding: 12px 0 !important;
        margin-top: 1.5em !important;
    }

    #footer .inner_wrap {
        flex-direction: column !important;
    }

    #footer ul {
        flex-direction: column !important;
        align-items: center !important;
        gap: 4px !important;
    }

    #footer li.floatright {
        float: none !important;
        text-align: center !important;
    }

    #footer li.copyright {
        text-align: center !important;
    }

    /* Info Center */
    #info_center .sub_bar h4 {
        font-size: 0.8rem !important;
    }

    /* Table grids */
    .table_grid th, .table_grid td {
        padding: 4px 6px !important;
        font-size: 0.8em !important;
    }

    /* Topic listing inside board */
    .message_index_title {
        font-size: 0.9em !important;
    }

    /* Cat bar description */
    .cat_bar .desc {
        font-size: 0.8rem !important;
    }
}

/* === Phone (max-width: 600px) === */
@media (max-width: 600px) {
    /* Force single column layout */
    .boardindex_table .up_contain {
        flex-wrap: wrap !important;
    }

    .boardindex_table .board_icon {
        width: 40px !important;
    }

    .boardindex_table .info {
        width: calc(100% - 50px) !important;
        min-width: 0 !important;
    }

    .lastpost {
        display: none !important;
    }

    .board_stats {
        display: none !important;
    }

    /* Board name */
    .info .subject {
        font-size: 0.95em !important;
    }

    .info p.moderators {
        font-size: 0.75em !important;
    }

    /* Cat bar */
    .cat_bar h3 {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
    }

    div.cat_bar {
        border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important;
    }

    /* Buttons compact */
    .button {
        font-size: 0.65rem !important;
        padding: 3px 6px !important;
    }

    .buttonlist {
        gap: 2px !important;
    }

    /* Roundframe */
    .roundframe {
        padding: 10px 12px !important;
    }

    /* Topic listing */
    #topic_container .board_icon {
        width: 24px !important;
    }

    #topic_container .info {
        font-size: 0.85em !important;
    }

    /* Message/Post display */
    .post_wrapper {
        flex-direction: column !important;
    }

    .poster {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        align-items: center !important;
        padding: 8px !important;
        border-bottom: 1px solid var(--gray-200) !important;
        border-right: none !important;
    }

    .poster h4 {
        margin: 0 !important;
    }

    .postarea {
        width: 100% !important;
        padding: 8px !important;
    }

    /* Title bar */
    h3.titlebg, h4.titlebg, .titlebg {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
    }

    /* Dropmenu - hamburger style */
    .dropmenu.menu_nav > li > a {
        padding: 4px 8px !important;
        font-size: 0.75rem !important;
    }

    /* Top bar */
    #top_section {
        padding: 4px 0 !important;
    }

    #top_info > li > a,
    .dropmenu > li > a {
        padding: 2px 6px !important;
        font-size: 0.75rem !important;
    }

    /* Information box */
    .information {
        padding: 10px !important;
        font-size: 0.8em !important;
    }

    /* Inner wrap */
    #inner_section {
        padding: 6px 8px 0 8px !important;
    }
}

/* === Small Phone (max-width: 480px) === */
@media (max-width: 480px) {
    h1.forumtitle {
        font-size: 1.1em !important;
    }

    #header #top img.site-logo {
        max-width: 220px;
        max-height: 60px;
    }

    .header-brandline {
        gap: 8px;
    }

    .header-ataturk {
        width: 50px;
    }

    .header-tagline::before {
        width: 50px;
    }

    .header-tagline {
        width: auto;
    }

    .header-emblem-stack {
        width: min(100%, 300px);
        max-width: 92vw;
    }

    .header-emblem {
        width: 58px;
        height: 58px;
    }

    .header-query-badge {
        width: min(100%, 300px);
    }

    .header-tat {
        font-size: 1.18rem;
    }

    .header-tagline-text {
        font-size: 0.78rem;
    }

    /* Top info bar */
    #top_info {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 2px !important;
    }

    /* Menu nav - could overflow, wrap */
    .dropmenu.menu_nav {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .dropmenu.menu_nav > li > a {
        white-space: nowrap !important;
        padding: 3px 6px !important;
        font-size: 0.7rem !important;
    }

    /* Navigate section */
    .navigate_section ul {
        padding: 3px 8px !important;
        font-size: 0.75em !important;
    }

    .mobilicom-banner__logo {
        border-radius: 7px 20px 20px 7px;
        flex-basis: 110px;
        justify-content: center;
        padding: 4px 9px 4px 6px;
    }

    .mobilicom-banner__logo::before {
        display: none;
    }

    .mobilicom-banner__logo img {
        height: 52px;
        max-width: 104px;
    }

    .mobilicom-banner__brand {
        display: none !important;
    }

    .mobilicom-banner__copy {
        padding-right: 6px;
    }

    .mobilicom-banner__copy strong {
        white-space: normal;
    }

    .mobilicom-banner__cta {
        display: none !important;
    }

    .mobilicom-banner__signal {
        display: none;
    }

    /* Board icon even smaller */
    .boardindex_table .board_icon {
        width: 36px !important;
    }

    .board_icon a {
        width: 28px !important;
        height: 28px !important;
    }

    /* Window bg */
    .windowbg {
        padding: 8px 10px !important;
    }

    /* Select boxes on mobile */
    select {
        font-size: 0.75rem !important;
        max-width: 100% !important;
    }

    /* Footer */
    #footer li, #footer p, #footer a {
        font-size: 0.72rem !important;
    }

    /* Login/Register buttons */
    .login {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 4px !important;
    }

    /* Message area */
    .inner, .topic_details {
        padding: 6px !important;
    }

    /* Quickbuttons */
    .quickbuttons {
        flex-wrap: wrap !important;
    }

    .quickbuttons > li > a {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
    }

    /* Editor */
    .sceditor-container {
        width: 100% !important;
    }
}

/* === Extra Small Phone (max-width: 360px) === */
@media (max-width: 360px) {
    h1.forumtitle {
        font-size: 0.95em !important;
    }

    .dropmenu.menu_nav > li > a {
        font-size: 0.65rem !important;
    }

    .cat_bar h3 {
        font-size: 0.7rem !important;
    }

    .windowbg {
        padding: 6px 8px !important;
    }

    .button {
        font-size: 0.6rem !important;
        padding: 2px 4px !important;
    }
}

/* === Print Styles === */
@media print {
    #top_section, #main_menu, #footer, .buttonlist, .quickbuttons, .navigate_section {
        display: none !important;
    }
    
    #wrapper {
        box-shadow: none !important;
        border: none !important;
    }
}

/* ============================================================
   PRESERVE EXISTING CUSTOM RULES
   ============================================================ */

/* Editor button visibility */
.sceditor-button-source { display: none !important; }
.sceditor-button-maximize { display: none !important; }
.sceditor-button-image div {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1.5' y='2.5' width='13' height='11' rx='1.5' fill='%23f8fbff' stroke='%235a6b7a' stroke-width='1'/%3E%3Cpath d='M3 11l3-3 2 2 1.5-1.5L13 12' fill='none' stroke='%233b82f6' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='5' cy='5' r='1' fill='%23f59e0b'/%3E%3Cpath d='M10.5 7.5v-4M8.8 5.2l1.7-1.7 1.7 1.7' fill='none' stroke='%2316a34a' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 16px 16px !important;
}

div.sceditor-toolbar .sceditor-button-imageupload {
    width: auto !important;
    min-width: 128px;
    height: 20px;
    padding: 3px 8px !important;
    box-sizing: content-box;
}

div.sceditor-toolbar .sceditor-button-imageupload div {
    display: block !important;
    width: auto !important;
    min-width: 128px;
    height: 16px;
    margin: 2px 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #222 !important;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 16px !important;
    text-align: center;
    text-indent: 0 !important;
    background: none !important;
}

div.sceditor-toolbar .sceditor-button-customupload {
    width: auto !important;
    min-width: 128px;
    height: 20px;
    padding: 3px 9px !important;
    box-sizing: content-box;
}

div.sceditor-toolbar .sceditor-button-customupload div {
    display: block !important;
    width: auto !important;
    min-width: 128px;
    height: 16px;
    margin: 2px 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #1f2933 !important;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 16px !important;
    text-align: center;
    text-indent: 0 !important;
    background: none !important;
}

/* Kurucu / Admin red name styling */
a[href*="u=1"] { color: #FF0000 !important; font-weight: 950 !important; text-shadow: none !important; }
.poster h4 a[href*="u=1"],
.poster h4 a[href*="u=1"] .tt-name-with-badge,
.poster h4 a[href*="u=1"] span.tt-name-with-badge,
.poster h4 .tt-founder-name {
    color: #ff0000 !important;
    font-size: 1.08em !important;
    font-weight: 1000 !important;
    line-height: 1.1 !important;
    text-shadow: none !important;
}
.custom_title { display: none !important; }
.poster h4 a, .poster h4 span, .membergroup { color: inherit; }
span.kurucu-class, a.kurucu-class, .kurucu-class { color: #FF0000 !important; font-weight: bold !important; text-shadow: none !important; }

.kurucu-role-label {
    color: #ff0000 !important;
    font-weight: 900 !important;
    text-shadow: none !important;
}

/* TELEV13 CSS FIX */
.poster h4 a[href*='u=1'], 
.poster h4 a[href*='u=2'],
li.membergroup,
span.membergroup,
a.kurucu-class,
span.kurucu-class {
    color: #FF0000 !important;
    font-weight: 1000 !important;
    text-shadow: none !important;
}

/* Hayri Levi - red and bold username styling. */
a[href$=';u=2'],
a[href*=';u=2;'],
a[href*=';u=2#'],
a[href*=';u=2&'],
a[href$='?u=2'],
a[href*='?u=2&'],
a[href$=';u=2'] .tt-name-with-badge,
a[href*=';u=2;'] .tt-name-with-badge,
a[href*=';u=2#'] .tt-name-with-badge,
a[href*=';u=2&'] .tt-name-with-badge,
a[href$='?u=2'] .tt-name-with-badge,
a[href*='?u=2&'] .tt-name-with-badge {
    color: #ff0000 !important;
    font-weight: 1000 !important;
    text-shadow: none !important;
}

/* ============================================================
   BOARD ICONS — Telsiz (Walkie-Talkie) SVG Icons
   ============================================================ */

/* Base board icon override - replace sprite with inline SVG */
.board_icon a {
    background: none !important;
    width: 42px !important;
    height: 42px !important;
    display: inline-block !important;
    position: relative;
}

/* board_on = Yeni iletiler var (Active/Red Radio) */
.board_icon a.board_on {
    background: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M26 8h2v14h-2z' fill='%23C41E2A'/%3E%3Crect x='18' y='20' width='22' height='36' rx='4' fill='%23C41E2A'/%3E%3Crect x='22' y='24' width='14' height='12' rx='2' fill='%23fff'/%3E%3Ccircle cx='29' cy='44' r='4' fill='%23fff'/%3E%3Cpath d='M42 16c3 3 5 7 5 12' stroke='%23C41E2A' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M46 12c4 4 7 10 7 17' stroke='%23C41E2A' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M50 8c5 5 9 13 9 22' stroke='%23C41E2A' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* board_on2 = Yeni iletiler (alternate) */
.board_icon a.board_on2 {
    background: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M26 8h2v14h-2z' fill='%23C41E2A'/%3E%3Crect x='18' y='20' width='22' height='36' rx='4' fill='%23C41E2A'/%3E%3Crect x='22' y='24' width='14' height='12' rx='2' fill='%23fff'/%3E%3Ccircle cx='29' cy='44' r='4' fill='%23fff'/%3E%3Cpath d='M42 16c3 3 5 7 5 12' stroke='%23C41E2A' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M46 12c4 4 7 10 7 17' stroke='%23C41E2A' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M50 8c5 5 9 13 9 22' stroke='%23C41E2A' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* board_off = Okunmuş / eski iletiler (Dimmed/Gray Radio) */
.board_icon a.board_off {
    background: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M26 8h2v14h-2z' fill='%23C8C8C8'/%3E%3Crect x='18' y='20' width='22' height='36' rx='4' fill='%23C8C8C8'/%3E%3Crect x='22' y='24' width='14' height='12' rx='2' fill='%23fff'/%3E%3Ccircle cx='29' cy='44' r='4' fill='%23fff'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    opacity: 0.6;
}

/* board_redirect = Yönlendirme (Blue arrow Radio) */
.board_icon a.board_redirect {
    background: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M26 8h2v14h-2z' fill='%237a7a7a'/%3E%3Crect x='18' y='20' width='22' height='36' rx='4' fill='%237a7a7a'/%3E%3Crect x='22' y='24' width='14' height='12' rx='2' fill='%23fff'/%3E%3Ccircle cx='29' cy='44' r='4' fill='%23fff'/%3E%3Cpath d='M44 28l8-8m0 0l-8-8m8 8h-16' stroke='%237a7a7a' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Board icon hover effect */
.board_icon a:hover {
    transform: scale(1.08);
    transition: transform var(--transition-fast) !important;
}

/* === TOPIC ICONS — Inside a Board (MessageIndex) ===
   Override the small post icons (xx.png etc.) with mini telsiz icons */
#topic_container .board_icon img {
    display: none !important;
}

#topic_container .board_icon {
    position: relative;
    width: 32px !important;
}

#topic_container .board_icon::before {
    content: '';
    display: block;
    width: 24px;
    height: 30px;
    margin: 0 auto;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M26 8h2v14h-2z' fill='%23C41E2A'/%3E%3Crect x='18' y='20' width='22' height='36' rx='4' fill='%23C41E2A'/%3E%3Crect x='22' y='24' width='14' height='12' rx='2' fill='%23fff'/%3E%3Ccircle cx='29' cy='44' r='4' fill='%23fff'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Locked topics - gray icon */
#topic_container .windowbg.locked .board_icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M26 8h2v14h-2z' fill='%23999'/%3E%3Crect x='18' y='20' width='22' height='36' rx='4' fill='%23999'/%3E%3Crect x='22' y='24' width='14' height='12' rx='2' fill='%23fff'/%3E%3Ccircle cx='29' cy='44' r='4' fill='%23fff'/%3E%3C/svg%3E");
    opacity: 0.5;
}

/* Board name link color override */
.info .subject {
    color: var(--brand-primary) !important;
}

.info .subject a, .info .subject a:visited {
    color: var(--brand-primary) !important;
    font-weight: 600 !important;
}

.info .subject a:hover {
    color: var(--brand-primary-hover) !important;
}

/* Profile card refinements: larger responsive avatar, accurate location marker. */
.poster .user_info li.avatar {
    margin: 10px 0 12px !important;
}

.poster .user_info li.avatar a {
    display: inline-block !important;
}

.poster .user_info li.avatar img.avatar,
.poster .user_info li.avatar img {
    width: clamp(96px, 11vw, 150px) !important;
    height: clamp(96px, 11vw, 150px) !important;
    max-width: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

.poster .user_info li.custom.cust_loca::before {
    content: "\1F4CD ";
}

@media (max-width: 720px) {
    .poster .user_info li.avatar {
        display: block !important;
    }

    .poster .user_info li.avatar img.avatar,
    .poster .user_info li.avatar img {
        width: clamp(88px, 28vw, 132px) !important;
        height: clamp(88px, 28vw, 132px) !important;
    }
}

/* Subtle divider between username and role in post profile cards. */
.poster h4 {
    position: relative !important;
    padding-bottom: 9px !important;
    margin-bottom: 8px !important;
}

.poster h4::after {
    content: "";
    display: block;
    width: min(78%, 260px);
    height: 2px;
    margin-top: 7px;
    margin-left: 0;
    margin-right: auto;
    background: #8b111b;
    border-radius: 999px;
    opacity: 0.95;
}

@media (max-width: 720px) {
    .poster h4::after {
        width: min(72%, 220px);
    }
}

/* Right-side accent rail for post profile cards. */
.post_wrapper .poster {
    position: relative !important;
    padding-right: 22px !important;
}

.post_wrapper .poster::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 8px;
    bottom: 18px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, transparent 0%, #8b111b 12%, #c91f2f 50%, #8b111b 88%, transparent 100%);
    box-shadow: 0 0 0 1px rgba(139, 17, 27, 0.08), 0 0 10px rgba(139, 17, 27, 0.22);
    opacity: 0.9;
    pointer-events: none;
}

.post_wrapper .poster::before {
    content: "";
    position: absolute;
    top: 28px;
    right: 13px;
    bottom: 28px;
    width: 1px;
    border-radius: 999px;
    background: linear-gradient(180deg, transparent, rgba(139, 17, 27, 0.18), transparent);
    pointer-events: none;
}

@media (max-width: 720px) {
    .post_wrapper .poster {
        padding-right: 16px !important;
    }

    .post_wrapper .poster::after {
        right: 5px;
        width: 2px;
    }

    .post_wrapper .poster::before {
        display: none;
    }
}

/* Modern profile summary layout. */
#profileview.roundframe {
    display: grid !important;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
    padding: 28px !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    background: #ffffff !important;
}

#profileview #basicinfo,
#profileview #detailedinfo {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
}

#profileview #basicinfo {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 20px !important;
    border: 1px solid rgba(139, 17, 27, 0.12) !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, #fff 0%, #fff8f8 100%) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05) !important;
}

#profileview #basicinfo > * {
    max-width: 100% !important;
}

#profileview #basicinfo .username {
    width: 100% !important;
}

#profileview #basicinfo h4 {
    margin: 0 0 4px !important;
    padding: 0 0 12px !important;
    width: 100% !important;
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
    color: #222 !important;
    border-bottom: 2px solid #8b111b !important;
}

#profileview #basicinfo h4 .position {
    display: block !important;
    margin-top: 8px !important;
    font-size: 1.05rem !important;
    line-height: 1.2 !important;
}

#profileview #basicinfo img.avatar {
    display: block !important;
    width: min(100%, 260px) !important;
    height: auto !important;
    max-width: 260px !important;
    max-height: 260px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    margin: 4px auto 10px !important;
    background: #f7f7f7 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

#profileview #basicinfo .icon_fields,
#profileview #basicinfo .icon_fields li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#profileview #basicinfo #userstatus,
#profileview #basicinfo .infolinks {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.98rem !important;
}

#profileview #basicinfo .infolinks {
    color: #d32f2f !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

#profileview #detailedinfo {
    padding: 8px 0 !important;
}

#profileview #detailedinfo dl.settings {
    display: grid !important;
    grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

#profileview #detailedinfo dt,
#profileview #detailedinfo dd {
    float: none !important;
    width: auto !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.09) !important;
    box-sizing: border-box !important;
}

#profileview #detailedinfo dt {
    font-weight: 800 !important;
    color: #3d3d3d !important;
}

#profileview #detailedinfo dd {
    color: #333 !important;
}

#profileview #detailedinfo dl.settings:last-child dt:last-of-type,
#profileview #detailedinfo dl.settings:last-child dd:last-of-type {
    border-bottom: 0 !important;
}


@media (max-width: 760px) {
    #profileview.roundframe {
        grid-template-columns: 1fr !important;
        padding: 18px !important;
        gap: 18px !important;
    }

    #profileview #basicinfo {
        align-items: center !important;
        text-align: center !important;
    }

    #profileview #basicinfo h4 {
        text-align: center !important;
    }

    #profileview #detailedinfo dl.settings {
        grid-template-columns: 1fr !important;
    }

    #profileview #detailedinfo dt {
        padding-bottom: 4px !important;
        min-height: 0 !important;
        border-bottom: 0 !important;
    }

    #profileview #detailedinfo dd {
        padding-top: 0 !important;
    }
}

/* Replace profile custom-field mail marker with a non-clickable radio icon. */
#profileview #basicinfo .icon_fields {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 4px 0 2px !important;
}

#profileview #basicinfo .icon_fields li.custom_field {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 30px !important;
    color: #222 !important;
    font-weight: 500 !important;
    pointer-events: none !important;
}

#profileview #basicinfo .icon_fields li.custom_field a {
    pointer-events: none !important;
    cursor: default !important;
    color: inherit !important;
    text-decoration: none !important;
}

#profileview #basicinfo .icon_fields li.custom_field img,
#profileview #basicinfo .icon_fields li.custom_field .main_icons,
#profileview #basicinfo .icon_fields li.custom_field .main_icons::before {
    display: none !important;
    content: none !important;
    background: none !important;
}

#profileview #basicinfo .icon_fields li.custom_field::before {
    content: none !important;
    display: none !important;
    background: none !important;
    box-shadow: none !important;
}

#profileview #basicinfo .icon_fields li.custom_field.cust_cagri,
#profileview #basicinfo .icon_fields li.custom_field.cust_cagri a {
    color: #000000 !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1.5px !important;
    text-underline-offset: 3px !important;
}

#profileview #basicinfo .icon_fields li.custom_field.cust_cagri::before {
    content: none !important;
    display: none !important;
}

#profileview #basicinfo .icon_fields li.profile_pm_link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#profileview #basicinfo .icon_fields li.profile_pm_link a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    color: #8b111b !important;
    text-decoration: none !important;
}

/* Final override: the callsign image must remain visible on member profile pages. */
#profileview #basicinfo .icon_fields li.custom_field.cust_cagri img.callsign-radio-icon {
    display: inline-block !important;
    content: normal !important;
    background: transparent !important;
    width: auto !important;
    height: clamp(52px, 4vw, 70px) !important;
    max-width: 46px !important;
    margin-right: 9px !important;
    object-fit: contain !important;
    vertical-align: middle !important;
}

@media (max-width: 720px) {
    #profileview #basicinfo .icon_fields li.custom_field.cust_cagri img.callsign-radio-icon {
        height: 48px !important;
        max-width: 36px !important;
    }
}

/* One responsive star beside the Sorumlu role label. */
.sorumlu-role-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

.sorumlu-role-icon {
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: clamp(14px, 1.2vw, 20px) !important;
    height: clamp(14px, 1.2vw, 20px) !important;
    object-fit: contain !important;
    vertical-align: middle !important;
}

.poster li.membergroup .sorumlu-role-icon {
    width: clamp(16px, 1.35vw, 22px) !important;
    height: clamp(16px, 1.35vw, 22px) !important;
}

#profileview .position .sorumlu-role-icon,
.profile_group .sorumlu-role-icon {
    width: clamp(17px, 1.45vw, 24px) !important;
    height: clamp(17px, 1.45vw, 24px) !important;
}

@media (max-width: 720px) {
    .sorumlu-role-wrap {
        gap: 5px !important;
    }

    .sorumlu-role-icon,
    .poster li.membergroup .sorumlu-role-icon,
    #profileview .position .sorumlu-role-icon,
    .profile_group .sorumlu-role-icon {
        width: 18px !important;
        height: 18px !important;
    }
}

/* Callsign-first member identity. */
.tt-profile-callsign-card,
.tt-post-callsign-card {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(139, 17, 27, 0.22) !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #ffffff 0%, #fff3f4 54%, #f7f7f7 100%) !important;
    box-shadow: 0 8px 20px rgba(139, 17, 27, 0.12) !important;
    color: #151515 !important;
    letter-spacing: 0 !important;
}

.tt-profile-callsign-card {
    margin: 10px 0 2px !important;
    padding: 12px 14px !important;
}

.tt-post-callsign-card {
    margin: 0 0 12px !important;
    padding: 10px 12px !important;
}

.tt-poster-role-under-name {
    margin: 0 0 4px !important;
    color: #ff0000 !important;
    font-size: 1.08rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
}

.tt-poster-role-prefix {
    color: #8b111b !important;
    font-weight: 900 !important;
}

.poster li.tt-founder-contact-item {
    display: block !important;
    width: 100% !important;
    margin: 4px 0 10px !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.tt-founder-contact-under-role {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 9px !important;
    padding: 3px 6px !important;
    border: 1px solid rgba(139, 17, 27, 0.18) !important;
    border-radius: 8px !important;
    background: #fff7f8 !important;
    color: #8b111b !important;
    font-size: 0.58rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    white-space: normal !important;
}

.tt-founder-contact-under-role span,
.tt-founder-contact-under-role strong {
    display: inline !important;
    min-width: 0 !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.tt-founder-contact-under-role strong {
    overflow-wrap: anywhere !important;
    font-weight: 900 !important;
}

.tt-founder-contact-under-role:hover,
.tt-founder-contact-under-role:focus {
    color: #6f0d16 !important;
    border-color: rgba(139, 17, 27, 0.34) !important;
    background: #fff1f3 !important;
}

.tt-profile-callsign-card .callsign-radio-icon,
.tt-post-callsign-card .callsign-radio-icon {
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    object-fit: contain !important;
    margin: 0 !important;
    text-decoration: none !important;
}

.tt-profile-callsign-card .callsign-radio-icon {
    height: clamp(42px, 4vw, 58px) !important;
    max-width: 46px !important;
}

.tt-post-callsign-card .callsign-radio-icon {
    height: clamp(32px, 2.7vw, 42px) !important;
    max-width: 34px !important;
}

.tt-profile-callsign-card span,
.tt-post-callsign-card span {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: 0 !important;
    line-height: 1.1 !important;
}

.tt-profile-callsign-card small,
.tt-post-callsign-card small {
    margin: 0 0 5px !important;
    color: #8b111b !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
}

.tt-profile-callsign-card strong,
.tt-post-callsign-card strong {
    display: block !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    color: #111111 !important;
    font-family: 'JetBrains Mono', 'Inter', monospace !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
}

.tt-profile-callsign-card strong {
    font-size: clamp(1.35rem, 2.4vw, 2rem) !important;
}

.tt-post-callsign-card strong {
    font-size: clamp(1.05rem, 1.6vw, 1.35rem) !important;
}

.tt-profile-callsign-card__verify {
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
}

.tt-profile-callsign-card__verify img.tt-verified-check {
    margin: 0 !important;
}

.poster li.title,
.poster li.membergroup,
.poster li.icons,
.poster li.postgroup,
#profileview #basicinfo h4 .position,
.profile_group,
#memberlist th.id_group,
#memberlist td.id_group {
    display: none !important;
}

@media (max-width: 720px) {
    .tt-profile-callsign-card,
    .tt-post-callsign-card {
        justify-content: center !important;
        text-align: left !important;
    }

    .tt-profile-callsign-card .callsign-radio-icon {
        height: 44px !important;
        max-width: 38px !important;
    }

    .tt-post-callsign-card .callsign-radio-icon {
        height: 34px !important;
        max-width: 30px !important;
    }
}

/* === TAT Callsign Lookup === */
.dropmenu li.button_tatcagri > a,
.dropmenu li.button_tatcagri > a:visited {
    color: #111827 !important;
    font-weight: 800 !important;
}

.dropmenu li.button_tatcagri > a:hover,
.dropmenu li.button_tatcagri:hover > a {
    color: #8b111b !important;
}

.tt-tat-page {
    position: relative;
    margin: 18px 0 34px;
    padding: 34px 18px;
    overflow: hidden;
    background: #f3f6fa;
    border: 1px solid #d8e1ec;
}

.tt-tat-shell {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 1080px;
    margin: 0 auto;
}

.tt-tat-identity {
    position: relative;
    min-height: 294px;
    padding: 24px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #cfd8e5;
    border-top: 4px solid #b91c1c;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.tt-tat-identity::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #111827;
}

.tt-tat-flag {
    position: relative;
    width: 132px;
    aspect-ratio: 3 / 2;
    border-radius: 6px;
    background: #e30a17;
    box-shadow: 0 10px 24px rgba(127, 29, 29, 0.18);
    overflow: hidden;
}

.tt-tat-flag::before {
    content: "";
    position: absolute;
    left: 40px;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #ffffff;
}

.tt-tat-flag span::before {
    content: "";
    position: absolute;
    left: 52px;
    top: 50%;
    width: 35px;
    height: 35px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #e30a17;
}

.tt-tat-flag span::after {
    content: "";
    position: absolute;
    left: 80px;
    top: 50%;
    width: 25px;
    height: 25px;
    transform: translateY(-50%) rotate(-18deg);
    background: #ffffff;
    clip-path: polygon(50% 0, 61% 34%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 34%);
}

.tt-tat-seal {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 24px 0 18px;
    color: #8b111b;
    background: #f8fafc;
    border: 2px solid #d7e0ea;
    box-shadow: inset 0 0 0 8px #ffffff;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0;
}

.tt-tat-org {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tt-tat-org span {
    color: #4b5563;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.tt-tat-org strong {
    color: #111827;
    font-size: 1.28rem;
    line-height: 1.25;
}

.tt-tat-identity-foot {
    display: inline-flex;
    width: fit-content;
    min-height: 30px;
    align-items: center;
    margin-top: 24px;
    padding: 0 11px;
    border-radius: 6px;
    background: #111827;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
}

.tt-tat-panel {
    min-width: 0;
    padding: 30px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #cfd8e5;
    border-top: 4px solid #111827;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.tt-tat-heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}

.tt-tat-eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.tt-tat-heading h1 {
    margin: 0;
    color: #111827;
    font-size: 1.9rem;
    line-height: 1.12;
    letter-spacing: 0;
}

.tt-tat-form label {
    display: block;
    margin-bottom: 10px;
    color: #374151;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

.tt-tat-inputrow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 138px;
    gap: 10px;
}

.tt-tat-inputrow input {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid #9aa8bb;
    border-radius: 8px;
    background: #f9fbfd;
    color: #111827;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    box-sizing: border-box;
}

.tt-tat-inputrow input:focus {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.16);
    outline: none;
}

.tt-tat-inputrow button {
    min-height: 52px;
    border: 0;
    border-radius: 8px;
    background: #991b1b;
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0;
    transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.tt-tat-inputrow button:hover,
.tt-tat-inputrow button:focus {
    background: #b91c1c;
    box-shadow: 0 10px 20px rgba(139, 17, 27, 0.22);
    transform: translateY(-1px);
}

.tt-tat-inputrow button:disabled {
    cursor: progress;
    background: #6b7280;
    box-shadow: none;
    transform: none;
}

.tt-tat-note {
    margin: 14px 0 0;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.55;
}

.tt-tat-status {
    min-height: 26px;
    margin-top: 18px;
    color: #0f172a;
    font-size: 0.96rem;
    font-weight: 800;
}

.tt-tat-result {
    margin-top: 12px;
    padding: 18px 20px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #d7e0ea;
    border-left: 5px solid #b91c1c;
}

.tt-tat-answer {
    color: #111827;
    font-size: 1rem;
    line-height: 1.7;
}

.tt-tat-answer strong {
    color: #7f1d1d;
    font-weight: 900;
}

.tt-tat-error {
    color: #991b1b;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .tt-tat-page {
        margin: 12px 0 26px;
        padding: 18px 12px;
    }

    .tt-tat-shell {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tt-tat-identity {
        min-height: 0;
        padding: 18px;
    }

    .tt-tat-flag {
        width: 110px;
    }

    .tt-tat-seal {
        width: 68px;
        height: 68px;
        margin: 18px 0 14px;
        font-size: 1.18rem;
    }

    .tt-tat-org strong {
        font-size: 1.12rem;
    }

    .tt-tat-panel {
        padding: 18px;
    }

    .tt-tat-heading h1 {
        font-size: 1.55rem;
    }

    .tt-tat-inputrow {
        grid-template-columns: 1fr;
    }

    .tt-tat-inputrow button {
        width: 100%;
    }
}

/* ==========================================================================
   Splash Overlay Screen (Splash Screen Banner Intro)
   ========================================================================== */
.tt-splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background: rgba(15, 23, 42, 0.82); /* Deep dark premium backdrop */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    visibility: visible;
}

.tt-splash-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.tt-splash-container {
    max-width: 760px;
    width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transform: scale(1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tt-splash-overlay.is-hidden .tt-splash-container {
    transform: scale(0.9);
}

.tt-app-promo.tt-splash-promo {
    border-radius: 12px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6) !important;
    border: 2px solid rgba(255, 255, 255, 0.18) !important;
    overflow: hidden !important;
    width: 100% !important;
    margin: 0 !important;
}

.tt-splash-timer {
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    background: rgba(255, 255, 255, 0.12) !important;
    padding: 10px 24px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    animation: ttSplashTimerPulse 2s infinite !important;
}

#tt-splash-seconds {
    color: #f87171 !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    display: inline-block !important;
    min-width: 14px !important;
}

.tt-splash-close {
    position: absolute !important;
    top: 24px !important;
    right: 24px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 300 !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: background 0.2s, transform 0.2s, color 0.2s !important;
    padding: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.tt-splash-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #f87171 !important;
    transform: scale(1.05) !important;
}

@keyframes ttSplashTimerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* BBCode Table Styles */
.bbc_table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
    background-color: #0f172a;
    border-radius: 8px;
    overflow: hidden;
}
.bbc_table td, .bbc_table th {
    border: 1px solid #334155;
    padding: 12px 16px;
    text-align: left;
    color: #e2e8f0;
}
.bbc_table tr:nth-child(even) td {
    background-color: #1e293b;
}
.bbc_table tr:nth-child(odd) td {
    background-color: #0f172a;
}



/* Kurumsal sayfa baglantilari - footer (tt-footer-legal) */
#footer li.tt-footer-legal { display: block; float: none; margin-top: 6px; }
#footer li.tt-footer-legal a { color: #fff; opacity: .85; text-decoration: none; }
#footer li.tt-footer-legal a:hover { opacity: 1; text-decoration: underline; }
#footer li.tt-footer-legal span { opacity: .45; margin: 0 4px; }
@media (max-width: 480px) {
	#footer li.tt-footer-legal { line-height: 1.9; }
}

/* Kurumsal sayfalarin okunabilirligi (tt-legal-page) */
.tt-legal-page { line-height: 1.65; }
.tt-legal-page h4 { margin: 22px 0 6px; font-size: 1.05em; }
.tt-legal-page h4:first-of-type { margin-top: 12px; }
.tt-legal-page p { margin: 0 0 10px; }
.tt-legal-page ul.bbc_list { margin: 0 0 12px 22px; }
.tt-legal-page ul.bbc_list li { margin-bottom: 4px; }
.tt-legal-page .noticebox { margin: 12px 0; }
