/*
|--------------------------------------------------------------------------
| GLOBAL
|--------------------------------------------------------------------------
*/

* {
    box-sizing: border-box;
    font-family: "Be Vietnam Pro", sans-serif;
}

body {

    margin: 0;
    padding: 0;

    background: var(--tk-bg);

    color: var(--tk-text);

    font-family: Arial, sans-serif;

    line-height: 1.8;
}

a {

    text-decoration: none;

    color: var(--tk-primary);

    transition: 0.2s;
}

a:hover {

    opacity: 0.85;
}

img {

    max-width: 100%;
}

/*
|--------------------------------------------------------------------------
| LOGIN BAR
|--------------------------------------------------------------------------
*/

.tk-login-bar {

    width: 100%;

    background: var(--tk-bg-dark);

    border-bottom: 1px solid var(--tk-border);

    padding: 20px 30px;

    margin-bottom: 40px;
}

.tk-login-form {

    width: 100%;

    max-width: 1400px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}

.tk-login-form input {

    height: 48px;

    min-width: 220px;

    padding: 0 16px;

    border: 1px solid var(--tk-border);

    background: var(--tk-bg);

    color: var(--tk-text);

    border-radius: 12px;

    outline: none;
}

.tk-login-form input:focus {

    border-color: var(--tk-primary);
}

.tk-login-form button,
.tk-register-button {

    height: 48px;

    padding: 0 24px;

    border: none;

    border-radius: 12px;

    font-weight: bold;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    justify-content: center;
}

.tk-login-form button {

    background: var(--tk-primary);

    color: #fff;
}

.tk-register-button {

    background: var(--tk-register);

    color: #fff;
}

.tk-user-bar {

    width: 100%;

    max-width: 1400px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

    color: var(--tk-text);
}

.tk-user-bar strong {

    color: var(--tk-warning);
}

.tk-user-bar a {

    color: var(--tk-primary);
}

/*
|--------------------------------------------------------------------------
| HOME
|--------------------------------------------------------------------------
*/

.tk-home-wrapper {

    width: 100%;

    min-height: 100vh;

    padding: 0 20px 40px 20px;
}

.tk-home-grid {

    width: 100%;

    max-width: 1300px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));

    gap: 25px;
}

.tk-home-card {

    background: var(--tk-bg-soft);

    border: 1px solid var(--tk-border);

    border-radius: 20px;

    min-height: 280px;

    padding: 40px 25px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    transition: 0.25s;
}

.tk-home-card:hover {

    transform: translateY(-5px);

    border-color: var(--tk-primary);

    box-shadow: var(--tk-shadow-primary);
}

.tk-home-icon {

    font-size: 68px;

    margin-bottom: 20px;
}

.tk-home-title {

    font-size: 30px;

    font-weight: bold;

    color: var(--tk-text);

    margin-bottom: 12px;
}

.tk-home-desc {

    color: var(--tk-text-muted);

    font-size: 16px;

    line-height: 1.8;
}

/*
|--------------------------------------------------------------------------
| STORY
|--------------------------------------------------------------------------
*/

.story-container {

    width: 100%;

    max-width: 1100px;

    margin: auto;

    padding: 30px 20px;
}

.story-container h1 {

    font-size: 40px;

    margin-bottom: 25px;
}

.story-container ul {

    margin: 0;
    padding: 0;

    list-style: none;
}

.story-container li {

    border-bottom: 1px solid var(--tk-border);
}

.story-container li a {

    display: block;

    padding: 16px 20px;

    font-size: 18px;
}

.story-container li a:hover {

    background: rgba(255,255,255,0.03);
}

/*
|--------------------------------------------------------------------------
| READING
|--------------------------------------------------------------------------
*/

.tk-reading-wrapper {

    width: 100%;

    max-width: 1000px;

    margin: auto;

    padding: 20px;
}

.tk-reading-header {

    margin-bottom: 30px;
}

.tk-reading-header h1 {

    margin-top: 15px;

    font-size: 38px;

    line-height: 1.4;
}

