.comments-tree-list {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.comments-tree-list .comments-tree-list {
  padding-left: 25px;
  position: relative;
  margin-top: 15px;
}
.comments-tree-item {
  display: block;
  margin: 0 0 20px 0;
  padding: 0;
}
#dlefastreplycomments {
  padding: 15px;
  background: var(--secondary);
  margin: 15px 0 5px 30px;
  border-radius: var(--radius);
  border-left: 2px solid var(--accent);
}
.commentsreplyname {
  padding: 10px;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 300px;
  background: var(--secondary);
  color: var(--text);
  margin-bottom: 10px;
}
#dlereplypopup form > div {
  margin-bottom: 10px;
}
#dlereplypopup form input[type="text"] {
  height: 40px;
  line-height: 40px;
  width: 100%;
}
#dlereplypopup form textarea {
  height: 120px;
  width: 100%;
}
.pollallvotes {
  text-align: center;
  margin-top: 15px;
  color: var(--text-secondary);
}

/*--- SEARCH SUGGESTIONS ---*/
#searchsuggestions {
  z-index: 99998;
  width: 320px;
  font-size: 13px;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
#searchsuggestions a, 
#searchsuggestions span.notfound {
  padding: 10px 15px;
  display: block;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: var(--transition);
}
#searchsuggestions a:hover {
  color: var(--primary);
}
#searchsuggestions span.searchheading {
  display: block;
  padding: 10px 15px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}
#searchsuggestions span.seperator {
  display: block;
  padding: 0;
}
#searchsuggestions span.seperator a {
  padding: 10px;
  text-align: center;
  background-color: var(--accent);
  color: var(--primary);
  font-weight: 500;
}
#searchsuggestions span.notfound {
  padding: 15px;
  color: var(--text-secondary);
}

/*--- UI WIDGETS ---*/
.ui-widget-overlay {
  background: rgba(0,0,0,0.7);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.ui-dialog {
  background-color: var(--secondary);
  position: fixed;
  max-width: 90%;
  width: 500px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.ui-dialog-titlebar {
  background-color: var(--secondary);
  border-bottom: 1px solid var(--border);
  padding: 15px;
}
.ui-dialog-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.ui-dialog .ui-dialog-content {
  padding: 20px;
  color: var(--text);
}
.ui-dialog .ui-dialog-buttonpane {
  padding: 15px;
  background-color: var(--secondary);
  border-top: 1px solid var(--border);
}
.ui-icon-closethick {
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 15px;
  color: var(--text-secondary);
  transition: var(--transition);
}
.ui-icon-closethick:hover {
  color: var(--accent);
}
.ui-dialog .ui-dialog-buttonpane button {
  padding: 8px 20px;
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius);
  transition: var(--transition);
}
.ui-dialog .ui-dialog-buttonpane button:hover {
  background: var(--accent-hover);
}
.ui-state-error {
  background: rgba(234,84,85,0.1) !important;
  border: 1px solid #ea5455 !important;
  color: #ea5455 !important;
}
.voteprogress, .pollprogress {
  height: 6px;
  margin-bottom: 10px;
  background-color: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.voteprogress span, .pollprogress span {
  height: 6px;
  display: block;
  background: var(--accent);
}
.ui-menu {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 5px 0;
  box-shadow: var(--shadow);
}
.ui-menu .ui-menu-item a {
  padding: 8px 15px;
  color: var(--text);
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
  background: var(--accent);
  color: var(--primary);
  border: none;
  margin: 0;
}
#dropmenudiv {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 5px 0;
}
#dropmenudiv a {
  padding: 8px 15px;
  color: var(--text);
  transition: var(--transition);
  width: auto;
}
#dropmenudiv a:hover {
  background: var(--accent);
  color: var(--primary);
}
#loading-layer {
  background-color: var(--border);
}
#loading-layer:before {
  background-color: var(--accent);
}
.pm-menu {
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 10px;
  margin-bottom: 20px;
}
.pm-menu li {
  display: inline-block;
  margin-right: 5px;
}
.pm-menu a {
  padding: 8px 15px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  color: var(--text);
  transition: var(--transition);
}
.pm-menu a:hover {
  background: var(--accent);
  color: var(--primary);
}
.pm-status {
  margin-bottom: 20px;
}
.pm_progress_bar {
  background: var(--border);
  border-radius: 3px;
  height: 6px;
}
.pm_progress_bar span {
  background: var(--accent);
  height: 6px;
}
.pm, .userstop {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.pm tr td, .userstop tr td {
  padding: 12px 15px;
  border: 1px solid var(--border);
}
.pm tr:nth-child(1) {
  background: var(--accent);
  color: var(--primary);
}
.pm tr:nth-child(2n+2), .userstop tr:nth-child(2n+2) {
  background: rgba(255,255,255,0.02);
}
.search-page {
  margin-bottom: 30px;
}
.searchstyle {
  width: 100%;
  max-width: 600px;
}
#searchtable fieldset {
  border: 1px solid var(--border);
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 15px;
}
#searchuser, #searchinput {
  width: 100%;
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px;
}
.sres-wrap {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 15px;
  padding: 15px;
  transition: var(--transition);
}
.sres-wrap:hover {
  border-color: var(--accent);
}
.sres-img {
  float: left;
  margin-right: 15px;
  width: 150px;
}
.sres-text h2 {
  color: var(--accent);
  margin-bottom: 10px;
}
.sres-date {
  background: var(--accent);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: var(--radius);
  font-size: 12px;
}
.form-wrap h1 {
  color: var(--accent);
  margin-bottom: 20px;
}
.form-item > label {
  color: var(--text-secondary);
}
.form-item > input[type="text"],
.form-item > input[type="password"],
.form-item > input[type="file"] {
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px;
  width: 100%;
}
.form-textarea > label {
  background: var(--accent);
  color: var(--primary);
  padding: 10px 15px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.form-buts input[type="button"],
.form-buts a {
  background: var(--accent);
  color: var(--primary);
  padding: 12px;
  border: none;
  border-radius: var(--radius);
  transition: var(--transition);
}
.form-buts a {
  background: var(--secondary);
  color: var(--text);
  border: 1px solid var(--border);
}
.form-buts a:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
.xfields textarea, .xprofile textarea {
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--text);
  width: 100%;
  padding: 10px;
}
.xfields input, .xprofile input {
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px;
}
.berrors {
  background: rgba(234,84,85,0.1);
  color: #ea5455;
  padding: 15px;
  border-radius: var(--radius);
  border-left: 3px solid #ea5455;
  margin-bottom: 20px;
}
.berrors a {
  color: #ea5455;
  text-decoration: underline;
}
.comment-form {
    background: var(--secondary);
    border-radius: var(--radius);
    padding: 25px;
    margin-top: 30px;
}

