/*
Theme Name: Nov (Hội Nhiều Chữ)
Description: Giao diện trang web đọc tiểu thuyết, truyện chữ, truyện tranh.
Tags: comic, manga, novel
Version: 2.13.7
Requires at least: 6.0
Tested up to: 6.7.1
Requires PHP: 8.3
License: GNU General Public License v2 or later
License URI: license.txt
*/

::selection {
    background: var(--theme-color);
}

/* Tinh chỉnh UIKit */

.uk-width-3xlarge {
    width: 900px;
}

.uk-width-4xlarge {
    width: 1200px;
}

.uk-slider-items.uk-grid-small {
    margin-left: -15px !important;
}

.black-cover {
    width: 75%;
    height: 100%;
    left: -10%;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    transform: skew(15deg);
}

.black-bottom {
    background: linear-gradient(transparent, rgba(0,0,0,.5));
}

.default-frame {
    width: 100%;
    left: calc(50% + 8px);
    max-width: none;
}

.nav-frame,
.block-frame {
    width: 130%;
    max-width: none;
}

.profile-frame,
.um-profile-photo a.um-profile-photo-img img.profile-frame {
    width: 125%;
    max-width: none;
}

.max-width-none {
    max-width: none !important;
}

.max-width-65px {
    max-width: 65px !important;
}

.uk-height-xmedium {
    height: 225px;
}

.width-95-90 {
    width: 95%;
}

@media (max-width: 640px) {
    .width-95-90 {
        width: 90%;
    }

    .smaller-mobile {
        width: 80% !important;
    }

    .slider-title {
        font-size: medium;
    }

    .slider-desc {
        font-size: small;
    }

    .slider-view .uk-button {
        padding: 0 20px;
        line-height: 28px;
    }
}

.slider-height {
    height: var(--slider-height);
}

.line-height-30 {
    line-height: 30px;
}

.uk-link,
a {
    color: var(--theme-color);
}

.theme-color {
    color: var(--theme-color) !important;
}

.uk-button-primary {
    background-color: var(--theme-color);
}

.uk-button-primary.uk-active,
.uk-button-primary:active,
.uk-button-primary:hover {
    background-color: var(--theme-hover-color);
}

.uk-link-toggle:hover .uk-link,
.uk-link:hover,
a:hover,
.uk-link-heading a:hover,
.uk-link-toggle:hover .uk-link-heading,
a.uk-link-heading:hover {
    color: var(--blur-1-color);
}

.uk-logo img {
    width: auto;
    height: auto;
    max-height: 50px;
}

.logo-mobile-block img {
    width: auto;
    height: auto;
    max-height: 65px;
}

.holiday-icon {
    position: absolute !important;
    top: 0;
    right: -10px;
    max-width: 30px !important;
    transform: rotate(20deg)
}

.category-tab .uk-active .uk-button-text:before {
    right: 0;
}

.uk-padding-small-horizontal {
    padding-inline: 20px;
}

.uk-padding-xxsmall-vertical {
    padding-block: 5px;
}

.go-to-top {
    padding: 9px !important;
    line-height: 15px;
}

.uk-margin-xsmall-top {
    margin-top: 5px !important;
}

.uk-margin-xsmall-bottom {
    margin-bottom: 5px !important;
}

.uk-margin-15-bottom {
    margin-bottom: 15px !important;
}

.uk-margin-15-right {
    margin-right: 15px !important;
}

a.uk-button.uk-disabled {
    background-color: transparent;
    color: #999;
    border-color: #e5e5e5;
}

.uk-heading-bullet::before {
    border-left-color: var(--theme-color);
    transform: skew(-20deg);
}

.uk-width-user {
    min-width: 250px;
}

#add-stone-btn.uk-disabled {
    background-color: var(--theme-hover-color);
}

.uk-light #add-stone-btn.uk-disabled {
    background-color: transparent;
    color: #999;
    border-color: #e5e5e5;
}

.user-property-avatar {
    max-width: 70px;
}

.min-height-45 {
    min-height: 45px;
}

.min-height-80 {
    min-height: 80px;
}

.min-height-300 {
    min-height: 300px;
}

