/* Base public layout styles moved from Blade */

:root {
            --bg: #f4f6fb;
            --card: #ffffff;
            --text: #111827;
            --muted: #64748b;
            --line: #e5e7eb;
            --accent: #2563eb;
            --accent-soft: #e8f0ff;
            --green: #16a34a;
            --red: #dc2626;
            --yellow: #ca8a04;
        }
        * { box-sizing: border-box; }
        body { margin: 0; font-family: Arial, sans-serif; background: var(--bg); color: var(--text); }
        a { color: inherit; text-decoration: none; }
        a:hover { color: var(--accent); }
        .container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
        .site-header { background: #0f172a; color: #fff; }
        .site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
        .logo { font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
        .nav { display: flex; gap: 18px; flex-wrap: wrap; color: #cbd5e1; }
        .hero { padding: 48px 0 26px; }
        .hero-card { background: linear-gradient(135deg, #0f172a, #1e3a8a); color: #fff; border-radius: 24px; padding: 42px; }
        .hero h1 { margin: 0 0 14px; font-size: clamp(32px, 5vw, 56px); line-height: 1.05; }
        .hero p { color: #dbeafe; max-width: 760px; font-size: 18px; line-height: 1.6; }
        .search { display: flex; gap: 10px; margin-top: 24px; max-width: 760px; }
        .search input { flex: 1; border: 0; border-radius: 14px; padding: 16px 18px; font-size: 16px; }
        .btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 14px; padding: 13px 18px; font-weight: 700; background: var(--accent); color: #fff; cursor: pointer; }
        .btn:hover { color: #fff; background: #1d4ed8; }
        .section { margin: 28px 0; }
        .section__header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
        .section__title { margin: 0; font-size: 26px; }
        .muted { color: var(--muted); }
        .grid { display: grid; gap: 16px; }
        .grid--stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
        .grid--cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
        .grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
        .stat strong { display: block; font-size: 28px; margin-bottom: 4px; }
        .category-card { display: block; }
        .category-card__title { font-weight: 800; }
        .category-card__desc { margin-top: 8px; color: var(--muted); line-height: 1.45; }
        .torrent-card { display: flex; flex-direction: column; gap: 12px; min-height: 100%; }
        .torrent-card__title { font-size: 18px; font-weight: 800; line-height: 1.3; }
        .torrent-card__desc { color: var(--muted); line-height: 1.5; }
        .torrent-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; }
        .pill { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 999px; background: #f1f5f9; color: #334155; font-size: 13px; }
        .pill--check { background: var(--accent-soft); color: #1d4ed8; }
        .content { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; line-height: 1.7; }
        .content h2 { margin-top: 28px; font-size: 26px; }
        .content h3 { margin-top: 22px; font-size: 20px; }
        .content pre { overflow: auto; background: #0f172a; color: #e2e8f0; padding: 16px; border-radius: 14px; }
        .content blockquote { margin: 18px 0; padding: 14px 18px; border-left: 4px solid var(--accent); background: #f8fafc; border-radius: 10px; }
        .notice { padding: 14px 16px; border-radius: 14px; margin: 16px 0; background: #f8fafc; border: 1px solid var(--line); }
        .notice--warning { background: #fffbeb; border-color: #fde68a; }
        .notice--success { background: #f0fdf4; border-color: #bbf7d0; }
        .notice--info { background: #eff6ff; border-color: #bfdbfe; }
        .footer { margin-top: 42px; padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); }
        .empty { background: var(--card); border: 1px dashed var(--line); border-radius: 18px; padding: 24px; color: var(--muted); }
        @media (max-width: 860px) {
            .grid--stats, .grid--cats, .grid--cards { grid-template-columns: 1fr; }
            .hero-card { padding: 28px; }
            .search { flex-direction: column; }
        }

/* GadgetConnect public UI */

.gc-page-title {
    font-size: 42px;
    line-height: 1.1;
    margin: 0 0 10px;
}

.gc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 24px;
}

.gc-card-form {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.gc-catalog-search-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px);
    gap: 12px;
}

.gc-field,
.gc-select,
.gc-textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: inherit;
    font: inherit;
}

.gc-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.gc-filter-pill {
    cursor: pointer;
}

.gc-catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 22px;
    align-items: start;
}

.gc-category-title {
    margin-top: 0;
}

.gc-category-list {
    display: grid;
    gap: 8px;
}

.gc-category-link-active {
    font-weight: 800;
}

.gc-torrent-list {
    display: grid;
    gap: 14px;
}

.gc-torrent-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.gc-torrent-title {
    margin: 8px 0;
}

.gc-pagination {
    margin-top: 22px;
}

.gc-empty-title {
    margin-top: 0;
}

@media (max-width: 900px) {
    .gc-catalog-layout {
        grid-template-columns: 1fr;
    }

    .gc-catalog-search-grid {
        grid-template-columns: 1fr;
    }

    .gc-torrent-card-head {
        display: block;
    }

    .gc-page-title {
        font-size: 34px;
    }
}

@media (max-width: 560px) {
    .gc-actions,
    .gc-filter-row,
    .torrent-meta {
        gap: 8px;
    }

    .gc-actions .btn,
    .gc-filter-row .btn,
    .gc-actions .pill,
    .gc-filter-row .pill {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .gc-page-title {
        font-size: 30px;
    }
}

/* Public forms */

.gc-form {
    display: grid;
    gap: 16px;
}

.gc-form-label {
    display: block;
}

.gc-form-label strong {
    display: block;
}

.gc-form-help {
    display: block;
    margin-top: 6px;
}

.gc-form-actions {
    margin-top: 4px;
}

.gc-form-title {
    font-size: 38px;
    line-height: 1.1;
    margin: 0 0 10px;
}

.gc-form-field {
    width: 100%;
    margin-top: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: inherit;
    font: inherit;
}

.gc-form-textarea {
    min-height: 140px;
    resize: vertical;
}

.gc-form-textarea-large {
    min-height: 240px;
    resize: vertical;
}

.gc-errors-list {
    margin-bottom: 0;
}

@media (max-width: 560px) {
    .gc-form-title {
        font-size: 30px;
    }
}

/* Torrent detail page */

.gc-show-title {
    font-size: 42px;
    line-height: 1.1;
    margin: 0 0 12px;
}

.gc-show-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

.gc-show-main {
    display: grid;
    gap: 18px;
}

.gc-show-sidebar {
    display: grid;
    gap: 14px;
}

.gc-show-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.gc-show-section-title {
    margin-top: 0;
}

.gc-show-meta-grid {
    display: grid;
    gap: 8px;
}

.gc-show-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
}

.gc-show-meta-row:last-child {
    border-bottom: 0;
}

.gc-show-meta-label {
    color: var(--muted);
}

.gc-show-code {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.gc-file-list {
    display: grid;
    gap: 8px;
}

.gc-file-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
}

.gc-file-row:last-child {
    border-bottom: 0;
}

.gc-file-name {
    overflow-wrap: anywhere;
}

.gc-file-size {
    color: var(--muted);
    white-space: nowrap;
}

.gc-related-list {
    display: grid;
    gap: 12px;
}

.gc-related-item-title {
    font-weight: 800;
}

.gc-checksum {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

@media (max-width: 980px) {
    .gc-show-layout {
        grid-template-columns: 1fr;
    }

    .gc-show-title {
        font-size: 34px;
    }
}

@media (max-width: 560px) {
    .gc-show-actions .btn,
    .gc-show-actions .pill {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .gc-file-row {
        grid-template-columns: 1fr;
    }

    .gc-file-size {
        white-space: normal;
    }

    .gc-show-title {
        font-size: 30px;
    }
}

/* Small spacing helpers */

.torrent-meta--category {
    margin-top: 12px;
}

.torrent-meta--card {
    margin-top: 8px;
}

/* Public auth */

.gc-auth-wrap {
    max-width: 760px;
}

.gc-auth-form {
    display: grid;
    gap: 14px;
}

.gc-form-field {
    display: grid;
    gap: 6px;
}

.gc-form-field span,
.gc-check-field span {
    color: var(--muted);
    font-size: 14px;
}

.gc-form-field input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    background: var(--panel);
    color: var(--text);
}

.gc-form-field small {
    color: #ef4444;
}

.gc-check-field {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-logout-form {
    display: inline-flex;
    align-items: center;
}

.site-logout-form button {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.gc-form-field select,
.gc-form-field textarea,
.gc-form-field input[type="file"] {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    background: var(--panel);
    color: var(--text);
}

.gc-form-field textarea {
    resize: vertical;
}

/* Profile */

.gc-profile-note {
    margin: 18px 0;
}

.gc-profile-note p {
    margin-bottom: 0;
}

.gc-profile-rejection {
    margin-top: 12px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.pill--warning {
    border-color: rgba(245, 158, 11, .45);
}

.pill--danger {
    border-color: rgba(239, 68, 68, .45);
}

/* Honeypot anti-spam field */

.gc-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Comments */

.gc-comments {
    margin-top: 28px;
}

.gc-comment-list {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.gc-comment-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.gc-comment-body {
    line-height: 1.65;
}

.gc-comment-form-card {
    margin-top: 18px;
}

/* Torrent likes */
.gc-inline-form {
    display: inline-flex;
    margin: 0;
}

.gc-inline-form button {
    font: inherit;
}

/* Profile sections */
.gc-profile-section-title {
    margin: 28px 0 14px;
    font-size: 24px;
}

.gc-profile-favorites {
    margin-bottom: 18px;
}

/* Author profile */
.gc-author-joined {
    margin: 0 0 14px;
}

.gc-author-meta {
    margin-bottom: 18px;
}

.gc-author-stats {
    margin: 18px 0 26px;
}

.gc-author-section-title {
    margin: 30px 0 14px;
    font-size: 26px;
}

.gc-author-latest {
    margin-bottom: 20px;
}

.gc-author-comments {
    display: grid;
    gap: 14px;
}

.gc-author-comment {
    display: grid;
    gap: 12px;
}

.gc-author-comment-body {
    color: var(--muted);
    line-height: 1.65;
}

/* Author/profile UX split */
.gc-author-owner-panel {
    margin: 18px 0;
}

.gc-author-owner-panel p {
    margin: 8px 0 14px;
}

/* Category SEO pages */
.gc-category-hero {
    margin: 18px 0 18px;
}

.gc-category-description {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.gc-category-hero-meta {
    margin-top: 16px;
}

.gc-category-popular {
    margin: 24px 0;
}

.gc-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.gc-section-title {
    margin: 0;
    font-size: 24px;
}

@media (max-width: 760px) {
    .gc-section-head {
        display: grid;
    }
}

/* Breadcrumbs */
.gc-breadcrumbs {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
}

.gc-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gc-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gc-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.gc-breadcrumbs a:hover {
    color: var(--text);
}

.gc-breadcrumbs__separator {
    opacity: .65;
}

/* BBCode content */
.bbcode-content {
    line-height: 1.75;
}

.bbcode-content .bbcode-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 14px 0;
    border-radius: 14px;
}

.bbcode-align-left {
    text-align: left;
}

.bbcode-align-center {
    text-align: center;
}

.bbcode-align-center .bbcode-image {
    margin-left: auto;
    margin-right: auto;
}

.bbcode-align-right {
    text-align: right;
}

.bbcode-align-right .bbcode-image {
    margin-left: auto;
}


/* BBCode compact typography */
.bbcode-content {
    line-height: 1.65;
}

.bbcode-content strong {
    font-weight: 800;
}

/* Screenshot gallery and image lightbox */
.gc-screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.gc-screenshot-gallery-item {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 14px;
    background: #0f172a;
    aspect-ratio: 16 / 10;
}

.gc-screenshot-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .18s ease;
}

.gc-screenshot-gallery-item:hover img {
    transform: scale(1.03);
}

html.gc-image-lightbox-open,
html.gc-image-lightbox-open body {
    overflow: hidden;
}

.bbcode-content img,
.gc-screenshot-gallery img {
    cursor: zoom-in;
}

.gc-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.gc-image-lightbox.is-open {
    display: flex;
}

.gc-image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(2, 6, 23, .86);
    cursor: zoom-out;
}

.gc-image-lightbox-frame {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    max-width: min(1180px, 96vw);
    max-height: 92vh;
    margin: 0;
}

.gc-image-lightbox-frame img {
    display: block;
    max-width: 100%;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 14px;
    background: #020617;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

.gc-image-lightbox-frame figcaption {
    max-width: 96vw;
    color: #e2e8f0;
    font-size: 13px;
    text-align: center;
}

.gc-image-lightbox-close {
    position: fixed;
    top: 16px;
    right: 18px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(226, 232, 240, .25);
    border-radius: 999px;
    background: rgba(15, 23, 42, .82);
    color: #fff;
    font-size: 32px;
    line-height: 38px;
    cursor: pointer;
}

.gc-image-lightbox-close:hover {
    background: rgba(30, 41, 59, .95);
}

@media (max-width: 720px) {
    .gc-image-lightbox {
        padding: 12px;
    }

    .gc-image-lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 28px;
        line-height: 34px;
    }

    .gc-image-lightbox-frame img {
        max-height: 84vh;
        border-radius: 10px;
    }
}


/* Torrent show: cleaner description and info sidebar */
.gc-description-card {
    padding-top: 28px;
}

.gc-show-meta-row {
    display: grid;
    grid-template-columns: minmax(82px, 34%) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.gc-show-meta-label {
    min-width: 0;
    color: #64748b;
}

.gc-show-meta-row strong {
    min-width: 0;
    justify-self: stretch;
    text-align: left;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: normal;
}

.gc-show-meta-row + .gc-show-meta-row {
    margin-top: 0;
}

@media (max-width: 900px) {
    .gc-show-meta-row {
        grid-template-columns: 120px minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    .gc-show-meta-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .gc-show-meta-row strong {
        font-size: 15px;
    }
}

/* Torrent show layout balance */
.gc-show-layout,
.torrent-show-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 285px);
    gap: 24px;
    align-items: start;
}

.gc-show-sidebar,
.torrent-show-sidebar {
    min-width: 0;
}

.gc-show-meta-row {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
}

.gc-show-meta-row strong {
    max-width: 100%;
}

@media (min-width: 1280px) {
    .container,
    .gc-container {
        max-width: 1240px;
    }

    .gc-show-layout,
    .torrent-show-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
    }
}

@media (max-width: 980px) {
    .gc-show-layout,
    .torrent-show-layout {
        grid-template-columns: 1fr;
    }
}

/* Torrent files list collapse */
.gc-files-card {
    overflow: hidden;
}

.gc-files-list {
    display: grid;
    gap: 0;
}

.gc-file-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(148, 163, 184, .22);
}

.gc-file-row:last-child {
    border-bottom: 0;
}

.gc-file-name {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

.gc-file-size {
    white-space: nowrap;
    color: #64748b;
    font-weight: 700;
}

.gc-files-more {
    margin-top: 4px;
}

.gc-files-more summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(37, 99, 235, .22);
    border-radius: 12px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.gc-files-more summary::-webkit-details-marker {
    display: none;
}

.gc-files-more summary::after {
    content: "↓";
    font-size: 14px;
}

.gc-files-more[open] summary::after {
    content: "↑";
}

.gc-files-more summary span {
    color: #64748b;
    font-weight: 700;
}

.gc-files-more-list {
    margin-top: 10px;
}

@media (max-width: 620px) {
    .gc-file-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .gc-file-size {
        font-size: 14px;
    }
}

/* Torrent show hero cleanup */
.gc-show-pills {
    margin-bottom: 10px;
}

.gc-show-hero-head {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.gc-show-type-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-top: 4px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(37, 99, 235, .22);
}

.gc-show-hero-title {
    min-width: 0;
}

.gc-hero-summary {
    max-width: 980px;
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.65;
}

.gc-hero-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 10px;
    margin: 18px 0 18px;
}

.gc-hero-meta-item {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, .26);
    border-radius: 14px;
    background: #f8fafc;
}

.gc-hero-meta-item span {
    color: #64748b;
    font-size: 12px;
    line-height: 1.25;
}

.gc-hero-meta-item strong {
    min-width: 0;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .gc-show-hero-head {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 10px;
    }

    .gc-show-type-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 20px;
    }

    .gc-hero-meta-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .gc-show-hero-head {
        grid-template-columns: 1fr;
    }

    .gc-hero-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* Torrent show hero polish */
.gc-show-hero-head {
    display: block;
}

.gc-show-type-icon {
    display: none;
}

.gc-show-title {
    max-width: 1120px;
}

.gc-hero-summary {
    max-width: 980px;
    margin-top: 10px;
}

/* Torrent show title size polish */
.gc-show-title {
    font-size: clamp(34px, 3.6vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

@media (max-width: 760px) {
    .gc-show-title {
        font-size: clamp(30px, 8vw, 40px);
        letter-spacing: -0.025em;
    }
}

@media (max-width: 520px) {
    .gc-show-title {
        font-size: 30px;
        line-height: 1.16;
    }
}

/* Torrent show typography compact polish */
.gc-show-title {
    font-size: clamp(32px, 3.1vw, 42px);
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.gc-hero-summary {
    max-width: 940px;
    font-size: 15.5px;
    line-height: 1.6;
}

.gc-description-card {
    padding-top: 24px;
}

.bbcode-content {
    font-size: 16px;
    line-height: 1.62;
}

@media (max-width: 760px) {
    .gc-show-title {
        font-size: clamp(28px, 7vw, 36px);
    }
}

@media (max-width: 520px) {
    .gc-show-title {
        font-size: 28px;
        line-height: 1.16;
    }

    .bbcode-content {
        font-size: 15.5px;

}

}

/* Torrent action button icons */
.gc-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-right: 7px;
    color: currentColor;
    vertical-align: -3px;
    transition: transform .16s ease;
}

.gc-action-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gc-action-icon + span {
    display: inline-block;
    vertical-align: middle;
}

.btn .gc-action-icon,
button .gc-action-icon,
a .gc-action-icon {
    pointer-events: none;
}

.btn:hover .gc-action-icon,
button:hover .gc-action-icon,
a:hover .gc-action-icon {
    transform: translateY(-1px);
}

.gc-report-pill {
    gap: 0;
}

/* Torrent top pill icons */
.gc-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gc-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    color: currentColor;
    opacity: .82;
}

.gc-pill-icon svg {
    display: block;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gc-meta-pill span {
    line-height: 1;
}

/* Torrent info sidebar groups */
.gc-show-info-grid {
    gap: 0;
}

.gc-show-meta-section-title {
    margin: 8px 0 6px;
    padding: 8px 0 6px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.gc-show-meta-section-title:first-child {
    margin-top: 0;
    padding-top: 0;
}

.gc-show-meta-section-title--activity {
    margin-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, .24);
    padding-top: 14px;
}

.gc-show-info-grid .gc-show-meta-row {
    padding: 11px 0;
}

.gc-show-info-grid .gc-show-meta-row strong {
    font-variant-numeric: tabular-nums;
}

/* Torrent info sidebar row spacing fix */
.gc-show-info-grid .gc-show-meta-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.gc-show-info-grid .gc-show-meta-label {
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
}

.gc-show-info-grid .gc-show-meta-row strong {
    justify-self: end;
    text-align: right;
    white-space: nowrap;
}

/* Torrent files block polish */
.gc-files-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.gc-files-head .gc-show-section-title {
    margin-bottom: 4px;
}

.gc-files-subtitle {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
}

.gc-files-total-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 8px 11px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
}

.gc-file-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gc-file-title {
    min-width: 0;
    overflow-wrap: anywhere;
}

.gc-file-main-badge {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.gc-files-more summary {
    justify-content: space-between;
    text-align: left;
}

.gc-files-more summary small {
    flex: 0 0 auto;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.gc-files-more-open {
    display: none;
}

.gc-files-more[open] .gc-files-more-closed {
    display: none;
}

.gc-files-more[open] .gc-files-more-open {
    display: inline;
}

.gc-files-more[open] summary {
    background: #f8fafc;
    color: #334155;
    border-color: rgba(148, 163, 184, .32);
}

@media (max-width: 620px) {
    .gc-files-head {
        display: grid;
        gap: 10px;
    }

    .gc-files-total-pill {
        justify-self: start;
    }

    .gc-file-name {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .gc-files-more summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

/* Related torrents clean block */
.gc-related-card {
    overflow: hidden;
}

.gc-related-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.gc-related-head .gc-show-section-title {
    margin-bottom: 4px;
}

.gc-related-subtitle {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
}

.gc-related-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 900;
}

.gc-related-list {
    display: grid;
    gap: 0;
}

.gc-related-item {
    display: grid;
    gap: 6px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(148, 163, 184, .22);
    text-decoration: none;
}

.gc-related-item:last-child {
    border-bottom: 0;
}

.gc-related-item-title {
    color: #0f172a;
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.gc-related-item:hover .gc-related-item-title {
    color: #2563eb;
}

.gc-related-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.35;
}

.gc-related-item-meta span {
    white-space: nowrap;
}

/* Torrent catalog cards polish */
.gc-catalog-torrent-list {
    gap: 16px;
}

.gc-catalog-torrent-card {
    padding: 20px;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.gc-catalog-torrent-card:hover {
    border-color: rgba(37, 99, 235, .28);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.gc-catalog-card-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 18px;
    align-items: start;
}

.gc-catalog-card-body {
    min-width: 0;
}

.gc-catalog-card-pills {
    margin-bottom: 8px;
}

.gc-catalog-card-title {
    margin: 0 0 8px;
    font-size: 23px;
    line-height: 1.22;
    letter-spacing: -0.02em;
}

.gc-catalog-card-title a:hover {
    color: #2563eb;
}

.gc-catalog-card-description {
    margin: 0 0 12px;
    max-width: 860px;
    line-height: 1.55;
}

.gc-catalog-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 10px;
    color: #475569;
    font-size: 13px;
    line-height: 1.35;
}

.gc-catalog-card-specs span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .22);
}

.gc-catalog-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(148, 163, 184, .22);
    color: #64748b;
    font-size: 13px;
    line-height: 1.35;
}

.gc-catalog-card-footer span {
    white-space: nowrap;
}

@media (max-width: 760px) {
    .gc-catalog-card-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .gc-catalog-torrent-card {
        padding: 16px;
    }

    .gc-catalog-card-title {
        font-size: 20px;
    }

    .gc-catalog-card-footer {
        display: grid;
        gap: 6px;
    }
}

/* Torrent public admin menu */
.gc-show-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.gc-show-breadcrumbs {
    min-width: 0;
}

.gc-admin-menu {
    position: relative;
    flex: 0 0 auto;
    margin-left: auto;
    z-index: 40;
}

.gc-admin-menu summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.gc-admin-menu summary::-webkit-details-marker {
    display: none;
}

.gc-admin-menu[open] summary {
    background: #eff6ff;
    border-color: rgba(37, 99, 235, .28);
    color: #1d4ed8;
}

.gc-admin-menu-icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    color: currentColor;
}

.gc-admin-menu-icon svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gc-admin-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    min-width: 220px;
    padding: 7px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
}

.gc-admin-menu-panel a {
    display: block;
    padding: 10px 11px;
    border-radius: 10px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.gc-admin-menu-panel a:hover {
    background: #f1f5f9;
    color: #2563eb;
}

@media (max-width: 760px) {
    .gc-show-topline {
        display: grid;
        gap: 10px;
    }

    .gc-admin-menu {
        margin-left: 0;
        justify-self: start;
    }

    .gc-admin-menu-panel {
        left: 0;
        right: auto;
    }
}

/* Compact torrent comment form */
.gc-comment-form-card--compact {
    padding: 18px;
}

.gc-comment-form-head h3 {
    margin: 0 0 6px;
}

.gc-comment-form-head p {
    margin: 0;
}

.gc-comment-form {
    gap: 12px;
}

.gc-comment-identity-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.gc-comment-identity-grid .gc-form-field,
.gc-comment-antispam-card .gc-form-field,
.gc-comment-body-field {
    margin-top: 0;
}

.gc-comment-antispam-card {
    display: grid;
    grid-template-columns: minmax(160px, .8fr) minmax(180px, 1fr);
    gap: 12px;
    align-items: end;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.gc-comment-antispam-text {
    display: grid;
    gap: 4px;
    align-self: center;
}

.gc-comment-antispam-text strong {
    color: #0f172a;
    font-size: 14px;
}

.gc-comment-antispam-text span {
    color: #64748b;
    font-size: 14px;
    line-height: 1.35;
}

.gc-comment-user-line {
    margin: 0;
}

.gc-comment-body-field textarea {
    min-height: 118px;
}

.gc-comment-submit-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.gc-comment-submit-row .btn,
.gc-comment-submit-row .gc-bbcode-preview-button {
    min-height: 42px;
}

.gc-comment-preview-box[hidden] {
    display: none !important;
}

.gc-comment-preview-box {
    margin-top: 0;
}

.gc-comments-empty {
    padding: 16px 18px;
}

@media (max-width: 760px) {
    .gc-comment-identity-grid,
    .gc-comment-antispam-card {
        grid-template-columns: 1fr;
    }

    .gc-comment-submit-row .btn,
    .gc-comment-submit-row .gc-bbcode-preview-button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* BBCode image spacing compact */
.bbcode-content .bbcode-image {
    display: block;
    margin: 12px 0 14px;
}

.bbcode-content .bbcode-image + br {
    display: none;
}

/* Public UI without swarm stats */
.gc-catalog-card-main {
    grid-template-columns: minmax(0, 1fr);
}

/* ProffTorrent footer */
.gc-site-footer {
    margin-top: 52px;
    padding: 0 0 34px;
    border-top: 0;
    color: inherit;
}

.gc-footer-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 24px;
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 99, 235, .22), transparent 32%),
        linear-gradient(135deg, #0f172a 0%, #111827 58%, #172554 100%);
    color: #e5edf8;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
}

.gc-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    gap: 34px;
    padding: 30px;
}

.gc-footer-brand {
    margin-bottom: 10px;
    color: #fff;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.gc-footer-text {
    max-width: 620px;
    margin: 0;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.65;
}

.gc-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.gc-footer-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(226, 232, 240, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #dbeafe;
    font-size: 13px;
    font-weight: 800;
}

.gc-footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.gc-footer-nav-col {
    display: grid;
    align-content: start;
    gap: 8px;
}

.gc-footer-nav-col h3 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.gc-footer-nav-col a,
.gc-footer-nav-col span {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.45;
}

.gc-footer-nav-col a:hover {
    color: #93c5fd;
}

.gc-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 18px;
    padding: 16px 30px;
    border-top: 1px solid rgba(226, 232, 240, .11);
    background: rgba(2, 6, 23, .18);
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 920px) {
    .gc-footer-main {
        grid-template-columns: 1fr;
    }

    .gc-footer-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .gc-site-footer {
        margin-top: 38px;
    }

    .gc-footer-main {
        padding: 22px;
    }

    .gc-footer-nav {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gc-footer-bottom {
        padding: 15px 22px;
    }

    .gc-footer-brand {
        font-size: 24px;
    }
}

/* ProffTorrent header */
.gc-site-header {
    position: relative;
    background:
        radial-gradient(circle at 18% 0%, rgba(37, 99, 235, .24), transparent 30%),
        linear-gradient(90deg, #0f172a 0%, #111827 54%, #0b1220 100%);
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
}

.gc-site-header__inner {
    min-height: 74px;
}

.gc-header-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    min-width: 0;
}

.gc-header-logo:hover {
    color: #fff;
}

.gc-header-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -.04em;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .24);
}

.gc-header-logo-text {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.gc-header-logo-text strong {
    color: #fff;
    font-size: 22px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.035em;
}

.gc-header-logo-text small {
    color: #93a4bd;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

.gc-header-nav {
    align-items: center;
    gap: 6px;
}

.gc-header-nav-link,
.gc-header-logout-button {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 11px;
    border-radius: 999px;
    color: #d7e1f1;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.gc-header-nav-link:hover,
.gc-header-logout-button:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.gc-header-nav-link.is-active {
    background: rgba(37, 99, 235, .18);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(147, 197, 253, .18);
}

.gc-header-logout-form {
    margin: 0;
}

.gc-header-logout-button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

@media (max-width: 900px) {
    .gc-site-header__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .gc-header-nav {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        scrollbar-width: thin;
    }

    .gc-header-nav-link,
    .gc-header-logout-button {
        white-space: nowrap;
    }
}

@media (max-width: 520px) {
    .gc-header-logo-text small {
        display: none;
    }

    .gc-header-logo-mark {
        width: 34px;
        height: 34px;
        border-radius: 11px;
    }

    .gc-header-logo-text strong {
        font-size: 20px;
    }
}

/* ProffTorrent home cleanup */
.gc-home-hero {
    padding-top: 44px;
}

.gc-home-hero-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 12%, rgba(96, 165, 250, .32), transparent 30%),
        linear-gradient(135deg, #0f172a 0%, #172554 52%, #1d4ed8 100%);
}

.gc-home-hero-card::after {
    content: "";
    position: absolute;
    inset: auto -80px -130px auto;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    pointer-events: none;
}

.gc-home-hero-content {
    position: relative;
    z-index: 1;
}

.gc-home-torrent-card {
    min-height: 100%;
}

.gc-home-torrent-card-pills {
    margin-top: 10px;
}

.gc-home-torrent-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, .22);
    color: #64748b;
    font-size: 13px;
    line-height: 1.35;
}

.gc-home-torrent-card-footer span {
    white-space: nowrap;
}

.gc-home-category-card,
.gc-home-author-card {
    transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.gc-home-category-card:hover,
.gc-home-author-card:hover,
.gc-home-torrent-card:hover {
    border-color: rgba(37, 99, 235, .26);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .07);
    transform: translateY(-1px);
}

@media (max-width: 680px) {
    .gc-home-hero {
        padding-top: 28px;
    }
.gc-home-torrent-card-footer {
        display: grid;
        gap: 6px;
    }
}

/* ProffTorrent compact home hero */
.gc-home-hero {
    padding-top: 30px;
}

.gc-home-hero-card {
    padding: 42px 40px;
}

.gc-home-hero-card h1 {
    max-width: 820px;
    margin-bottom: 16px;
    font-size: clamp(34px, 4.2vw, 54px);
}

.gc-home-hero-card p {
    max-width: 820px;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.55;
}

.gc-home-search {
    margin-top: 24px;
    margin-bottom: 0;
}

@media (max-width: 760px) {
    .gc-home-hero {
        padding-top: 22px;
    }

    .gc-home-hero-card {
        padding: 30px 22px;
    }

    .gc-home-hero-card h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .gc-home-hero-card p {
        font-size: 16px;
    }
}

/* ProffTorrent hero inline stats */
.gc-home-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
    align-items: center;
}

.gc-home-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gc-home-hero-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 78px;
    padding: 13px;
    border: 1px solid rgba(219, 234, 254, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.gc-home-hero-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
    color: #dbeafe;
}

.gc-home-hero-stat-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gc-home-hero-stat strong {
    display: block;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.gc-home-hero-stat small {
    display: block;
    margin-top: 5px;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 800;
}

@media (max-width: 980px) {
    .gc-home-hero-layout {
        grid-template-columns: 1fr;
    }

    .gc-home-hero-stats {
        max-width: 520px;
    }
}

@media (max-width: 560px) {
    .gc-home-hero-stats {
        grid-template-columns: 1fr;
    }

    .gc-home-hero-stat {
        min-height: 62px;
    }
}

/* Home torrent cards clickable and compact */
.gc-home-torrent-card--clickable {
    position: relative;
    cursor: pointer;
}

.gc-home-torrent-card--clickable .gc-home-card-stretched-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.gc-home-torrent-card--clickable .torrent-card__title {
    position: relative;
    z-index: 2;
}

.gc-home-torrent-card--clickable:hover .torrent-card__title {
    color: #2563eb;
}

.gc-home-torrent-card--clickable:focus-within {
    border-color: rgba(37, 99, 235, .42);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

/* BBCode content typography consolidated */
/* BBCode headings compact */
.bbcode-content {
    color: #0f172a;
    font-size: 16px;
    line-height: 1.68;
}

.bbcode-content > *:first-child {
    margin-top: 0;
}

.bbcode-content > *:last-child {
    margin-bottom: 0;
}

.bbcode-content h2 {
    margin: 24px 0 10px;
    color: #0f172a;
    font-size: 25px;
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.bbcode-content h3 {
    margin: 20px 0 8px;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.28;
    font-weight: 900;
    letter-spacing: -0.015em;
}

.bbcode-content h2 + br,
.bbcode-content h3 + br,
.bbcode-content ul + br,
.bbcode-content ol + br {
    display: none;
}

.bbcode-content p {
    margin: 0 0 13px;
}

.bbcode-content ul,
.bbcode-content ol {
    margin: 10px 0 16px;
    padding-left: 24px;
}

.bbcode-content li {
    margin: 5px 0;
    padding-left: 2px;
}

.bbcode-content li::marker {
    color: #2563eb;
    font-weight: 900;
}

.bbcode-content blockquote {
    margin: 15px 0;
    padding: 12px 14px;
    border-left: 4px solid rgba(37, 99, 235, .34);
    border-radius: 0 12px 12px 0;
    background: #f8fafc;
    color: #334155;
}

.bbcode-content pre {
    overflow: auto;
    margin: 15px 0;
    padding: 13px 14px;
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 14px;
    background: #0f172a;
    color: #e5e7eb;
    font-size: 14px;
    line-height: 1.55;
}

.bbcode-content code {
    padding: 2px 5px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: .92em;
}

.bbcode-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
}


/* Home/header visual repair after CSS cleanup */
.gc-site-header .gc-header-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
}

.gc-site-header .gc-header-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -0.04em;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .24);
}

.gc-site-header .gc-header-logo-text {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.gc-site-header .gc-header-logo-text strong {
    color: #fff;
    font-size: 22px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.gc-site-header .gc-header-logo-text small {
    color: #93a4bd;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

.gc-home-hero {
    padding-top: 30px;
}

.gc-home-hero .gc-home-hero-card {
    min-height: 0;
    height: auto;
    padding: 42px 40px;
}

.gc-home-hero .gc-home-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
    align-items: center;
}

.gc-home-hero .gc-home-hero-content {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.gc-home-hero .gc-home-hero-card h1 {
    max-width: 820px;
    margin: 0 0 16px;
    font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1.08;
}

.gc-home-hero .gc-home-hero-card p {
    max-width: 820px;
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
}

.gc-home-hero .gc-home-search {
    max-width: 780px;
    margin-top: 24px;
    margin-bottom: 0;
}

.gc-home-hero .gc-home-hero-stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gc-home-hero .gc-home-hero-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 78px;
    padding: 13px;
    border: 1px solid rgba(219, 234, 254, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.gc-home-hero .gc-home-hero-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
    color: #dbeafe;
}

.gc-home-hero .gc-home-hero-stat-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gc-home-hero .gc-home-hero-stat strong {
    display: block;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.gc-home-hero .gc-home-hero-stat small {
    display: block;
    margin-top: 5px;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 800;
}

@media (max-width: 980px) {
    .gc-home-hero .gc-home-hero-layout {
        grid-template-columns: 1fr;
    }

    .gc-home-hero .gc-home-hero-stats {
        max-width: 520px;
    }
}

@media (max-width: 760px) {
    .gc-home-hero {
        padding-top: 22px;
    }

    .gc-home-hero .gc-home-hero-card {
        padding: 30px 22px;
    }

    .gc-home-hero .gc-home-hero-card h1 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .gc-home-hero .gc-home-hero-card p {
        font-size: 16px;
    }
}

@media (max-width: 560px) {
    .gc-home-hero .gc-home-hero-stats {
        grid-template-columns: 1fr;
    }

    .gc-home-hero .gc-home-hero-stat {
        min-height: 62px;
    }
}

/* ProffTorrent stable public skin v2 */
.site-header.gc-site-header {
    position: relative !important;
    background: linear-gradient(90deg, #0f172a 0%, #111827 58%, #0b1220 100%) !important;
    border-bottom: 1px solid rgba(148, 163, 184, .16) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08) !important;
}

.site-header.gc-site-header .gc-site-header__inner,
.site-header.gc-site-header .site-header__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 74px !important;
    gap: 24px !important;
}

.site-header.gc-site-header .gc-header-logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 11px !important;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.site-header.gc-site-header .gc-header-logo-mark {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 13px !important;
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .24) !important;
}

.site-header.gc-site-header .gc-header-logo-text {
    display: grid !important;
    gap: 1px !important;
    min-width: 0 !important;
}

.site-header.gc-site-header .gc-header-logo-text strong {
    display: block !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    letter-spacing: -0.035em !important;
}

.site-header.gc-site-header .gc-header-logo-text small {
    display: block !important;
    color: #93a4bd !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

.site-header.gc-site-header .gc-header-nav {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.site-header.gc-site-header .gc-header-nav-link,
.site-header.gc-site-header .gc-header-logout-button {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 36px !important;
    padding: 8px 11px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #d7e1f1 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.site-header.gc-site-header .gc-header-nav-link:hover,
.site-header.gc-site-header .gc-header-logout-button:hover,
.site-header.gc-site-header .gc-header-nav-link.is-active {
    background: rgba(255, 255, 255, .08) !important;
    color: #fff !important;
}

/* Hero hard reset */
.hero.gc-home-hero {
    padding-top: 30px !important;
    margin: 0 !important;
}

.hero.gc-home-hero > .hero-card.gc-home-hero-card {
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 42px 40px !important;
    border: 0 !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 88% 42%, rgba(96, 165, 250, .22), transparent 28%),
        linear-gradient(135deg, #0f172a 0%, #172554 54%, #2563eb 100%) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.hero.gc-home-hero > .hero-card.gc-home-hero-card::after {
    content: "" !important;
    position: absolute !important;
    right: -90px !important;
    bottom: -130px !important;
    width: 360px !important;
    height: 360px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .08) !important;
    pointer-events: none !important;
}

.hero.gc-home-hero .gc-home-hero-layout {
    position: relative !important;
    z-index: 1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 330px !important;
    gap: 34px !important;
    align-items: center !important;
}

.hero.gc-home-hero .gc-home-hero-content {
    position: relative !important;
    z-index: 2 !important;
    min-width: 0 !important;
}

.hero.gc-home-hero h1 {
    max-width: 820px !important;
    margin: 0 0 16px !important;
    color: #fff !important;
    font-size: clamp(34px, 4.2vw, 54px) !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    letter-spacing: -0.055em !important;
}

.hero.gc-home-hero p {
    max-width: 820px !important;
    margin: 0 !important;
    color: #dbeafe !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
}

.hero.gc-home-hero .gc-home-search {
    display: flex !important;
    align-items: center !important;
    max-width: 780px !important;
    margin: 24px 0 0 !important;
    gap: 10px !important;
}

.hero.gc-home-hero .gc-home-search input {
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #0f172a !important;
    font-size: 16px !important;
}

.hero.gc-home-hero .gc-home-search .btn,
.hero.gc-home-hero .gc-home-search button {
    flex: 0 0 auto !important;
    min-height: 52px !important;
    padding: 0 22px !important;
    border-radius: 14px !important;
    background: #2563eb !important;
    color: #fff !important;
    font-weight: 900 !important;
}

.hero.gc-home-hero .gc-home-hero-stats {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}

.hero.gc-home-hero .gc-home-hero-stat {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 78px !important;
    padding: 13px !important;
    border: 1px solid rgba(219, 234, 254, .16) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .09) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

.hero.gc-home-hero .gc-home-hero-stat-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, .12) !important;
    color: #dbeafe !important;
}

.hero.gc-home-hero .gc-home-hero-stat-icon svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.hero.gc-home-hero .gc-home-hero-stat strong {
    display: block !important;
    color: #fff !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    font-variant-numeric: tabular-nums !important;
}

.hero.gc-home-hero .gc-home-hero-stat small {
    display: block !important;
    margin-top: 5px !important;
    color: #cbd5e1 !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
}

/* Footer hard reset */
.footer.gc-site-footer {
    margin-top: 52px !important;
    padding: 0 0 34px !important;
    border-top: 0 !important;
    background: transparent !important;
    color: inherit !important;
}

.footer.gc-site-footer .gc-footer-card {
    overflow: hidden !important;
    border: 1px solid rgba(148, 163, 184, .22) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 99, 235, .22), transparent 32%),
        linear-gradient(135deg, #0f172a 0%, #111827 58%, #172554 100%) !important;
    color: #e5edf8 !important;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .12) !important;
}

.footer.gc-site-footer .gc-footer-main {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr) !important;
    gap: 34px !important;
    padding: 30px !important;
}

.footer.gc-site-footer .gc-footer-brand {
    margin-bottom: 10px !important;
    color: #fff !important;
    font-size: 28px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    letter-spacing: -0.035em !important;
}

.footer.gc-site-footer .gc-footer-text {
    max-width: 620px !important;
    margin: 0 !important;
    color: #cbd5e1 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

.footer.gc-site-footer .gc-footer-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 18px !important;
}

.footer.gc-site-footer .gc-footer-badges span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 6px 10px !important;
    border: 1px solid rgba(226, 232, 240, .14) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .06) !important;
    color: #dbeafe !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.footer.gc-site-footer .gc-footer-nav {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
}

.footer.gc-site-footer .gc-footer-nav-col {
    display: grid !important;
    align-content: start !important;
    gap: 8px !important;
}

.footer.gc-site-footer .gc-footer-nav-col h3 {
    margin: 0 0 7px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
}

.footer.gc-site-footer .gc-footer-nav-col a,
.footer.gc-site-footer .gc-footer-nav-col span {
    display: block !important;
    color: #cbd5e1 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
}

.footer.gc-site-footer .gc-footer-nav-col a:hover {
    color: #93c5fd !important;
}

.footer.gc-site-footer .gc-footer-bottom {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 10px 18px !important;
    padding: 16px 30px !important;
    border-top: 1px solid rgba(226, 232, 240, .11) !important;
    background: rgba(2, 6, 23, .18) !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

@media (max-width: 980px) {
    .hero.gc-home-hero .gc-home-hero-layout {
        grid-template-columns: 1fr !important;
    }

    .hero.gc-home-hero .gc-home-hero-stats {
        max-width: 520px !important;
    }
}

@media (max-width: 920px) {
    .site-header.gc-site-header .gc-site-header__inner,
    .site-header.gc-site-header .site-header__inner {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }

    .site-header.gc-site-header .gc-header-nav {
        width: 100% !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        padding-bottom: 2px !important;
    }

    .footer.gc-site-footer .gc-footer-main {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 760px) {
    .hero.gc-home-hero {
        padding-top: 22px !important;
    }

    .hero.gc-home-hero > .hero-card.gc-home-hero-card {
        padding: 30px 22px !important;
    }

    .hero.gc-home-hero h1 {
        font-size: clamp(30px, 9vw, 42px) !important;
    }

    .hero.gc-home-hero p {
        font-size: 16px !important;
    }

    .footer.gc-site-footer .gc-footer-nav {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 560px) {
    .hero.gc-home-hero .gc-home-search {
        display: grid !important;
    }

    .hero.gc-home-hero .gc-home-hero-stats {
        grid-template-columns: 1fr !important;
    }

    .hero.gc-home-hero .gc-home-hero-stat {
        min-height: 62px !important;
    }

    .site-header.gc-site-header .gc-header-logo-text small {
        display: none !important;
    }
}

/* BBCode responsive tables */
.bbcode-content .gc-bbcode-table-wrap {
    margin: 18px 0;
    overflow-x: auto;
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 14px;
    background: #fff;
}

.bbcode-content .gc-bbcode-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: #fff;
}

.bbcode-content .gc-bbcode-table th,
.bbcode-content .gc-bbcode-table td {
    padding: 11px 12px;
    border: 1px solid rgba(148, 163, 184, .35);
    vertical-align: top;
    text-align: left;
}

.bbcode-content .gc-bbcode-table th {
    background: #eff6ff;
    color: #0f172a;
    font-weight: 900;
}

.bbcode-content .gc-bbcode-table td {
    color: #0f172a;
}

.bbcode-content .gc-bbcode-table tr:nth-child(even) td {
    background: #f8fafc;
}

@media (max-width: 760px) {
    .bbcode-content .gc-bbcode-table-wrap {
        margin-left: -2px;
        margin-right: -2px;
    }

    .bbcode-content .gc-bbcode-table {
        min-width: 640px;
        font-size: 14px;
    }
}
