@import url("https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;600;700;800&display=swap");

:root {
    --bg: #0b0d10;
    --panel: #15191f;
    --panel-2: #1f232b;
    --text: #f3f5f7;
    --muted: #a6adb8;
    --line: #2d3340;
    --hot: #ff4d9d;
    --gold: #55c8ef;
    --cyan: #55c8ef;
    --header-bg: #0b0d10;
    --header-box-bg: #101215;
    --header-text: #f3f5f7;
    --header-border: #2d3340;
    --footer-bg: #090b0e;
    --footer-text: #a6adb8;
    --footer-border: #2d3340;
    --radius: 8px;
    --container: 1180px;
    --logo-height: 42px;
    --logo-width: 220px;
    --grid-mobile-columns: 2;
    --grid-tablet-columns: 3;
    --grid-desktop-columns: 4;
    --grid-trending-columns: 5;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
    line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img, iframe, video { max-width: 100%; }
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.layout-container {
    width: min(100% - 24px, var(--container));
    margin-inline: auto;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 10px 0 6px;
    background: var(--header-bg);
    background: color-mix(in srgb, var(--header-bg) 94%, transparent);
    backdrop-filter: blur(12px);
    color: var(--header-text);
}
body.admin-bar .site-header { top: 32px; }
.site-header__bar {
    width: min(100% - 24px, var(--container));
    margin-inline: auto;
    background: var(--header-box-bg);
    border: 1px solid var(--header-border);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}
.site-header__inner {
    min-height: 58px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
}
.site-branding {
    min-width: 0;
}
.site-title {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--header-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.custom-logo {
    max-height: var(--logo-height);
    max-width: var(--logo-width);
    width: auto;
}
.menu-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--header-border);
    border-radius: var(--radius);
    background: var(--panel);
    display: inline-grid;
    place-content: center;
    gap: 5px;
}
.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 19px;
    height: 2px;
    background: var(--text);
}
.primary-nav,
.header-search {
    display: none;
}
.primary-nav.is-open {
    grid-column: 1 / -1;
    display: block;
}
.header-search.is-open {
    grid-column: 1 / -1;
    display: block;
}
.primary-nav__list,
.footer-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.primary-nav__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}
.primary-nav__list::-webkit-scrollbar { display: none; }
.primary-nav a,
.footer-nav a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 6px 10px;
    color: var(--muted);
    border-radius: var(--radius);
}
.primary-nav a {
    min-height: 30px;
    padding: 4px 13px;
    color: var(--header-text);
    font-size: .86rem;
    font-weight: 800;
    white-space: nowrap;
}
.primary-nav a:hover {
    color: #111;
    text-shadow: 0 0 2px var(--gold), 0 0 4px var(--gold);
}
.primary-nav a:hover,
.footer-nav a:hover { color: var(--text);  }
.search-form {
    display: flex;
    gap: 0;
    width: 100%;    
    justify-content: right;
}
.search-field {
    min-width: 0;
    flex: 1;
    min-height: 42px;
    padding: 0 12px;
    color: var(--text);
    background: #101319;
    border: 1px solid var(--header-border);
    border-radius: var(--radius) 0 0 var(--radius);
}
.search-submit,
button,
input[type="submit"] {
    min-height: 42px;
    border: 0;
    border-radius: var(--radius);
    padding: 0 14px;
    color: #111;
    background: var(--gold);
    font-weight: 800;
    cursor: pointer;
}
.header-search .search-submit {
    position: relative;
    width: 46px;
    min-width: 46px;
    padding: 0;
    font-size: 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    background: #080a0d;
    border: 1px solid var(--header-border);
    border-left: 0;
}
.header-search .search-submit::before,
.header-search .search-submit::after {
    content: "";
    position: absolute;
    display: block;
}
.header-search .search-submit::before {
    width: 12px;
    height: 12px;
    top: 13px;
    left: 14px;
    border: 3px solid var(--text);
    border-radius: 50%;
}
.header-search .search-submit::after {
    width: 9px;
    height: 3px;
    top: 28px;
    left: 27px;
    background: var(--text);
    border-radius: 999px;
    transform: rotate(45deg);
}
.ad-slot {
    width: min(100% - 24px, var(--container));
    margin: 12px auto;
    min-height: 72px;
    display: grid;
    place-items: center;
    background: repeating-linear-gradient(135deg, #131820, #131820 10px, #171d26 10px, #171d26 20px);
    border: 1px dashed #3b4352;
    border-radius: var(--radius);
    overflow: hidden;
}
.ad-slot:empty::before {
    content: "Ad widget";
    color: var(--muted);
    font-size: .85rem;
}
.theme-ad {
    margin: 18px 0;
}
.theme-ad .widget {
    margin: 0;
}
.theme-ad .rtb-banner-grid,
.theme-ad .ad-slot {
    margin: 0;
}
.theme-ad .rtb-banner-grid {
    gap: 12px;
}
.theme-ad .rtb-banner-item {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: var(--radius);
    overflow: hidden;
}
.theme-ad .rtb-banner-image {
    display: block;
    width: 100%;
    border-radius: var(--radius);
}
.theme-ad-video_top {
    margin-top: 10px;
    margin-bottom: 14px;
}
.theme-ad-video_bottom {
    margin-top: 18px;
    margin-bottom: 8px;
}
.rtb-popup-dialog {
    background: var(--panel);
    border: 1px solid var(--line);
}
.rtb-fixed-ad .rtb-banner-item {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, .08);
}
.archive-header h1,
.single-video h1 {
    margin: 0;
    font-size: clamp(1.65rem, 4vw, 2.7rem);
    line-height: 1.12;
}
.video-section { padding: 18px 0; }
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    border-left: 4px solid var(--hot);
    padding-left: 10px;
}
.section-heading h2 {
    margin: 0;
    font-size: 1.2rem;
}
.section-heading a { color: var(--gold); font-weight: 700; }
.term-strip {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 14px 0 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 49, 88, .75) rgba(31, 35, 43, .85);
    scroll-snap-type: x proximity;
    scroll-padding-inline: 2px;
}
.term-strip::-webkit-scrollbar {
    height: 10px;
}
.term-strip::-webkit-scrollbar-track {
    background: linear-gradient(90deg, rgba(31, 35, 43, .45), rgba(31, 35, 43, .9), rgba(31, 35, 43, .45));
    border-radius: 999px;
    border: 3px solid var(--bg);
}
.term-strip::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--hot), var(--gold));
    border-radius: 999px;
    border: 2px solid var(--bg);
}
.term-strip::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #ff79b6, #8bdcf7);
}
.chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--panel);
    color: var(--text);
    border: 1px solid var(--line);
    font-size: .9rem;
    scroll-snap-align: start;
}
.chip--soft { color: var(--cyan); background: rgba(53, 208, 186, .08); }
.video-grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-mobile-columns), minmax(0, 1fr));
    gap: 12px;
}
.video-card {
    min-width: 0;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: var(--radius);
    overflow: hidden;
}
.video-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #090b0f;
    overflow: hidden;
}
.video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .2s ease;
}
.video-card:hover .video-card__thumb img { transform: scale(1.04); }
.video-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #697384;
    font-weight: 900;
}
.video-card__duration {
    position: absolute;
    right: 6px;
    bottom: 6px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .78);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
}
.video-card__body { padding: 9px; }
.video-card__term {
    color: var(--gold);
    font-size: .76rem;
    font-weight: 800;
}
.video-card__title {
    margin: 4px 0 7px;
    font-size: .92rem;
    line-height: 1.38;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--muted);
    font-size: .76rem;
}
.archive-header {
    padding: 20px 0 14px;
    display: grid;
    gap: 12px;
}
.archive-description {
    color: var(--muted);
    max-width: 760px;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--muted);
    font-size: .85rem;
}
.breadcrumb a { color: var(--gold); }
.content-with-sidebar {
    display: grid;
    gap: 18px;
}
.sidebar .ad-slot { width: 100%; margin: 0; }
.pagination-wrap {
    margin: 22px 0;
}
.pagination-wrap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pagination-wrap ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.page-numbers {
    min-width: 38px;
    min-height: 38px;
    display: inline-grid;
    place-items: center;
    padding: 5px 10px;
    border-radius: var(--radius);
}