.max-2-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.max-3-line {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uk-text-initcase {
    text-transform: none;
    font-size: 1em;
}

.uk-notification-message {
    font-size: 1rem;
}

.uk-text-background {
    background-size: cover;
}

.uk-cursor-pointer {
    cursor: pointer;
}

#wpadminbar {
    z-index: 999 !important;
}

.uk-blur {
    filter: blur(16px);
}

.uk-opacity-20 {
    opacity: .2;
}

#search-overlay.uk-overlay-primary {
    background: rgba(0,0,0,.8);
}

body.category #header-block .uk-navbar-transparent {
    background-color: #fff;
}

.uk-no-pointer-events {
    pointer-events: none;
}

/* Sáng / Tối */

.mode-checkbox {
    opacity: 0;
    position: absolute;
    z-index: 999;
    cursor: pointer;
}

.mode-checkbox-label {
    width: 44px;
    height: 26px;
    border-radius: 50px;
    position: relative;
    padding: 0 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.curr-dark {
    background: linear-gradient(to right, #2c3e50, #2980b9);
}

.curr-dark:before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    top: 2px;
    left: 15px;
    background: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="%23fff" xmlns="http://www.w3.org/2000/svg"><path d="M7.45 2.71a1.13 1.13 0 0 1 2.1 0l1.16 2.95q.18.45.63.63l2.95 1.16c.95.38.95 1.72 0 2.1l-2.95 1.16q-.45.18-.63.63L9.55 14.3c-.38.95-1.72.95-2.1 0L6.3 11.34a1.1 1.1 0 0 0-.63-.63L2.7 9.55a1.13 1.13 0 0 1 0-2.1L5.66 6.3q.45-.18.63-.63zm9.47 10.69a.62.62 0 0 1 1.16 0l.9 2.28q.1.24.34.34l2.29.9c.52.21.52.95 0 1.16l-2.29.9a.6.6 0 0 0-.34.34l-.9 2.29a.62.62 0 0 1-1.16 0l-.9-2.29a.6.6 0 0 0-.34-.34l-2.29-.9a.62.62 0 0 1 0-1.16l2.29-.9a.6.6 0 0 0 .34-.34z" /></svg>');
    animation: fade-stars 3s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes fade-stars {
    0% { opacity: 1;}
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.curr-light {
    background: linear-gradient(to left, #0052d4, #65c7f7, #9cecfb);
}

.curr-light:after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    top: 8px;
    left: -32px;
    background: url('data:image/svg+xml,<svg viewBox="0 -4 32 32" fill="%23fff" xmlns="http://www.w3.org/2000/svg"><path d="M23.07 5.03A9 9 0 0 0 6.03 8.35 8.1 8.1 0 0 0 0 16c0 4.26 3.54 7.75 8 8h15c4.97 0 9-4.25 9-9.5a9.5 9.5 0 0 0-8.93-9.47" fill-rule="evenodd"/></svg>');
    animation: chillin-cloud 10s ease-in infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes chillin-cloud {
    0% { left: -32px; }
    100% { left: 54px; }
}

.light-mode-icon {
    color: #f3c612;
}

.dark-mode-icon {
    color: #f1c40f;
}

.mode-checkbox-label .ball {
    background-color: #fff;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    transition: transform 0.2s linear;
    z-index: 0;
}

.mode-checkbox:checked + .mode-checkbox-label .ball {
    transform: translateX(28px);
}

/* CSS thêm  */

.uk-card-primary.uk-card-body .uk-heading-bullet::before, .uk-card-primary>:not([class*=uk-card-media]) .uk-heading-bullet::before, .uk-card-secondary.uk-card-body .uk-heading-bullet::before, .uk-card-secondary>:not([class*=uk-card-media]) .uk-heading-bullet::before, .uk-light .uk-heading-bullet::before, .uk-offcanvas-bar .uk-heading-bullet::before, .uk-overlay-primary .uk-heading-bullet::before, .uk-section-primary:not(.uk-preserve-color) .uk-heading-bullet::before, .uk-section-secondary:not(.uk-preserve-color) .uk-heading-bullet::before, .uk-tile-primary:not(.uk-preserve-color) .uk-heading-bullet::before, .uk-tile-secondary:not(.uk-preserve-color) .uk-heading-bullet::before {
    border-left-color: var(--theme-color);
}

.rank-title {
    height: 40px;
    display: inline-block;
    background-repeat: no-repeat;
    padding: 6px 32px 0 8px;
    background-position: 100% 50%;
    background-image: var(--title-background);
}

.rank-title a.uk-link-heading {
    color: #fff;
}

.turn-off-color {
    filter: grayscale(100%);
}

.padding-inline-30 {
    padding-inline: 30px;
}

.continue-reading {
    width: 900px;
    max-width: calc(100% - 30px);
    padding-inline: 15px;
}

.continue-reading .uk-background-secondary {
    background-color: var(--black-opacity-color) !important;
}

.continue-reading img {
    max-width: 50px;
}

.continue-reading-title {
    max-width: calc(100% - 100px);
}

.inbox-block img {
    max-width: 60px;
}

.inbox-block .unread-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 6px;
}

.menu-unread-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-left: 5px;
    margin-top: 0;
}

.pre-wrap {
    white-space: pre-wrap;
}

.fan-padding {
    padding: 30px 30px 20px;
}

.gift-list .uk-disabled {
    opacity: .5;
}

.chapter-item a.uk-link-toggle:visited .uk-link-heading {
    color: #999;
}

.category-images img,
.news-content img {
    border-radius: 5px;
}

.chapter-menu-height {
    max-height: 450px;
    min-width: 250px;
    overflow-y: scroll;
}

.disable-scrollbar::-webkit-scrollbar,
.chapter-menu-height::-webkit-scrollbar,
.uk-overflow-auto.uk-text-nowrap::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.uk-light .uk-comment-primary,
.uk-light .uk-modal-dialog,
.uk-light .uk-modal-header,
.uk-light .uk-modal-footer {
    background-color: var(--dark-color);
}

.uk-light pre {
    color: rgba(255, 255, 255, .7);
    background-color: var(--dark-color);
    border-color: rgba(255, 255, 255, .2);
}

.uk-light #paragraph-comment-list .uk-comment-primary {
    background-color: #222;
}

.uk-light .uk-modal-header,
.uk-light .uk-modal-footer,
.uk-light .uk-navbar-dropdown-nav .uk-nav-divider,
.uk-light .um-account-nav a,
.uk-light div.uimob500 .um-account-tab {
    border-color: rgba(255,255,255,.2) !important;
}

.uk-background-dark {
    background-color: var(--dark-color);
}

.uk-background-secondary {
    background-color: var(--darkest-color) !important;
}

.uk-light #single-block {
    background: var(--darkest-color) !important;
}

