     * {
         margin: 0;
         padding: 0;
         box-sizing: border-box;
     }

     /* Windows 11 Context Menu CSS Class Structure - Mobile First */
     .glass-morph-context-menu {
         position: fixed;
         min-width: 240px;
         max-width: 90vw;
         padding: 8px;

         /* Windows 11 Glass Morphism Effect */
         background: rgba(32, 32, 32, 0.4);
         backdrop-filter: blur(20px) saturate(180%);
         -webkit-backdrop-filter: blur(20px) saturate(180%);

         /* Deep contrast overlay */
         box-shadow:
             0 1px 0 rgba(255, 255, 255, 0.1),
             0 8px 32px rgba(0, 0, 0, 0.4),
             0 2px 8px rgba(0, 0, 0, 0.2);

         /* Windows 11 rounded corners */
         border-radius: 12px;
         border: 1px solid rgba(255, 255, 255, 0.12);

         /* Smooth animations */
         animation: glass-morphContextMenuAppear 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
         transform-origin: top left;

         font-size: 14px;
         color: #ffffff;
         z-index: 1000;
         font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

         /* Initially hidden */
         display: none;
         opacity: 0;
         visibility: hidden;
     }

     .glass-morph-context-menu.show {
         display: block;
         opacity: 1;
         visibility: visible;
     }

     @keyframes glass-morphContextMenuAppear {
         0% {
             opacity: 0;
             transform: scale(0.95) translateY(-5px);
         }

         100% {
             opacity: 1;
             transform: scale(1) translateY(0);
         }
     }

     .glass-morph-context-menu-item {
         display: flex;
         align-items: center;
         padding: 12px;
         margin: 2px 0;
         border-radius: 6px;
         cursor: pointer;
         transition: all 0.1s ease;
         color: #ffffff;
         font-weight: 400;
         position: relative;
         user-select: none;
         touch-action: manipulation;
         -webkit-tap-highlight-color: transparent;
         min-height: 44px;
         /* Touch target size */
     }

     .glass-morph-context-menu-item:hover:not(.disabled),
     .glass-morph-context-menu-item:focus:not(.disabled) {
         background: rgba(255, 255, 255, 0.1);
         backdrop-filter: blur(10px);
         transform: translateX(2px);
     }

     .glass-morph-context-menu-item:active:not(.disabled) {
         background: rgba(255, 255, 255, 0.15);
         transform: translateX(1px) scale(0.98);
     }

     .glass-morph-context-menu-item.disabled {
         color: rgba(255, 255, 255, 0.4);
         cursor: default;
     }

     .glass-morph-context-menu-item.disabled:hover {
         background: transparent;
         transform: none;
     }

     .glass-morph-context-menu-separator {
         height: 1px;
         background: rgba(255, 255, 255, 0.1);
         margin: 6px 8px;
     }

     .glass-morph-menu-icon {
         width: 20px;
         height: 20px;
         margin-right: 12px;
         opacity: 0.9;
         filter: brightness(1.2);
         display: flex;
         align-items: center;
         justify-content: center;
         font-size: 16px;
     }

     /* Font Awesome icon support */
     .glass-morph-menu-icon i {
         font-size: 16px;
         width: 16px;
         height: 16px;
         display: flex;
         align-items: center;
         justify-content: center;
     }

     /* Submenu icons are bigger */
     .glass-morph-submenu .glass-morph-menu-icon {
         width: 24px;
         height: 24px;
         font-size: 18px;
     }

     .glass-morph-submenu .glass-morph-menu-icon i {
         font-size: 18px;
         width: 18px;
         height: 18px;
     }

     .glass-morph-menu-shortcut {
         margin-left: auto;
         font-size: 11px;
         color: rgba(255, 255, 255, 0.7);
     }

     .glass-morph-context-menu-item.has-submenu::after {
         content: '›';
         margin-left: auto;
         font-size: 18px;
         color: rgba(255, 255, 255, 0.7);
     }

     .glass-morph-context-menu-item.has-submenu .glass-morph-menu-shortcut {
         margin-right: 16px;
     }

     /* Submenu styles */
     .glass-morph-submenu {
         position: fixed;
         min-width: 200px;
         max-width: 85vw;
         padding: 8px;

         background: rgba(32, 32, 32, 0.4);
         backdrop-filter: blur(20px) saturate(180%);
         -webkit-backdrop-filter: blur(20px) saturate(180%);

         box-shadow:
             0 1px 0 rgba(255, 255, 255, 0.1),
             0 8px 32px rgba(0, 0, 0, 0.4),
             0 2px 8px rgba(0, 0, 0, 0.2);

         border-radius: 12px;
         border: 1px solid rgba(255, 255, 255, 0.12);

         animation: glass-morphContextMenuAppear 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);

         font-size: 14px;
         color: #ffffff;
         z-index: 1001;
         font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

         display: none;
         opacity: 0;
         visibility: hidden;
     }

     .glass-morph-submenu.show {
         display: block;
         opacity: 1;
         visibility: visible;
     }

     /* Tablet and larger screens */
     @media (min-width: 768px) {
         .demo-controls {
             top: 20px;
             left: 20px;
             right: auto;
             max-width: 400px;
         }

         .bg-button {
             font-size: 14px;
             padding: 10px 16px;
         }

         .bg-split .bg-section {
             height: 100%;
             width: 33.33%;
         }

         .bg-split {
             flex-direction: row;
         }

         .glass-morph-context-menu {
             min-width: 280px;
             max-width: 320px;
         }

         .glass-morph-context-menu-item {
             padding: 10px 12px;
             min-height: auto;
         }

         .hint {
             bottom: 30px;
             left: 50%;
             right: auto;
             transform: translateX(-50%);
             max-width: 500px;
             font-size: 14px;
         }
     }

     /* Desktop */
     @media (min-width: 1024px) {
         .glass-morph-menu-icon {
             width: 16px;
             height: 16px;
             font-size: 14px;
         }
     }




















     /* gallery */



     .slideshow-container {
         position: fixed;
         width: 100vw;
         height: 100vh;
         overflow: hidden;
         z-index: -1;
         width: 100vw;
         height: 100vh;
         overflow: hidden;
     }

     .galleryslide {
         position: absolute;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         opacity: 0;
         background-size: cover;
         background-position: center;
         background-repeat: no-repeat;
     }

     .galleryslide.active {
         opacity: 1;
     }

     .controls {
         position: fixed;
         bottom: 20px;
         left: 20px;
         right: 20px;
         z-index: 1000;
         display: flex;
         align-items: center;
         gap: 15px;
         background: rgba(0, 0, 0, 0.7);
         padding: 15px;
         border-radius: 10px;
         backdrop-filter: blur(10px);
         max-width: 370px;
     }

     .gallery-selector {
         display: flex;
         align-items: center;
         gap: 10px;
         flex: 1;
     }

     select,
     input,
     button {
         padding: 8px 12px;
         background: rgba(255, 255, 255, 0.1);
         color: white;
         border: 1px solid rgba(255, 255, 255, 0.2);
         border-radius: 5px;
         cursor: pointer;
     }

     select option {
         background: #333;
         color: white;
     }

     button {
         background: rgba(255, 255, 255, 0.2);
         transition: background 0.3s;
     }

     button:hover {
         background: rgba(255, 255, 255, 0.3);
     }

     button:disabled {
         opacity: 0.5;
         cursor: not-allowed;
     }

     .status {
         position: fixed;
         bottom: 20px;
         left: 20px;
         right: 20px;
         background: rgba(0, 0, 0, 0.7);
         padding: 15px;
         border-radius: 10px;
         backdrop-filter: blur(10px);
         text-align: center;
     }

     .pickbt {
         width: 140px;
         display: block;
         margin: auto;
     }

     .new-badge {
         position: absolute;
         top: 5px;
         right: 5px;
         background: #ff4444;
         color: white;
         padding: 2px 6px;
         border-radius: 3px;
         font-size: 10px;
         font-weight: bold;
     }

     .thumbnail {
         position: relative;
     }

     .loading {
         position: fixed;
         top: 50%;
         left: 50%;
         transform: translate(-50%, -50%);
         text-align: center;
         font-size: 18px;
         background: rgba(0, 0, 0, 0.8);
         padding: 20px;
         border-radius: 10px;
     }

     .modal {
         position: fixed !important;
         top: 0 !important;
         left: 0 !important;
         right: 0 !important;
         bottom: 0 !important;
         background: rgba(0, 0, 0, 0.1) !important;
         display: none;
         align-items: center !important;
         justify-content: center !important;
         z-index: 2000 !important;
     }

     .gallery-modal-content {
         background: rgba(20, 20, 20, 0.40);
         padding: 30px;
         border-radius: 15px;
         max-width: 90vw;
         max-height: 90vh;
         overflow-y: auto;
         backdrop-filter: blur(10px);
     }

     .thumbnail-grid {
         display: grid;
         grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
         gap: 15px;
         margin: 20px 0;
     }

     .thumbnail {
         position: relative;
         aspect-ratio: 1;
         border-radius: 8px;
         overflow: hidden;
         cursor: pointer;
         border: 2px solid transparent;
         transition: border-color 0.3s;
     }

     .thumbnail:hover {
         border-color: rgba(255, 255, 255, 0.5);
     }

     .thumbnail.selected {
         border-color: #4CAF50;
     }

     .thumbnail img {
         width: 100%;
         height: 100%;
         object-fit: cover;
     }

     .modal-header {
         display: flex;
         justify-content: space-between;
         align-items: center;
         margin-bottom: 20px;
     }

     .close-btn {
         background: none;
         border: none;
         color: white;
         font-size: 24px;
         cursor: pointer;
     }

     .gallery-form {
         display: flex;
         gap: 10px;
         margin-bottom: 20px;
         align-items: center;
     }

     .gallery-form input {
         flex: 1;
     }

     .edit-controls {
         display: flex;
         gap: 10px;
         margin-top: 20px;
     }

     .controls.hidden {
         opacity: 0;
         pointer-events: none;
         transform: translateY(-100%);
         transition: all 0.5s ease;
     }

     .status.hidden {
         opacity: 0;
         pointer-events: none;
         transform: translateY(100%);
         transition: all 0.5s ease;
     }



     .hidden {
         display: none;
     }

     .interface-hidden {
         cursor: none;
     }

     .show-interface-btn {
         position: fixed;
         top: 10px;
         right: 10px;
         z-index: 3000;
         background: rgba(255, 255, 255, 0.1);
         color: white;
         border: 1px solid rgba(255, 255, 255, 0.2);
         border-radius: 50%;
         width: 50px;
         height: 50px;
         cursor: pointer;
         display: none;
         align-items: center;
         justify-content: center;
         font-size: 18px;
         backdrop-filter: blur(10px);
     }

     #fileInput {
         display: none;
     }

     #fileInputEdit {
         display: none;
     }

     .resize-canvas {
         display: none;
     }