.page-numbers li {       
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.page-numbers.current,
.page-numbers a:hover {
    color: #111;
    background: var(--gold);
    border-color: var(--gold);
}
.pagination-wrap--front {
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}
.home-before-footer {
    margin-top: 22px;
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.home-before-footer .widget {
    margin: 0 0 16px;
}
.home-before-footer .widget:last-child {
    margin-bottom: 0;
}
.single-video { padding: 16px 0 28px; }
.player-shell {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #050608;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.main-player,
.player-shell iframe,
.player-shell video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
}
.player-empty {
    height: 100%;
    display: grid;
    place-content: center;
    gap: 4px;
    text-align: center;
    color: var(--muted);
    padding: 20px;
}
.single-video__header {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.single-video__meta,
.single-video__terms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    color: var(--muted);
}
.single-video__content {
    padding: 16px 0;
    color: #d9dee7;
    overflow-wrap: anywhere;
}
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 16px 0;
}
.post-nav a {
    display: grid;
    min-height: 46px;
    place-items: center;
    padding: 8px;
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
}
.empty-state {
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--muted);
}
.site-footer {
    margin-top: 28px;
    border-top: 1px solid var(--footer-border);
    background: var(--footer-bg);
    color: var(--footer-text);
}
.site-footer__inner {
    width: min(100% - 24px, var(--container));
    margin-inline: auto;
    padding: 22px 0;
    display: grid;
    gap: 12px;
    color: var(--footer-text);
}
.footer-brand {
    display: grid;
    gap: 4px;
}
.site-footer .footer-nav a,
.footer-brand strong { color: var(--footer-text); }