/*
|--------------------------------------------------------------------------
| CONTENT
|--------------------------------------------------------------------------
*/

.tk-chapter-content,
.tk-preview-content {
    background: var(--tk-bg-soft);
    border: 1px solid var(--tk-border);
    border-radius: 21px;
    padding: 35px;
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

.tk-chapter-content p {

    margin: 25px 0;
}

.tk-preview-content {

    position: relative;

    overflow: hidden;

    max-height: 320px;
}

.tk-preview-content::after {

    content: '';

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 140px;

    background: linear-gradient(
        to bottom,
        rgba(17,17,17,0),
        rgba(17,17,17,1)
    );
}

/*
|--------------------------------------------------------------------------
| LOCK BOX
|--------------------------------------------------------------------------
*/

.tk-lock-box {

    background: var(--tk-bg-soft-2);

    border: 1px solid var(--tk-border);

    border-radius: 18px;

    padding: 30px;

    text-align: center;
}

.tk-lock-box strong {

    color: var(--tk-error-text);
}

.tk-lock-box button {

    margin-top: 15px;

    background: var(--tk-warning);

    color: #111;

    border: none;

    padding: 14px 28px;

    border-radius: 12px;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;
}

/*
|--------------------------------------------------------------------------
| NAVIGATION
|--------------------------------------------------------------------------
*/

.tk-reading-navigation {

    display: flex;

    justify-content: space-between;

    gap: 15px;

    margin: 30px 0;

    flex-wrap: wrap;
}

.tk-nav-button {

    background: var(--tk-bg-soft);

    border: 1px solid var(--tk-border);

    border-radius: 12px;

    padding: 14px 22px;

    color: var(--tk-text);
}

.tk-nav-button:hover {

    background: var(--tk-bg-soft-2);
}

/*
|--------------------------------------------------------------------------
| ALERT
|--------------------------------------------------------------------------
*/

.tk-success,
.tk-error {

    padding: 16px 20px;

    border-radius: 12px;

    margin-bottom: 20px;
}

.tk-success {

    background: var(--tk-success-bg);

    color: var(--tk-success-text);
}

.tk-error {

    background: var(--tk-error-bg);

    color: var(--tk-error-text);
}

/*
|--------------------------------------------------------------------------
| TABLE
|--------------------------------------------------------------------------
*/

table {

    width: 100%;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .tk-login-bar {

        padding: 20px 15px;
    }

    .tk-login-form {

        flex-direction: column;

        align-items: stretch;
    }

    .tk-login-form input,
    .tk-login-form button,
    .tk-register-button {

        width: 100%;
    }

    .tk-home-card {

        min-height: 220px;

        padding: 30px 20px;
    }

    .tk-home-title {

        font-size: 24px;
    }

    .tk-home-icon {

        font-size: 52px;
    }

    .tk-reading-header h1 {

        font-size: 30px;
    }

    .tk-chapter-content,
    .tk-preview-content {

        padding: 22px;

        font-size: 18px;

        line-height: 2;
    }

    .tk-reading-navigation {

        flex-direction: column;
    }

    .tk-nav-button {

        text-align: center;
    }

}
/*
|--------------------------------------------------------------------------
| STORY ARCHIVE
|--------------------------------------------------------------------------
*/

.tk-story-archive {

    width: 100%;

    max-width: 1600px;

    margin: auto;

    padding: 30px 20px;
}

.tk-page-title {

    font-size: 40px;

    margin-bottom: 30px;
}

.tk-story-grid {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 20px;
}

/*
|--------------------------------------------------------------------------
| STORY CARD
|--------------------------------------------------------------------------
*/

.tk-story-card {

    position: relative;

    display: block;

    background: var(--tk-bg-soft);

    border: 1px solid var(--tk-border);

    border-radius: 16px;

    overflow: hidden;

    transition: 0.25s;
}

.tk-story-card:hover {

    transform: translateY(-4px);

    border-color: var(--tk-primary);

    box-shadow: var(--tk-shadow-primary);
}

.tk-story-thumb {

    position: relative;

    width: 100%;

    aspect-ratio: 3 / 4;

    overflow: hidden;
}

.tk-story-thumb img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}