.navbar-padding .uk-search-input.uk-background-secondary,
.navbar-padding .uk-navbar-item.uk-background-secondary {
    background-color: transparent !important;
}

.uk-light .uk-alert,
.uk-light .uk-notification-message,
.uk-light .uk-navbar-dropdown,
.uk-light .uk-card-default {
    background-color: var(--dark-color);
    color: rgba(255,255,255,.7);
}

.um-avatar {
    border-radius: 50%;
}

.avatar-badge {
    top: -5px;
    right: -5px;
}

.noti-badge {
    height: 12px;
    min-width: 12px;
    padding: 0;
    top: -2px;
    right: -2px;
}

.vip-badge {
    background: var(--theme-color);
    bottom: -5px;
    right: -5px;
}

.comment-avatar .vip-badge {
    bottom: 0;
    right: 0;
}

.uk-text-larger {
    font-size: larger
}

.uk-text-smaller {
    font-size: smaller
}

.no-shadow {
    box-shadow: none
}

.scale-up-hover img {
    width: 100%;
    transition: all .3s ease;
}

.scale-up-hover:hover img,
.scale-up-hover:focus img {
    transform: scale(1.05);
}

.hide-long-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fixed-alert {
    position: fixed;
    z-index: 999;
    bottom: 60px;
    left: 15px;
}

