
        :root {
            --gold-light: #FFD700;
            --gold-dark: #B8860B;
            --primary-blue: #1877f2;
            --background-light: #f0f2f5;
            --text-dark: #1c1e21;
            --header-height: 64px; /* Approximate header height */
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--background-light);
            color: var(--text-dark);
            min-height: 100vh;
            overflow-x: hidden;
        }
        .fade-in { animation: fadeIn 0.5s ease-in; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        .slide-up { animation: slideUp 0.5s ease-out; }
        @keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
        .post-card {
            transition: all 0.3s ease;
            border-radius: 0.75rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
            background-color: #fff;
        }
        .post-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        .post-card.reel-feed-card { /* Dark theme for reel cards on feed */
            background-color: #111827; /* Tailwind gray-900 */
            color: #f3f4f6; /* Tailwind gray-100 */
        }
        .post-card.reel-feed-card .post-options-btn,
        .post-card.reel-feed-card .text-xs {
            color: #d1d5db; /* Tailwind gray-300 for lighter text on dark */
        }
         .post-card.reel-feed-card .font-bold.hover\\:underline { /* Author name on reel card */
            color: #f9fafb; /* Tailwind gray-50 */
        }
        .post-card.reel-feed-card .verified-badge {
            color: var(--primary-blue); /* Keep blue or change if needed */
        }


        .comment-section {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-in-out;
        }
        .comment-section.expanded { max-height: 1000px; }
        .like-button.liked, .story-like-button.liked, .reel-feed-action-button.liked i { color: var(--primary-blue); }
        .dropdown-menu {
            display: none; position: absolute; background: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1); border-radius: 0.5rem; z-index: 100;
        }
        .dropdown-menu.show { display: block; animation: fadeIn 0.2s ease-out; }
        .modal {
            display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px);
            z-index: 1000; align-items: center; justify-content: center;
            opacity: 0; transition: opacity 0.3s ease;
        }
        .modal.show { display: flex; opacity: 1; }
        .modal-content {
            background-color: white; padding: 2rem; border-radius: 1rem;
            box-shadow: 0 12px 28px 0 rgba(0,0,0,0.2), 0 2px 4px 0 rgba(0,0,0,0.1);
            max-width: 90%; max-height: 90%; overflow-y: auto; width: 500px;
        }

        .modal-content-full-page {
            background-color: white;
            border-radius: 0;
            width: 100%;
            height: 100%;
            max-width: 100%;
            max-height: 100%;
            display: flex;
            flex-direction: column;
            transform: translateY(100%);
            transition: transform 0.3s ease-out;
        }
        .modal.show .modal-content-full-page {
            transform: translateY(0);
        }


        .verified-badge { color: var(--primary-blue); margin-left: 4px; font-size: 0.9em; }
        .monetization-icon { color: green; margin-left: 4px; font-size: 0.9em; }
        .post-image { /* Style for single image posts */
            max-height: 600px; width: 100%; object-fit: cover;
            border-radius: 0.75rem; margin: 1rem 0; display: block;
        }
         .story-image { /* Style for story images/videos in create modal */
            max-height: 400px; width: 100%; object-fit: cover;
            border-radius: 0.75rem; margin: 1rem 0; display: block;
        }
        .profile-pic-upload { display: none; }
        .profile-pic-preview {
            width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
            cursor: pointer; border: 3px solid var(--primary-blue);
        }

        .app-header {
            background-color: white; box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            position: sticky; top: 0; z-index: 50; padding: 0.75rem 1.5rem; height: var(--header-height);
        }
        .app-header .logo-img { 
            height: 2.5rem; /* 40px */
            width: 2.5rem;  /* 40px */
            border-radius: 50%;
            object-fit: cover;
        }
        
        .bottom-nav {
            position: fixed; bottom: 0; left: 0; right: 0; background: white;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1); z-index: 40; padding: 0.5rem 0;
            display: flex; justify-content: space-around;
        }
        .bottom-nav .nav-item.active { color: var(--primary-blue); }

        .btn {
            display: inline-flex; align-items: center; justify-content: center; padding: 0.7rem 1.4rem;
            border-radius: 0.75rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease;
        }
        .btn-primary-filled { background-color: var(--primary-blue); color: white; }
        .btn-primary-filled:hover { background-color: #166fe5; }
        .btn-outlined {
            background-color: transparent; border: 1px solid #dbdbdb; color: var(--text-dark);
        }
        .btn-outlined:hover { background-color: #f0f0f0; }
        .btn-danger-filled { background-color: #dc3545; color: white; }
        .btn-danger-filled:hover { background-color: #c82333; }

        .filter-button {
             flex: 1; padding: 0.75rem 1rem; border-radius: 0.5rem; text-align: center;
             font-weight: 600; transition: all 0.2s ease; cursor: pointer; color: #8e8e8e;
        }
        .filter-button.active { color: var(--text-dark); border-bottom: 2px solid var(--text-dark); }
        
        .toggle-switch {
            position: relative; display: inline-block; width: 50px; height: 28px;
        }
        .toggle-switch input { opacity: 0; width: 0; height: 0; }
        .slider {
            position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
            background-color: #ccc; transition: .4s; border-radius: 34px;
        }
        .slider:before {
            position: absolute; content: ""; height: 20px; width: 20px;
            left: 4px; bottom: 4px; background-color: white;
            transition: .4s; border-radius: 50%;
        }
        input:checked + .slider { background-color: var(--primary-blue); }
        input:checked + .slider:before { transform: translateX(22px); }

        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.8); 
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000; 
            transition: opacity 0.3s ease;
            opacity: 0;
            pointer-events: none; 
        }
        .loading-overlay.show {
            opacity: 1;
            pointer-events: all; 
        }
        
        .skeleton-container {
            position: relative;
            overflow: hidden;
            background-color: #f3f4f6; /* Tailwind gray-100 */
        }
        .skeleton-container::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            animation: shimmer 1.5s infinite;
        }
        .skeleton-circle, .skeleton-line, .skeleton-box {
            background-color: #e5e7eb; /* Tailwind gray-200 */
            border-radius: 0.25rem;
        }
        .skeleton-circle {
            border-radius: 50%;
        }

        @keyframes shimmer {
            0% { left: -100%; }
            100% { left: 100%; }
        }
        
        .button-spinner {
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top: 2px solid #fff;
            border-radius: 50%;
            width: 16px;
            height: 16px;
            animation: spin 1s linear infinite;
            margin-right: 8px; 
            display: inline-block; /* Ensure it takes space */
        }
        .button-spinner.dark {
             border: 2px solid rgba(0, 0, 0, 0.2);
             border-top: 2px solid #333;
        }


        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        #reelsContainer {
            height: calc(100vh - var(--header-height) - 64px); 
            overflow-y: scroll;
            scroll-snap-type: y mandatory; 
            -webkit-overflow-scrolling: touch; 
            width: 100%;
            background-color: black; 
            scroll-behavior: smooth; 
        }
        @media (min-width: 768px) { 
             #reelsContainer {
                height: calc(100vh - var(--header-height)); 
            }
        }


        .reel-item {
            width: 100%;
            height: 100%; 
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            scroll-snap-align: start; 
            background-color: black;
            flex-shrink: 0; 
        }

        .reel-item video {
            width: 100%;
            height: 100%;
            object-fit: contain; 
        }

        .reel-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-end; 
            padding: 1rem;
            background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 30%); 
            pointer-events: none; 
        }
        .reel-overlay > div {
            pointer-events: auto;
        }

        .reel-actions {
            position: absolute;
            right: 1rem;
            bottom: 6rem; 
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
            color: white;
            z-index: 10;
        }
         @media (min-width: 768px) { 
            .reel-actions {
                bottom: 2rem; 
            }
        }


        .reel-action-button {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 1.8rem;
            cursor: pointer;
            text-shadow: 0 0 5px rgba(0,0,0,0.5);
            pointer-events: auto; 
        }
        .reel-action-button span {
            font-size: 0.75rem;
            margin-top: 0.25rem;
        }
        .reel-action-button.liked {
            color: var(--primary-blue); 
        }

        .play-pause-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 4rem;
            color: rgba(255, 255, 255, 0.7);
            text-shadow: 0 0 10px rgba(0,0,0,0.8);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 5;
            pointer-events: none; 
        }
        .play-pause-icon.show {
            opacity: 1;
        }

        .dashboard-reel-preview { /* Used for reels on feed and profile grid */
            width: 100%;
            background-color: #000; 
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            border-radius: 0.75rem; 
            overflow: hidden;
            cursor: pointer;
             aspect-ratio: 9 / 16; 
             margin: 0; 
        }
        .dashboard-reel-preview video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .reel-feed-action-button { 
            display: flex;
            flex-direction: column;
            align-items: center;
            background: rgba(0,0,0,0.35);
            padding: 0.5rem;
            border-radius: 50%;
            cursor: pointer;
            color: white;
            transition: transform 0.2s;
        }
        .reel-feed-action-button:hover {
            transform: scale(1.1);
        }
        .reel-feed-action-button i {
            font-size: 1.5rem; 
        }
        .reel-feed-action-button span {
            font-size: 0.65rem; 
            margin-top: 0.1rem;
        }


        .form-checkbox {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            height: 20px;
            width: 20px;
            min-width: 20px; 
            border: 2px solid #D1D5DB; 
            border-radius: 6px; 
            cursor: pointer;
            display: inline-block;
            position: relative;
            transition: all 0.2s ease-in-out;
            margin-right: 0.5rem; 
            flex-shrink: 0; 
        }

        .form-checkbox:checked {
            background-color: var(--primary-blue);
            border-color: var(--primary-blue);
        }

        .form-checkbox:checked::after {
            content: '\\2713'; 
            font-size: 14px;
            color: white;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .form-checkbox:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5); 
        }
        .form-checkbox:hover {
            border-color: var(--primary-blue); 
        }
        .hobby-label {
            display: flex;
            align-items: center;
            font-size: 0.875rem; line-height: 1.25rem;
            cursor: pointer;
            user-select: none;
            padding: 0.5rem 0.75rem;
            border: 1px solid #D1D5DB; border-radius: 0.5rem;
            background-color: #F9FAFB;
            transition-property: background-color, border-color;
            transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
            transition-duration: 200ms;
        }
        .hobby-label:hover {
            background-color: #F3F4F6;
        }
        .hobby-label.selected {
            background-color: #EBF8FF; 
            border-color: var(--primary-blue); 
            font-weight: 500;
        }

        .auth-container {
            border-radius: 1.5rem; 
            padding: 3rem 2rem;
            max-width: 480px; 
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        .auth-container .logo-img { 
            height: 5rem; 
            width: 5rem; 
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 2.5rem;
            margin-left: auto;
            margin-right: auto;
        }
        .auth-container #authTitle {
            font-size: 2.5rem; 
            margin-bottom: 2.5rem;
            color: var(--primary-blue);
        }
        .auth-container input {
            padding: 0.8rem 1.25rem;
            font-size: 1.1rem;
        }
        .auth-container #authButton {
            padding: 0.9rem 1.5rem;
            font-size: 1.25rem;
            border-radius: 1rem; 
            background-image: linear-gradient(to right, #1877f2, #3b5998); 
            transition: all 0.3s ease;
        }
        .auth-container #authButton:hover {
            box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
            transform: translateY(-2px);
        }
        .auth-container .auth-toggle {
            font-size: 1.05rem;
            color: #555;
        }
        .auth-container .auth-toggle:hover {
            color: var(--primary-blue);
        }

        .story-border {
            position: relative;
            display: inline-block; 
            cursor: pointer;
        }
        .story-border::before {
            content: '';
            position: absolute;
            top: -4px;  
            left: -4px;
            right: -4px;
            bottom: -4px;
            border: 3px solid var(--gold-light); 
            border-radius: 50%; 
            z-index: 1; 
        }
        .story-border > img {
            position: relative;
            z-index: 2; 
        }
        
        .story-preview-modal-content {
            background-color: #000;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
            transform: translateY(100%);
            transition: transform 0.3s ease-out;
        }
        .modal.show .story-preview-modal-content {
            transform: translateY(0);
        }

        .story-preview-header {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem;
            z-index: 20;
            background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
        }
        .story-preview-user-info {
            display: flex;
            align-items: center;
            color: white;
        }
        .story-preview-user-info img {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            margin-right: 0.5rem;
            border: 2px solid white;
        }
         .story-preview-user-info .story-count-text {
            font-size: 0.9rem;
            margin-left: 0.75rem;
            opacity: 0.8;
        }
        .story-preview-header .close-btn {
            color: white;
            font-size: 1.5rem;
            background: none;
            border: none;
            cursor: pointer;
        }
        .story-preview-media-container {
            flex-grow: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%; 
        }
        .story-preview-media-container img,
        .story-preview-media-container video {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        .story-preview-actions {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding: 1rem;
            z-index: 20;
            background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
        }
        .story-preview-actions .story-like-button {
            color: white;
            font-size: 1.8rem;
            background: none;
            border: none;
            cursor: pointer;
        }
        .story-preview-actions .story-like-button.liked {
            color: var(--primary-blue);
        }

        .story-navigation {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            z-index: 10;
        }
        .story-nav-area {
            flex: 1;
            height: 100%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .story-nav-area .story-nav-arrow {
            font-size: 2.5rem;
            color: rgba(255,255,255,0.4);
            transition: color 0.2s;
            padding: 1rem; 
        }
        .story-nav-area:hover .story-nav-arrow {
            color: rgba(255,255,255,0.8);
        }

        .story-progress-container {
            position: absolute;
            top: 8px;
            left: 1rem;
            right: 1rem;
            display: flex;
            gap: 4px;
            z-index: 25;
        }
        .story-progress-bar {
            flex-grow: 1;
            height: 3px;
            background-color: rgba(255,255,255,0.3);
            border-radius: 2px;
            overflow: hidden;
        }
        .story-progress-bar-fill {
            height: 100%;
            width: 0%; 
            background-color: white;
        }
        .story-progress-bar.active .story-progress-bar-fill {
        }
        .story-progress-bar.completed .story-progress-bar-fill {
            width: 100%;
        }

        .header-icon-container {
            position: relative;
        }
        
        #sidebar .nav-item {
            display: flex;
            align-items: center;
            padding: 0.75rem 1rem;
            border-radius: 0.5rem;
            color: #374151; 
            font-weight: 500;
            transition: background-color 0.2s ease, color 0.2s ease;
        }
        #sidebar .nav-item:hover {
            background-color: #f3f4f6; 
            color: var(--text-dark);
        }
        #sidebar .nav-item.active {
            background-color: var(--primary-blue);
            color: white;
        }
        #sidebar .nav-item i {
            margin-right: 0.75rem;
            width: 20px; 
            text-align: center;
        }
        #sidebar .logo-container { 
            display: flex;
            align-items: center;
            justify-content: center; 
            flex-shrink: 0;
            padding-left: 1rem; 
            padding-right: 1rem; 
            margin-bottom: 1.25rem; 
            height: 4rem; 
        }
        #sidebar .logo-container img {
            height: 3rem; 
            width: 3rem;  
            border-radius: 50%;
            object-fit: cover;
        }
        
        #suggestedStoriesFeedSection {
            background-color: #ffffff;
            padding: 1rem;
            border-radius: 0.75rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.03);
            margin-bottom: 1rem;
        }
        #suggestedStoriesFeedSection h3 {
            font-size: 1.125rem; 
            font-weight: 600; 
            margin-bottom: 0.75rem; 
        }
        .suggested-stories-horizontal-scroll {
            display: flex;
            overflow-x: auto;
            gap: 0.75rem; 
            padding-bottom: 0.5rem; 
            min-height: 80px; 
        }
        .suggested-stories-horizontal-scroll::-webkit-scrollbar {
            height: 6px;
        }
        .suggested-stories-horizontal-scroll::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 3px;
        }
        .suggested-story-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 80px; 
            flex-shrink: 0;
            cursor: pointer;
        }
        .suggested-story-item .story-border { 
            width: 64px; 
            height: 64px; 
        }
        .suggested-story-item .story-border img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }
        .suggested-story-item p {
            font-size: 0.75rem; 
            margin-top: 0.25rem; 
            text-align: center;
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        #landingPage .logo-img { 
            max-height: 120px;
            width: 120px;
            border-radius: 50%; 
            object-fit: cover;
        }

        .multi-image-feed-item-wrapper { 
            position: relative;
            margin: 1rem 0;
            border-radius: 0.75rem;
            overflow: hidden; 
            background-color: #f0f2f5; 
        }
        .multi-image-scroll-container {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch; 
            max-height: 600px;
            background-color: #e5e7eb; 
        }
        .multi-image-scroll-container .scroll-snap-image {
            scroll-snap-align: center; 
            flex: 0 0 100%; 
            width: 100%;
            max-height: 600px; 
            object-fit: cover; 
            display: block; 
        }
        .photo-indicator {
            position: absolute;
            bottom: 0.75rem; 
            right: 0.75rem; 
            background-color: rgba(0, 0, 0, 0.65);
            color: white;
            padding: 0.25rem 0.75rem; 
            border-radius: 1rem;
            font-size: 0.75rem; 
            font-weight: 500;
            z-index: 10;
            pointer-events: none; 
            transition: opacity 0.2s ease-in-out;
        }
        
        #multipleImagePreviewArea {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem; 
            padding: 0.75rem;
            border-radius: 0.5rem; 
            background-color: #f9fafb; 
            min-height: 100px; 
        }

        .image-preview-item {
            position: relative;
            width: 100px; 
            height: 100px; 
            border-radius: 0.375rem; 
            overflow: hidden;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        }

        .image-preview-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .remove-preview-btn {
            position: absolute;
            top: 0.25rem; 
            right: 0.25rem; 
            background-color: rgba(0, 0, 0, 0.6);
            color: white;
            border: none;
            border-radius: 50%;
            width: 20px; 
            height: 20px; 
            font-size: 10px; 
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background-color 0.2s;
            line-height: 1; 
        }
        .remove-preview-btn:hover {
            background-color: rgba(220, 38, 38, 0.8); 
        }
        .remove-preview-btn i { 
             font-size: 10px;
        }

        .add-photo-box {
            width: 100px; 
            height: 100px; 
            border: 2px dashed #d1d5db; 
            border-radius: 0.375rem; 
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            background-color: #f9fafb; 
            transition: border-color 0.2s, background-color 0.2s;
            color: #6b7280; 
        }
        .add-photo-box:hover {
            border-color: var(--primary-blue);
            background-color: #f0f8ff; 
        }
        .add-photo-box i {
            font-size: 1.75rem; 
            margin-bottom: 0.25rem; 
        }
        .add-photo-box span {
            font-size: 0.75rem; 
            font-weight: 500;
        }

        /* Explore Page Specific Styles */
        .explore-page-container { /* Styles for the main explore page if needed */
            /* background-color: var(--background-light); */
        }

        .horizontal-scroll-container {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory; /* Optional: for snapping */
            -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
            padding-bottom: 1rem; /* Space for scrollbar if it appears */
        }
        .horizontal-scroll-container::-webkit-scrollbar {
            height: 8px;
        }
        .horizontal-scroll-container::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        .horizontal-scroll-container::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 10px;
        }
        .horizontal-scroll-container::-webkit-scrollbar-thumb:hover {
            background: #aaa;
        }

        .explore-reel-card {
            flex: 0 0 auto; /* Prevent shrinking/growing */
            width: 150px; /* Adjust width as desired */
            height: 250px; /* Adjust height for 9:16ish aspect */
            border-radius: 0.75rem;
            overflow: hidden;
            position: relative;
            background-color: #111;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: transform 0.2s ease-in-out;
            scroll-snap-align: start; /* Optional: for snapping */
            cursor: pointer;
        }
        .explore-reel-card:hover {
            transform: scale(1.03);
        }
        .explore-reel-card video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .explore-reel-card .overlay-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 0.5rem;
            background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
            color: white;
            font-size: 0.75rem;
        }
         .explore-reel-card .overlay-info .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 2rem;
            color: rgba(255,255,255,0.8);
            opacity: 0.7;
        }


        .explore-story-card {
            flex: 0 0 auto; /* Prevent shrinking/growing */
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 90px; /* Adjust width */
            scroll-snap-align: start; /* Optional: for snapping */
            cursor: pointer;
            transition: opacity 0.2s;
        }
        .explore-story-card:hover {
            opacity: 0.85;
        }
        .explore-story-card .story-border {
            width: 72px; /* Slightly larger than feed stories */
            height: 72px;
        }
        .explore-story-card .story-border img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }
        .explore-story-card p {
            font-size: 0.75rem; /* text-xs */
            margin-top: 0.35rem; /* mt-1.5 */
            text-align: center;
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #374151; /* gray-700 */
        }
        
        /* Skeleton for Explore Reels */
        .skeleton-explore-reel-card {
            flex: 0 0 auto; width: 150px; height: 250px;
            border-radius: 0.75rem; background-color: #e5e7eb;
            margin-right: 0.75rem; /* space-x-3 equivalent */
        }
        /* Skeleton for Explore Stories */
        .skeleton-explore-story-card {
            flex: 0 0 auto; display: flex; flex-direction: column; align-items: center;
            width: 90px; margin-right: 0.75rem; /* space-x-3 equivalent */
        }
        .skeleton-explore-story-card .skeleton-circle {
             width: 72px; height: 72px; margin-bottom: 0.35rem;
        }
        .skeleton-explore-story-card .skeleton-line {
            width: 80%; height: 10px;
        }

        /* Verification Request Modal Styles */
        #verificationRequestModal .modal-content {
            max-width: 600px; /* Wider for form */
        }
        #verificationRequestModal label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: #4A5568; /* gray-700 */
        }
        #verificationRequestModal input[type="text"],
        #verificationRequestModal input[type="url"],
        #verificationRequestModal select,
        #verificationRequestModal textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #E2E8F0; /* gray-300 */
            border-radius: 0.375rem; /* rounded-md */
            margin-bottom: 1rem;
            box-sizing: border-box;
            transition: border-color 0.2s;
        }
        #verificationRequestModal input:focus,
        #verificationRequestModal select:focus,
        #verificationRequestModal textarea:focus {
            outline: none;
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.2);
        }
        #verificationRequestModal input[readonly] {
            background-color: #F7FAFC; /* gray-100 */
            cursor: not-allowed;
        }
        #verificationRequestModal .id-upload-note {
            font-size: 0.8rem;
            color: #718096; /* gray-500 */
            margin-top: -0.5rem;
            margin-bottom: 1rem;
        }
        .auth-container #authFieldsContainer.hidden,
        .auth-container #authButton.hidden,
        .auth-container #resendVerificationButton.hidden {
            display: none;
        }


    