.tk-no-thumb {

    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--tk-bg-soft-2);

    color: var(--tk-text-muted);
}

.tk-story-name {

    padding: 14px 12px;

    text-align: center;

    font-size: 16px;

    font-weight: bold;

    color: var(--tk-text);

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}

/*
|--------------------------------------------------------------------------
| OVERLAY
|--------------------------------------------------------------------------
*/

.tk-story-overlay {

    position: absolute;

    inset: 0;

    background:
        rgba(0,0,0,0.92);

    padding: 20px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 12px;

    opacity: 0;

    transition: 0.25s;
}

.tk-story-card:hover .tk-story-overlay {

    opacity: 1;
}

.tk-overlay-title {

    font-size: 20px;

    font-weight: bold;

    color: #fff;

    margin-bottom: 10px;
}

.tk-overlay-item {

    color: #ddd;

    font-size: 15px;

    line-height: 1.8;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 1400px) {

    .tk-story-grid {

        grid-template-columns:
            repeat(5, 1fr);
    }

}

@media (max-width: 1200px) {

    .tk-story-grid {

        grid-template-columns:
            repeat(4, 1fr);
    }

}

@media (max-width: 900px) {

    .tk-story-grid {

        grid-template-columns:
            repeat(3, 1fr);
    }

}

@media (max-width: 600px) {

    .tk-story-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 15px;
    }

    .tk-page-title {

        font-size: 28px;
    }

    .tk-overlay-title {

        font-size: 16px;
    }

    .tk-overlay-item {

        font-size: 13px;
    }

}
/*
|--------------------------------------------------------------------------
| SINGLE STORY
|--------------------------------------------------------------------------
*/

.tk-single-story {

    width: 100%;

    max-width: 1400px;

    margin: auto;

    padding: 30px 20px;
}

/*
|--------------------------------------------------------------------------
| STORY HEADER
|--------------------------------------------------------------------------
*/

.tk-story-header {

    display: flex;

    gap: 30px;

    margin-bottom: 30px;

    align-items: flex-start;
}

.tk-story-left {

    width: 320px;

    flex-shrink: 0;
}

.tk-story-cover {

    width: 100%;

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid var(--tk-border);

    background: var(--tk-bg-soft);
}

.tk-story-cover img {

    width: 100%;

    display: block;

    aspect-ratio: 3 / 4;

    object-fit: cover;
}

.tk-story-right {

    flex: 1;
}

.tk-story-title {

    font-size: 42px;

    margin-top: 0;

    margin-bottom: 25px;

    line-height: 1.4;
}