.text-default {
    font-family: system-ui !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.highlight-text {
    background-image: linear-gradient(
        120deg,
        rgba(156, 255, 0, 0.7) 0,
        rgba(156, 255, 0, 0.7) 100%
    );
    background-repeat: no-repeat;
    background-size: 100% 0.5em;
    background-position: 0 100%;
}

/* Xem truyện */

.single-thumb {
    max-width: 215px;
}

#view-chapter, .view-chapter {
    font-family: Lora, serif;
    font-size: 22px;
    line-height: 2.5;
}

.inline-comment-block {
    top: -30px;
    padding: 5px 15px;
    background-color: var(--dark-color);
    color: #fff;
}

.normal {
    color: #222;
}

.uk-light .normal,
.uk-light .um-profile.um .um-name a {
    color: rgba(255, 255, 255, 0.85);
}

.lighter {
    color: #666;
}

.uk-light .lighter {
    color: rgba(255, 255, 255, 0.7);
}

.darker {
    color: #000;
}

.uk-light .darker,
.uk-light .um-profile.um .um-name a:hover {
    color: rgba(255, 255, 255, 0.95);
}

#view-chapter .chapter-content {
    user-select: none;
}

#view-chapter .chapter-content img {
    display: block;
    pointer-events: none;
}

#view-chapter .chapter-content.img-margin-bottom img:not(:last-child) {
    margin-bottom: 15px;
}

.aligncenter {
    display: block;
    margin-inline: auto;
}

.author-mess-avatar img {
    max-width: 45px;
}

.author-mess-font-size {
    font-size: 18px;
}

/* Tác giả */

.team-avatar {
    left: 15px;
    bottom: -75px;
    border: 4px solid #fff;
    border-radius: 50%;
    max-width: 150px;
}

/* Đánh giá */
 
a.star {
    font-size: 20px;
    color: var(--blur-3-color);
    cursor: pointer;
    margin-right: 2px;
    line-height: 1;
}

a.star.vote-hover {
    color: var(--blur-2-color);
}

a.star:active,
a.star.vote-active {
    color: var(--theme-color);
}

/* Thêm Emoji vào bình luận */

.emoji-panel-btn,
.sticker-panel-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: pointer;
    user-select: none;
    padding: 0 5px 10px;
}

.uk-light .emoji-panel {
    color: rgba(255,255,255,1);
}

.sticker-panel-btn {
    right: 30px;
}

.emoji-panel,
.sticker-panel {
    width: 275px;
    height: 350px;
    background: #fff;
    padding: 15px;
    position: absolute;
    z-index: 999;
    right: 0;
    top: 103px; /* Chỉnh giá trị này lại cho phù hợp với trang web của bạn */
}

.uk-light .emoji-panel,
.uk-light .sticker-panel {
    background-color: var(--dark-color);
}

@media (min-width:  768px) {
    .emoji-panel,
    .sticker-panel {
        right: 35px;
        bottom: -63px;
        top: auto;
    }

    .sticker-panel {
        right: 65px;
    }
}

@media (max-width: 767px) {
    .sticker-panel:after {
        right: 39px;
    }
}

.user-sticker-panel img {
    height: 60px;
    max-height: 60px;
    width: auto;
    display: inline-block;
    cursor: pointer;
    transition: all .2s ease;
    margin-right: 5px;
    margin-bottom: 5px;
}

.emoji-panel .nav-tabs li a
.sticker-panel .nav-tabs li a {
    font-size: 16px;
    padding: 6px;
    user-select: none;
}

.emoji-tab {
    padding-top: 5px;
    height: 290px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.emoji-tab span {
    width: 53px;
    display: inline-block;
    text-align: center;
    font-size: 24px;
    cursor: pointer;
    letter-spacing: 8px;
    line-height: 2;
    user-select: none;
}

.sticker-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
}

.sticker-bar::-webkit-scrollbar,
.emoji-tab::-webkit-scrollbar {
    width: 3px;
    height: 0;
}

.sticker-bar::-webkit-scrollbar-thumb,
.emoji-tab::-webkit-scrollbar-thumb {
    background-color: var(--theme-color);
    outline: 0;
}

/* Ultimate Member */

