/*
 * DTT Premium Story Detail
 * Visual language shared with the premium homepage.
 */

:root {
    --dtt-story-ink: #17151d;
    --dtt-story-ink-soft: #302b36;
    --dtt-story-text: #292532;
    --dtt-story-muted: #756f7d;
    --dtt-story-line: #e9e4df;
    --dtt-story-paper: #ffffff;
    --dtt-story-page: #f8f6f3;
    --dtt-story-orange: #f56a1f;
    --dtt-story-orange-dark: #c84b0b;
    --dtt-story-orange-soft: #fff1e7;
    --dtt-story-purple: #6657f2;
    --dtt-story-purple-soft: #f0efff;
    --dtt-story-green: #169b70;
    --dtt-story-green-soft: #eaf8f2;
    --dtt-story-shadow: 0 24px 70px rgba(39, 31, 24, .08);
    --dtt-story-shadow-soft: 0 12px 34px rgba(39, 31, 24, .06);
}

body.single-truyen {
    background:
        radial-gradient(circle at 7% 3%, rgba(245, 106, 31, .075), transparent 28rem),
        radial-gradient(circle at 94% 13%, rgba(102, 87, 242, .06), transparent 30rem),
        linear-gradient(180deg, #fbfaf8 0%, var(--dtt-story-page) 42%, #f9f7f4 100%) !important;
}

body.single-truyen #main-content {
    overflow: visible;
}

.dtt-story,
.dtt-story * {
    box-sizing: border-box;
}

.dtt-story {
    width: min(1480px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 44px;
    color: var(--dtt-story-text);
    font-family: 'Be Vietnam Pro', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.dtt-story a { text-decoration: none; }
.dtt-story img { max-width: 100%; }

.dtt-story-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-bottom: 14px;
    padding: 0 4px;
    color: #8a838f;
    font-size: 11px;
    font-weight: 700;
}

.dtt-story-breadcrumb a {
    color: #746d78;
    transition: color .18s ease;
}
.dtt-story-breadcrumb a:hover { color: var(--dtt-story-orange-dark); }
.dtt-story-breadcrumb span[aria-hidden="true"] { color: #c7c0c7; }
.dtt-story-breadcrumb strong {
    max-width: min(620px, 56vw);
    overflow: hidden;
    color: #3a343d;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ─────────────────────────────
   Cinematic hero
   ───────────────────────────── */
.dtt-story-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 620px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 34px;
    background:
        radial-gradient(circle at 14% 28%, rgba(245,106,31,.18), transparent 24%),
        radial-gradient(circle at 86% 42%, rgba(102,87,242,.20), transparent 28%),
        linear-gradient(135deg, #1b1517 0%, #21181b 48%, #171521 100%);
    box-shadow: 0 34px 90px rgba(37, 27, 24, .18);
    color: #fff;
}

.dtt-story-hero::before {
    content: '';
    position: absolute;
    inset: -10%;
    z-index: -4;
    background-image: var(--dtt-story-cover);
    background-position: 86% 34%;
    background-size: 46% auto;
    background-repeat: no-repeat;
    filter: blur(40px) saturate(.85) brightness(.48);
    opacity: .45;
    transform: scale(1.18);
}

.dtt-story-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(20,15,17,.98) 0%, rgba(24,17,20,.95) 39%, rgba(24,17,20,.63) 70%, rgba(22,20,31,.78) 100%),
        radial-gradient(circle at var(--spot-x, 78%) var(--spot-y, 40%), rgba(245,106,31,.13), transparent 20rem);
    pointer-events: none;
}

.dtt-story-hero__mesh {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .45;
    background-image:
        linear-gradient(rgba(255,255,255,.021) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.021) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 88%);
    pointer-events: none;
}