.tk-story-meta {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.tk-meta-item {

    background: var(--tk-bg-soft);

    border: 1px solid var(--tk-border);

    padding: 16px 18px;

    border-radius: 14px;

    font-size: 16px;
}

.tk-meta-item strong {

    color: var(--tk-warning);
}

/*
|--------------------------------------------------------------------------
| DESCRIPTION
|--------------------------------------------------------------------------
*/

.tk-story-description {

    background: var(--tk-bg-soft);

    border: 1px solid var(--tk-border);

    border-radius: 20px;

    padding: 30px;

    margin-bottom: 35px;

    line-height: 2.1;

    font-size: 18px;
}

/*
|--------------------------------------------------------------------------
| CHAPTER SECTION
|--------------------------------------------------------------------------
*/

.tk-chapter-section h2 {

    font-size: 32px;

    margin-bottom: 25px;
}

.tk-chapter-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.tk-chapter-item {

    background: var(--tk-bg-soft);

    border: 1px solid var(--tk-border);

    border-radius: 14px;

    padding: 18px;

    transition: 0.2s;
}

.tk-chapter-item:hover {

    border-color: var(--tk-primary);

    transform: translateY(-2px);
}


.tk-chapter-title {

    color: var(--tk-textchap);

    line-height: 1.8;

    font-size: 16px;

    display: block;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 1000px) {

    .tk-story-header {

        flex-direction: column;
    }

    .tk-story-left {

        width: 100%;
    }

    .tk-story-cover {

        max-width: 350px;

        margin: auto;
    }

    .tk-story-meta {

        grid-template-columns:
            1fr;
    }

    .tk-chapter-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .tk-story-title {

        font-size: 30px;
    }

    .tk-story-description {

        padding: 22px;

        font-size: 16px;
    }

    .tk-chapter-grid {

        grid-template-columns:
            1fr;
    }

}
.tk-latest-chapter{
    margin-top:30px;
}

.tk-latest-grid{
    display:grid;
    grid-template-columns:
    repeat(3,1fr);
    gap:15px;
    margin-top:15px;
}

.tk-latest-item{
    padding:15px;
    border:1px solid var(--tk-border);
    border-radius:10px;
    text-decoration:none;
    color:var(--tk-text);
    transition:0.2s;
}

.tk-latest-item:hover{
    transform:translateY(-2px);
}
/*
|--------------------------------------------------------------------------
| PAGINATION
|--------------------------------------------------------------------------
*/

.tk-pagination{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:30px;
    justify-content:center;
    align-items:center;
}

.tk-page-btn{
    min-width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 14px;
    border-radius:10px;
    border:1px solid #2b2b2b;
    background:#151515;
    color:#fff;
    text-decoration:none;
    transition:0.2s;
    font-weight:600;
}

.tk-page-btn:hover{
    background:#222;
    transform:translateY(-2px);
}

.tk-page-btn.active{
    background:#c7923e;
    border-color:#c7923e;
    color:#fff;
}

/*
|--------------------------------------------------------------------------
| CHAPTER GRID
|--------------------------------------------------------------------------
*/

.tk-chapter-grid{
    display:grid;
    grid-template-columns:
    repeat(3,1fr);
    gap:15px;
    margin-top:20px;
}

/*
|--------------------------------------------------------------------------
| CHAPTER ITEM
|--------------------------------------------------------------------------
*/

.tk-chapter-item{
    padding:15px;
    border-radius:12px;
    background:#151515;
    border:1px solid #2b2b2b;
    color:#fff;
    text-decoration:none;
    transition:0.2s;
}

.tk-chapter-item:hover{
    transform:translateY(-2px);
    background:#1d1d1d;
}

/*
|--------------------------------------------------------------------------
| LATEST CHAPTER
|--------------------------------------------------------------------------
*/

.tk-latest-chapter{
    margin-top:30px;
}

.tk-latest-grid{
    display:grid;
    grid-template-columns:
    repeat(3,1fr);
    gap:15px;
    margin-top:15px;
}

.tk-latest-item{
    padding:15px;
    border-radius:12px;
    background:#151515;
    border:1px solid #2b2b2b;
    color:#fff;
    text-decoration:none;
    transition:0.2s;
}

.tk-latest-item:hover{
    transform:translateY(-2px);
    background:#1d1d1d;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width:768px){

    .tk-chapter-grid,
    .tk-latest-grid{

        grid-template-columns:
        repeat(1,1fr);

    }

}
/*
|--------------------------------------------------------------------------
| CHAPTER NAVIGATION
|--------------------------------------------------------------------------
*/

.tk-chapter-navigation{
    margin-top:40px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
}

.tk-nav-btn{
    min-width:180px;
    height:48px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0 20px;

    border-radius:12px;

    background:#151515;

    border:1px solid #2b2b2b;

    color:#fff;

    text-decoration:none;

    transition:0.2s;

    font-weight:600;
}

.tk-nav-btn:hover{
    transform:translateY(-2px);
    background:#1d1d1d;
}

.tk-nav-btn.disabled{
    opacity:0.4;
    pointer-events:none;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width:768px){

    .tk-nav-btn{

        width:100%;

    }

}.tk-preview-box{
    position:relative;
    overflow:hidden;
    border-radius:12px;
}

.tk-preview-content{
    max-height:220px;
    overflow:hidden;
    opacity:.9;
}

.tk-preview-overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:60px 20px 20px;
    text-align:center;
    font-weight:700;
    background:linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,1)
    );
}
.tk-recharge-page{
    max-width:900px;
    margin:auto;
    padding:40px 20px;
}

