/*==========================================================================
    AniZora Manga Detail Premium Design System & Styling
==========================================================================*/

/* Page container & background */
.manga-page {
    position: relative;
    background: #040814;
    color: #e2e8f0;
    min-height: 100vh;
    padding-bottom: 60px;
    font-family: 'Inter', sans-serif;
    padding-top: 70px;
}

/* Breadcrumbs */
.manga-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #8796b5;
    margin-bottom: 25px;
    padding: 0 10px;
}

.manga-breadcrumbs a {
    color: #8796b5;
    text-decoration: none;
    transition: color 0.2s;
}

.manga-breadcrumbs a:hover {
    color: #00ff9d;
}

.manga-breadcrumbs span.breadcrumb-sep {
    color: #4b5563;
    font-size: 11px;
}

/* Blur Banner backdrop backplate */
.manga-backdrop-banner {
    position: absolute;
    top: 0;
    left: 0;
    height: 380px;
    width: 100%;
    overflow: hidden;
    z-index: 1;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%);
}

.manga-backdrop-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(25px) brightness(0.25);
    transform: scale(1.1);
}

/* Hero Section */
.manga-hero-container {
    display: flex;
    gap: 30px;
    padding: 20px 0 35px;
    align-items: flex-start;
    position: relative;
    z-index: 10;
}

.manga-hero-cover {
    width: 220px;
    flex-shrink: 0;
    aspect-ratio: 2/3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 255, 157, 0.1);
    position: relative;
}

.manga-hero-cover > a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.manga-hero-cover > a:focus-visible {
    outline: 3px solid var(--primary-color, #00ff9d);
    outline-offset: 3px;
}

.manga-hero-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manga-hero-metadata {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.manga-hero-title-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.manga-hero-title {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
}

.manga-hero-bookmark-icon {
    font-size: 22px;
    color: #8796b5;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    vertical-align: middle;
}

.manga-hero-bookmark-icon:hover,
.manga-hero-bookmark-icon.active {
    color: #00ff9d;
    transform: scale(1.1);
}

.manga-hero-alternative {
    font-size: 14px;
    color: #8796b5;
    margin: 0 0 15px;
}

.manga-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.manga-hero-badge {
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(0, 255, 157, 0.08);
    color: #00ff9d;
    font-size: 12px;
    font-weight: 600;
    border-color: rgba(0, 255, 157, 0.15);
}

.manga-hero-badge.ongoing {
    background: rgba(0, 255, 157, 0.08);
    color: #00ff9d;
    border-color: rgba(0, 255, 157, 0.15);
}

.manga-hero-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.manga-hero-stars {
    display: flex;
    gap: 4px;
    color: #ffd54a;
}

.manga-hero-score {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.manga-hero-reviews {
    font-size: 13px;
    color: #8796b5;
}

.manga-hero-synopsis {
    font-size: 14px;
    line-height: 1.6;
    color: #a0aec0;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.manga-hero-synopsis.expanded {
    display: block;
    overflow: visible;
}

.manga-hero-read-more {
    background: none;
    border: none;
    color: #00ff9d;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 25px;
    padding: 0;
}

.manga-hero-read-more i {
    transition: transform 0.2s;
}

.manga-hero-read-more.expanded i {
    transform: rotate(180deg);
}

.manga-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.manga-btn-primary {
    background: #00ff9d;
    color: #040814;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.1s;
    box-shadow: 0 4px 15px rgba(0, 255, 157, 0.2);
    text-decoration: none;
}

.manga-btn-primary:hover {
    background: #00e58d;
    box-shadow: 0 4px 20px rgba(0, 255, 157, 0.4);
}

.manga-btn-primary:active {
    transform: scale(0.98);
}

.manga-btn-outline {
    background: rgba(13, 18, 36, 0.6);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s, border-color 0.2s;
    text-decoration: none;
}

.manga-btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.manga-btn-outline.active {
    color: #00ff9d;
    border-color: rgba(0, 255, 157, 0.3);
    background: rgba(0, 255, 157, 0.03);
}

/* Layout Grid */
.manga-layout-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    align-items: start;
    position: relative;
    z-index: 10;
}

/* Main panel & Tab buttons */
.manga-detail-main {
    min-width: 0;
}

.manga-detail-tabs-bar {
    display: flex;
    gap: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 25px;
    overflow-x: auto;
}

.manga-detail-tab-btn {
    border: none;
    background: none;
    color: #8796b5;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}

.manga-detail-tab-btn:hover {
    color: #fff;
}

.manga-detail-tab-btn.active {
    color: #00ff9d;
}

.manga-detail-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #00ff9d;
    box-shadow: 0 0 10px #00ff9d;
}

.manga-detail-tab-pane {
    display: none;
}

.manga-detail-tab-pane.active {
    display: block;
}

/* Cards & Section headers */
.manga-detail-card {
    background: #0d1224;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    margin-bottom: 25px;
}

.manga-detail-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.manga-detail-card-title i {
    color: #00ff9d;
}

/* Side-by-side Layout on Summary tab */
.manga-summary-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    margin-bottom: 25px;
}

/* Two-column Information layout */
.manga-info-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.manga-info-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.manga-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    line-height: 1.5;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.03);
    padding-bottom: 8px;
}