.dtt-story-hero__orb {
    position: absolute;
    z-index: -1;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 50%;
    pointer-events: none;
}
.dtt-story-hero__orb::before,
.dtt-story-hero__orb::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(255,255,255,.045);
    border-radius: inherit;
}
.dtt-story-hero__orb::before { inset: 48px; }
.dtt-story-hero__orb::after { inset: 104px; }
.dtt-story-hero__orb--one { top: -190px; right: -70px; }
.dtt-story-hero__orb--two { bottom: -280px; right: 20%; width: 520px; height: 520px; border-color: rgba(102,87,242,.12); }

.dtt-story-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 305px minmax(0, 1fr) 310px;
    gap: 38px;
    align-items: center;
    min-height: 620px;
    padding: 52px 58px 46px;
}

/* Cover */
.dtt-story-cover {
    position: relative;
    align-self: center;
    perspective: 900px;
}

.dtt-story-cover__glow {
    position: absolute;
    inset: 12% -10% -9%;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(245,106,31,.34), rgba(102,87,242,.25));
    filter: blur(38px);
    opacity: .62;
    transform: translateZ(-1px);
}

.dtt-story-cover__frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 24px;
    background: #1c171a;
    box-shadow: 0 28px 65px rgba(0,0,0,.42);
    transform: rotateY(3deg) rotateX(.8deg);
    transform-origin: center center;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}

.dtt-story-cover:hover .dtt-story-cover__frame {
    transform: rotateY(0) rotateX(0) translateY(-4px);
    box-shadow: 0 34px 75px rgba(0,0,0,.5);
}

.dtt-story-cover__frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 12%, rgba(255,255,255,.12) 44%, transparent 56%);
    transform: translateX(-120%);
    transition: transform .7s ease;
    pointer-events: none;
}
.dtt-story-cover:hover .dtt-story-cover__frame::after { transform: translateX(120%); }

.dtt-story-cover__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.dtt-story-cover__brand {
    position: absolute;
    right: 13px;
    bottom: 13px;
    display: inline-flex;
    min-width: 46px;
    min-height: 29px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(15,12,14,.68);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: -.03em;
    backdrop-filter: blur(12px);
}

.dtt-story-cover__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
}

.dtt-story-badge {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.72);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .02em;
    backdrop-filter: blur(12px);
}
.dtt-story-badge--complete { border-color: rgba(22,155,112,.34); background: rgba(22,155,112,.13); color: #7be0bd; }
.dtt-story-badge--serial { border-color: rgba(245,106,31,.34); background: rgba(245,106,31,.13); color: #ffae7e; }

/* Hero main content */
.dtt-story-hero__content { min-width: 0; }

.dtt-story-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: rgba(255,255,255,.48);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.dtt-story-eyebrow__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dtt-story-orange);
    box-shadow: 0 0 0 5px rgba(245,106,31,.11), 0 0 18px rgba(245,106,31,.45);
}

.dtt-story-title {
    max-width: 790px;
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(38px, 4.2vw, 66px);
    font-weight: 950;
    letter-spacing: -.065em;
    line-height: .99;
    text-wrap: balance;
}

.dtt-story-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

.dtt-story-genre {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    background: rgba(255,255,255,.055);
    color: rgba(255,255,255,.66);
    font-size: 9px;
    font-weight: 800;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.dtt-story-genre:hover {
    border-color: rgba(245,106,31,.42);
    background: rgba(245,106,31,.12);
    color: #fff;
    transform: translateY(-1px);
}

.dtt-story-intro {
    max-width: 790px;
    margin: 0 0 23px;
    color: rgba(255,255,255,.62);
    font-size: 13px;
    font-weight: 520;
    line-height: 1.85;
}

.dtt-story-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 760px;
    margin-bottom: 24px;
}

