
/* ═════════ DESTEK TALEBİ (2026-10-07) ═════════
      Yüzen düğme her sayfada (Destek sayfası hariç) sağ altta; açılan pencerelerin
      (z-index 998+) ALTINDA kalır. Form Destek sayfasının parşömeninde (#ticket). */
.tk-fab {
    position: fixed; right: 22px; bottom: 22px; z-index: 900;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px 10px 10px; border-radius: 999px;
    background: linear-gradient(180deg, #f6dc8f 0%, #d6a945 48%, #9c6f1d 100%);
    border: 1px solid #f8e3a0; color: #2a1606; text-decoration: none;
    font-family: 'Cinzel', serif; font-weight: 800; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(0,0,0,0.55), 0 0 0 3px rgba(122,24,16,0.85), 0 0 16px rgba(240,212,138,0.35);
    animation: tkGlow 2.8s ease-in-out infinite;
    transition: transform .15s, filter .15s;
}
.tk-fab:hover { transform: translateY(-2px); filter: brightness(1.07); color: #2a1606; }
.tk-fab__ico {
    width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center;
    border-radius: 50%; background: var(--red-grad); color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35), 0 1px 3px rgba(0,0,0,0.4);
}
.tk-fab__ico svg { width: 17px; height: 17px; }
.tk-fab__badge {
    position: absolute; top: -7px; right: -5px; min-width: 21px; height: 21px; padding: 0 6px;
    border-radius: 11px; background: #e0322a; color: #fff; text-align: center;
    font: 700 11px/21px 'Inter', sans-serif; letter-spacing: 0;
    box-shadow: 0 0 0 2px #2a1606;
}
@keyframes tkGlow {
    0%, 100% { box-shadow: 0 6px 18px rgba(0,0,0,0.55), 0 0 0 3px rgba(122,24,16,0.85), 0 0 12px rgba(240,212,138,0.30); }
    50%      { box-shadow: 0 6px 18px rgba(0,0,0,0.55), 0 0 0 3px rgba(178,42,31,0.95), 0 0 26px rgba(240,212,138,0.75); }
}
@media (prefers-reduced-motion: reduce) { .tk-fab { animation: none; } }
/* Sayfa ~1160 px: 1600 px altinda yazili dugme sag sutunun ustune biner → yuvarlak simge,
           ustune gelince yazi acilir. Genis ekranda yazili hali kenar boslugunda durur. */
@media (max-width: 1599px) {
    .tk-fab { padding: 9px; gap: 0; }
    .tk-fab__txt { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .25s, margin .25s; }
    .tk-fab:hover .tk-fab__txt, .tk-fab:focus-visible .tk-fab__txt { max-width: 240px; margin: 0 10px; }
}
@media (max-width: 640px) {
    .tk-fab { right: 14px; bottom: 14px; padding: 9px; }
    .tk-fab__txt { display: none; }
}
.lang-ar .tk-fab { right: auto; left: 22px; }
@media (max-width: 640px) { .lang-ar .tk-fab { left: 14px; } }

.tk {
    margin: 0 0 28px; padding: 18px 18px 16px;
    background: rgba(255,248,225,0.55); border: 1px solid var(--parch-edge); border-radius: 6px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
    scroll-margin-top: 16px;
}
.tk-intro { margin: 0 0 12px; color: var(--ink-soft); }
.tk-login { text-align: center; padding: 10px 0 4px; }
.tk-login p { margin: 0 0 12px; }
.tk-login__btn { display: inline-block; width: auto; padding: 9px 30px; text-decoration: none; }
.jpage-text a.tk-login__btn, .jpage-text a.tk-login__btn:hover { color: #fff; border-bottom: 0; }
.tk-login__reg { display: inline-block; margin-left: 14px; color: var(--red); font-weight: 700; border-bottom: 1px dotted var(--red); }
.tk-tabs { display: flex; gap: 6px; }
.tk-tab {
    padding: 9px 18px; cursor: pointer;
    font-family: 'Cinzel', serif; font-weight: 700; font-size: 12px; letter-spacing: 1px;
    color: var(--ink); background: rgba(255,255,255,0.45);
    border: 1px solid var(--gold-deep); border-bottom: 0; border-radius: 4px 4px 0 0;
}
.tk-tab:hover { background: rgba(199,155,62,0.22); }
.tk-tab.active { background: linear-gradient(180deg, var(--gold-light), var(--gold)); }
.tk-tab.has-unread::after { content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: var(--red); vertical-align: middle; }
.tk-pane { border: 1px solid var(--gold-deep); border-radius: 0 4px 4px 4px; padding: 16px; background: rgba(255,255,255,0.40); }
.tk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tk-field { margin-bottom: 12px; }
.tk-field label { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink); }
.tk-field input, .tk-field select, .tk-field textarea {
    width: 100%; padding: 9px 11px; background: #fff; color: var(--ink);
    border: 1px solid var(--parch-edge); border-radius: 3px; font: 13px 'Inter', sans-serif; outline: none;
}
.tk-field input:focus, .tk-field select:focus, .tk-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,155,62,0.18); }
.tk-field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.tk-reply .tk-field textarea { min-height: 90px; }
.tk-count { margin-top: 3px; font-size: 11px; color: var(--ink-mute); text-align: right; }
.tk-photos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.tk-addphoto {
    padding: 9px 14px; cursor: pointer; color: var(--ink); font-weight: 700; font-size: 12px;
    background: rgba(255,255,255,0.65); border: 1px dashed var(--gold-deep); border-radius: 4px;
}
.tk-addphoto:hover { background: #fff; }
.tk-addphoto:disabled { opacity: .45; cursor: default; }
.tk-photos__note { font-size: 11px; color: var(--ink-mute); }
.tk-thumb { position: relative; width: 72px; height: 72px; border: 1px solid var(--parch-edge); border-radius: 4px; overflow: hidden; background: #fff; }
.tk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tk-thumb__rm {
    position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; padding: 0; cursor: pointer;
    border: 0; border-radius: 50%; background: rgba(42,22,6,0.8); color: #fff; font-size: 14px; line-height: 20px;
}
.tk-send { margin-top: 2px; }
.tk-empty { margin: 4px 0; color: var(--ink-dim); text-align: center; }
.tk-item {
    width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding: 10px 12px;
    text-align: left; cursor: pointer; font: inherit; color: var(--ink);
    background: rgba(255,255,255,0.6); border: 1px solid var(--parch-edge); border-radius: 4px;
}
.tk-item:hover { border-color: var(--gold); background: #fff; }
.tk-item__id { font-weight: 800; color: var(--red); white-space: nowrap; }
.tk-item__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tk-item__subj { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-item__meta { font-size: 11.5px; color: var(--ink-mute); }
.tk-dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(178,42,31,0.18); }
.tk-badge { flex: 0 0 auto; padding: 3px 9px; border-radius: 10px; font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; }
.tk-badge--open     { background: #f6e7bd; color: #7a5410; border: 1px solid #d6b45e; }
.tk-badge--answered { background: #dff2d8; color: #2a6a1f; border: 1px solid #98d188; }
.tk-badge--closed   { background: #e7e1d6; color: #6b6256; border: 1px solid #c9bfae; }
.tk-link { margin-bottom: 10px; padding: 0; cursor: pointer; background: none; border: 0; color: var(--red); font: inherit; font-weight: 700; }
.tk-detail__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.tk-detail__title { font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.tk-thread { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.tk-bubble { max-width: 86%; padding: 10px 12px; border: 1px solid var(--parch-edge); border-radius: 8px; background: #fffaf0; }
.tk-bubble--user  { align-self: flex-end; background: #fff6df; }
.tk-bubble--staff { align-self: flex-start; background: #f1f7ec; border-color: #9cc48e; }
.tk-bubble__meta { margin-bottom: 4px; font-size: 11px; font-weight: 700; color: var(--ink-mute); }
.tk-bubble--staff .tk-bubble__meta { color: #2a6a1f; }
.tk-bubble__text { white-space: pre-wrap; overflow-wrap: anywhere; }
.tk-bubble__imgs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tk-bubble__imgs img { width: 96px; height: 96px; object-fit: cover; display: block; border: 1px solid var(--parch-edge); border-radius: 4px; }
.tk-actions { display: flex; gap: 10px; align-items: stretch; }
.tk-actions .btn-red { flex: 1; }
.tk-ghost {
    padding: 8px 16px; cursor: pointer; white-space: nowrap;
    font-family: 'Cinzel', serif; font-weight: 700; font-size: 12px; letter-spacing: 1px;
    color: var(--ink); background: rgba(255,255,255,0.6); border: 1px solid var(--parch-edge); border-radius: 3px;
}
.tk-ghost.armed { color: #fff; background: #8a1a14; border-color: #5a0e0a; }
.tk-closed { margin: 6px 0 0; padding: 10px 12px; text-align: center; color: var(--ink-dim); background: rgba(0,0,0,0.04); border: 1px dashed var(--parch-edge); border-radius: 4px; }
@media (max-width: 560px) {
    .tk { padding: 14px 12px; }
    .tk-row { grid-template-columns: 1fr; gap: 0; }
    .tk-pane { padding: 12px 10px; }
    .tk-bubble { max-width: 100%; }
    .tk-actions { flex-direction: column; }
    /* dar ekranda durum etiketi alt satira: konu ve tarih tam genislik kullansin */
    .tk-item { flex-wrap: wrap; row-gap: 6px; column-gap: 10px; }
    .tk-item__main { flex: 1 1 calc(100% - 70px); }
    .tk-item .tk-badge { margin-left: auto; }
    .tk-item .tk-dot { order: 2; }
}
.lang-ar .tk { direction: rtl; text-align: right; }
.lang-ar .tk-item { text-align: right; }
.lang-ar .tk-count { text-align: left; }
.lang-ar .tk-bubble--user  { align-self: flex-start; }
.lang-ar .tk-bubble--staff { align-self: flex-end; }
.lang-ar .tk-login__reg { margin-left: 0; margin-right: 14px; }
.lang-ar .tk-tab.has-unread::after { margin-left: 0; margin-right: 6px; }

/* ═════════ BAKIM NOTLARI (2026-10-07) — /?page=maintenance ═════════ */
.mt-text { overflow-wrap: anywhere; }
.mt-sched {
    display: flex; gap: 14px; align-items: flex-start; margin: 0 0 22px; padding: 16px 18px;
    background: rgba(255,248,225,0.6); border: 1px solid var(--parch-edge); border-left: 4px solid var(--gold-deep); border-radius: 6px;
}
.mt-sched__ico {
    flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
    background: var(--red-grad); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35), 0 1px 3px rgba(0,0,0,0.35);
}
.mt-sched__ico svg { width: 21px; height: 21px; }
.jpage-text .mt-sched h3 { margin: 0 0 4px; }
.mt-sched p { margin: 0; }
.mt-notice {
    display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; padding: 12px 14px;
    background: #fff4d6; border: 1px solid #e0b85a; border-left: 4px solid #c98a12; border-radius: 6px; color: #4a3008;
}
.mt-notice__ico { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; color: #c98a12; }
.jpage-text .mt-items { margin: 0 0 10px; padding: 0; list-style: none; counter-reset: mt; }   /* .jpage-text ol'un 22px girintisini ezer */
.jpage-text .mt-items li {
    position: relative; margin: 0 0 8px; padding: 10px 12px 10px 46px;
    background: rgba(255,255,255,0.55); border: 1px solid var(--parch-edge); border-radius: 6px;
    counter-increment: mt;
}
.mt-items li::before {
    content: counter(mt); position: absolute; left: 12px; top: 9px;
    width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%;
    background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #2a1606;
    font: 800 12px/1 'Inter', sans-serif; box-shadow: inset 0 0 0 1px rgba(122,84,16,0.45);
}
.jpage-text .mt-disc {
    margin: 10px 0 0; padding: 10px 12px; font-size: 12.5px; font-style: italic; color: var(--ink-soft);
    background: rgba(0,0,0,0.035); border: 1px dashed var(--parch-edge); border-radius: 4px;
}
.mt-empty { margin: 4px 0 10px; color: var(--ink-dim); }
.mt-cta {
    margin: 26px 0 0; padding: 16px 18px; text-align: center;
    background: rgba(255,248,225,0.55); border: 1px solid var(--parch-edge); border-radius: 6px;
}
.jpage-text .mt-cta h3 { margin-top: 0; }
.jpage-text .mt-cta p { margin: 0 0 10px; }
.mt-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 14px; }
.mt-cta__btns:last-child { margin-bottom: 0; }
.jpage-text a.mt-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 22px; border-radius: 3px; border-bottom: 0;
    color: #fff; text-decoration: none; font-family: 'Cinzel', serif; font-weight: 700; letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.jpage-text a.mt-btn:hover { filter: brightness(1.08); color: #fff; }
.mt-btn svg { width: 18px; height: 18px; flex: none; }
.mt-btn--ticket { background: var(--red-grad); }
.mt-btn--wa { background: linear-gradient(180deg, #2fd46b, #128c3e); }
.mt-btn--dc { background: linear-gradient(180deg, #5865f2, #3a4dd0); }
.jpage-text .mt-updated { margin: 16px 0 0; font-size: 12px; color: var(--ink-mute); text-align: right; }
@media (max-width: 560px) {
    .mt-sched { padding: 12px; gap: 10px; }
    .jpage-text .mt-items li { padding-left: 42px; }
    .jpage-text a.mt-btn { width: 100%; justify-content: center; }
}
.lang-ar .mt-sched, .lang-ar .mt-notice, .lang-ar .mt-items li, .lang-ar .mt-disc { direction: rtl; text-align: right; }
.lang-ar .mt-sched { border-left: 1px solid var(--parch-edge); border-right: 4px solid var(--gold-deep); }
.lang-ar .mt-notice { border-left: 1px solid #e0b85a; border-right: 4px solid #c98a12; }
.lang-ar .jpage-text .mt-items li { padding: 10px 46px 10px 12px; }
.lang-ar .mt-items li::before { left: auto; right: 12px; }
.lang-ar .mt-cta { direction: rtl; }
.lang-ar .jpage-text .mt-cta p { text-align: center; }
.lang-ar .jpage-text .mt-updated { text-align: left; }

/***************/
section.card {
    max-width: 880px;
    margin: 0 auto;
}
.page-pad > div > .card {
    max-width: 880px;
    margin: 0 auto;
}
/* ═════════ PARCHMENT CARD (unified panel) ═════════ */
.card {
    background: linear-gradient(180deg, var(--parch-light) 0%, var(--parch) 100%);
    border: 1px solid var(--gold);
    border-radius: 4px;
    margin-bottom: 12px;
    box-shadow: inset 0 0 0 1px rgba(255,240,200,0.45), 0 2px 8px rgba(0,0,0,0.55);
    position: relative;
}
.card::before, .card::after {
    content: ''; position: absolute;
    width: 10px; height: 10px;
    border: 1px solid var(--gold-deep);
    pointer-events: none;
}
.card::before { top: 3px; left: 3px; border-right: 0; border-bottom: 0; }
.card::after  { bottom: 3px; right: 3px; border-left: 0; border-top: 0; }
.card .card-header {
    display: flex; align-items: center; justify-content: start;
    padding: 7px 12px;
    border-bottom: 1px solid var(--parch-edge);
    background: linear-gradient(180deg, rgba(184,144,96,0.18) 0%, rgba(184,144,96,0.04) 100%);
}
.card .card-header {
    display: flex; align-items: center; gap: 6px;
    font-family: 'Cinzel', serif;
    color: var(--ink);
    text-align: left;
    font-size: 12px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
}
.card .card-header::before { content: '+'; color: var(--ink-soft); font-weight: 800; font-size: 13px; }
/*
.p-card__more {
    font-size: 10px; color: var(--ink-dim);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.p-card__more::after { content: ' ›'; color: var(--gold-deep); font-weight: 700; }
.p-card__more:hover { color: var(--red-dark); }
*/
.card .card-body { padding: 10px 12px 12px; }
/************/
/* Rankings table */
.table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(180deg, #fbf2d0 0%, #ecdab2 100%);
    border: 1px solid var(--gold-deep);
    box-shadow: inset 0 0 0 1px rgba(255,240,200,0.45), 0 2px 6px rgba(0,0,0,0.3);
}
.table thead {
    background: linear-gradient(180deg, #3a2410 0%, #1a0e07 100%);
}
.table th {
    padding: 12px 14px;
    color: #f5d36a;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-align: left;
    text-shadow: 0 1px 0 #000;
}
.table th.c { text-align: center; }
.table th.r { text-align: right; }
.table tbody tr {
    border-bottom: 1px solid rgba(122,90,58,0.25);
    transition: background 0.12s;
}
.table tbody tr:hover { background: rgba(255,240,200,0.45); }
.table tbody tr:last-child { border-bottom: 0; }
.table td {
    padding: 10px 14px;
    color: var(--ink);
    font-size: 13px;
    vertical-align: middle;
}
.table td.c { text-align: center; }
.table td.r { text-align: right; }
/* Rank cell with medal circle for top 3 */
.table .rank-cell {
    width: 60px;
    text-align: center;
}
/*
.rk-medal {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 13px;
    border: 2px solid;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.25), inset 0 2px 4px rgba(255,255,255,0.35), 0 1px 3px rgba(0,0,0,0.35);
}
.rk-medal--1 {
    background: radial-gradient(circle at 35% 30%, #fff7d0, #f5d36a 45%, #c89820 80%);
    border-color: #6a4810;
    color: #3a2010;
}
.rk-medal--2 {
    background: radial-gradient(circle at 35% 30%, #ffffff, #e0e0e0 45%, #989898 80%);
    border-color: #4a4a4a;
    color: #1a1a1a;
}
.rk-medal--3 {
    background: radial-gradient(circle at 35% 30%, #ffd0a0, #d4954a 45%, #8a4a18 80%);
    border-color: #4a2410;
    color: #2a1004;
}
.rk-rank-plain {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--ink-soft);
    font-size: 13px;
}
.rk-race {
    display: inline-block;
    padding: 3px 10px;
    font-family: 'Cinzel', serif;
    font-size: 10px; font-weight: 800;
    letter-spacing: 1.3px;
    border-radius: 2px;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,0.4);
    border: 1px solid;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}
.rk-race--ch { background: linear-gradient(180deg, #d8323a, #8a141a); border-color: #5a0e14; }
.rk-race--eu { background: linear-gradient(180deg, #4a82d8, #1a3a7a); border-color: #0e2050; }
.rk-name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--brown);
    font-size: 14px;
    letter-spacing: 0.3px;
}
.rk-name a { color: inherit; }
.rk-name a:hover { color: var(--red); }
.rk-class {
    color: var(--ink-dim);
    font-size: 13px;
    font-style: italic;
    font-weight: 500;
}
.rk-lvl {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--brown);
    font-size: 14px;
}
.rk-score {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    color: var(--brown);
    font-size: 14px;
}
.rk-guild {
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 600;
}
.rk-guild--none { color: var(--ink-mute); font-style: italic; }

@media (max-width: 720px) {
    .rk-tabs { grid-template-columns: repeat(2, 1fr); }
    .rk-tab { padding: 10px 6px; font-size: 10px; letter-spacing: 0.8px; }
    .rk-podium { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
    .rk-pod--gold { transform: none; order: -1; }
    .rk-table th, .rk-table td { padding: 7px 8px; font-size: 11px; }
    .rk-class { display: none; }
}
*/
.table>:not(caption)>*>* {
    background-color: inherit;
    box-shadow: none;
}
.table.table-inventory {
    background: none;
    box-shadow: none;
    border: none;
}
.table.table-inventory tr,
.table.table-inventory td,
.table.table-inventory th {
    background: none !important;
    border: none !important;
}
/***********/
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
section.card .col-lg-6:nth-of-type(2) img.d-inline-block.align-middle {
    display: none !important;
}
.news-list,
.rank-list {
    padding-left: 0;
    margin-bottom: 0;
}