.manga-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.manga-info-label {
    color: #8796b5;
    font-weight: 500;
}

.manga-info-value {
    color: #e2e8f0;
    font-weight: 600;
    text-align: right;
    max-width: 220px;
    word-break: break-word;
}

.manga-info-value a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
}

.manga-info-value a:hover {
    color: #00ff9d;
}

/* Statistics Grid */
.manga-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.manga-stat-item {
    background: rgba(13, 18, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, border-color 0.2s;
}

.manga-stat-item:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 255, 157, 0.15);
}

.manga-stat-item i {
    font-size: 20px;
    color: #00ff9d;
    margin-bottom: 8px;
}

.manga-stat-value {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 3px;
}

.manga-stat-label {
    font-size: 11px;
    color: #8796b5;
    font-weight: 500;
}

/* Latest Chapters section */
.manga-latest-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.manga-latest-toolbar h2 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.manga-latest-toolbar h2 i {
    color: #00ff9d;
}

.manga-latest-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.manga-search-wrapper {
    position: relative;
}

.manga-search-wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #8796b5;
    font-size: 13px;
}

.manga-search-input {
    background: #0d1224;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #fff;
    padding: 8px 12px 8px 32px;
    font-size: 13px;
    outline: none;
    width: 180px;
    transition: width 0.2s, border-color 0.2s;
}

.manga-search-input:focus {
    width: 220px;
    border-color: #00ff9d;
}

.manga-sort-select {
    background: #0d1224;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #fff;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.manga-sort-select:focus {
    border-color: #00ff9d;
}

/* Chapter Cards Grid Layout */
.manga-chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}

.manga-chapter-card {
    background: rgba(13, 18, 36, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.25s, border-color 0.25s;
    text-decoration: none;
    color: inherit;
    min-height: 200px;
    box-sizing: border-box;
}

.manga-chapter-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 157, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 157, 0.05);
}

.manga-chapter-card i {
    font-size: 30px;
    color: #00ff9d;
    margin-bottom: 12px;
    transition: transform 0.2s;
}

.manga-chapter-card:hover i {
    transform: scale(1.1);
}