@media (min-width: 720px) {
    .site-header__inner {
        grid-template-columns: minmax(120px, auto) minmax(0, 1fr) minmax(240px, 380px);
        padding: 8px 20px;
    }
    .menu-toggle { display: none; }
    .primary-nav { display: block; }
    .header-search { display: block; }
    .video-grid { grid-template-columns: repeat(var(--grid-tablet-columns), minmax(0, 1fr)); }
    .video-grid--featured { grid-template-columns: repeat(var(--grid-tablet-columns), minmax(0, 1fr)); }
    .video-grid--compact { grid-template-columns: repeat(var(--grid-tablet-columns), minmax(0, 1fr)); }
    .content-with-sidebar { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
}

@media (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
}

@media (min-width: 1040px) {
    .video-grid { grid-template-columns: repeat(var(--grid-desktop-columns), minmax(0, 1fr)); }
    .video-grid--compact { grid-template-columns: repeat(var(--grid-trending-columns), minmax(0, 1fr)); }
    .video-card__title { font-size: .96rem; }
}

@media (max-width: 420px) {
    .layout-container,
    .site-header__bar,
    .site-footer__inner,
    .ad-slot { width: min(100% - 16px, var(--container)); }
    .video-grid { gap: 8px; }
    .video-card__body { padding: 7px; }
    .video-card__title { font-size: .84rem; }
    .post-nav { grid-template-columns: 1fr; }
}


/* Doonom header redesign — 2026-10-29 */
.site-header {
    position: relative;
    top: auto;
    z-index: 50;
    padding: 0;
    background: #050505;
    color: #fff;
    border-bottom: 1px solid rgba(255, 77, 157, .34);
    backdrop-filter: none;
}
body.admin-bar .site-header { top: auto; }
.site-header__bar {
    width: 100%;
    margin: 0;
    background: #050505;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.site-header__inner {
    width: min(100% - 48px, 1640px);
    min-height: 156px;
    margin-inline: auto;
    padding: 24px 0;
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(500px, 1fr) minmax(360px, 620px);
    grid-template-areas: "brand nav search";
    align-items: center;
    gap: clamp(24px, 3vw, 58px);
}
.site-branding { grid-area: brand; }
.site-branding .custom-logo-link { display: inline-flex; align-items: center; }
.site-branding .custom-logo {
    display: block;
    width: 160px;
    max-width: 100%;
    height: auto;
}
.primary-nav {
    grid-area: nav;
    display: block;
    min-width: 0;
}
.primary-nav__list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: clamp(18px, 2.3vw, 44px);
    overflow: visible;
    padding: 0;
}
.primary-nav__list li { flex: 0 0 auto; }
.primary-nav a {
    min-height: auto;
    padding: 8px 0;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;
    border-radius: 0;
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: #ff4d9d;
    text-shadow: none;
}
.header-search {
    grid-area: search;
    display: block;
    width: 100%;
}
.header-search .search-form {
    display: flex;
    width: 100%;
    min-height: 56px;
}
.header-search .search-field {
    width: 100%;
    height: 56px;
    padding: 0 18px 0 26px;
    background: #1b1b1b;
    color: #fff;
    border: 1px solid #373737;
    border-right: 0;
    border-radius: 999px 0 0 999px;
    box-shadow: none;
    font-size: 1rem;
}
.header-search .search-field::placeholder { color: #858585; opacity: 1; }
.header-search .search-submit {
    width: 58px;
    min-width: 58px;
    height: 56px;
    background: #1b1b1b;
    border: 1px solid #373737;
    border-left: 0;
    border-radius: 0 999px 999px 0;
}
.header-search .search-submit::before {
    top: 16px;
    left: 15px;
    width: 14px;
    height: 14px;
    border-color: #fff;
}
.header-search .search-submit::after {
    top: 32px;
    left: 30px;
    background: #fff;
}
.menu-toggle { display: none; }
.site-main { background: #050505; }
.home-discovery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-top: 45px;
    padding-bottom: 44px;
}
.home-discovery__link {
    display: inline-flex;
    min-width: 204px;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 28px;
    color: #fff;
    background: #202020;
    border: 1px solid #383838;
    border-radius: 11px;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}
.home-discovery__link:hover,
.home-discovery__link:focus-visible {
    color: #fff;
    background: #292929;
    border-color: #555;
}
.home-discovery__icon { font-size: 1.45rem; line-height: 1; }
.home-discovery__link--hot .home-discovery__icon { color: #ff4d9d; }
.home-discovery__link--thai .home-discovery__icon { color: #55c8ef; }
.home-discovery__link--onlyfans .home-discovery__icon { color: #ff4d9d; }
.term-strip-wrap {
    position: relative;
    width: min(100% - 48px, 1410px);
    margin-inline: auto;
    margin-bottom: 34px;
    padding-right: 52px;
}
.term-strip {
    width: 100%;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 94%, transparent 100%);
}
.term-strip::-webkit-scrollbar { display: none; }
.term-strip .chip {
    min-height: 42px;
    padding: 8px 20px;
    color: #fff;
    background: #202020;
    border: 0;
    border-radius: 7px;
    font-size: .86rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}
.term-strip .chip:hover,
.term-strip .chip:focus-visible { background: #303030; color: #fff; }
.term-strip__next {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0 0 4px;
    color: #fff;
    background: #202020;
    border: 1px solid #444;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .32);
}
.term-strip__next:hover,
.term-strip__next:focus-visible { background: #303030; border-color: #777; }
@media (max-width: 1180px) {
    .site-header__inner {
        grid-template-columns: 140px minmax(360px, 1fr) minmax(300px, 420px);
        gap: 22px;
    }
    .site-branding .custom-logo { width: 140px; }
    .primary-nav__list { gap: 18px; }
    .primary-nav a { font-size: .95rem; }
}
@media (max-width: 900px) {
    .site-header__inner {
        width: min(100% - 28px, 760px);
        min-height: auto;
        padding: 14px 0 16px;
        grid-template-columns: 1fr 44px;
        grid-template-areas:
            "brand toggle"
            "search search"
            "nav nav";
        gap: 12px;
    }
    .site-branding .custom-logo { width: 128px; }
    .menu-toggle {
        grid-area: toggle;
        display: inline-flex;
        justify-self: end;
    }
    .header-search { display: block; }
    .header-search .search-form,
    .header-search .search-field,
    .header-search .search-submit { height: 48px; min-height: 48px; }
    .header-search .search-submit::before { top: 12px; }
    .header-search .search-submit::after { top: 28px; }
    .primary-nav { display: none; }
    .primary-nav.is-open { display: block; }
    .primary-nav__list {
        justify-content: flex-start;
        gap: 8px 22px;
        flex-wrap: wrap;
        padding-top: 4px;
    }
    .home-discovery {
        justify-content: flex-start;
        gap: 8px;
        padding: 24px 14px 28px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .home-discovery::-webkit-scrollbar { display: none; }
    .home-discovery__link {
        flex: 0 0 auto;
        min-width: auto;
        min-height: 50px;
        padding: 9px 18px;
        font-size: .95rem;
    }
    .term-strip-wrap {
        width: min(100% - 20px, 760px);
        margin-bottom: 24px;
        padding-right: 46px;
    }
    .term-strip .chip { min-height: 40px; padding: 8px 15px; }
    .term-strip__next { width: 40px; height: 40px; }
}


/* Doonom homepage layout — 2026-10-29 */
.site-header__inner {
    min-height: 120px;
    padding-top: 16px;
    padding-bottom: 16px;
}
.site-branding .custom-logo { width: 144px; }
.header-search .search-form,
.header-search .search-field,
.header-search .search-submit {
    min-height: 52px;
    height: 52px;
}
.header-search .search-submit::before { top: 14px; }
.header-search .search-submit::after { top: 30px; }
.home-discovery {
    width: min(100% - 32px, 1040px);
    padding-top: 30px;
    padding-bottom: 28px;
}
.home-discovery__link {
    min-width: 190px;
    min-height: 52px;
    padding: 9px 22px;
}
.term-strip-wrap {
    width: min(100% - 32px, 1180px);
    margin-bottom: 28px;
}
.home-content-layout {
    width: min(100% - 40px, 1600px);
    margin: 0 auto 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 20px;
}
.home-content-feed { min-width: 0; }
.home-content-feed > .layout-container,
.home-content-feed .video-section > .layout-container {
    width: 100%;
}
.home-content-feed .video-section {
    padding: 0;
    margin-bottom: 20px;
}
.video-section--panel {
    padding: 18px !important;
    background: #1a1a1a;
    border: 1px solid #2f2f2f;
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
}
.video-section--panel .section-heading {
    min-height: 42px;
    margin: 0 0 14px;
    padding: 0 0 0 12px;
    border-left: 6px solid #ff4d9d;
}
.video-section--panel .section-heading h2 {
    color: #fff;
    font-size: 1.32rem;
    font-weight: 900;
}
.video-section--panel .section-heading a {
    color: #a9eaff;
}
.home-content-feed .video-grid { gap: 12px; }
.home-content-feed .video-grid,
.home-content-feed .video-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.video-card {
    background: #111315;
    border-color: #303238;
    border-radius: 9px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
    transition: transform .2s ease, border-color .2s ease;
}
.video-card:hover {
    transform: translateY(-3px);
    border-color: #4a4d54;
}
.video-card__thumb { border-radius: 8px 8px 0 0; }
.video-card__brand {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 30px;
    padding: 4px 7px;
    background: rgba(0, 0, 0, .68);
    border-radius: 6px;
    backdrop-filter: blur(4px);
}
.video-card__brand img {
    display: block;
    width: 76px;
    height: auto;
    max-height: 26px;
    object-fit: contain;
}
.video-card__category {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    max-width: 48%;
    padding: 5px 9px;
    color: #fff;
    background: #ff4d9d;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.video-card__views {
    position: absolute;
    left: 7px;
    bottom: 7px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    color: #fff;
    background: #55c8ef;
    border-radius: 6px;
    font-size: .74rem;
    font-weight: 900;
    line-height: 1;
}
.video-card__duration {
    right: 7px;
    bottom: 7px;
    padding: 4px 8px;
    background: #55c8ef;
    border-radius: 6px;
    font-size: .74rem;
}
.video-card__body { padding: 10px 11px 11px; }
.video-card__title {
    margin: 0 0 7px;
    min-height: 2.75em;
    font-size: .94rem;
    line-height: 1.38;
    -webkit-line-clamp: 2;
}
.video-card__term {
    display: inline-block;
    margin-bottom: 4px;
    color: #f2f4f7;
    font-size: .75rem;
    font-weight: 600;
}
.video-card__meta { color: #aeb5c1; }
.home-sidebar {
    position: sticky;
    top: 20px;
    padding: 14px;
    background: #0d0e10;
    border: 1px solid #27292e;
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
}
body.admin-bar .home-sidebar { top: 52px; }
.sidebar-quick-nav {
    display: grid;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid #292b30;
}
.sidebar-quick-nav__link {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    color: #fff;
    border-radius: 10px;
    font-size: .98rem;
    font-weight: 800;
}
.sidebar-quick-nav__link > span {
    width: 28px;
    color: #fff;
    font-size: 1.35rem;
    text-align: center;
}
.sidebar-quick-nav__link.is-active,
.sidebar-quick-nav__link:hover,
.sidebar-quick-nav__link:focus-visible { background: #292929; }
.sidebar-quick-nav__link.is-active > span { color: #8bdcf7; }
.sidebar-menu {
    padding: 18px 0 4px;
    border-bottom: 1px solid #292b30;
}
.sidebar-menu:last-child { border-bottom: 0; }
.sidebar-menu__eyebrow {
    margin: 0 0 12px;
    color: #8d949f;
    font-size: .8rem;
}
.sidebar-menu__toggle {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: #fff;
    background: #1c1d20;
    border: 1px solid #37393f;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 800;
    text-align: left;
}
.sidebar-menu__toggle strong { color: #ff4d9d; font-size: 1.2rem; }
.sidebar-menu__list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}
.sidebar-menu__item--extra { display: none; }
.sidebar-menu__list.is-expanded .sidebar-menu__item--extra { display: block; }
.sidebar-menu__item a {
    display: block;
    padding: 10px 14px;
    color: #fff;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 700;
}
.sidebar-menu__item a:hover,
.sidebar-menu__item a:focus-visible { background: #1c1d20; color: #a9eaff; }
.sidebar-tag-filter {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    color: #fff;
    background: #18191b;
    border: 1px solid #37393f;
    border-radius: 10px;
    box-shadow: none;
}
.sidebar-tag-filter::placeholder { color: #8d949f; }
.sidebar-menu__empty { margin: 12px 14px; color: #8d949f; font-size: .84rem; }
@media (max-width: 1300px) {
    .home-content-layout { grid-template-columns: minmax(0, 1fr) 280px; }
    .home-content-feed .video-grid,
    .home-content-feed .video-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
    .site-header__inner { min-height: auto; }
    .home-content-layout {
        width: min(100% - 20px, 760px);
        display: flex;
        flex-direction: column;
    }
    .home-content-feed,
    .home-sidebar { width: 100%; }
    .home-sidebar { position: static; }
    .home-content-feed .video-grid,
    .home-content-feed .video-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .video-section--panel { padding: 12px !important; }
    .video-section--panel .section-heading h2 { font-size: 1.08rem; }
    .video-card__brand { min-width: 56px; padding: 3px 5px; }
    .video-card__brand img { width: 58px; }
    .video-card__category { max-width: 52%; padding: 4px 6px; font-size: .64rem; }
    .video-card__views,
    .video-card__duration { padding: 3px 6px; font-size: .66rem; }
    .video-card__body { padding: 8px; }
    .video-card__title { font-size: .82rem; }
}


/* Doonom brand typography and palette — 2026-10-29 */
:root {
    --brand-pink: #ff4d9d;
    --brand-pink-deep: #e83285;
    --brand-blue: #55c8ef;
    --brand-blue-soft: #a9eaff;
    --brand-glow: rgba(255, 77, 157, .22);
    --hot: var(--brand-pink);
    --gold: var(--brand-blue);
    --cyan: var(--brand-blue);
    --header-border: rgba(255, 77, 157, .32);
    --footer-border: rgba(85, 200, 239, .22);
}
html,
body,
button,
input,
select,
textarea {
    font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif !important;
}
body { font-weight: 400; letter-spacing: .003em; }
h1, h2, h3, h4, h5, h6,
.primary-nav,
.home-discovery,
.section-heading,
.video-card__title,
.sidebar-menu,
.archive-header,
.single-video__header {
    font-family: "Prompt", "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
    letter-spacing: 0;
}
h1, h2, h3, .section-heading h2 { font-weight: 700; }
::selection { color: #fff; background: rgba(255, 77, 157, .78); }
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 3px;
}
.site-header { border-bottom-color: rgba(255, 77, 157, .34); }
.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a { color: var(--brand-pink); }
.header-search:focus-within,
.sidebar-tag-filter:focus {
    border-color: var(--brand-pink);
    box-shadow: 0 0 0 3px var(--brand-glow);
}
.header-search button { color: var(--brand-blue-soft); }
.home-discovery__link {
    border-color: rgba(255, 77, 157, .16);
}
.home-discovery__link:hover,
.home-discovery__link:focus-visible {
    border-color: rgba(255, 77, 157, .62);
    box-shadow: 0 8px 26px rgba(255, 77, 157, .12);
}
.home-discovery__link--hot .home-discovery__icon,
.home-discovery__link--onlyfans .home-discovery__icon { color: var(--brand-pink); }
.home-discovery__link--thai .home-discovery__icon { color: var(--brand-blue); }
.home-discovery__link--hot .home-discovery__icon { filter: hue-rotate(285deg) saturate(1.35) brightness(1.05); }
.term-strip { scrollbar-color: var(--brand-pink) rgba(31, 35, 43, .85); }
.term-strip::-webkit-scrollbar-thumb { background: linear-gradient(90deg, var(--brand-pink), var(--brand-blue)); }
.term-strip::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, #ff79b6, #8bdcf7); }
.chip:hover,
.chip:focus-visible,
.chip.is-active {
    color: #fff;
    border-color: var(--brand-pink);
    background: rgba(255, 77, 157, .14);
}
.video-section--panel {
    border-color: rgba(255, 77, 157, .16) !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(85, 200, 239, .04);
}
.video-section--panel .section-heading { border-left-color: var(--brand-pink); }
.video-section--panel .section-heading a,
.section-heading a { color: var(--brand-blue-soft); }
.video-card {
    border-color: rgba(85, 200, 239, .13) !important;
}
.video-card:hover {
    border-color: rgba(255, 77, 157, .58) !important;
    box-shadow: 0 12px 30px rgba(255, 77, 157, .12) !important;
}
.video-card__category { background: var(--brand-pink) !important; }
.video-card__views { background: var(--brand-blue) !important; color: #071117 !important; }
.video-card__duration {
    color: var(--brand-blue-soft) !important;
    background: rgba(5, 9, 13, .9) !important;
    border: 1px solid rgba(85, 200, 239, .62);
}
.video-card__term,
.video-card__term a { color: var(--brand-blue-soft); }
.home-sidebar { border-color: rgba(255, 77, 157, .18); }
.sidebar-menu__quick .sidebar-menu__item:first-child a {
    background: linear-gradient(90deg, rgba(255, 77, 157, .16), rgba(85, 200, 239, .08));
    box-shadow: inset 3px 0 0 var(--brand-pink);
}
.sidebar-menu__quick .sidebar-menu__item:first-child .sidebar-menu__icon { color: var(--brand-blue-soft); }
.sidebar-menu__toggle strong { color: var(--brand-pink); }
.sidebar-menu__item a:hover,
.sidebar-menu__item a:focus-visible { color: var(--brand-blue-soft); background: rgba(85, 200, 239, .08); }
.pagination-wrap .current,
.pagination-wrap a:hover,
.pagination-wrap a:focus-visible {
    color: #fff;
    border-color: var(--brand-pink);
    background: var(--brand-pink);
}
.archive-header,
.single-video__header {
    border-color: rgba(255, 77, 157, .28);
}
.archive-header h1,
.single-video h1 { text-shadow: 0 0 24px rgba(255, 77, 157, .1); }
.single-video__terms a,
.single-video__content a,
.home-before-footer a { color: var(--brand-blue-soft); }
.post-nav a:hover,
.post-nav a:focus-visible {
    border-color: var(--brand-pink);
    background: rgba(255, 77, 157, .1);
}
.site-footer { border-top-color: rgba(85, 200, 239, .24); }
.site-footer a:hover,
.footer-nav a:hover { color: var(--brand-pink); }


/* Doonom mobile header and discovery — 2026-10-29 */
@media (max-width: 900px) {
    .site-header__bar { border-bottom: 1px solid rgba(255, 77, 157, .32); }
    .site-header__inner {
        width: min(100% - 24px, 760px);
        padding: 14px 0 18px;
        grid-template-columns: minmax(0, 1fr) 48px;
        grid-template-areas:
            "brand toggle"
            "search search"
            "nav nav";
        column-gap: 12px;
        row-gap: 14px;
    }
    .site-branding { grid-area: brand; min-width: 0; }
    .site-branding .custom-logo { width: 136px; max-width: 100%; }
    .menu-toggle {
        grid-area: toggle;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        justify-self: end;
        width: 46px;
        height: 46px;
        gap: 5px;
        padding: 0;
        color: #fff;
        background: linear-gradient(145deg, #202126, #121317);
        border: 1px solid rgba(255, 77, 157, .48);
        border-radius: 12px;
        box-shadow: 0 7px 20px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .05);
        cursor: pointer;
    }
    .menu-toggle span:not(.screen-reader-text) {
        width: 21px;
        height: 2px;
        flex: 0 0 2px;
        margin: 0;
        background: linear-gradient(90deg, var(--brand-pink), var(--brand-blue-soft));
        border-radius: 999px;
        transform-origin: center;
        transition: transform .2s ease, opacity .2s ease;
    }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .header-search {
        grid-area: search;
        display: block;
        width: 100%;
        border-radius: 999px;
    }
    .header-search .search-form { min-height: 50px; height: 50px; }
    .header-search .search-field,
    .header-search .search-submit { min-height: 50px; height: 50px; }
    .header-search .search-field {
        padding-left: 20px;
        font-size: .94rem;
        background: #18191d;
        border-color: #383a42;
    }
    .header-search .search-submit {
        width: 54px;
        min-width: 54px;
        background: #18191d;
        border-color: #383a42;
    }
    .header-search .search-submit::before {
        top: 13px;
        left: 14px;
        border-color: var(--brand-blue-soft);
    }
    .header-search .search-submit::after {
        top: 29px;
        left: 29px;
        background: var(--brand-pink);
    }
    .primary-nav { grid-area: nav; display: none; }
    .primary-nav.is-open {
        display: block;
        padding: 10px;
        background: #121317;
        border: 1px solid rgba(255, 77, 157, .24);
        border-radius: 14px;
        box-shadow: 0 14px 34px rgba(0, 0, 0, .3);
    }
    .primary-nav__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 0;
    }
    .primary-nav a {
        display: flex;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        padding: 8px 10px;
        text-align: center;
        background: #1c1d22;
        border: 1px solid #30323a;
        border-radius: 9px;
        font-size: .86rem;
    }
    .primary-nav a:hover,
    .primary-nav a:focus-visible {
        background: rgba(255, 77, 157, .11);
        border-color: rgba(255, 77, 157, .48);
    }
    .home-discovery {
        width: min(100% - 24px, 760px);
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        justify-content: stretch;
        gap: 8px;
        padding: 24px 0 26px;
        overflow: visible;
    }
    .home-discovery__link {
        width: 100%;
        min-width: 0;
        min-height: 60px;
        padding: 9px 8px;
        gap: 6px;
        white-space: normal;
        text-align: center;
        font-size: clamp(.72rem, 2.5vw, .88rem);
        line-height: 1.22;
    }
    .home-discovery__link > span:last-child { min-width: 0; overflow-wrap: anywhere; }
}
@media (max-width: 480px) {
    .site-branding .custom-logo { width: 128px; }
    .home-discovery__link {
        min-height: 72px;
        flex-direction: column;
        gap: 4px;
        padding: 8px 4px;
        font-size: .76rem;
    }
    .home-discovery__icon { font-size: 1.25rem; }
    .home-discovery__icon img.emoji { width: 1.25em; height: 1.25em; }
}


/* Keep the video category in one consistent place below the title. */
.video-card__term {
    display: inline-flex !important;
    align-self: flex-start;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 4px;
    padding: 4px 9px;
    color: #fff !important;
    background: var(--brand-pink);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Smaller card logo on desktop and mobile. */
.video-card__brand {
    min-width: 56px;
    min-height: 24px;
    padding: 3px 5px;
}
.video-card__brand img {
    width: 56px;
    max-height: 20px;
}
@media (max-width: 700px) {
    .video-card__brand {
        top: 6px;
        left: 6px;
        min-width: 44px;
        min-height: 20px;
        padding: 2px 4px;
    }
    .video-card__brand img {
        width: 44px;
        max-height: 17px;
    }
}


/* Doonom single video page theme — 2026-10-29 */
.single-video > .breadcrumb { margin: 4px 0 14px; padding: 10px 14px; border: 1px solid rgba(85, 200, 239, .12); border-radius: 12px; background: rgba(15, 17, 20, .72); }
.single-video > .breadcrumb a { color: var(--brand-blue-soft); }
.single-video .player-shell { border-color: rgba(255, 77, 157, .32); box-shadow: 0 16px 44px rgba(0, 0, 0, .32), 0 0 0 1px rgba(85, 200, 239, .06); }
.single-video__header { position: relative; overflow: hidden; margin-top: 16px; padding: clamp(18px, 3vw, 28px); border: 1px solid rgba(255, 77, 157, .2); border-radius: 16px; background: radial-gradient(circle at 100% 0, rgba(85, 200, 239, .09), transparent 34%), linear-gradient(135deg, rgba(255, 77, 157, .075), rgba(17, 19, 23, .96) 38%); box-shadow: inset 4px 0 0 var(--brand-pink), 0 14px 36px rgba(0, 0, 0, .2); }
.single-video__header::after { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, var(--brand-pink), rgba(85, 200, 239, .75), transparent 86%); }
.single-video__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--brand-blue-soft); font-size: .78rem; font-weight: 700; letter-spacing: .045em; }
.single-video__eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-pink); box-shadow: 0 0 0 5px rgba(255, 77, 157, .13), 0 0 16px rgba(255, 77, 157, .7); }
.single-video__header h1 { max-width: 1120px; font-size: clamp(1.35rem, 3vw, 2.15rem); line-height: 1.35; text-wrap: balance; }
.single-video__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.single-video__meta-item { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border: 1px solid rgba(85, 200, 239, .18); border-radius: 999px; color: #dcebf2; background: rgba(85, 200, 239, .07); font-size: .86rem; }
.single-video__meta-item::before { margin-right: 7px; color: var(--brand-blue); line-height: 1; }
.single-video__meta-item--date::before { content: "●"; font-size: .65rem; }
.single-video__meta-item--views::before { content: "◉"; font-size: .9rem; }
.single-video__term-groups { display: grid; gap: 13px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .07); }
.single-video__term-group { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: start; }
.single-video__term-label { display: inline-flex; align-items: center; min-height: 32px; color: #eef7fb; font-size: .82rem; font-weight: 700; }
.single-video__term-label::before { content: ""; width: 4px; height: 20px; margin-right: 8px; border-radius: 999px; background: var(--brand-pink); }
.single-video__term-label--tag::before { background: var(--brand-blue); }
.single-video__term-label--actor::before { background: linear-gradient(var(--brand-pink), var(--brand-blue)); }
.single-video__terms { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; }
.single-video__terms .chip { min-height: 32px; padding: 5px 11px; border-color: rgba(255, 77, 157, .2); color: #ffd4e7; background: rgba(255, 77, 157, .09); font-size: .82rem; font-weight: 600; }
.single-video__terms .chip--tag { border-color: rgba(85, 200, 239, .2); color: #c9f2ff; background: rgba(85, 200, 239, .08); }
.single-video__terms .chip--actor { border-color: rgba(255, 255, 255, .14); color: #fff; background: linear-gradient(90deg, rgba(255, 77, 157, .1), rgba(85, 200, 239, .08)); }
.single-video__terms .chip:hover, .single-video__terms .chip:focus-visible { color: #fff; border-color: var(--brand-pink); background: rgba(255, 77, 157, .18); transform: translateY(-1px); }
.single-video__content { margin: 18px 0 0; padding: 0; color: #e8edf2; }
.single-video__content-title { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 1.18rem; }
.single-video__content-title::before { content: "i"; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--brand-pink), #d83587); box-shadow: 0 0 18px rgba(255, 77, 157, .22); font-family: Arial, sans-serif; font-size: .82rem; font-weight: 800; }
.single-video__content-panel { position: relative; padding: clamp(17px, 2.5vw, 24px); border: 1px solid rgba(85, 200, 239, .15); border-radius: 14px; background: linear-gradient(90deg, rgba(255, 77, 157, .055), transparent 35%), #121418; box-shadow: inset 4px 0 0 var(--brand-pink); font-size: 1rem; line-height: 1.8; }
.single-video__content-panel > :first-child { margin-top: 0; }
.single-video__content-panel > :last-child { margin-bottom: 0; }
.single-video .post-nav { margin: 18px 0 22px; }
.single-video .post-nav a { min-height: 50px; border-color: rgba(85, 200, 239, .15); background: linear-gradient(135deg, rgba(255, 77, 157, .06), rgba(85, 200, 239, .045)); color: #eff8fc; font-weight: 650; }
.single-video .post-nav a:hover, .single-video .post-nav a:focus-visible { border-color: rgba(255, 77, 157, .55); box-shadow: 0 8px 22px rgba(255, 77, 157, .1); }
.single-video .related-videos { margin-top: 8px; padding: 18px; border: 1px solid rgba(255, 77, 157, .14); border-radius: 16px; background: #15171b; }
.single-video .related-videos .section-heading { border-left-color: var(--brand-pink); }
@media (max-width: 700px) {
  .single-video { padding-top: 10px; }
  .single-video > .breadcrumb { margin-bottom: 10px; padding: 8px 10px; border-radius: 10px; font-size: .76rem; }
  .single-video .player-shell { border-radius: 12px; }
  .single-video__header { margin-top: 12px; padding: 16px 15px 17px; border-radius: 13px; box-shadow: inset 3px 0 0 var(--brand-pink), 0 12px 28px rgba(0, 0, 0, .18); }
  .single-video__header h1 { font-size: clamp(1.18rem, 5.8vw, 1.55rem); line-height: 1.42; }
  .single-video__meta { margin-top: 12px; }
  .single-video__meta-item { min-height: 31px; padding: 5px 10px; font-size: .78rem; }
  .single-video__term-groups { margin-top: 14px; padding-top: 14px; }
  .single-video__term-group { grid-template-columns: 1fr; gap: 5px; }
  .single-video__term-label { min-height: 24px; }
  .single-video__term-label::before { height: 16px; }
  .single-video__terms { flex-wrap: nowrap; overflow-x: auto; padding: 2px 1px 6px; scrollbar-width: thin; }
  .single-video__terms .chip { min-height: 30px; white-space: nowrap; font-size: .78rem; }
  .single-video__content { margin-top: 16px; }
  .single-video__content-title { font-size: 1.05rem; }
  .single-video__content-panel { padding: 16px 15px; border-radius: 12px; box-shadow: inset 3px 0 0 var(--brand-pink); font-size: .92rem; line-height: 1.72; }
  .single-video .post-nav { grid-template-columns: 1fr; }
  .single-video .related-videos { margin-inline: 0; padding: 14px 10px; border-radius: 13px; }
}


/* Doonom single video mobile term scrollbar — 2026-10-29 */
@media (max-width: 700px) {
  .single-video__terms { scrollbar-color: rgba(255, 77, 157, .78) rgba(255, 255, 255, .05); }
  .single-video__terms::-webkit-scrollbar { height: 5px; }
  .single-video__terms::-webkit-scrollbar-track { border-radius: 999px; background: rgba(255, 255, 255, .05); }
  .single-video__terms::-webkit-scrollbar-thumb { border-radius: 999px; background: linear-gradient(90deg, var(--brand-pink), var(--brand-blue)); }
}


/* Doonom category, tag and search pages — 2026-10-29 */
.archive-header { display: grid; gap: 12px; padding: 18px 0 16px; }
.archive-header > .breadcrumb { padding: 9px 13px; border: 1px solid rgba(85, 200, 239, .12); border-radius: 11px; background: rgba(15, 17, 20, .72); }
.archive-header > .breadcrumb a { color: var(--brand-blue-soft); }
.archive-header__panel { position: relative; overflow: hidden; padding: clamp(20px, 3.2vw, 32px); border: 1px solid rgba(255, 77, 157, .2); border-radius: 17px; background: radial-gradient(circle at 100% 0, rgba(85, 200, 239, .11), transparent 34%), linear-gradient(135deg, rgba(255, 77, 157, .08), rgba(17, 19, 23, .97) 38%); box-shadow: inset 4px 0 0 var(--brand-pink), 0 14px 38px rgba(0, 0, 0, .22); }
.archive-header__panel::after { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, var(--brand-pink), rgba(85, 200, 239, .78), transparent 88%); }
.archive-header--tag .archive-header__panel { box-shadow: inset 4px 0 0 var(--brand-blue), 0 14px 38px rgba(0, 0, 0, .22); }
.archive-header--search .archive-header__panel { box-shadow: inset 4px 0 0 var(--brand-pink), inset -1px 0 0 rgba(85, 200, 239, .3), 0 14px 38px rgba(0, 0, 0, .22); }
.archive-header__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--brand-blue-soft); font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.archive-header__eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-pink); box-shadow: 0 0 0 5px rgba(255, 77, 157, .12), 0 0 15px rgba(255, 77, 157, .65); }
.archive-header--tag .archive-header__eyebrow span { background: var(--brand-blue); box-shadow: 0 0 0 5px rgba(85, 200, 239, .12), 0 0 15px rgba(85, 200, 239, .58); }
.archive-header h1 { max-width: 1050px; margin: 0; font-size: clamp(1.55rem, 4vw, 2.55rem); line-height: 1.28; text-wrap: balance; }
.archive-description { max-width: 850px; margin-top: 10px; color: #cfd6df; line-height: 1.75; }
.archive-description p { margin: 0; }
.archive-header__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.archive-header__meta span { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 11px; border: 1px solid rgba(85, 200, 239, .18); border-radius: 999px; color: #d7f4ff; background: rgba(85, 200, 239, .07); font-size: .8rem; font-weight: 600; }
.archive-header__meta span:first-child::before { content: ""; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--brand-pink); }
.archive-filter { display: grid; grid-template-columns: auto minmax(260px, 440px); align-items: center; gap: 12px; margin-top: 18px; padding-top: 17px; border-top: 1px solid rgba(255, 255, 255, .07); }
.archive-filter__label { color: #eef7fb; font-size: .88rem; font-weight: 700; }
.archive-filter .search-form { justify-content: flex-start; }
.archive-filter .search-field { min-height: 46px; border-color: rgba(85, 200, 239, .24); border-radius: 12px 0 0 12px; background: rgba(7, 9, 12, .8); }
.archive-filter .search-field:focus { outline: none; border-color: var(--brand-pink); box-shadow: inset 0 0 0 1px var(--brand-pink); }
.archive-filter .search-submit { min-height: 46px; border-radius: 0 12px 12px 0; color: #fff; background: linear-gradient(135deg, var(--brand-pink), #da3485); }
.archive-filter .search-submit:hover, .archive-filter .search-submit:focus-visible { filter: brightness(1.1); }
.archive-results--themed { margin: 4px 0 26px; padding: clamp(12px, 2vw, 20px); border: 1px solid rgba(255, 77, 157, .15); border-radius: 17px; background: #15171b; box-shadow: 0 14px 36px rgba(0, 0, 0, .18); }
.archive-results__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 2px 0 12px 12px; border-bottom: 1px solid rgba(255, 255, 255, .07); border-left: 4px solid var(--brand-pink); }
.archive-header--tag + .layout-container .archive-results__heading { border-left-color: var(--brand-blue); }
.archive-results__heading h2 { margin: 0; font-size: 1.2rem; }
.archive-results__heading span { padding: 5px 10px; border: 1px solid rgba(85, 200, 239, .16); border-radius: 999px; color: var(--brand-blue-soft); background: rgba(85, 200, 239, .06); font-size: .78rem; white-space: nowrap; }
.archive-results--themed .video-card { background: #101216; }
.archive-results--themed .pagination-wrap { margin: 22px 0 2px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .07); }
.archive-results--themed .page-numbers li { border-color: rgba(85, 200, 239, .14); background: #101216; }
.archive-results--themed .page-numbers.current, .archive-results--themed .page-numbers a:hover, .archive-results--themed .page-numbers a:focus-visible { color: #fff; border-color: var(--brand-pink); background: var(--brand-pink); }
.archive-results--themed .empty-state { margin: 0; border-color: rgba(85, 200, 239, .16); background: linear-gradient(135deg, rgba(255, 77, 157, .07), rgba(85, 200, 239, .045)); }
@media (max-width: 700px) {
  .archive-header { gap: 9px; padding: 10px 0 12px; }
  .archive-header > .breadcrumb { padding: 8px 10px; font-size: .75rem; }
  .archive-header__panel { padding: 17px 15px 16px; border-radius: 13px; box-shadow: inset 3px 0 0 var(--brand-pink), 0 12px 28px rgba(0, 0, 0, .18); }
  .archive-header--tag .archive-header__panel { box-shadow: inset 3px 0 0 var(--brand-blue), 0 12px 28px rgba(0, 0, 0, .18); }
  .archive-header h1 { font-size: clamp(1.35rem, 7vw, 1.85rem); line-height: 1.35; }
  .archive-description { margin-top: 8px; font-size: .9rem; line-height: 1.65; }
  .archive-header__meta { margin-top: 12px; }
  .archive-header__meta span { min-height: 30px; font-size: .75rem; }
  .archive-filter { grid-template-columns: 1fr; gap: 7px; margin-top: 14px; padding-top: 14px; }
  .archive-filter .search-field, .archive-filter .search-submit { min-height: 44px; }
  .archive-results--themed { margin-bottom: 18px; padding: 12px 9px; border-radius: 13px; }
  .archive-results__heading { align-items: flex-start; margin-bottom: 12px; padding: 1px 0 10px 9px; }
  .archive-results__heading h2 { font-size: 1.05rem; }
  .archive-results__heading span { font-size: .72rem; }
}


/* Doonom homepage article cards — 2026-10-29 */
.home-before-footer { counter-reset: doonom-info-card; display: grid; gap: 0; margin-top: 26px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.home-before-footer > .widget { min-width: 0; margin: 0 !important; }
.home-before-footer > .widget:nth-child(odd) { counter-increment: doonom-info-card; position: relative; overflow: hidden; padding: clamp(18px, 2.8vw, 26px) clamp(18px, 3vw, 30px) 10px; border: 1px solid rgba(255, 77, 157, .2); border-bottom: 0; border-radius: 17px 17px 0 0; background: radial-gradient(circle at 100% 0, rgba(85, 200, 239, .09), transparent 34%), linear-gradient(135deg, rgba(255, 77, 157, .075), rgba(18, 20, 24, .98) 42%); box-shadow: inset 4px 0 0 var(--brand-pink), 0 12px 32px rgba(0, 0, 0, .16); }
.home-before-footer > .widget:nth-child(odd)::after { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, var(--brand-pink), rgba(85, 200, 239, .72), transparent 88%); }
.home-before-footer > .widget:nth-child(3) { border-color: rgba(85, 200, 239, .2); box-shadow: inset 4px 0 0 var(--brand-blue), 0 12px 32px rgba(0, 0, 0, .16); }
.home-before-footer > .widget:nth-child(3)::after { background: linear-gradient(90deg, var(--brand-blue), rgba(255, 77, 157, .66), transparent 88%); }
.home-before-footer > .widget:nth-child(5) { box-shadow: inset 4px 0 0 var(--brand-pink), inset 5px 0 0 rgba(85, 200, 239, .22), 0 12px 32px rgba(0, 0, 0, .16); }
.home-before-footer > .widget:nth-child(odd)::before { content: "ข้อมูลเว็บไซต์ 0" counter(doonom-info-card); display: block; margin-bottom: 8px; color: var(--brand-blue-soft); font-size: .76rem; font-weight: 700; letter-spacing: .045em; }
.home-before-footer > .widget:nth-child(even) { margin-bottom: 18px !important; padding: 2px clamp(18px, 3vw, 30px) clamp(20px, 3vw, 28px); border: 1px solid rgba(255, 77, 157, .2); border-top: 0; border-radius: 0 0 17px 17px; background: linear-gradient(90deg, rgba(255, 77, 157, .035), transparent 36%), #121418; box-shadow: inset 4px 0 0 var(--brand-pink), 0 14px 32px rgba(0, 0, 0, .16); }
.home-before-footer > .widget:nth-child(4) { border-color: rgba(85, 200, 239, .2); box-shadow: inset 4px 0 0 var(--brand-blue), 0 14px 32px rgba(0, 0, 0, .16); }
.home-before-footer > .widget:nth-child(6) { box-shadow: inset 4px 0 0 var(--brand-pink), inset 5px 0 0 rgba(85, 200, 239, .22), 0 14px 32px rgba(0, 0, 0, .16); }
.home-before-footer .wp-block-heading { display: flex; align-items: flex-start; gap: 11px; margin: 0; color: #fff; text-align: left !important; font-size: clamp(1.28rem, 3vw, 1.85rem); line-height: 1.38; text-wrap: balance; }
.home-before-footer .wp-block-heading::before { content: ""; flex: 0 0 auto; width: 5px; height: 1.35em; margin-top: .06em; border-radius: 999px; background: var(--brand-pink); box-shadow: 0 0 16px rgba(255, 77, 157, .35); }
.home-before-footer > .widget:nth-child(3) .wp-block-heading::before { background: var(--brand-blue); box-shadow: 0 0 16px rgba(85, 200, 239, .32); }
.home-before-footer .widget_text, .home-before-footer .widget_text p { color: #dbe1e8; text-align: left !important; font-size: 1rem; line-height: 1.9; }
.home-before-footer .widget_text p { margin: 0; }
.home-before-footer .widget_text a { color: var(--brand-blue-soft); font-weight: 650; text-decoration-color: rgba(85, 200, 239, .38); text-underline-offset: 3px; }
.home-before-footer .widget_text a:hover, .home-before-footer .widget_text a:focus-visible { color: var(--brand-pink); }
@media (max-width: 700px) {
  .home-before-footer { margin-top: 18px; }
  .home-before-footer > .widget:nth-child(odd) { padding: 16px 15px 8px; border-radius: 13px 13px 0 0; box-shadow: inset 3px 0 0 var(--brand-pink), 0 10px 24px rgba(0, 0, 0, .14); }
  .home-before-footer > .widget:nth-child(3) { box-shadow: inset 3px 0 0 var(--brand-blue), 0 10px 24px rgba(0, 0, 0, .14); }
  .home-before-footer > .widget:nth-child(5) { box-shadow: inset 3px 0 0 var(--brand-pink), inset 4px 0 0 rgba(85, 200, 239, .22), 0 10px 24px rgba(0, 0, 0, .14); }
  .home-before-footer > .widget:nth-child(even) { margin-bottom: 14px !important; padding: 2px 15px 18px; border-radius: 0 0 13px 13px; box-shadow: inset 3px 0 0 var(--brand-pink), 0 11px 24px rgba(0, 0, 0, .14); }
  .home-before-footer > .widget:nth-child(4) { box-shadow: inset 3px 0 0 var(--brand-blue), 0 11px 24px rgba(0, 0, 0, .14); }
  .home-before-footer > .widget:nth-child(6) { box-shadow: inset 3px 0 0 var(--brand-pink), inset 4px 0 0 rgba(85, 200, 239, .22), 0 11px 24px rgba(0, 0, 0, .14); }
  .home-before-footer .wp-block-heading { gap: 9px; font-size: clamp(1.15rem, 5.7vw, 1.45rem); line-height: 1.45; }
  .home-before-footer > .widget:nth-child(odd)::before { margin-bottom: 6px; font-size: .7rem; }
  .home-before-footer .widget_text, .home-before-footer .widget_text p { font-size: .9rem; line-height: 1.78; }
}


/* Doonom centered footer copyright — 2026-10-29 */
.site-footer__inner { justify-items: center; text-align: center; }
.footer-brand { width: 100%; justify-items: center; }
.footer-nav, .footer-nav__list { justify-content: center; }

/* Doonom bidirectional term strip and compact card category — 2026-10-29 */
.term-strip-wrap {
    padding-inline: 50px;
}

.term-strip {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.term-strip__prev,
.term-strip__next {
    position: absolute;
    top: 0;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0 0 4px;
    color: #fff;
    background: #202020;
    border: 1px solid #444;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .32);
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, opacity .2s ease, transform .2s ease;
}

.term-strip__prev { left: 0; right: auto; }
.term-strip__next { right: 0; left: auto; }
.term-strip__prev:hover:not(:disabled),
.term-strip__next:hover:not(:disabled) {
    color: var(--brand-blue);
    border-color: var(--brand-pink);
    transform: translateY(-1px);
}
.term-strip__prev:disabled,
.term-strip__next:disabled {
    opacity: .28;
    cursor: default;
    pointer-events: none;
}

.video-card__term {
    margin-bottom: 3px;
    padding: 3px 7px;
    font-size: .64rem;
    line-height: 1.1;
}

@media (max-width: 700px) {
    .term-strip-wrap { padding-inline: 44px; }
    .term-strip__prev,
    .term-strip__next { width: 38px; height: 38px; font-size: 1.75rem; }
    .video-card__term { padding: 2px 6px; font-size: .56rem; }
}