.um-header {
    border-bottom: 0;
    padding-bottom: 0;
}

.um-cover,
.um-cover-e {
    border-radius: 5px;
}

.um a.um-link,
.um .um-tip:hover,
.um .um-field-radio.active:not(.um-field-radio-state-disabled) i,
.um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i,
.um .um-member-name a:hover,
.um .um-member-more a:hover,
.um .um-member-less a:hover,
.um .um-members-pagi a:hover,
.um .um-cover-add:hover,
.um .um-profile-subnav a.active,
.um .um-item-meta a,
.um-account-name a:hover,
.um-account-nav a.current,
.um-account-side li a.current span.um-account-icon,
.um-account-side li a.current:hover span.um-account-icon,
.um-dropdown li a:hover,
i.um-active-color,
span.um-active-color,
.um-profile.um .um-profile-edit-a.active,
.um-profile.um .um-profile-headericon a:hover {
    color: var(--theme-color) !important;
}

.um a.um-link:hover,
.um a.um-link-hvr:hover {
    color: var(--blur-1-color) !important;
}

.um .um-field-group-head,
.picker__box,
.picker__nav--prev:hover,
.picker__nav--next:hover,
.um .um-members-pagi span.current,
.um .um-members-pagi span.current:hover,
.upload,
.um-modal-header,
.um-modal-btn,
.um-modal-btn.disabled,
.um-modal-btn.disabled:hover,
div.uimob800 .um-account-side li a.current,
div.uimob800 .um-account-side li a.current:hover,
.um .um-button,
.um a.um-button,
.um a.um-button.um-disabled:hover,
.um a.um-button.um-disabled:focus,
.um a.um-button.um-disabled:active,
.um input[type=submit].um-button,
.um input[type=submit].um-button:focus,
.um input[type=submit]:disabled:hover {
    background: var(--theme-color) !important;
    border-radius: 0 !important;
    padding: 0 30px !important;
    font-size: 14px;
    line-height: 38px !important;
    text-transform: uppercase !important;
}

.um-modal-btn.alt,
.uk-light .uk-navbar-dropdown-nav>li.uk-active>a,
.uk-light .uk-card-default .uk-card-title {
    color: #fff;
}

.um .um-profile-photo a.um-profile-photo-img {
    overflow: visible;
    background: none;
    border: none;
    border-bottom: none !important;
}

.um .um-profile-photo a.um-profile-photo-img, .um .um-profile-photo img, .um .um-profile-photo span.um-profile-photo-overlay {
    border-radius: 0 !important;
}

.um .um-profile-photo a.um-profile-photo-img img.um-avatar {
    border-radius: 50% !important;
}

.um-request-button {
    background: var(--theme-color) !important;
    border-radius: 0 !important;
}

.um .um-profile-nav-item.active a,
.um .um-profile-nav-item.active a:hover {
    background: var(--theme-color) !important;
}

.um .um-field-group-head:hover,
.picker__footer,
.picker__header,
.picker__day--infocus:hover,
.picker__day--outfocus:hover,
.picker__day--highlighted:hover,
.picker--focused .picker__day--highlighted,
.picker__list-item:hover,
.picker__list-item--highlighted:hover,
.picker--focused .picker__list-item--highlighted,
.picker__list-item--selected,
.picker__list-item--selected:hover,
.picker--focused .picker__list-item--selected,
.um .um-button:hover,
.um a.um-button:hover,
.um input[type=submit].um-button:hover,
.um-request-button:hover {
    background: var(--theme-hover-color) !important;
}

.um .um-button.um-alt,
.um input[type=submit].um-button.um-alt {
    background-color: transparent !important;
    color: var(--dark-color);
    border: 1px solid #e5e5e5 !important;
    box-shadow: none;
}

.um .um-button.um-alt:hover,
.um input[type=submit].um-button.um-alt:hover {
    background-color: transparent !important;
    color: var(--dark-color);
    border-color: #b2b2b2 !important;
}

.um-field-checkbox:not(.um-field),
.um-field-radio:not(.um-field) {
    margin-bottom: 15px;
}