.tk-recharge-box{
    display:flex;
    gap:30px;
    flex-wrap:wrap;
    align-items:center;
}

.tk-qr-box img{
    width:280px;
    border-radius:12px;
}

.tk-bank-info{
    flex:1;
}

.tk-bank-item{
    margin-bottom:15px;
    font-size:18px;
}

.tk-transfer-content{
    margin-top:10px;
    padding:14px;
    border-radius:10px;
    font-weight:700;
    font-size:22px;
}
.tk-recharge-page{
    max-width:1100px;
    margin:auto;
    padding:40px 20px;
}

.tk-recharge-box{
    display:flex;
    gap:40px;
    flex-wrap:wrap;
    align-items:flex-start;
}

.tk-recharge-left{
    flex:1;
    min-width:320px;
}

.tk-recharge-right{
    width:320px;
}

.tk-recharge-right img{
    width:100%;
    border-radius:14px;
}

.tk-form-group{
    margin-bottom:30px;
}

.tk-form-group input{
    width:100%;
    height:52px;
    padding:0 16px;
    font-size:22px;
    border-radius:10px;
}

.tk-bank-item{
    margin-bottom:18px;
    font-size:18px;
}

.tk-transfer-content{
    margin-top:10px;
    padding:16px;
    border-radius:10px;
    font-size:20px;
    font-weight:700;
    word-break:break-all;
}

.tk-note{
    margin-top:10px;
    font-size:14px;
}
.tk-recharge-page{
    max-width:1100px;
    margin:auto;
    padding:40px 20px;
}

.tk-recharge-box{
    display:flex;
    gap:40px;
    flex-wrap:wrap;
}

.tk-recharge-left{
    flex:1;
    min-width:320px;
}

.tk-recharge-right{
    width:320px;
}

.tk-recharge-right img{
    width:100%;
}

#tk-amount{
    width:100%;
    height:50px;
    padding:0 15px;
    font-size:20px;
}

#tk-transfer-content{
    padding:15px;
    margin-top:10px;
    word-break:break-all;
}.tk-recharge-page{
    max-width:1100px;
    margin:auto;
    padding:40px 20px;
}

.tk-recharge-box{
    display:flex;
    gap:40px;
    flex-wrap:wrap;
}

.tk-recharge-left{
    flex:1;
    min-width:320px;
}

.tk-recharge-right{
    width:320px;
}

.tk-recharge-right img{
    width:100%;
    border-radius:16px;
}

#tk-amount{
    width:100%;
    height:52px;
    padding:0 16px;
}

.tk-note-box{
    margin-top:24px;
    padding:20px;
    border-radius:12px;
}.tk-account-page{
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
}

.tk-account-box{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:40px;
}

.tk-account-item{
    padding:24px;
    border-radius:18px;
    min-height:120px;

    display:flex;
    flex-direction:column;
    justify-content:center;
}

.tk-account-item strong{
    font-size:14px;
    margin-bottom:10px;
}

.tk-account-item span{
    font-size:22px;
    font-weight:700;
}

.tk-coin-history{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    overflow:hidden;
    border-radius:18px;
}

.tk-coin-history th,
.tk-coin-history td{
    padding:18px 20px;
}

.tk-coin-history th{
    text-transform:uppercase;
    font-size:13px;
}