.dtt-story-fact {
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 15px;
    background: rgba(255,255,255,.045);
    backdrop-filter: blur(10px);
}
.dtt-story-fact small {
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,.36);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}
.dtt-story-fact strong {
    display: block;
    overflow: hidden;
    color: rgba(255,255,255,.82);
    font-size: 11px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dtt-story-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.dtt-story-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    appearance: none;
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.dtt-story-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dtt-story-btn--primary {
    background: linear-gradient(135deg, #ff7b32, #e95711);
    color: #fff;
    box-shadow: 0 14px 30px rgba(225,79,10,.28);
}
.dtt-story-btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px rgba(225,79,10,.37); }
.dtt-story-btn--glass {
    border-color: rgba(255,255,255,.13);
    background: rgba(255,255,255,.065);
    color: rgba(255,255,255,.78);
    backdrop-filter: blur(12px);
}
.dtt-story-btn--glass:hover { border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.11); color: #fff; transform: translateY(-2px); }
.dtt-story-btn--follow {
    border-color: rgba(102,87,242,.32);
    background: rgba(102,87,242,.13);
    color: #c4bfff;
}
.dtt-story-btn--follow:hover { border-color: rgba(135,122,255,.48); background: rgba(102,87,242,.20); color: #fff; transform: translateY(-2px); }
.dtt-story-btn--follow.is-followed { border-color: rgba(22,155,112,.36); background: rgba(22,155,112,.14); color: #8de7c8; }

/* Reader panel */
.dtt-story-reader {
    align-self: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 22px;
    background: rgba(12,10,14,.54);
    box-shadow: 0 18px 52px rgba(0,0,0,.20);
    backdrop-filter: blur(22px);
}

.dtt-story-reader__head {
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.dtt-story-reader__head small {
    display: block;
    margin-bottom: 4px;
    color: #ff9a62;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.dtt-story-reader__head h2 { margin: 0; color: #fff; font-size: 17px; font-weight: 900; letter-spacing: -.035em; }
.dtt-story-reader__head p { margin: 5px 0 0; color: rgba(255,255,255,.40); font-size: 9px; line-height: 1.55; }

.dtt-story-reader__progress {
    display: none;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.dtt-story-reader.has-progress .dtt-story-reader__progress { display: block; }
.dtt-story-reader__progress-row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.dtt-story-reader__progress-row span { color: rgba(255,255,255,.48); font-size: 9px; font-weight: 700; }
.dtt-story-reader__progress-row strong { color: #fff; font-size: 10px; font-weight: 900; }
.dtt-story-reader__meter { height: 5px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.dtt-story-reader__meter span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--dtt-story-orange), #ffab6f, var(--dtt-story-purple)); box-shadow: 0 0 18px rgba(245,106,31,.34); transition: width .5s ease; }

.dtt-story-reader__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.dtt-story-reader__stat {
    padding: 15px 16px;
    border-right: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.dtt-story-reader__stat:nth-child(2n) { border-right: 0; }
.dtt-story-reader__stat:nth-last-child(-n+2) { border-bottom: 0; }
.dtt-story-reader__stat small { display: block; margin-bottom: 5px; color: rgba(255,255,255,.34); font-size: 7.5px; font-weight: 850; letter-spacing: .10em; text-transform: uppercase; }
.dtt-story-reader__stat strong { display: block; color: #fff; font-size: 16px; font-weight: 950; letter-spacing: -.04em; }
.dtt-story-reader__stat strong.is-orange { color: #ff9d65; }
.dtt-story-reader__stat strong.is-green { color: #72d8b4; }

.dtt-story-reader__tools {
    display: grid;
    gap: 7px;
    padding: 14px;
}
.dtt-story-tool {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 11px;
    background: rgba(255,255,255,.035);
    color: rgba(255,255,255,.58);
    cursor: pointer;
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.dtt-story-tool:hover { border-color: rgba(245,106,31,.25); background: rgba(245,106,31,.08); color: #fff; }
.dtt-story-tool span:last-child { color: rgba(255,255,255,.26); font-size: 13px; }

/* ─────────────────────────────
   Editorial summary + chapters
   ───────────────────────────── */
.dtt-story-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}
.dtt-story-main,
.dtt-story-sidebar { min-width: 0; }
.dtt-story-sidebar { position: sticky; top: 92px; }

.dtt-story-panel {
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--dtt-story-line);
    border-radius: 24px;
    background: rgba(255,255,255,.92);
    box-shadow: var(--dtt-story-shadow-soft);
}

.dtt-story-panel__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 26px 18px;
    border-bottom: 1px solid #eee9e4;
}
.dtt-story-panel__head > div { min-width: 0; }
.dtt-story-panel__kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--dtt-story-orange-dark);
    font-size: 8.5px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.dtt-story-panel__head h2,
.dtt-story-panel__head h3 {
    margin: 0;
    color: #211c24;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -.045em;
}
.dtt-story-panel__head p { margin: 6px 0 0; color: #8a838b; font-size: 10px; line-height: 1.6; }

.dtt-story-summary { padding: 26px; }
.dtt-story-summary__lead {
    margin: 0;
    color: #4c454f;
    font-size: 15px;
    line-height: 1.95;
}
.dtt-story-summary__more { display: none; margin-top: 14px; }
.dtt-story-summary.is-expanded .dtt-story-summary__more { display: block; }
.dtt-story-summary.is-expanded .dtt-story-summary__short { display: none; }
.dtt-story-summary__toggle {
    display: inline-flex;
    min-height: 35px;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 0 12px;
    border: 1px solid #eadfd7;
    border-radius: 999px;
    background: #fffaf6;
    color: var(--dtt-story-orange-dark);
    cursor: pointer;
    font: inherit;
    font-size: 9px;
    font-weight: 850;
}

/* Chapter toolbar */
.dtt-story-chapters__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.dtt-story-search {
    position: relative;
    min-width: 220px;
}
.dtt-story-search svg {
    position: absolute;
    top: 50%;
    left: 12px;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #aaa2aa;
    stroke-width: 2;
    transform: translateY(-50%);
    pointer-events: none;
}
.dtt-story-search input,
.dtt-story-sort {
    height: 40px;
    border: 1px solid #e6dfda;
    border-radius: 11px;
    outline: 0;
    background: #fff;
    color: #4e4751;
    font: inherit;
    font-size: 9.5px;
    font-weight: 700;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.dtt-story-search input { width: 100%; padding: 0 12px 0 35px; }
.dtt-story-sort { padding: 0 30px 0 11px; cursor: pointer; }
.dtt-story-search input:focus,
.dtt-story-sort:focus { border-color: #f5a274; box-shadow: 0 0 0 3px rgba(245,106,31,.09); }

.dtt-story-chapter-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 18px 20px 22px;
}

.dtt-story-chapter {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    min-height: 74px;
    padding: 11px 12px;
    border: 1px solid #ebe5e0;
    border-radius: 15px;
    background: #fff;
    color: inherit;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.dtt-story-chapter:hover { border-color: #f6b187; background: #fffaf6; box-shadow: 0 12px 25px rgba(71,51,37,.07); transform: translateY(-2px); }
.dtt-story-chapter.is-current-progress { border-color: rgba(245,106,31,.45); background: linear-gradient(135deg, #fff7f1, #fff); box-shadow: 0 12px 30px rgba(245,106,31,.10); }
.dtt-story-chapter[hidden] { display: none !important; }

.dtt-story-chapter__index {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f7f3ef;
    color: #8c8179;
    font-size: 10px;
    font-weight: 950;
    transition: background .2s ease, color .2s ease;
}
.dtt-story-chapter:hover .dtt-story-chapter__index,
.dtt-story-chapter.is-current-progress .dtt-story-chapter__index { background: linear-gradient(135deg, #ff7b32, #e95711); color: #fff; }

.dtt-story-chapter__body { min-width: 0; }
.dtt-story-chapter__body strong {
    display: block;
    overflow: hidden;
    margin-bottom: 5px;
    color: #2d2730;
    font-size: 11px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dtt-story-chapter__meta { display: flex; flex-wrap: wrap; gap: 7px; color: #9a9299; font-size: 8px; font-weight: 700; }
.dtt-story-chapter__meta span { display: inline-flex; align-items: center; gap: 4px; }
.dtt-story-chapter__arrow { color: #c7bfc5; font-size: 16px; transition: color .2s ease, transform .2s ease; }
.dtt-story-chapter:hover .dtt-story-chapter__arrow { color: var(--dtt-story-orange); transform: translateX(2px); }
.dtt-story-chapter__continue { display: none; position: absolute; top: -7px; right: 10px; padding: 3px 7px; border-radius: 999px; background: var(--dtt-story-orange); color: #fff; font-size: 7px; font-weight: 900; box-shadow: 0 4px 12px rgba(245,106,31,.25); }
.dtt-story-chapter.is-current-progress .dtt-story-chapter__continue { display: block; }

.dtt-story-chapters__empty {
    grid-column: 1 / -1;
    padding: 40px 16px;
    color: #9b929a;
    text-align: center;
    font-size: 11px;
}

/* Sidebar */
.dtt-story-sidecard {
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--dtt-story-line);
    border-radius: 21px;
    background: rgba(255,255,255,.92);
    box-shadow: var(--dtt-story-shadow-soft);
}
.dtt-story-sidecard__head { padding: 18px 18px 13px; border-bottom: 1px solid #eee9e4; }
.dtt-story-sidecard__head small { display: block; margin-bottom: 5px; color: var(--dtt-story-purple); font-size: 7.5px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.dtt-story-sidecard__head h3 { margin: 0; color: #28222b; font-size: 15px; font-weight: 950; letter-spacing: -.035em; }

.dtt-story-status-list { display: grid; grid-template-columns: 1fr 1fr; }
.dtt-story-status-item { padding: 15px 16px; border-right: 1px solid #eee9e4; border-bottom: 1px solid #eee9e4; }
.dtt-story-status-item:nth-child(2n) { border-right: 0; }
.dtt-story-status-item:nth-last-child(-n+2) { border-bottom: 0; }
.dtt-story-status-item small { display: block; margin-bottom: 5px; color: #a098a1; font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.dtt-story-status-item strong { display: block; color: #3f3842; font-size: 11px; font-weight: 900; }

.dtt-story-utility { display: grid; gap: 7px; padding: 13px; }
.dtt-story-utility button,
.dtt-story-utility a {
    display: flex;
    min-height: 41px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 11px;
    border: 1px solid #ece5df;
    border-radius: 11px;
    background: #fff;
    color: #6e6670;
    cursor: pointer;
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.dtt-story-utility button:hover,
.dtt-story-utility a:hover { border-color: #f4c2a4; background: #fff9f4; color: var(--dtt-story-orange-dark); }

.dtt-story-unread-badge {
    display: inline-flex;
    min-width: 22px;
    min-height: 20px;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff0e7;
    color: var(--dtt-story-orange-dark);
    font-size: 8px;
    font-weight: 900;
}

/* Comments */
.dtt-story-comments { padding: 0 24px 24px; }
.dtt-story-comments__list { display: grid; gap: 11px; margin-top: 18px; }
.dtt-story-comment { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 11px; }
.dtt-story-comment__avatar {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff0e7, #eeeaff);
    color: #7d6658;
    font-size: 13px;
    font-weight: 950;
}
.dtt-story-comment__bubble { padding: 13px 14px; border: 1px solid #ebe5e0; border-radius: 15px; background: #fbfaf9; }
.dtt-story-comment__top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.dtt-story-comment__top strong { color: #332d36; font-size: 10px; font-weight: 900; }
.dtt-story-comment__top time { color: #aaa2aa; font-size: 7.5px; font-weight: 700; }
.dtt-story-comment__stars { margin-top: 2px; color: #e9a23b; font-size: 9px; letter-spacing: 1px; }
.dtt-story-comment__bubble p { margin: 0; color: #6b626c; font-size: 10px; line-height: 1.7; }
.dtt-story-comments__empty { padding: 28px 14px 10px; color: #a098a1; text-align: center; font-size: 10px; }

.dtt-story-comment-form {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    margin-top: 20px;
    padding-top: 19px;
    border-top: 1px solid #eee9e4;
}
.dtt-story-comment-form__avatar { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: #fff0e6; color: var(--dtt-story-orange); font-size: 17px; }
.dtt-story-comment-form__body { min-width: 0; }
.dtt-story-comment-form input,
.dtt-story-comment-form textarea {
    width: 100%;
    border: 1px solid #e7dfda;
    border-radius: 11px;
    outline: 0;
    background: #fff;
    color: #49414b;
    font: inherit;
    font-size: 10px;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.dtt-story-comment-form input { height: 40px; margin-bottom: 8px; padding: 0 12px; }
.dtt-story-comment-form textarea { min-height: 88px; padding: 11px 12px; resize: vertical; line-height: 1.6; }
.dtt-story-comment-form input:focus,
.dtt-story-comment-form textarea:focus { border-color: #f5a274; box-shadow: 0 0 0 3px rgba(245,106,31,.08); }
.dtt-story-comment-form__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 8px 0; color: #7e7680; font-size: 9px; font-weight: 800; }
#tehiStarRating { display: inline-flex; gap: 2px; color: #e9a23b; font-size: 18px; cursor: pointer; }
.dtt-story-comment-form__bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 9px; }
.dtt-story-comment-form__bottom small { color: #aaa2aa; font-size: 8px; }
.dtt-story-comment-submit { min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #ff7b32, #e95711); color: #fff; cursor: pointer; font: inherit; font-size: 9px; font-weight: 900; box-shadow: 0 8px 18px rgba(225,79,10,.20); }

/* Related */
.dtt-story-related { margin-top: 24px; }
.dtt-story-related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.dtt-story-related-card {
    overflow: hidden;
    border: 1px solid var(--dtt-story-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(48,37,29,.035);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.dtt-story-related-card:hover { border-color: #f0c4aa; box-shadow: 0 16px 35px rgba(48,37,29,.08); transform: translateY(-4px); }
.dtt-story-related-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 11; background: #eee9e4; }
.dtt-story-related-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.dtt-story-related-card:hover img { transform: scale(1.045); }
.dtt-story-related-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 56%, rgba(20,16,18,.45)); }
.dtt-story-related-card__tag { position: absolute; bottom: 9px; left: 9px; z-index: 2; padding: 4px 7px; border-radius: 999px; background: rgba(17,14,16,.66); color: #fff; font-size: 7px; font-weight: 850; backdrop-filter: blur(8px); }
.dtt-story-related-card__body { padding: 13px 13px 14px; }
.dtt-story-related-card__body h3 { margin: 0 0 7px; font-size: 11px; font-weight: 900; line-height: 1.4; }
.dtt-story-related-card__body h3 a { display: -webkit-box; overflow: hidden; color: #312a34; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.dtt-story-related-card__body p { display: -webkit-box; overflow: hidden; margin: 0; color: #8e858e; font-size: 8.5px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* Reveal */
.dtt-story-reveal { opacity: 0; transform: translateY(18px); transition: opacity .62s ease, transform .62s cubic-bezier(.2,.8,.2,1); }
.dtt-story-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1250px) {
    .dtt-story-hero__inner { grid-template-columns: 255px minmax(0, 1fr) 280px; gap: 26px; padding: 46px 42px 42px; }
    .dtt-story-title { font-size: clamp(36px, 4.4vw, 58px); }
    .dtt-story-layout { grid-template-columns: minmax(0, 1fr) 310px; }
}

@media (max-width: 1020px) {
    .dtt-story { width: min(100% - 24px, 1480px); }
    .dtt-story-hero__inner { grid-template-columns: 230px minmax(0, 1fr); min-height: 0; padding: 38px 34px 34px; }
    .dtt-story-reader { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.2fr; }
    .dtt-story-reader__head { border-right: 1px solid rgba(255,255,255,.07); border-bottom: 0; }
    .dtt-story-reader__progress { border-right: 1px solid rgba(255,255,255,.07); }
    .dtt-story-reader__stats { grid-column: 2; grid-row: 1 / span 2; border-bottom: 0; }
    .dtt-story-reader__tools { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.07); }
    .dtt-story-layout { grid-template-columns: minmax(0, 1fr); }
    .dtt-story-sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .dtt-story-sidecard { margin-bottom: 0; }
}

@media (max-width: 760px) {
    .dtt-story { width: min(100% - 18px, 1480px); padding-top: 10px; }
    .dtt-story-breadcrumb { min-height: 36px; margin-bottom: 9px; font-size: 9px; }
    .dtt-story-breadcrumb strong { max-width: 52vw; }
    .dtt-story-hero { border-radius: 24px; }
    .dtt-story-hero::before { background-size: 92% auto; background-position: 80% 20%; opacity: .32; }
    .dtt-story-hero__inner { grid-template-columns: 1fr; gap: 24px; padding: 26px 21px 23px; }
    .dtt-story-cover { width: min(230px, 72vw); margin: 0 auto; }
    .dtt-story-cover__frame { border-radius: 20px; }
    .dtt-story-hero__content { text-align: center; }
    .dtt-story-eyebrow, .dtt-story-genres, .dtt-story-actions { justify-content: center; }
    .dtt-story-title { margin-right: auto; margin-left: auto; font-size: clamp(32px, 10vw, 48px); line-height: 1.02; }
    .dtt-story-intro { margin-right: auto; margin-left: auto; font-size: 11.5px; line-height: 1.75; }
    .dtt-story-facts { grid-template-columns: 1fr 1fr; margin-right: auto; margin-left: auto; text-align: left; }
    .dtt-story-fact:last-child { grid-column: 1 / -1; }
    .dtt-story-btn { flex: 1 1 calc(50% - 5px); padding: 0 11px; }
    .dtt-story-btn--follow { flex: 1 1 100%; }
    .dtt-story-reader { display: block; }
    .dtt-story-reader__head, .dtt-story-reader__progress { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
    .dtt-story-reader__stats { display: grid; }
    .dtt-story-reader__tools { grid-template-columns: 1fr; }
    .dtt-story-panel { border-radius: 20px; }
    .dtt-story-panel__head { align-items: flex-start; flex-direction: column; padding: 20px 18px 15px; }
    .dtt-story-panel__head h2, .dtt-story-panel__head h3 { font-size: 19px; }
    .dtt-story-summary { padding: 20px 18px; }
    .dtt-story-summary__lead { font-size: 13px; line-height: 1.85; }
    .dtt-story-chapters__tools { width: 100%; justify-content: stretch; }
    .dtt-story-search { flex: 1 1 100%; min-width: 0; }
    .dtt-story-sort { flex: 1 1 100%; width: 100%; }
    .dtt-story-chapter-list { grid-template-columns: 1fr; padding: 14px; }
    .dtt-story-sidebar { grid-template-columns: 1fr; }
    .dtt-story-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dtt-story-comments { padding: 0 17px 18px; }
}

@media (max-width: 460px) {
    .dtt-story { width: min(100% - 12px, 1480px); }
    .dtt-story-hero { border-radius: 19px; }
    .dtt-story-hero__inner { padding: 20px 14px 18px; }
    .dtt-story-cover { width: min(210px, 74vw); }
    .dtt-story-title { font-size: 31px; }
    .dtt-story-facts { grid-template-columns: 1fr; }
    .dtt-story-fact:last-child { grid-column: auto; }
    .dtt-story-actions { align-items: stretch; }
    .dtt-story-btn { flex: 1 1 100%; min-height: 45px; }
    .dtt-story-reader__stats { grid-template-columns: 1fr 1fr; }
    .dtt-story-related__grid { gap: 9px; }
    .dtt-story-related-card__body { padding: 10px; }
    .dtt-story-comment { grid-template-columns: 32px minmax(0, 1fr); gap: 8px; }
    .dtt-story-comment__avatar { width: 32px; height: 32px; font-size: 11px; }
    .dtt-story-comment-form { grid-template-columns: 1fr; }
    .dtt-story-comment-form__avatar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .dtt-story *, .dtt-story *::before, .dtt-story *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .dtt-story-reveal { opacity: 1 !important; transform: none !important; }
    .dtt-story-cover__frame { transform: none !important; }
}