.uk-light .select2-container .select2-choice,
.uk-light .select2-container-multi .select2-choices,
.uk-light .um .um-form input[type=number],
.uk-light .um .um-form input[type=password],
.uk-light .um .um-form input[type=search],
.uk-light .um .um-form input[type=tel],
.uk-light .um .um-form input[type=text],
.uk-light .um .um-form textarea {
    background-color: rgba(255,255,255,.1);
}

.uk-light .um-field .select2.select2-container .select2-selection,
.uk-light .um-search-filter .select2.select2-container .select2-selection {
    background-color: rgba(255,255,255,.1) !important;
    border-color: rgba(255,255,255,.2) !important;
    color: rgba(255,255,255,.7) !important;
}

.um-field #um-export-data,
.um-field #um-erase-data {
    margin-top: 10px !important;
    margin-bottom: 15px !important;
}

.uk-light .um .um-field-label,
.uk-light .um .um-button.um-alt,
.uk-light .um input[type=submit].um-button.um-alt,
.uk-light .um:not(.um-admin),
.uk-light .select2-container--default .select2-selection--single .select2-selection__rendered,
.uk-light .um-account-main div.um-account-heading,
.uk-light .um .um-form input[type=password],
.uk-light .um .um-form input[type=search],
.uk-light .um .um-form input[type=tel],
.uk-light .um .um-form input[type=text],
.uk-light .um .um-form textarea {
    color: rgba(255,255,255,.7);
    border-color: rgba(255,255,255,.2) !important;
    transition: .2s ease-in-out;
    transition-property: color, background-color, border;
}

.uk-light .um .um-form .um-datepicker.picker__input.picker__input--active,
.uk-light .um .um-form .um-datepicker.picker__input.picker__input--target,
.uk-light .um .um-form input[type=number]:focus,
.uk-light .um .um-form input[type=password]:focus,
.uk-light .um .um-form input[type=search]:focus,
.uk-light .um .um-form input[type=tel]:focus,
.uk-light .um .um-form input[type=text]:focus,
.uk-light .um .um-form textarea:focus {
    border-color: rgba(255,255,255,.7) !important;
}

.uk-light .uk-navbar-dropdown-nav .uk-nav-header {
    color: rgba(255,255,255,.9);
}

.uk-light .um-field-checkbox-option,
.uk-light .um-field-radio-option {
    color: rgba(255,255,255,.7) !important;
}

.um-profile img {
    display: inline-block;
}

.um-profile.um .um-name a {
    margin-right: 5px;
    text-transform: capitalize;
}

/* Bình luận */

.reverse-list {
    display: flex;
    flex-direction: column-reverse;
}

#cancel-comment-reply-link {
    margin-left: 10px;
}

.comment-textarea-wrap {
    position: relative;
}

.comment-author a {
    color: inherit !important;
    text-decoration: none !important;
}

.uk-text-center div.nsl-container {
    text-align:  center !important;
}

@media (max-width: 360px) {
    .uk-comment-primary {
        padding: 15px;
    }
}

.badge-block {
    width: 68px;
}

@media (max-width: 480px) {
    .badge-block {
        width: 57px;
    }
}

/* Cửa hàng nhãn dán */

.store-sticker {
    white-space: nowrap;
    height: 80px;
    overflow-y: hidden;
}

.store-sticker img {
    width: auto;
    max-height: 80px;
    margin-right: 10px;
}

.store-frame img {
    width: 100px;
}

.store-sticker::-webkit-scrollbar {
    height: 3px;
}

.store-sticker::-webkit-scrollbar-thumb {
    background-color: var(--theme-color);
    outline: 0;
}

.uk-comment-body .sticker {
    width: 120px;
    display: block;
    margin-block: 10px;
}

/* Vòng quay may mắn */