@media(max-width:992px){

    .tk-account-box{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:640px){

    .tk-account-box{
        grid-template-columns:1fr;
    }

}
.tk-file-page{
    max-width:90%;
    margin:40px auto;
    padding:24px;
}

.tk-file-page h1{
    margin-bottom:24px;
}

.tk-file-thumb{
    width:100%;
    max-width:420px;
    display:block;
    margin:0 auto 24px;
}

.tk-file-content{
    margin:24px 0;
    line-height:1.8;
}

.tk-file-meta{
    display:flex;
    gap:20px;
    margin:20px 0;
    flex-wrap:wrap;
}

.tk-file-actions{
    display:flex;
    gap:16px;
    margin-top:24px;
}

.tk-file-btn{
    padding:14px 24px;
    border-radius:8px;
    text-decoration:none;
    display:inline-block;
}

.tk-file-login-note{
    margin-top:24px;
}

@media(max-width:768px){

    .tk-file-page{
        padding:16px;
    }

    .tk-file-actions{
        flex-direction:column;
    }

}/*
|--------------------------------------------------------------------------
| FILE ARCHIVE
|--------------------------------------------------------------------------
*/

.tk-file-archive{
    max-width:1200px;
    margin:40px auto;
    padding:24px;
}

.tk-file-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.tk-file-card{
    padding:16px;
}

.tk-file-card-thumb{
    width:100%;
    height:260px;
    object-fit:scale-down;
    display:block;
    margin-bottom:16px;
}

.tk-file-card h3{
    margin:12px 0;
    min-height:52px;
}

.tk-pagination{
    margin-top:40px;
    text-align:center;
}

/*
|--------------------------------------------------------------------------
| SINGLE FILE
|--------------------------------------------------------------------------
*/

.tk-file-page{
    max-width:90%;
    margin:40px auto;
    padding:24px;
}

.tk-file-thumb{
    width:100%;
    max-width:500px;
    display:block;
    margin:0 auto 24px;
}

.tk-file-content{
    margin:24px 0;
    line-height:1.8;
}

.tk-file-meta{
    display:flex;
    gap:24px;
    margin:24px 0;
}

.tk-file-actions{
    display:flex;
    gap:16px;
    margin-top:24px;
}

.tk-file-btn{
    padding:14px 28px;
    border-radius:8px;
    text-decoration:none;
}

.tk-file-login-note{
    margin-top:24px;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width:1024px){

    .tk-file-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:768px){

    .tk-file-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .tk-file-actions{
        flex-direction:column;
    }

}

@media(max-width:480px){

    .tk-file-grid{
        grid-template-columns:1fr;
    }

}
.tk-soft-archive,
.tk-soft-page{
    max-width:1200px;
    margin:40px auto;
    padding:24px;
}

.tk-soft-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.tk-soft-card{
    padding:20px;
}

.tk-soft-thumb{
    width:100%;
    max-width:500px;
}

.tk-soft-meta{
    display:flex;
    gap:20px;
    margin:20px 0;
}
.tk-font-archive,
.tk-font-page{
max-width:1200px;
margin:40px auto;
padding:24px;
}

.tk-font-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:24px;
}

.tk-font-thumb{
width:100%;
max-width:500px;
}

.tk-font-meta{
display:flex;
gap:20px;
margin:20px 0;
}.tk-register-page{
max-width:500px;
margin:60px auto;
padding:32px;
}

.tk-register-page form{
display:flex;
flex-direction:column;
gap:16px;
}

.tk-register-page input,
.tk-register-page button{
padding:14px;
font-size:16px;
}
h1.titlepage {
    font-family: "Be VietnamPro";
    text-align: center;
}

.tk-header{
    padding:18px 30px;
}

.tk-header-inner{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
}

.tk-header-right{
    text-align:right;
}

.tk-header-center{
    text-align:center;
}
.tk-theme-switch{
    display:flex;
    gap:8px;
}

.tk-theme-switch button{
    border:none;
    padding:8px 12px;
    border-radius:999px;
    cursor:pointer;
    background:var(--tk-bg-soft-2);
    color:var(--tk-text);
}.tk-reader-switch{
   position: fixed;
    right: 24px;
    bottom: 110px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: .3s;
    z-index: 999;
    flex-direction: column;
}

.tk-reader-switch.show{
    opacity:1;
    transform:translateY(0);
}

