        :root {
            --layout-card-gap: 1.5rem;
        }
        @media (max-width: 991.98px) {
            :root {
                --layout-card-gap: 1.25rem;
            }
        }

        .layout-page {
            background: var(--bg-color);
        }

        .layout-detail-wrapper {
            padding: 1.25rem 0 1.5rem;
        }

        /* ---- Breadcrumb ---- */
        .layout-breadcrumb-nav {
            margin-bottom: 0.5rem;
        }
        .layout-breadcrumb-nav .breadcrumb {
            font-size: 0.82rem;
            background: none;
            padding: 0;
        }
        .layout-breadcrumb-nav .breadcrumb-item a {
            color: rgba(255, 255, 255, 0.45);
            text-decoration: none;
            transition: color 0.2s;
        }
        .layout-breadcrumb-nav .breadcrumb-item a:hover {
            color: var(--primary-color);
        }
        .layout-breadcrumb-nav .breadcrumb-item.active {
            color: rgba(255, 255, 255, 0.3);
        }
        .layout-breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
            color: rgba(255, 255, 255, 0.2);
        }

        /* ---- Title Block ---- */
        .layout-title-block {
            margin-bottom: 1.25rem;
        }
        .layout-title {
            font-size: 1.75rem;
            font-weight: 800;
            color: #f8fafc;
            margin: 0 0 0.65rem;
            line-height: 1.25;
            letter-spacing: -0.025em;
        }
        @media (min-width: 992px) {
            .layout-title {
                font-size: 2.1rem;
            }
        }
        .layout-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            align-items: center;
        }
        .layout-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.8rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 20px;
            letter-spacing: 0.2px;
        }
        .tag-level {
            background: rgba(59, 130, 246, 0.12);
            border: 1px solid rgba(59, 130, 246, 0.3);
            color: #60a5fa;
        }
        .tag-type {
            background: rgba(16, 185, 129, 0.12);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: #34d399;
        }
        .tag-link-status {
            background: rgba(16, 185, 129, 0.08);
            border: 1px solid rgba(16, 185, 129, 0.25);
            color: #34d399;
        }

        /* Pulse Dot */
        .pulse-indicator,
        .pulse-dot {
            width: 8px;
            height: 8px;
            background-color: #10b981;
            border-radius: 50%;
            display: inline-block;
            box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
            animation: pulseGlow 1.8s infinite;
        }
        @keyframes pulseGlow {
            0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
            70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
            100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
        }

        /* ---- Image Showcase Card ---- */
        .layout-showcase-card {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            background: #121824;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
        }
        .showcase-image {
            width: 100%;
            height: auto;
            display: block;
            cursor: pointer;
            transition: transform 0.35s ease;
        }
        .layout-showcase-card:hover .showcase-image {
            transform: scale(1.012);
        }

        /* Showcase Overlays */
        .showcase-overlay-top {
            position: absolute;
            top: 12px;
            right: 12px;
            left: 12px;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            z-index: 10;
            pointer-events: none;
        }
        .showcase-fav-box {
            pointer-events: auto;
        }
        .showcase-overlay-bottom {
            position: absolute;
            bottom: 12px;
            right: 12px;
            z-index: 10;
        }
        .showcase-overlay-btn {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.15);
            background: rgba(15, 23, 42, 0.75);
            backdrop-filter: blur(8px);
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.15rem;
            text-decoration: none;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
        }
        .showcase-overlay-btn:hover {
            transform: scale(1.1);
            color: #fff;
        }
        .fav-btn:hover,
        .fav-btn.is-fav {
            background: #ef4444;
            border-color: #ef4444;
            color: #fff;
            transform: scale(1.08);
            box-shadow: 0 4px 16px rgba(239, 68, 68, 0.5);
        }
        .zoom-btn:hover {
            background: var(--primary-color);
            border-color: var(--primary-color);
        }

        /* ---- Navigation & Compact Copy Bar ---- */
        .layout-action-bar-wrapper {
            margin-top: 1rem;
            margin-bottom: var(--layout-card-gap) !important;
        }
        .layout-action-nav-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-top: 0;
        }
        .btn-base-nav {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 9px 16px;
            height: 42px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #e2e8f0;
            font-size: 0.85rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s ease;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .btn-base-nav:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(59, 130, 246, 0.4);
            color: #fff;
            transform: translateY(-1px);
        }
        .btn-base-nav.is-disabled {
            opacity: 0.25;
            pointer-events: none;
            cursor: not-allowed;
            background: rgba(255, 255, 255, 0.02) !important;
            border-color: rgba(255, 255, 255, 0.04) !important;
            color: rgba(255, 255, 255, 0.25) !important;
        }
        .cta-button-wrapper {
            flex-grow: 1;
            max-width: 380px;
        }
        .btn-copy-compact {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            height: 42px;
            padding: 0 20px;
            border-radius: 12px;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #ffffff;
            font-size: 0.95rem;
            font-weight: 700;
            text-decoration: none;
            box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
        }
        .btn-copy-compact:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
            color: #ffffff;
        }
        .btn-copy-compact:active {
            transform: translateY(0);
        }
        .btn-copy-compact.is-disabled {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.4);
            box-shadow: none;
            cursor: not-allowed;
        }
        .cta-notice-box {
            padding: 10px 16px;
            border-radius: 10px;
            font-size: 0.82rem;
            display: flex;
            align-items: center;
        }
        .cta-notice-warning {
            background: rgba(245, 158, 11, 0.1);
            border: 1px solid rgba(245, 158, 11, 0.3);
            color: #fbbf24;
        }

        /* ---- Desktop Creator Profile Card (Aligned with Site Palette) ---- */
        .creator-profile-card-desktop {
            background: var(--card-bg, #161c28);
            border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
            position: relative;
            margin-bottom: var(--layout-card-gap) !important;
        }
        .creator-card-hero {
            display: none;
        }
        .creator-card-main {
            padding: 1.5rem 1.25rem 1.25rem;
            text-align: center;
            position: relative;
            margin-top: 0;
        }
        .creator-avatar-wrap-lg {
            width: 68px;
            height: 68px;
            border-radius: 50%;
            margin: 0 auto 10px;
            position: relative;
            display: inline-block;
        }
        .creator-avatar-lg {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--primary-color, #4E89E8);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            background: #1e293b;
        }
        .creator-verified-badge-lg {
            position: absolute;
            bottom: 2px;
            right: 2px;
            color: var(--primary-color, #4E89E8);
            background: #fff;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
        }
        .creator-name-lg {
            font-size: 1.1rem;
            font-weight: 700;
            margin: 0 0 2px;
        }
        .creator-name-lg a {
            color: #fff;
            text-decoration: none;
            transition: color 0.2s;
        }
        .creator-name-lg a:hover {
            color: var(--primary-color, #4E89E8);
        }
        .creator-username-lg {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.45);
            margin-bottom: 10px;
        }
        .creator-bio-lg {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.65);
            line-height: 1.4;
            margin-bottom: 12px;
        }
        .creator-metrics-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            padding: 8px 0;
            margin-bottom: 14px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .creator-metric-box {
            text-align: center;
        }
        .metric-number {
            display: block;
            font-size: 1rem;
            font-weight: 800;
            color: #f1f5f9;
        }
        .metric-caption {
            display: block;
            font-size: 0.68rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: rgba(255, 255, 255, 0.4);
        }
        .creator-buttons-group {
            display: flex;
            gap: 8px;
        }
        .btn-creator-action-lg {
            flex-grow: 1;
            border-radius: 20px;
            padding: 7px 16px;
            font-size: 0.82rem;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.2s ease;
            border: none;
            cursor: pointer;
        }
        .btn-follow-lg {
            background: linear-gradient(135deg, #4E89E8 0%, #3a75d1 100%);
            color: #fff;
            box-shadow: 0 4px 14px rgba(78, 137, 232, 0.35);
        }
        .btn-follow-lg:hover {
            background: linear-gradient(135deg, #3a75d1 0%, #295eb4 100%);
            color: #fff;
            transform: translateY(-1px);
        }
        .btn-unfollow-lg {
            background: rgba(239, 68, 68, 0.15);
            border: 1px solid rgba(239, 68, 68, 0.4);
            color: #ef4444;
        }
        .btn-unfollow-lg:hover {
            background: #ef4444;
            color: #fff;
        }
        .btn-creator-msg-lg {
            width: 38px;
            height: 36px;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.95rem;
            text-decoration: none;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }
        .btn-creator-msg-lg:hover {
            background: rgba(255, 255, 255, 0.12);
            color: #fff;
        }

        /* ---- Mobile Creator Card ---- */
        .creator-card-premium {
            background: var(--card-bg, #161c28);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 12px 14px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
            margin-bottom: var(--layout-card-gap) !important;
        }
        .creator-header-flex {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .creator-avatar-link {
            position: relative;
            width: 44px;
            height: 44px;
            flex-shrink: 0;
        }
        .creator-avatar-img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(59, 130, 246, 0.4);
            background: #1e293b;
        }
        .creator-verified-badge {
            position: absolute;
            bottom: -2px;
            right: -2px;
            color: #3b82f6;
            font-size: 0.75rem;
        }
        .creator-info-block {
            flex-grow: 1;
            min-width: 0;
        }
        .creator-display-name {
            font-size: 0.92rem;
            font-weight: 700;
            color: #fff;
            text-decoration: none;
            display: block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .creator-handle-text {
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.45);
        }
        .creator-action-btn-wrap {
            flex-shrink: 0;
        }
        .btn-creator-follow {
            border-radius: 20px;
            padding: 5px 12px;
            font-size: 0.76rem;
            font-weight: 700;
            border: none;
            cursor: pointer;
            background: linear-gradient(135deg, #3b82f6, #2563eb);
            color: #fff;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            transition: all 0.2s ease;
        }
        .btn-creator-follow.btn-unfollow {
            background: rgba(239, 68, 68, 0.15);
            border: 1px solid rgba(239, 68, 68, 0.4);
            color: #ef4444;
        }
        .creator-stats-chips {
            display: flex;
            gap: 6px;
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }
        .creator-chip {
            flex: 1;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 8px;
            padding: 5px 6px;
            text-align: center;
        }
        .chip-val {
            font-size: 0.82rem;
            font-weight: 800;
            color: #fff;
            display: block;
        }
        .chip-label {
            font-size: 0.62rem;
            color: rgba(255, 255, 255, 0.45);
            text-transform: uppercase;
            display: block;
        }

        /* ---- Layout Specs Card (Desktop & Mobile) ---- */
        .layout-specs-card {
            background: var(--card-bg, #161c28);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
            margin-bottom: var(--layout-card-gap) !important;
        }
        .specs-header {
            padding: 12px 18px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .specs-header-title {
            font-size: 0.92rem;
            font-weight: 700;
            color: #fff;
            display: flex;
            align-items: center;
        }
        .badge-link-live {
            font-size: 0.75rem;
            font-weight: 600;
            color: #34d399;
            background: rgba(16, 185, 129, 0.1);
            padding: 3px 8px;
            border-radius: 12px;
            border: 1px solid rgba(16, 185, 129, 0.2);
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .specs-tiles-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            padding: 14px 16px;
        }
        .spec-tile {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 9px 12px;
            background: rgba(255, 255, 255, 0.025);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            transition: background 0.2s;
        }
        .spec-tile:hover {
            background: rgba(255, 255, 255, 0.05);
        }
        .tile-icon {
            width: 34px;
            height: 34px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.05rem;
            flex-shrink: 0;
        }
        .tile-icon-level { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
        .tile-icon-type { background: rgba(16, 185, 129, 0.15); color: #34d399; }
        .tile-icon-views { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
        .tile-icon-copies { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
        .tile-details {
            display: flex;
            flex-direction: column;
            min-width: 0;
        }
        .tile-label {
            font-size: 0.68rem;
            text-transform: uppercase;
            letter-spacing: 0.4px;
            color: rgba(255, 255, 255, 0.4);
            line-height: 1.1;
        }
        .tile-value {
            font-size: 0.88rem;
            font-weight: 700;
            color: #f8fafc;
            line-height: 1.3;
            margin-top: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Rating Row Inside Specs */
        .specs-rating-row {
            padding: 12px 18px;
            background: rgba(0, 0, 0, 0.18);
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }
        .rating-row-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 6px;
        }
        .rating-label-box {
            font-size: 0.88rem;
            display: flex;
            align-items: center;
        }
        .score-large {
            font-size: 1.2rem;
            font-weight: 800;
            color: #fbbf24;
        }
        .score-max {
            font-size: 0.78rem;
            color: rgba(255, 255, 255, 0.4);
        }
        .rate-prompt-text {
            font-size: 0.78rem;
            color: rgba(255, 255, 255, 0.5);
        }
        .star-rating-control {
            display: inline-flex;
            flex-direction: row-reverse;
            gap: 3px;
        }
        .star-rating-control input {
            display: none;
        }
        .star-rating-control label {
            cursor: pointer;
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.2);
            transition: all 0.2s ease;
            margin: 0;
        }
        .star-rating-control label:hover,
        .star-rating-control label:hover ~ label,
        .star-rating-control input:checked ~ label {
            color: #fbbf24;
            text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
        }
        .rated-stars-wrap {
            width: 100%;
            padding: 3px 0;
        }
        .rated-stars-icons {
            display: inline-flex;
            gap: 4px;
        }
        .rated-stars-icons i.bi-star-fill {
            font-size: 1.15rem;
            color: rgba(255, 255, 255, 0.15);
            transition: all 0.25s ease;
        }
        .rated-stars-icons i.bi-star-fill.rated {
            color: #fbbf24;
            filter: drop-shadow(0 2px 6px rgba(251, 191, 36, 0.5));
        }
        .user-rated-badge {
            font-size: 0.78rem;
            font-weight: 600;
            color: #fbbf24;
            background: rgba(251, 191, 36, 0.12);
            border: 1px solid rgba(251, 191, 36, 0.28);
            padding: 4px 10px;
            border-radius: 20px;
            display: inline-flex;
            align-items: center;
            white-space: nowrap;
        }

        /* ---- Content Cards (Description & Share) ---- */
        .layout-content-card {
            background: var(--card-bg, #161c28);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
            margin-bottom: var(--layout-card-gap) !important;
        }
        .content-card-header {
            padding: 12px 18px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            font-size: 0.95rem;
            font-weight: 700;
            color: #fff;
            display: flex;
            align-items: center;
        }
        .content-card-body {
            padding: 16px 18px;
        }
        .layout-strategy-text {
            color: rgba(255, 255, 255, 0.85);
            font-size: 0.92rem;
            line-height: 1.65;
        }

        /* ---- Modern Rectangular Share Buttons Grid ---- */
        .social-share-pill-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            width: 100%;
        }

        .share-btn-pill {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            height: 44px;
            padding: 0 12px;
            border-radius: 12px;
            font-size: 0.86rem;
            font-weight: 600;
            text-decoration: none !important;
            border: 1px solid rgba(255, 255, 255, 0.08);
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
            white-space: nowrap;
        }

        .share-btn-pill i {
            font-size: 1.15rem;
            flex-shrink: 0;
            transition: transform 0.2s ease;
        }

        .share-btn-pill:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
        }

        .share-btn-pill:hover i {
            transform: scale(1.15);
        }

        /* Platform specific styling */
        .share-whatsapp {
            background: rgba(37, 211, 102, 0.12);
            border-color: rgba(37, 211, 102, 0.3);
            color: #d1fae5;
        }
        .share-whatsapp i { color: #25D366; }
        .share-whatsapp:hover {
            background: #25D366;
            border-color: #25D366;
            color: #ffffff;
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
        }
        .share-whatsapp:hover i { color: #ffffff; }

        .share-discord {
            background: rgba(88, 101, 242, 0.12);
            border-color: rgba(88, 101, 242, 0.3);
            color: #e0e7ff;
        }
        .share-discord i { color: #5865F2; }
        .share-discord:hover {
            background: #5865F2;
            border-color: #5865F2;
            color: #ffffff;
            box-shadow: 0 6px 20px rgba(88, 101, 242, 0.35);
        }
        .share-discord:hover i { color: #ffffff; }

        .share-reddit {
            background: rgba(255, 69, 0, 0.12);
            border-color: rgba(255, 69, 0, 0.3);
            color: #ffedd5;
        }
        .share-reddit i { color: #FF4500; }
        .share-reddit:hover {
            background: #FF4500;
            border-color: #FF4500;
            color: #ffffff;
            box-shadow: 0 6px 20px rgba(255, 69, 0, 0.35);
        }
        .share-reddit:hover i { color: #ffffff; }

        .share-twitter {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.18);
            color: #f8fafc;
        }
        .share-twitter i { color: #ffffff; }
        .share-twitter:hover {
            background: #000000;
            border-color: rgba(255, 255, 255, 0.4);
            color: #ffffff;
            box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
        }

        .share-facebook {
            background: rgba(24, 119, 242, 0.12);
            border-color: rgba(24, 119, 242, 0.3);
            color: #dbeafe;
        }
        .share-facebook i { color: #1877F2; }
        .share-facebook:hover {
            background: #1877F2;
            border-color: #1877F2;
            color: #ffffff;
            box-shadow: 0 6px 20px rgba(24, 119, 242, 0.35);
        }
        .share-facebook:hover i { color: #ffffff; }

        .share-pinterest {
            background: rgba(230, 0, 35, 0.12);
            border-color: rgba(230, 0, 35, 0.3);
            color: #ffe4e6;
        }
        .share-pinterest i { color: #E60023; }
        .share-pinterest:hover {
            background: #E60023;
            border-color: #E60023;
            color: #ffffff;
            box-shadow: 0 6px 20px rgba(230, 0, 35, 0.35);
        }
        .share-pinterest:hover i { color: #ffffff; }

        .share-copylink {
            background: rgba(78, 137, 232, 0.15);
            border-color: rgba(78, 137, 232, 0.35);
            color: #93c5fd;
            grid-column: span 2;
        }
        .share-copylink i { color: #60a5fa; }
        .share-copylink:hover {
            background: #2563eb;
            border-color: #2563eb;
            color: #ffffff;
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
        }
        .share-copylink:hover i { color: #ffffff; }

        .share-copylink.btn-copied-success {
            background: #16a34a !important;
            border-color: #16a34a !important;
            color: #ffffff !important;
            box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4) !important;
        }
        .share-copylink.btn-copied-success i { color: #ffffff !important; }

        @media (min-width: 768px) and (max-width: 991.98px) {
            .social-share-pill-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            .share-copylink {
                grid-column: span 3;
            }
        }

        /* Mobile View: Exact Original Circular Single-Row Buttons */
        @media (max-width: 767.98px) {
            .social-share-pill-grid {
                display: flex !important;
                align-items: center !important;
                justify-content: space-between !important;
                flex-wrap: nowrap !important;
                gap: 4px !important;
                width: 100% !important;
            }

            .share-btn-pill {
                width: clamp(34px, 9.5vw, 42px) !important;
                height: clamp(34px, 9.5vw, 42px) !important;
                min-width: unset !important;
                max-width: unset !important;
                border-radius: 50% !important;
                padding: 0 !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                flex-shrink: 0 !important;
                grid-column: auto !important;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
            }

            .share-btn-pill span {
                display: none !important;
            }

            .share-btn-pill i {
                font-size: clamp(0.92rem, 3.2vw, 1.15rem) !important;
                color: #ffffff !important;
                margin: 0 !important;
            }

            /* Solid vibrant mobile circular button backgrounds (exact original) */
            .share-whatsapp { background: #25D366 !important; border: none !important; }
            .share-discord { background: #5865F2 !important; border: none !important; }
            .share-pinterest { background: #E60023 !important; border: none !important; }
            .share-reddit { background: #FF4500 !important; border: none !important; }
            .share-twitter { background: #111827 !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; }
            .share-facebook { background: #1877F2 !important; border: none !important; }
            .share-copylink {
                background: rgba(255, 255, 255, 0.08) !important;
                border: 1px solid rgba(255, 255, 255, 0.15) !important;
                color: #e2e8f0 !important;
            }
            .share-copylink i {
                color: #e2e8f0 !important;
            }
            .share-copylink:hover {
                background: var(--primary-color) !important;
                border-color: var(--primary-color) !important;
                color: #ffffff !important;
            }
        }

        /* ---- Visual Similar Layouts Grid (Image Hero Cards) ---- */
        .similar-layouts-card {
            background: var(--card-bg, #161c28);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
            margin-bottom: 0 !important;
        }
        .similar-header {
            padding: 12px 18px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .similar-title {
            font-size: 0.92rem;
            font-weight: 700;
            color: #fff;
            display: flex;
            align-items: center;
        }
        .similar-body {
            padding: 14px;
        }
        .similar-cards-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        .similar-ad-container {
            grid-column: 1 / -1;
            width: 100%;
            margin: 6px 0;
            overflow: hidden;
        }
        .mobile-similar-section {
            margin-bottom: var(--layout-card-gap) !important;
        }
        /* Auto Ads & In-Page Ad Protection */
        google-auto-placed,
        .google-auto-placed,
        .layout-ad-slot {
            width: 100% !important;
            max-width: 100% !important;
            display: block !important;
            clear: both !important;
            text-align: center;
            overflow: hidden !important;
            border-radius: 16px !important;
            margin: 0 0 var(--layout-card-gap) 0 !important;
            position: relative;
            z-index: 1;
        }
        .layout-ad-slot:empty,
        .similar-ad-container:empty {
            display: none !important;
            margin: 0 !important;
            padding: 0 !important;
            height: 0 !important;
        }
        .similar-base-card {
            display: flex;
            flex-direction: column;
            border-radius: 12px;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.06);
            text-decoration: none;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .similar-base-card:hover {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(59, 130, 246, 0.4);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
        }
        .similar-base-thumb-wrap {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 10;
            overflow: hidden;
            background: #0f141f;
        }
        .similar-base-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.35s ease;
        }
        .similar-base-card:hover .similar-base-img {
            transform: scale(1.05);
        }
        .similar-thumb-badges {
            position: absolute;
            top: 6px;
            left: 6px;
            right: 6px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            pointer-events: none;
        }
        .badge-thumb-level {
            font-size: 0.68rem;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 6px;
            background: rgba(15, 23, 42, 0.85);
            backdrop-filter: blur(4px);
            color: #60a5fa;
            border: 1px solid rgba(59, 130, 246, 0.3);
        }
        .badge-thumb-rating {
            font-size: 0.68rem;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 6px;
            background: rgba(15, 23, 42, 0.85);
            backdrop-filter: blur(4px);
            color: #fbbf24;
            border: 1px solid rgba(245, 158, 11, 0.3);
            display: inline-flex;
            align-items: center;
            gap: 3px;
        }
        .similar-base-info {
            padding: 8px 10px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .similar-base-title {
            font-size: 0.8rem;
            font-weight: 600;
            color: #f1f5f9;
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.3;
        }
        .similar-base-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.45);
        }

                .copy-badge {
            display: inline-flex;
            align-items: center;
            padding: 2px 7px;
            border-radius: 10px;
            background: #121212 !important;
            border: none !important;
            box-shadow: none !important;
            font-size: 0.75rem;
            font-weight: 700;
            margin-left: 6px;
            color: #ffffff;
        }

        .btn-creator-msg-mobile {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: rgba(255, 255, 255, 0.85);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            text-decoration: none;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }
        .btn-creator-msg-mobile:hover {
            background: rgba(255, 255, 255, 0.12);
            color: #fff;
        }

        /* Comments Card Consistent Styling (matches other cards) */
        .comments-section .card {
            background: var(--card-bg, #161c28) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            border-radius: 16px !important;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
        }
        .comments-section .card-header {
            background: transparent !important;
            padding: 12px 18px !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        }
        .comments-section .card-header .card-title {
            font-size: 0.95rem;
            font-weight: 700;
            color: #fff;
            display: flex;
            align-items: center;
        }
        .comments-section .card-header .comment-count {
            background: rgba(59, 130, 246, 0.2) !important;
            color: #60a5fa !important;
            border: 1px solid rgba(59, 130, 246, 0.3);
            font-size: 0.75rem;
            font-weight: 700;
            padding: 3px 8px;
            margin-left: 8px;
        }
        .comments-section .card-body {
            padding: 16px 18px !important;
        }

        /* Prevent empty gap above footer */
        .comments-section {
            margin-bottom: var(--layout-card-gap) !important;
        }
        .layout-detail-wrapper {
            padding-bottom: 0.5rem !important;
        }
        .main-container {
            padding-bottom: 0 !important;
        }

        /* ---- Mobile Optimization & Removing Footer Gap ---- */
        @media (max-width: 991.98px) {
            .main-container {
                padding-top: 0.75rem !important;
                padding-bottom: 0 !important;
            }
            .layout-detail-wrapper {
                padding-top: 0.5rem;
                padding-bottom: 0 !important;
            }
            .layout-title {
                font-size: 1.5rem;
            }
            .btn-base-nav {
                padding: 8px 12px;
                font-size: 0.8rem;
            }
            .btn-copy-compact {
                font-size: 0.88rem;
                padding: 0 14px;
            }
            .similar-cards-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }
            .footer {
                margin-top: 1rem !important;
            }
        }

        /* ---- Copy Badge Click Bump Animation ---- */
        @keyframes copyBadgeBump {
            0% { transform: scale(1); }
            40% { transform: scale(1.22); background: #262626; }
            100% { transform: scale(1); }
        }
        .copy-badge.copy-badge-bump {
            animation: copyBadgeBump 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        /* ---- Android Redirect Modal & BH3 Modal ---- */
        .redirect-modal .modal-dialog {
            max-width: 420px;
            margin: 1.25rem auto;
            padding: 0 14px;
        }
        .redirect-modal .modal-content {
            background: #151b27;
            border: 1px solid rgba(78, 137, 232, 0.3);
            border-radius: 20px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
            overflow: hidden;
            color: #e2e8f0;
        }
        .redirect-modal .modal-header {
            background: rgba(255, 255, 255, 0.02);
            border-bottom: 1px solid rgba(255, 255, 255, 0.07);
            padding: 1rem 1.25rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .redirect-modal .modal-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0;
        }
        .redirect-modal .modal-title i {
            color: #4E89E8;
            font-size: 1.2rem;
        }
        .redirect-modal .btn-close {
            filter: invert(1) grayscale(100%) brightness(200%);
            opacity: 0.7;
            transition: opacity 0.2s;
            margin: 0;
            padding: 0.5rem;
        }
        .redirect-modal .btn-close:hover {
            opacity: 1;
        }
        .redirect-modal .modal-body {
            padding: 1.25rem !important;
        }
        .redirect-modal-intro {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.65);
            text-align: center;
            margin-bottom: 1.25rem;
            line-height: 1.45;
        }
        .redirect-options-container {
            display: flex;
            gap: 0.75rem;
            margin-top: 0.5rem;
        }
        .redirect-option-compact {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 1.25rem 0.75rem 1rem;
            border-radius: 14px;
            text-decoration: none !important;
            transition: all 0.25s ease;
            position: relative;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            min-height: 135px;
            justify-content: center;
        }
        .redirect-option-compact.app-option {
            background: linear-gradient(145deg, rgba(78, 137, 232, 0.12), rgba(16, 185, 129, 0.08));
            border: 1.5px solid rgba(78, 137, 232, 0.35);
        }
        .redirect-option-compact.app-option:hover {
            background: linear-gradient(145deg, rgba(78, 137, 232, 0.22), rgba(16, 185, 129, 0.15));
            border-color: #4E89E8;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(78, 137, 232, 0.25);
        }
        .redirect-option-compact.browser-option:hover {
            background: rgba(255, 255, 255, 0.07);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }
        .redirect-badge-rec {
            position: absolute;
            top: -9px;
            font-size: 0.6rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            background: #10b981;
            color: #fff;
            padding: 2px 8px;
            border-radius: 20px;
            box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
        }
        .redirect-option-icon {
            width: 44px;
            height: 44px;
            max-width: 44px;
            max-height: 44px;
            object-fit: contain;
            margin-bottom: 10px;
            display: block;
        }
        .redirect-option-title {
            font-weight: 700;
            font-size: 0.92rem;
            color: #fff;
            margin-bottom: 4px;
            display: block;
        }
        .redirect-option-desc {
            font-size: 0.72rem;
            color: rgba(255, 255, 255, 0.5);
            line-height: 1.3;
            display: block;
        }
        .redirect-footer {
            background: rgba(0, 0, 0, 0.25);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding: 0.85rem 1.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .dont-show-checkbox {
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.55);
            user-select: none;
            margin: 0;
        }
        .dont-show-checkbox input[type="checkbox"] {
            width: 16px;
            height: 16px;
            accent-color: #4E89E8;
            cursor: pointer;
            border-radius: 4px;
        }
        .dont-show-checkbox:hover {
            color: rgba(255, 255, 255, 0.85);
        }