.comment-form:hover {
    border-color: rgba(255,255,255,0.2);
}

.comment-form__header {
    margin-bottom: 20px;
}

.comment-form__input {
    width: 100%;
    padding: 12px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
}

.comment-form__input:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,0.08);
}

.comment-form__editor {
    margin-bottom: 20px;
}

.comment-form__editor textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 15px;
    resize: vertical;
    transition: var(--transition);
    outline: none;
}

.comment-form__editor textarea:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,0.08);
}

.comment-form__submit {
    background: var(--accent);
    border-radius: var(--radius);
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-form__submit:hover {
    background: var(--accent-hover);
}

.bb-editor {
    border-radius: var(--radius) !important;
    overflow: hidden;
    width: 100%;
    height: 210px;
}

.bb-toolbar {
    background: rgba(0,0,0,0.3) !important;
    border-bottom: 1px solid var(--border) !important;
}

.bb-button {
    color: var(--text-secondary) !important;
    transition: var(--transition) !important;
}

.bb-button:hover {
    color: var(--accent) !important;
    background: transparent !important;
}

@media (max-width: 768px) {
    .comment-form {
        padding: 20px;
    }
    
    .comment-form__submit {
        width: 100%;
    }
}

.bbcodes{
    background: var(--accent);
    border-radius: var(--radius);
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.bbcodes:hover {
    background: var(--accent-hover);
}

.ui-button-icon-only {overflow: hidden; text-indent: -9999px;}
.ui-widget-content {background: var(--primary);}

.lordfilm-top-carousel {
    position: relative;
}

.lordfilm-top-carousel__container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.lordfilm-top-carousel__track {
    display: flex;
    transition: transform 0.5s ease;
}

.lordfilm-top-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px;
}

.lordfilm-top-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius);
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lordfilm-top-carousel__dot--active {
    background: var(--accent);
    transform: scale(1.2);
}

.lordfilm-top-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.8);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    cursor: pointer;
    z-index: 2;
}

.lordfilm-top-carousel__nav:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}

.lordfilm-top-carousel__nav--prev {
    left: 20px;
}

.lordfilm-top-carousel__nav--next {
    right: 20px;
}

.lordfilm-top-carousel__nav--disabled {
    opacity: 0.3;
    pointer-events: none;
}

@media (max-width: 768px) {
    .lordfilm-top-carousel {
        padding: 0 20px;
    }
    
    .lordfilm-top-carousel__header {
        font-size: 24px;
    }
    
    .lordfilm-top-carousel__nav {
        width: 35px;
        height: 35px;
    }
}

.lordfilm-top-slide {
    flex: 0 0 100%;
    position: relative;
}

.lordfilm-top-slide__poster {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.lordfilm-top-slide__poster::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(152deg, 
            #1a1a1a 0%, 
            #252525 50%, 
            #1a1a1a 100%),
        radial-gradient(
            circle at 75% 30%,
            rgba(230, 195, 92, 0.08) 0%,
            transparent 40%),
        radial-gradient(
            circle at 25% 70%,
            rgba(230, 195, 92, 0.05) 0%,
            transparent 45%);
    z-index: 1;
}

.lordfilm-top-slide__content{
    z-index: 2;
}

.lordfilm-top-slide__poster-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

.lordfilm-top-slide__content {
    position: relative;
    padding: 40px;
    color: #fff;
    text-align: center;
    z-index: 2;
}

.lordfilm-top-slide__title {
    font-size: 2.8rem;
    margin: 0 0 20px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

.lordfilm-top-slide__meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.lordfilm-top-slide__year {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 5px;
}

.lordfilm-top-slide__rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent);
    font-weight: 600;
}

.lordfilm-top-slide__description {
    margin: 0 auto 35px;
    max-width: 600px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.lordfilm-top-slide__footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.lordfilm-top-slide__button {
    align-items: center;
    padding: 6px 12px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 4px;
    font-weight: 400;
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.lordfilm-top-slide__button:hover {
    background: var(--accent-hover);
}

.lordfilm-top-slide__quality {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: #fff;
}

@media (max-width: 768px) {
    .lordfilm-top-slide__title {
        font-size: 2rem;
    }
    
    .lordfilm-top-slide__meta {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .lordfilm-top-slide__button {
        padding: 12px 24px;
    }
}