.tk-reader-switch button{
    width:46px;
    height:46px;
    border-radius:50%;
    border:none;
    cursor:pointer;
}
.tk-auth-page{
    max-width:1100px;
    margin:60px auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.tk-auth-box{
    padding:32px;
    border-radius:16px;
}

.tk-auth-box form{
    display:flex;
    flex-direction:column;
    gap:16px;
}
/*
|--------------------------------------------------------------------------
| AUTH PAGE FIX
|--------------------------------------------------------------------------
*/

.tk-auth-page{
    max-width:1200px !important;
    margin:70px auto !important;
    padding:0 20px !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:40px !important;
}

.tk-auth-box{
    background:#ffffff !important;
    border:1px solid #d9e2ef !important;
    border-radius:24px !important;
    padding:42px !important;
    min-height:640px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
    box-shadow:0 8px 30px rgba(0,0,0,.04) !important;
}

.tk-auth-box h2{
    font-size:48px !important;
    font-weight:800 !important;
    margin:0 0 35px !important;
}

.tk-auth-box form{
    width:100% !important;
}

.tk-auth-box label{
    display:block !important;
    font-size:16px !important;
    font-weight:600 !important;
    margin-bottom:10px !important;
}

.tk-auth-box input[type="text"],
.tk-auth-box input[type="email"],
.tk-auth-box input[type="password"]{
    width:100% !important;
    height:58px !important;
    padding:0 18px !important;
    border-radius:18px !important;
    border:1px solid #d9e2ef !important;
    background:#f5f8fc !important;
    font-size:17px !important;
    margin-bottom:22px !important;
}

.tk-auth-box .login-remember{
    margin:20px 0 !important;
}

.tk-auth-box .login-remember label{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
}

.tk-auth-box .login-remember input{
    width:18px !important;
    height:18px !important;
}

.tk-auth-box .login-submit{
    margin-top:24px !important;
    width:100% !important;
}

.tk-auth-box .login-submit input,
.tk-auth-box button{
    width:100% !important;
    height:58px !important;
    border:none !important;
    border-radius:18px !important;
    background:#5f8ff7 !important;
    color:#fff !important;
    font-size:18px !important;
    font-weight:700 !important;
    cursor:pointer !important;
}

.tk-auth-note{
    font-size:15px !important;
    margin-bottom:24px !important;
    line-height:1.8 !important;
}

.tk-auth-recover{
    margin-top:28px !important;
    text-align:center !important;
}

.tk-auth-recover a{
    font-size:17px !important;
    color:#4f84f7 !important;
}

@media(max-width:900px){

    .tk-auth-page{
        grid-template-columns:1fr !important;
    }

    .tk-auth-box{
        min-height:auto !important;
    }

}
.tk-soft-top{
    display:flex;
    gap:24px;
}

.tk-soft-left{
    width:60%;
}

.tk-soft-right{
    width:40%;
}
.tk-file-top{
    display:flex;
    gap:24px;
    margin-bottom:24px;
}

.tk-file-left{
    width:40%;
}

.tk-file-right{
    width:60%;
}

.tk-file-thumb{
    width:100%;
    border-radius:12px;
}

.tk-file-content{
    width:100%;
}
.tk-soft-btn,
.tk-soft-btn-vip
{

    padding:14px 24px;
    text-decoration:none;
    margin: 0 5px;
}
#tk-bookmark-btn{
    padding:12px 20px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
}.tk-read-continue{
    display:inline-block;
    padding:12px 18px;
    margin:15px 0;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
}
.tk-free-time{
    margin-top:12px;
    padding:12px;
    border-radius:12px;
    background:#fff7e8;
    color:#9a6b00;
    font-size:14px;
    line-height:1.6;
}

.tk-free-time strong{
    display:block;
    margin-top:6px;
    font-size:16px;
    color:#d97706;
}

.tk-free-open{
    margin-top:12px;
    padding:12px;
    border-radius:12px;
    background:#ecfdf5;
    color:#15803d;
    font-weight:600;
}
.tk-chapter-nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin:40px 0;
    padding:18px;
    border-radius:14px;
    background:#fff;
}

.tk-chapter-nav a{
    text-decoration:none;
    font-weight:600;
}

.tk-nav-right span{
    opacity:.7;
    font-style:italic;
}