.manga-chapter-card-num {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.manga-chapter-card-title {
    font-size: 12px;
    color: #cbd5e1;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 34px;
    line-height: 1.4;
    text-align: center;
}

.manga-chapter-card-date {
    font-size: 11px;
    color: #8796b5;
    margin-bottom: 12px;
}

.manga-chapter-card-comments {
    font-size: 11px;
    color: #8796b5;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}

.manga-chapter-card-btn {
    width: 100%;
    background: #00ff9d;
    color: #040814;
    border: none;
    border-radius: 6px;
    padding: 8px;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.manga-chapter-card:hover .manga-chapter-card-btn {
    background: #00e58d;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

/* Chapter Rows in Grid Layout */
.manga-chapters-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.manga-chapter-row {
    display: grid;
    grid-template-columns: 170px 1fr 110px 80px 80px;
    gap: 15px;
    align-items: center;
    background: rgba(13, 18, 36, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 14px 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, background-color 0.2s, border-color 0.2s;
}

.manga-chapter-row:hover {
    background: rgba(13, 18, 36, 0.8);
    transform: translateY(-1px);
    border-color: rgba(0, 255, 157, 0.15);
}

.manga-chapter-col-num {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #fff;
    font-size: 14px;
}

.manga-chapter-col-num i {
    color: #8796b5;
    font-size: 14px;
    flex-shrink: 0;
}

.manga-chapter-row:hover .manga-chapter-col-num i {
    color: #00ff9d;
}

.manga-chapter-col-title {
    font-size: 13px;
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.manga-chapter-col-date {
    font-size: 12px;
    color: #8796b5;
    text-align: right;
}

.manga-chapter-col-comments {
    font-size: 12px;
    color: #8796b5;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

.manga-chapter-col-comments i {
    font-size: 13px;
}

.manga-chapter-col-btn {
    text-align: right;
}

.manga-chapter-btn-read {
    background: #00ff9d;
    color: #040814;
    border: none;
    border-radius: 6px;
    padding: 6px 18px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s, box-shadow 0.2s;
    display: inline-block;
    text-decoration: none;
}

.manga-chapter-btn-read:hover {
    background: #00e58d;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.manga-view-more-container {
    text-align: center;
    margin-top: 18px;
}

.manga-view-more-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #8796b5;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.manga-view-more-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.02);
}

/* Sidebar Widgets */
.manga-sidebar-card {
    background: #0d1224;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.manga-sidebar-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.manga-sidebar-title i {
    color: #00ff9d;
}

/* Rating Circle Card */
.manga-rating-ring-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 10px auto 20px;
}

.manga-rating-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#00ff9d var(--progress, 0%), #12182c 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.15);
}

.manga-rating-ring::before {
    content: "";
    position: absolute;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: #0d1224;
}

.manga-rating-value {
    position: relative;
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.manga-rating-value span {
    font-size: 10px;
    color: #8796b5;
    font-weight: 500;
}

.manga-rating-details {
    text-align: center;
    margin-bottom: 18px;
}

.manga-rating-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    color: #ffd54a;
    font-size: 14px;
    margin-bottom: 5px;
}

.manga-rating-count-text {
    font-size: 12px;
    color: #8796b5;
}

.manga-sidebar-btn-block {
    width: 100%;
    background: #00ff9d;
    color: #040814;
    border: none;
    border-radius: 8px;
    padding: 12px 15px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.manga-sidebar-btn-block:hover {
    background: #00e58d;
    box-shadow: 0 4px 12px rgba(0, 255, 157, 0.2);
}

.manga-sidebar-btn-outline-block {
    width: 100%;
    background: rgba(13, 18, 36, 0.6);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s, border-color 0.2s;
    text-transform: uppercase;
    text-decoration: none;
    box-sizing: border-box;
}

.manga-sidebar-btn-outline-block:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Progress Card */
.manga-progress-info-row {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.manga-progress-sub-row {
    font-size: 12px;
    color: #8796b5;
    margin-bottom: 15px;
}

.manga-progress-bar-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.manga-progress-bar-bg {
    background: #12182c;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    flex: 1;
}

.manga-progress-bar-fill {
    background: #00ff9d;
    height: 100%;
    box-shadow: 0 0 8px #00ff9d;
}

/* About card list */
.manga-about-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.manga-about-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    line-height: 1.4;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.03);
    padding-bottom: 8px;
}

.manga-about-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.manga-about-label {
    color: #8796b5;
}

.manga-about-value {
    color: #fff;
    font-weight: 600;
    text-align: right;
}

/* Similar list with aligned rating values on the right */
.manga-similar-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.manga-similar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
    gap: 12px;
}

.manga-similar-row:hover {
    transform: translateX(4px);
}

.manga-similar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.manga-similar-thumb {
    width: 36px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.manga-similar-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.manga-similar-rating {
    font-size: 12px;
    color: #ffd54a;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

/* Tab panes (Comments & Similar Grid) */
/* Comments */
.comments-section {
    margin-top: 10px;
}

.comment-card {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(13, 18, 36, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.2s;
}

.comment-card:hover {
    transform: translateY(-1px);
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #12182c;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 5px;
}

.comment-header h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.comment-header small {
    font-size: 11px;
    color: #6d84ae;
}

.comment-body p {
    font-size: 13px;
    line-height: 1.5;
    color: #cbd5e1;
    margin: 0 0 10px;
}

.comment-footer {
    display: flex;
    gap: 15px;
    font-size: 12px;
    align-items: center;
}

.comment-footer button {
    background: none;
    border: none;
    color: #8796b5;
    cursor: pointer;
    font-weight: 600;
    padding: 0;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.comment-footer button:hover {
    color: #00ff9d;
}

.comment-form {
    margin-bottom: 25px;
}

.comment-form textarea {
    width: 100%;
    min-height: 100px;
    background: #0d1224;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    resize: vertical;
    font-size: 13px;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.comment-form textarea:focus {
    border-color: #00ff9d;
}

.comment-form button {
    margin-top: 10px;
    background: #00ff9d;
    color: #040814;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-transform: uppercase;
}

.comment-form button:hover {
    background: #00e58d;
}

.empty-comments {
    text-align: center;
    padding: 40px 20px;
    color: #8796b5;
}

.empty-comments i {
    font-size: 40px;
    color: #00ff9d;
    margin-bottom: 12px;
}

/* Similar Grid tab pane */
.similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 18px;
}

.similar-card {
    background: #0d1224;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: transform 0.25s, border-color 0.25s;
    display: flex;
    flex-direction: column;
}

.similar-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 157, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.similar-cover {
    aspect-ratio: 2/3;
    overflow: hidden;
    position: relative;
}

.similar-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.similar-card:hover .similar-cover img {
    transform: scale(1.04);
}

.similar-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.similar-content h3 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.similar-content h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.similar-content h3 a:hover {
    color: #00ff9d;
}

.similar-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #8796b5;
    margin-bottom: 10px;
}

.similar-status {
    font-size: 10px;
    font-weight: 600;
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.similar-btn {
    display: block;
    text-align: center;
    background: rgba(13, 18, 36, 0.6);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.similar-btn:hover {
    background: #00ff9d;
    color: #040814;
    border-color: #00ff9d;
}

/* Bookmark dropdown style */
.bookmark-dropdown-menu-new {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #091026;
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 8px;
    z-index: 100;
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    padding: 6px 0;
}

.bookmark-dropdown-menu-new button {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: #e2e8f0;
    padding: 10px 18px;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s;
}

.bookmark-dropdown-menu-new button:hover {
    background: rgba(0, 255, 157, 0.05);
    color: #00ff9d;
}

.bookmark-dropdown-menu-new button.active {
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.03);
}

.bookmark-dropdown-menu-new button.remove-opt {
    color: #ef4444;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 4px;
    padding-top: 12px;
}

.bookmark-dropdown-menu-new button.remove-opt:hover {
    background: rgba(239, 68, 68, 0.05);
    color: #ef4444;
}

/* Responsive breakpoint styles */
@media (max-width: 1024px) {
    .manga-layout-grid {
        grid-template-columns: 1fr;
    }

    .manga-backdrop-banner {
        height: 250px;
        margin-bottom: -150px;
    }
}

@media (max-width: 768px) {
    .manga-hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .manga-hero-cover {
        width: 180px;
    }

    .manga-hero-title-row {
        justify-content: center;
    }

    .manga-hero-title {
        font-size: 28px;
    }

    .manga-hero-badges {
        justify-content: center;
    }

    .manga-hero-rating {
        justify-content: center;
    }

    .manga-hero-actions {
        justify-content: center;
    }

    .manga-summary-grid {
        grid-template-columns: 1fr;
    }

    .manga-info-cols {
        grid-template-columns: 1fr;
    }
}