
.tk-container {
    font-family: "Inter", sans-serif;
    color: #ece4d3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}
.tk-container h1 { font-family: "Cinzel", serif; }
 
.tk-header { text-align: center; margin-bottom: 26px; }
.tk-header h1 { font-size: 1.9rem; font-weight: 600; color: #ece4d3; margin: 0 0 8px; }
.tk-header p { color: #948c7a; font-size: 0.95rem; margin: 0; }
 
.tk-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
    align-items: center;
    background: #15110d;
    border: 1px solid rgba(201, 162, 39, 0.16);
    border-radius: 4px;
    padding: 14px;
}
.tk-search { flex: 1; min-width: 220px; }
.tk-search input {
    width: 100%;
    padding: 11px 16px;
    background: #0b0908;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 3px;
    color: #ece4d3;
    outline: none;
}
.tk-search input::placeholder { color: #948c7a; }
.tk-search input:focus-visible { border-color: #e0b84a; }
 
.tk-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.tk-filter-btn {
    background: #0b0908;
    border: 1px solid rgba(201, 162, 39, 0.2);
    color: #948c7a;
    padding: 9px 14px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.82rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tk-filter-btn:hover { color: #ece4d3; border-color: rgba(201, 162, 39, 0.4); }
.tk-filter-btn.active[data-filter="all"]  { background: #ab8226; border-color: #ab8226; color: #14100a; }
.tk-filter-btn.active[data-filter="easy"] { background: #2f9e6a; border-color: #2f9e6a; color: #0b0908; }
.tk-filter-btn.active[data-filter="mid"]  { background: #ab8226; border-color: #ab8226; color: #14100a; }
.tk-filter-btn.active[data-filter="hard"] { background: #b8402f; border-color: #b8402f; color: #ece4d3; }
 
.tk-count { text-align: center; color: #948c7a; font-size: 0.82rem; margin-bottom: 14px; }
.tk-count strong { color: #e0b84a; }
 
.tk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}
 
.tk-card {
    background: #15110d;
    border: 1px solid rgba(201, 162, 39, 0.16);
    border-radius: 4px;
    padding: 16px 18px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.tk-card:hover { border-color: #ab8226; transform: translateY(-2px); }
 
.tk-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.tk-name { font-family: "Cinzel", serif; font-weight: 600; color: #ece4d3; font-size: 1.05rem; line-height: 1.3; }
 
.tk-lvl-badge { padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; white-space: nowrap; display: inline-block; flex-shrink: 0; }
.lvl-easy { background: rgba(47, 158, 106, 0.14); color: #2f9e6a; }
.lvl-mid  { background: rgba(201, 162, 39, 0.14); color: #e0b84a; }
.lvl-hard { background: rgba(184, 64, 47, 0.14); color: #b8402f; }
 
.tk-count-line { color: #948c7a; font-size: 0.82rem; margin-bottom: 12px; }
.tk-count-line strong { color: #ece4d3; }
 
.tk-stats-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(201, 162, 39, 0.1);
}
.tk-stat { text-align: left; }
.tk-stat:last-child { text-align: right; }
.tk-stat-label { display: block; font-size: 0.68rem; color: #948c7a; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.tk-reward { color: #e0b84a; font-size: 0.85rem; font-weight: 600; }
.tk-exp { color: #ece4d3; font-size: 0.85rem; }
 
.tk-empty { text-align: center; color: #948c7a; padding: 40px; background: #15110d; border: 1px solid rgba(201, 162, 39, 0.16); border-radius: 4px; }
 
.tk-footer { text-align: center; margin-top: 26px; }
.tk-btn-back {
    color: #948c7a;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}
.tk-btn-back:hover { color: #e0b84a; }