.wheel {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: solid 6px #fff;
  box-shadow: 0 4px 9px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  margin-inline: auto;
}
.wheel__inner {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  transition: cubic-bezier(0.19, 1, 0.22, 1) 5s;
}
.wheel__sec {
  position: absolute;
  top: 0;
  left: 62px;
  width: 0;
  height: 0;
  border: solid;
  border-width: 150px 88px 0;
  border-color: transparent;
  transform-origin: 50% 100%;
}
.wheel__sec:nth-child(1) {
  border-top-color: #16a085;
}
.wheel__sec:nth-child(2) {
  border-top-color: #2980b9;
  transform: rotate(60deg);
}
.wheel__sec:nth-child(3) {
  border-top-color: #34495e;
  transform: rotate(120deg);
}
.wheel__sec:nth-child(4) {
  border-top-color: #f39c12;
  transform: rotate(180deg);
}
.wheel__sec:nth-child(5) {
  border-top-color: #d35400;
  transform: rotate(240deg);
}
.wheel__sec:nth-child(6) {
  border-top-color: #c0392b;
  transform: rotate(300deg);
}
.wheel__text {
  margin: 70px 0 0 70px;
}
.wheel__arrow {
  width: 70px;
  height: 70px;
  background: #fff;
  position: absolute;
  top: 121px;
  left: 115px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wheel__arrow::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: solid;
  border-width: 0 10px 20px;
  border-color: transparent;
  border-bottom-color: #fff;
  top: -15px;
  left: 25px;
}
.wheel__button {
  width: 60px;
  height: 60px;
  background-color: lightgray;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
  font-size: 18px;
}
.wheel__button:hover {
  color: var(--theme-color);
}
.wheel__button:active {
  border: solid 3px rgba(0, 0, 0, 0.1);
  font-size: 15px;
}

.uk-slider-container {
    overflow-y: visible;
}

.ribbon {
    font-size: 12px;
    letter-spacing: 1px;
    color: #fff;
    pointer-events: none;
    --f: .5em;
    position: absolute;
    top: 0;
    right: 0;
    line-height: 1.8;
    padding-inline: 1lh;
    padding-bottom: var(--f);
    border-image: conic-gradient(#0008 0 0) 51%/var(--f);
    clip-path: polygon(
    100% calc(100% - var(--f)),100% 100%,calc(100% - var(--f)) calc(100% - var(--f)),var(--f) calc(100% - var(--f)), 0 100%,0 calc(100% - var(--f)),999px calc(100% - var(--f) - 999px),calc(100% - 999px) calc(100% - var(--f) - 999px));
    transform: translate(calc((1 - cos(45deg))*100%), -100%) rotate(45deg);
    transform-origin: 0% 100%;
    background-color: var(--theme-color);
}

.ribbon-left {
    font-size: 12px;
    letter-spacing: 1px;
    color: #fff;
    pointer-events: none;
    --f: .5em;
    position: absolute;
  top: 0;
  left: 0;
  line-height: 1.8;
  padding-inline: 1lh;
  padding-bottom: var(--f);
  border-image: conic-gradient(#0008 0 0) 51%/var(--f);
  clip-path: polygon(
    100% calc(100% - var(--f)),100% 100%,calc(100% - var(--f)) calc(100% - var(--f)),var(--f) calc(100% - var(--f)), 0 100%,0 calc(100% - var(--f)),999px calc(100% - var(--f) - 999px),calc(100% - 999px) calc(100% - var(--f) - 999px));
  transform: translate(calc((cos(45deg) - 1)*100%), -100%) rotate(-45deg);
  transform-origin: 100% 100%;
    background-color: var(--theme-color);
}

/* Custom CSS */

.init-chatbox-empty {
    line-height: 30px;
}

.init-chatbox-messages.shrink {
    height: 30px;
    min-height: 30px;
    max-height: 30px;
}

.init-chatbox-messages.expand {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
}

.init-chatbox-message {
    margin-bottom: 15px;
    line-height: 1.6;
}

.init-chatbox-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    margin-bottom: 7px;
}

.init-chatbox-avatar {
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    object-fit: cover;
    flex-shrink: 0;
    margin-right: 8px;
}

.init-chatbox-author {
    text-transform: capitalize;
}

.init-chatbox-meta-time {
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.init-chatbox-message-body {
    background: #f3f3f3;
    padding: 10px 15px;
    border-radius: 18px;
    word-break: break-word;
}

.uk-light .init-chatbox-message-body {
    background: #303030;
}

.init-chatbox-text {
    display: block;
}
