body { margin: 0; min-height: 100vh; overflow: hidden; color: white; font-family: 'Montserrat', sans-serif; user-select: none; background: #08070b; }

        .user-session-panel {
          position: fixed;
          top: 14px;
          right: 14px;
          z-index: 120;
          display: grid;
          justify-items: end;
          gap: 8px;
        }

        .user-login-link,
        .user-account-button,
        .user-account-action {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          border: 1px solid rgba(255, 255, 255, 0.4);
          background: rgba(0, 0, 0, 0.34);
          color: #fff;
          border-radius: 999px;
          padding: 8px 12px;
          font-size: 12px;
          letter-spacing: 0.08em;
          text-transform: uppercase;
          text-decoration: none;
          backdrop-filter: blur(8px);
          transition: all 0.2s ease;
          cursor: pointer;
        }

        .user-login-link:hover,
        .user-account-button:hover,
        .user-account-action:hover {
          transform: translateY(-1px);
          border-color: rgba(255, 255, 255, 0.7);
          background: rgba(255, 255, 255, 0.16);
        }

        .user-account-menu {
          width: min(300px, calc(100vw - 28px));
          padding: 12px;
          border: 1px solid rgba(255,255,255,0.22);
          border-radius: 16px;
          background: rgba(8, 7, 11, 0.88);
          box-shadow: 0 18px 44px rgba(0,0,0,0.42);
          backdrop-filter: blur(18px);
        }

        .user-account-email {
          margin-bottom: 10px;
          color: rgba(255,255,255,0.74);
          font-size: 12px;
          word-break: break-word;
        }

        .user-account-action {
          width: 100%;
          margin-top: 8px;
        }

        .user-orders-panel {
          max-height: 240px;
          overflow: auto;
          margin-top: 10px;
          display: grid;
          gap: 8px;
        }

        .user-order-item {
          padding: 10px;
          border: 1px solid rgba(255,255,255,0.14);
          border-radius: 12px;
          background: rgba(255,255,255,0.08);
          font-size: 12px;
        }

        .user-order-item strong { display: block; margin-bottom: 4px; }
        .user-order-item span { color: rgba(255,255,255,0.68); }
        .is-hidden { display: none !important; }
        /* 1. Background effect after replacement (from DIYGIFTS) */
        .diygifts-bg,
        .diygifts-bg-overlay,
        .diygifts-words {
          position: fixed;
          inset: 0;
          pointer-events: none;
        }

        .diygifts-bg {
          z-index: -3;
          background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
          background-size: 400% 400%;
          animation: diygiftsGradient 15s ease infinite;
          opacity: 0.8; /* Slightly lower opacity to keep the original system glass feel */
        }

        .diygifts-bg-overlay {
          z-index: -2;
          inset: -35%;
          opacity: 0.08;
          background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuCvT3Nhdbftwc4N9FTZ9F9TkFFY4SpbVMNjOoH6ioW3SkPUQnstDvHZ9cOqalGiI7l1P9KjZtreQKoqm_fNE0MLNPUogkH4_1BpSFkU_UCab5VX-5fjGhtNgflqfFnlF0iiQzG87EIdqzP90Eq_fd5DPChcbml3PTUeXIW1x-NTN2BCXMO2ErpwF4WGKAxUM3ZE7otmnWlesAi15pfnThpA0vHHCyxkALkfFx78t1YBg3IwxlWaIBO2AlqARdYY9b_I7iiX0kIUqCLw");
          background-repeat: repeat;
          background-size: 420px;
          animation: diygiftsRotate 30s linear infinite;
        }

        .diygifts-words {
          z-index: -1;
          overflow: hidden;
          contain: layout style paint;
        }

        .diygifts-word {
          position: absolute;
          top: var(--top);
          left: var(--left);
          font-size: var(--size);
          color: var(--color);
          opacity: 0;
          white-space: nowrap;
          filter: brightness(1.08);
          text-shadow: 0 0 18px rgba(255, 255, 255, 0.5), 0 3px 10px rgba(0, 0, 0, 0.2);
          animation: diygiftsWord var(--duration, 10s) ease-in-out infinite;
          animation-delay: var(--delay, 0s);
          will-change: opacity, transform;
          contain: layout style;
          -webkit-font-smoothing: antialiased;
        }

        .diygifts-word-script { font-family: "Great Vibes", "Dancing Script", cursive; }
        .diygifts-word-serif { font-family: "Playfair Display", serif; }
        .diygifts-word-modern { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

        @keyframes diygiftsGradient {
          0% { background-position: 0% 50%; transform: scale(1); }
          50% { background-position: 100% 50%; transform: scale(1.04); }
          100% { background-position: 0% 50%; transform: scale(1); }
        }
        @keyframes diygiftsRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
        @keyframes diygiftsWord {
          0%, 100% { opacity: 0; transform: translateY(16px) scale(0.92); }
          20%, 80% { opacity: var(--word-opacity, 0.75); transform: translateY(0) scale(1); }
        }

        /* 2. Core glass-texture components */
        .glass-panel {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 28px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        /* 3. SPA page route transition animation */
        .page-view {
            position: absolute; top: 0; left: 0; width: 100%; height: 100vh;
            display: none; flex-direction: column; opacity: 0;
            transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
            transform: translateY(20px);
            box-sizing: border-box;
            overflow-y: auto;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
            padding-top: 18px;
            padding-bottom: 36px;
        }
        .page-view.active { display: flex; opacity: 1; transform: translateY(0); z-index: 10;}

        .catalog-shell { width: min(1240px, calc(100% - 44px)); margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
        .catalog-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 10px; }
        .catalog-head-spacer { width: 86px; height: 1px; }
        .catalog-back-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,0.24); border-radius: 999px; padding: 8px 12px; background: rgba(255,255,255,0.1); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.92; transition: all 0.2s ease; }
        .catalog-back-btn:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.45); }
        #categoryGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; align-items: stretch; }
        #productListGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
        #categoryGrid .product-card,
        #productListGrid .product-card { height: 100%; overflow: hidden; }

        /* Customizer styles */
        .glass-bubble { position: fixed; top: 90px; left: 40px; width: 64px; height: 64px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 1); border-radius: 50%; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255,255,255,0.8); display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 250; transition: opacity 0.3s ease, transform 0.3s; }
        .glass-bubble.active-in-page { display: flex; }
        .glass-bubble:active { transform: scale(0.92); }
        .glass-bubble svg { color: #333; width: 28px; height: 28px; }
        .glass-bubble.hide { opacity: 0; pointer-events: none; transform: scale(0.5); }

        .glass-popup { position: fixed; background: rgba(15, 15, 15, 0.85); backdrop-filter: blur(30px); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 28px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6); z-index: 200; opacity: 0; transform: scale(0.8); pointer-events: none; transition: opacity 0.3s ease, transform 0.3s; }
        #photoEditorBubble { left: calc(50% + 78px); }
        #photoEditorBubble.has-uploaded-photo.active-in-page { display: flex; }
        #photoEditorBubble:not(.has-uploaded-photo) { display: none !important; }

        #photoEditorBubble { display: none !important; }
        #editorBubble { display: none !important; }
        #editorPopup { max-height: min(82vh, 720px); overflow-y: auto; }
        #editorPopup.is-fixed-left { transform-origin: 24px 24px; }

        .is-locked { display: none !important; }
        #editorPopup { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) rgba(255,255,255,.08); }
        #editorPopup::-webkit-scrollbar { width: 8px; }
        #editorPopup::-webkit-scrollbar-thumb { background: rgba(255,255,255,.35); border-radius: 999px; }
        .photo-tools-merged { display: block; }
        .floating-color-panel {
          position: absolute;
          left: 8px;
          top: 48px;
          z-index: 91;
          display: none;
          align-items: center;
          justify-content: center;
          gap: 14px;
          width: 156px;
          padding: 7px 8px;
          border: 1px solid rgba(255,255,255,.34);
          border-radius: 999px;
          background: rgba(0,0,0,.58);
          box-shadow: 0 8px 18px rgba(0,0,0,.3);
          pointer-events: auto;
        }
        .floating-color-panel.is-visible { display: flex; }
        .floating-color-panel .color-swatch { flex: 0 0 auto; width: 26px !important; height: 26px !important; }
        .floating-size-control .floating-color-panel {
          position: static;
          width: 100%;
          margin-top: 10px;
          padding: 8px 10px;
          border-radius: 14px;
          background: rgba(255,255,255,.08);
          box-shadow: none;
        }
        .custom-color-swatch { position: relative; display: inline-flex; align-items: center; justify-content: center; }
        .custom-color-swatch::after { content: '+'; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0,0,0,0.38); color: #fff; font-weight: 800; font-size: 14px; line-height: 1; }
        .custom-color-swatch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

        .photo-editor-popup { max-height: min(76vh, 680px); overflow-y: auto; }
        .photo-editor-section-title { margin: 0 0 8px; font-size: 11px; line-height: 1.2; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.62); }
        .photo-option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
        .photo-option-grid.city-grid { max-height: 154px; overflow-y: auto; padding-right: 2px; }
        .photo-option-grid.compact-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
        .photo-option-btn { min-height: 44px; border: 1px solid rgba(255,255,255,0.16); border-radius: 10px; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.9); padding: 7px 8px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; text-align: center; font-size: 11px; line-height: 1.15; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease; }
        .photo-option-btn:hover { border-color: rgba(255,255,255,0.42); background: rgba(255,255,255,0.13); transform: translateY(-1px); }
        .photo-option-btn.is-active { border-color: rgba(35,213,171,0.86); background: rgba(35,213,171,0.2); box-shadow: 0 0 0 1px rgba(35,213,171,0.18) inset; }
        .photo-option-btn .option-icon { font-size: 18px; line-height: 1; }
        .photo-option-grid.compact-grid .photo-option-btn { min-height: 40px; padding: 6px 4px; font-size: 18px; }

        #stickerLayer { position: absolute; inset: 0; z-index: 58; pointer-events: none; }
        .custom-sticker { position: absolute; left: 50%; top: 50%; min-width: 42px; min-height: 42px; padding: 8px 10px; display: grid; place-items: center; border: 2px dashed transparent; cursor: move; user-select: none; pointer-events: auto; transform: translate(-50%, -50%); touch-action: none; }
        .custom-sticker:hover, .custom-sticker.active { border-color: rgba(255,255,255,0.42); }
        .custom-sticker.handwriting-sticker.is-empty { border: 2px dashed rgba(255,255,255,0.5) !important; min-width: 120px; min-height: 52px; }
        .custom-sticker.city-sticker { font-size: 16px; font-weight: 800; letter-spacing: 0.02em; color: #fff; line-height: 1; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.45)); }
        .custom-sticker.meme-sticker { font-size: 42px; line-height: 1; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.38)); }
        .city-style-postcard { border-radius: 8px; background: linear-gradient(135deg, #fff5d6, #ff7aa8); color: #271322; }
        .city-style-neon { color: #b8fff4; text-shadow: 0 0 5px #23d5ab, 0 0 16px #00d2ff; }
        .city-style-vintage { border-radius: 999px; background: #f3d7a3; color: #5a2f18; font-family: Georgia, serif; }
        .city-style-minimal { background: rgba(255,255,255,0.88); color: #111; border-radius: 2px; letter-spacing: 0.12em; }
        .city-style-graffiti { color: #ffe66d; text-shadow: 2px 2px 0 #ff3b8d, -2px -1px 0 #00d2ff; transform: translate(-50%, -50%) rotate(-5deg); }
        .city-style-watercolor { border-radius: 12px; background: linear-gradient(135deg, rgba(94,231,223,0.72), rgba(180,144,202,0.74)); color: #fff; }
        .city-style-luxury { color: #d4af37; font-family: 'Playfair Display', serif; text-shadow: 0 2px 10px rgba(0,0,0,0.62); }
        .city-style-stamp { border: 2px solid currentColor; border-radius: 6px; color: #e8f1ff; background: rgba(20,20,24,0.42); transform: translate(-50%, -50%) rotate(-3deg); }
        .city-style-retro { border-radius: 8px; background: #ff6f3c; color: #fff6d6; box-shadow: 4px 4px 0 #1b1b2f; }
        .city-style-script { color: #fff; font-family: 'Great Vibes', cursive; font-size: 26px; font-weight: 700; }

        #productImage.photo-style-film { filter: sepia(0.32) contrast(1.08) saturate(0.9) brightness(0.98); }
        #productImage.photo-style-polaroid { filter: sepia(0.18) saturate(0.82) brightness(1.12) contrast(0.92); }
        #productImage.photo-style-cinematic { filter: contrast(1.18) saturate(1.18) brightness(0.92); }
        #productImage.photo-style-anime { filter: saturate(1.75) contrast(1.22) brightness(1.05); }
        #productImage.photo-style-watercolor { filter: saturate(1.25) contrast(0.86) brightness(1.1) blur(0.35px); }
        #productImage.photo-style-comic { filter: saturate(1.55) contrast(1.45) brightness(1.02) drop-shadow(2px 2px 0 rgba(0,0,0,0.28)); }
        #productImage.photo-style-cyberpunk { filter: hue-rotate(285deg) saturate(1.85) contrast(1.22) brightness(1.02); }
        #productImage.photo-style-pastel { filter: saturate(0.74) contrast(0.88) brightness(1.18); }
        #productImage.photo-style-noir { filter: grayscale(1) contrast(1.35) brightness(0.92); }
        #productImage.photo-style-y2k { filter: hue-rotate(18deg) saturate(1.65) contrast(1.12) brightness(1.08); }
        #productImage.photo-style-dreamy { filter: saturate(1.12) contrast(0.86) brightness(1.16) blur(0.55px); }
        #productImage.photo-style-pop { filter: saturate(2) contrast(1.28) brightness(1.06); }
        .glass-popup.show { opacity: 1; transform: scale(1); pointer-events: auto; }

        .customizer-view { justify-content: flex-start; gap: 16px; padding-left: 20px; padding-right: 20px; padding-bottom: 20px; }
        .customizer-view .customizer-shell { width: min(100%, 1024px); margin: 0 auto; }
        #previewArea { position: relative; width: 100%; height: min(65vh, 640px); min-height: 320px; overflow: hidden; border-radius: 28px; cursor: crosshair; }
        .customizer-step-flow {
            width: min(100%, 680px);
            height: 64px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }
        .customizer-step-btn {
            width: calc((100% - 82px) / 3);
            height: 54px;
            padding: 8px 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            border-radius: 16px;
            transition: background 0.2s ease, transform 0.2s ease;
        }
        .customizer-step-btn:active { transform: scale(0.96); }
        .customizer-step-number {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255,255,255,0.42);
            background: rgba(255,255,255,0.16);
            font-size: 11px;
            font-weight: 900;
            line-height: 1;
        }
        .customizer-step-icon {
            width: 18px;
            height: 18px;
        }
        .customizer-step-label {
            min-width: 0;
            flex: 0 1 auto;
            max-width: 100%;
            font-size: 11px;
            line-height: 1.15;
            font-weight: 800;
            letter-spacing: 0.03em;
            text-transform: uppercase;
            white-space: normal;
            overflow: visible;
            text-overflow: clip;
            text-align: center;
            overflow-wrap: anywhere;
        }
        .customizer-step-label.is-accent { color: #23d5ab; }
        .customizer-step-arrow {
            flex: 0 0 auto;
            color: rgba(255,255,255,0.55);
            font-size: 17px;
            font-weight: 900;
            line-height: 1;
        }
        #previewStage { position: absolute; inset: 0; transform: scale(1); transform-origin: center center; transition: transform 0.1s ease-out; will-change: transform; }
        #productImage { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transform-origin: center center; transition: transform 0.1s ease-out; max-width: 85%; max-height: 85%; object-fit: contain; pointer-events: auto; touch-action: none; cursor: grab; }
        #engraveWrapper { position: absolute; top: 50%; left: 50%; display: inline-flex; align-items: center; justify-content: flex-start; text-align: left; gap: 0; cursor: move; z-index: 50; padding: 14px 16px; border: 2px dashed transparent; font-size: 45px; line-height: 1.2; min-height: 1.35em; transform-origin: center center; will-change: transform; }
        #engraveWrapper:hover, #engraveWrapper.active { border: 2px dashed rgba(255,255,255,0.4); }
        #engraveWrapper.is-empty { border: 2px dashed rgba(255,255,255,0.5) !important; min-width: 120px; min-height: 48px; }
        #iconWrapper { position: absolute; top: 50%; left: 62%; width: 1.05em; height: 1.05em; display: none; align-items: center; justify-content: center; cursor: move; z-index: 55; font-size: 45px; padding: 8px; border: 2px dashed transparent; transform-origin: center center; will-change: transform; }
        #iconWrapper:hover, #iconWrapper.active { border: 2px dashed rgba(255,255,255,0.4); }

        #textInput { text-align: left; }
        #previewText { display: inline-flex; align-items: center; flex-wrap: nowrap; line-height: 1; white-space: nowrap; text-align: left; pointer-events: none; position: relative; top: 0; transform: none; transform-origin: left top; padding: 0; }
        #previewText .align-char { display: inline-flex; align-items: center; justify-content: center; height: 1.25em; min-width: 0.08em; line-height: 1; vertical-align: middle; }
        #previewIcon { display: inline-flex; align-items: center; justify-content: center; width: 1em; height: 1em; flex: 0 0 auto; position: relative; top: -0.02em; pointer-events: none; }
        #previewIcon svg { width: 100%; height: 100%; display: block; pointer-events: none; }
        #engraveWrapper.color-gold #previewText { color: #D4AF37 !important; }
        #iconWrapper.color-gold #previewIcon { color: #D4AF37 !important; }
        #iconWrapper.color-gold #previewIcon svg { fill: #D4AF37 !important; }
        #engraveWrapper.color-silver #previewText { color: #C0C0C0 !important; }
        #iconWrapper.color-silver #previewIcon { color: #C0C0C0 !important; }
        #iconWrapper.color-silver #previewIcon svg { fill: #C0C0C0 !important; }
        #engraveWrapper.color-magic #previewText {
            background: none !important;
            color: inherit;
            -webkit-text-fill-color: initial;
            text-shadow: none;
        }
        #engraveWrapper.color-magic #previewText .magic-char { -webkit-text-fill-color: currentColor; }
        #iconWrapper.color-magic #previewIcon { color: #00d2ff !important; }
        #iconWrapper.color-magic #previewIcon svg { fill: currentColor !important; }

        .handle { position: absolute; width: 14px; height: 14px; background: white; border-radius: 50%; border: 2px solid #000; opacity: 0; transition: opacity 0.2s; z-index: 60; }
        #engraveWrapper:hover .handle, #engraveWrapper.active .handle { opacity: 1; }
        #iconWrapper:hover .handle, #iconWrapper.active .handle { opacity: 1; }
        .rotate-handle { top: -35px; left: 50%; transform: translateX(-50%); cursor: grab; background: #ffde59; }
        .rotate-handle::after { content: ''; position: absolute; top: 14px; left: 50%; width: 2px; height: 20px; background: rgba(255,255,255,0.4); transform: translateX(-50%); }

        .custom-select-container { position: relative; width: 100%; }
        .custom-select-trigger { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); padding: 12px 16px; border-radius: 12px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 14px; transition: all 0.2s; }
        .custom-picker-panel { position: fixed; top: 0; left: 0; width: min(340px, calc(100vw - 24px)); max-height: min(360px, 70vh); overflow-x: hidden; overflow-y: auto; z-index: 520; padding: 10px; background: rgba(12, 12, 16, 0.97); border: 1px solid rgba(255,255,255,0.24); border-radius: 14px; backdrop-filter: blur(24px); box-shadow: 0 18px 44px rgba(0,0,0,0.58); }
        .custom-picker-panel.open-up { box-shadow: 0 -18px 44px rgba(0,0,0,0.58); }
        .custom-picker-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
        .custom-picker-btn { height: 56px; border: 1px solid rgba(255,255,255,0.18); border-radius: 10px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.92); padding: 6px 4px; transition: all 0.2s; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; cursor: pointer; }
        .custom-picker-btn:hover { border-color: rgba(255,255,255,0.42); background: rgba(255,255,255,0.12); transform: translateY(-1px); }
        .custom-picker-btn.is-active { border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.2); box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset; }
        .custom-picker-btn .font-preview { font-size: 15px; line-height: 1; }
        .custom-picker-btn .font-name { max-width: 100%; font-size: 9px; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.84; padding: 0 2px; }
        .custom-picker-btn .icon-name { max-width: 100%; font-size: 9px; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.84; padding: 0 2px; }
        .custom-select-options { position: absolute; bottom: 115%; left: 0; width: 100%; max-height: 220px; overflow-y: auto; display: none; z-index: 210; background: rgba(10, 10, 10, 0.98); backdrop-filter: blur(35px); border: 1px solid rgba(255,255,255,0.2); border-radius: 16px; }
        .custom-select-options.list-mode div { padding: 12px 16px; cursor: pointer; transition: all 0.2s; }
        .custom-select-options.list-mode div:hover { background: rgba(255,255,255,0.1); padding-left: 20px; }
        .no-scrollbar::-webkit-scrollbar { display: none; }
        
        .product-card { position: relative; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; }
        .product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,0.24); border-color: rgba(255,255,255,0.4); z-index: 2; }
        .product-thumb-grid { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
        .product-thumb { aspect-ratio: 1 / 1; border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; background: rgba(0,0,0,0.25); overflow: hidden; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; padding: 0; appearance: none; -webkit-appearance: none; cursor: pointer; color: inherit; display: block; }
        .product-thumb:hover { border-color: rgba(255,255,255,0.8); transform: translateY(-1px); }
        .product-thumb.is-active, .product-thumb.is-selected { border-color: rgba(255,255,255,0.95); box-shadow: 0 0 0 2px rgba(255,255,255,0.2) inset; }
        .tshirt-size-options { width: 100%; }
        .tshirt-size-option { padding: 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; cursor: pointer; transition: all 0.2s ease; }
        .tshirt-size-option:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.6); }
        .tshirt-size-option.is-selected { background: #fff; color: #111; border-color: #fff; }
        [data-customize-btn].is-disabled, [data-customize-btn]:disabled { opacity: 0.45; cursor: not-allowed; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
        [data-customize-btn].is-disabled:hover, [data-customize-btn]:disabled:hover { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
        .product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .variant-swatch { width: 100%; height: 100%; display: block; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); }
        /* Unified multi-dimension variant selector (combo system) */
        .variant-dimensions-select { width: 100%; display: flex; flex-direction: column; gap: 10px; margin: 0 0 12px; }
        .variant-dim-group { width: 100%; }
        .variant-dim-group .dim-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin: 0 0 6px; }
        .variant-dim-group .dim-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
        .variant-option-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; cursor: pointer; transition: all 0.2s ease; }
        .variant-option-btn:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.6); }
        .variant-option-btn.is-selected { background: #fff; color: #111; border-color: #fff; }
        .variant-option-btn.is-disabled, .variant-option-btn:disabled { opacity: 0.32; cursor: not-allowed; text-decoration: line-through; }
        .variant-option-btn.is-disabled:hover, .variant-option-btn:disabled:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
        .variant-option-btn .variant-swatch { width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25); }
        .variant-option-btn.is-selected .variant-swatch { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.4); }
        .dim-options.is-thumb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; justify-content: stretch; }
        .product-thumb.is-disabled, .product-thumb:disabled { opacity: 0.32; cursor: not-allowed; }
        .product-thumb .thumb-missing { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 9px; line-height: 1.2; color: rgba(255,255,255,0.5); padding: 4px; box-sizing: border-box; }
        .snapshot-live-frame { width: 100%; border-radius: 12px; overflow: hidden; background: rgba(0,0,0,0.58); border: 1px solid rgba(255,255,255,0.08); }
        .snapshot-live-frame .snapshot-preview-clone { width: 100%; height: 100%; position: relative; overflow: hidden; cursor: default; }
        .snapshot-live-frame .snapshot-preview-clone * { pointer-events: none !important; }
        .snapshot-live-frame .snapshot-preview-clone .handle,
        .snapshot-live-frame .snapshot-preview-clone .sticker-control,
        .snapshot-live-frame .snapshot-preview-clone .text-scale-control,
        .snapshot-live-frame .snapshot-preview-clone .icon-scale-control,
        .snapshot-live-frame .snapshot-preview-clone .floating-size-control,
        .snapshot-live-frame .snapshot-preview-clone .element-delete-btn { display: none !important; }
        .snapshot-live-frame .snapshot-preview-clone #engraveWrapper,
        .snapshot-live-frame .snapshot-preview-clone #iconWrapper,
        .snapshot-live-frame .snapshot-preview-clone .custom-sticker { border-color: transparent !important; }

        /* DIYGIFTS landing page styles */
        .diygifts-container { position: relative; z-index: 2; width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
        .diygifts-hero { position: relative; min-height: 100svh; padding: 60px 24px 240px; display: flex; align-items: center; justify-content: center; }
        .diygifts-hero-card, .diygifts-feature-card, .diygifts-process-icon, .diygifts-bubble { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
        .diygifts-hero-card { width: min(92vw, 430px); padding: 30px 30px 28px; border-radius: 34px; text-align: center; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.35); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
        .diygifts-hero-title { margin: 0 0 8px; position: relative; font-family: "Playfair Display", serif; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 0; font-weight: 700; }
        .diygifts-hero-title-image { display: block; width: min(100%, 330px); height: 126px; margin: 0 auto; line-height: 0; overflow: hidden; }
        .diygifts-hero-title-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
        .diygifts-hero-title-text { display: none; }
        .diygifts-hero-title.is-fallback .diygifts-hero-title-image { display: none; }
        .diygifts-hero-title.is-fallback .diygifts-hero-title-text { display: block; }
        .diygifts-hero-desc { margin: 0 0 20px; font-size: 1rem; line-height: 1.8; color: rgba(255, 255, 255, 0.92); }
        .diygifts-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 148px; padding: 14px 30px; border-radius: 999px; background: #ffffff; color: #dd3e7e; font-size: 1rem; font-weight: 800; letter-spacing: 0.04em; box-shadow: 0 14px 30px rgba(255, 255, 255, 0.18); transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; text-decoration: none; cursor: pointer;}
        .diygifts-btn:hover { transform: translateY(-3px) scale(1.02); background: #fff7fb; box-shadow: 0 20px 40px rgba(255, 255, 255, 0.25); }
        .diygifts-bubbles { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 3; width: min(1120px, calc(100% - 40px)); display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
        .diygifts-bubble { position: relative; width: 120px; height: 120px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.14); border: 1.5px solid rgba(255, 255, 255, 0.45); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.18), inset 0 0 20px rgba(255, 255, 255, 0.12); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; text-decoration: none; }
        .diygifts-bubble:hover { transform: translateY(-8px) scale(1.05); border-color: rgba(255, 255, 255, 0.8); box-shadow: 0 16px 40px rgba(255, 255, 255, 0.24), inset 0 0 24px rgba(255, 255, 255, 0.18); }
        .diygifts-bubble img { width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.35)); }
        .diygifts-bubble.is-category img { width: 100%; height: 100%; object-fit: cover; filter: none; }
        .diygifts-bubble-caption { position: absolute; left: 50%; bottom: 11px; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; background: rgba(0,0,0,0.42); color: rgba(255,255,255,0.95); pointer-events: none; }
        .diygifts-bubble-text { padding: 0 8px; text-align: center; font-size: 0.72rem; line-height: 1.35; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
        .diygifts-features, .diygifts-process { position: relative; padding: 110px 0; }
        .diygifts-section-head { text-align: center; margin-bottom: 54px; }
        .diygifts-section-title { margin: 0 0 14px; font-family: "Playfair Display", serif; font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.2; font-weight: 700; }
        .diygifts-divider { width: 72px; height: 4px; margin: 0 auto; border-radius: 999px; background: rgba(255, 255, 255, 0.28); }
        .diygifts-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
        .diygifts-feature-hint { margin: 24px 0 0; text-align: center; font-size: 0.82rem; line-height: 1.7; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.62); }
        .diygifts-feature-card { position: relative; display: flex; flex-direction: column; gap: 18px; align-items: stretch; padding: 28px 22px; height: 100%; border-radius: 24px; text-align: left; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2); transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease; }
        .diygifts-feature-media { position: relative; display: block; min-width: 0; min-height: 180px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.3), transparent 42%), radial-gradient(circle at 78% 78%, rgba(255, 217, 235, 0.24), transparent 40%), linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)), rgba(255, 255, 255, 0.08); border: 1px dashed rgba(255, 255, 255, 0.32); background-image: var(--feature-upload, none); background-size: cover; background-position: center; cursor: pointer; }
        .diygifts-feature-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
        .diygifts-feature-media-inner { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px; text-align: center; transition: opacity 0.25s ease; }
        .diygifts-feature-media.has-preview .diygifts-feature-media-inner { opacity: 0; }
        .diygifts-feature-media-icon { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.3); font-size: 1.3rem; font-weight: 300; color: rgba(255, 255, 255, 0.92); }
        .diygifts-feature-media-copy { max-width: 150px; font-size: 0.78rem; line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
        .diygifts-feature-copy { min-width: 0; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
        .diygifts-feature-card h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
        .diygifts-feature-card p { margin: 0; font-size: 0.88rem; line-height: 1.65; color: rgba(255, 255, 255, 0.82); }
        .diygifts-quote { margin: 28px 0 0; text-align: center; font-family: "Playfair Display", serif; font-style: italic; color: rgba(255, 255, 255, 0.68); }
        .diygifts-process-track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; align-items: start; }
        .diygifts-process-track::before, .diygifts-process-track::after { content: ""; position: absolute; left: 10%; right: 10%; top: 40px; height: 2px; border-radius: 999px; }
        .diygifts-process-track::before { background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.08)); }
        .diygifts-process-track::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent); background-size: 200% 100%; animation: diygiftsFlow 3s linear infinite; }
        @keyframes diygiftsFlow { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
        .diygifts-process-step { position: relative; z-index: 2; text-align: center; }
        .diygifts-process-icon { width: 80px; height: 80px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22); font-size: 2rem; }
        .diygifts-process-step h4 { margin: 0; font-size: 1.06rem; font-weight: 700; }
        .diygifts-process-step p { margin: 8px 0 0; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.58); }

        @media (min-width: 768px) {
            .diygifts-feature-grid.is-wheel-stack { position: relative; display: block; min-height: 320px; width: 100%; max-width: none; margin: 0 auto; perspective: 1600px; overflow: visible; touch-action: pan-y; outline: none; }
            .diygifts-feature-grid.is-wheel-stack::after { content: attr(data-active-card); position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.34); pointer-events: none; }
            .diygifts-feature-grid.is-wheel-stack .diygifts-feature-card { position: absolute; top: 0; left: 50%; width: min(100%, 440px); aspect-ratio: 19 / 6; min-height: auto; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: stretch; padding: 18px 24px; transform: var(--card-transform, translate3d(-50%, 0, 0)); opacity: var(--card-opacity, 1); z-index: var(--card-z, 1); filter: blur(var(--card-blur, 0)); transform-origin: center center; backface-visibility: hidden; will-change: transform, opacity, filter; transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, filter 0.4s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; cursor: pointer; }
            .diygifts-feature-grid.is-wheel-stack .diygifts-feature-card.is-front { width: min(80%, 896px); background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.48); box-shadow: 0 26px 48px rgba(0, 0, 0, 0.32); }
            .diygifts-feature-grid.is-wheel-stack .diygifts-feature-card:hover { transform: var(--card-transform, translate3d(-50%, 0, 0)) translateY(-8px); background: rgba(255, 255, 255, 0.18); box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28); }
        }

        @media (max-width: 767px) {
            .customizer-view { justify-content: flex-start; gap: 12px; }
            .page-view { padding-bottom: 50px; }
            #previewArea { height: min(58vh, 500px); min-height: 270px; }
            .customizer-step-flow { gap: 6px; height: 72px; }
            .customizer-step-btn {
                display: grid;
                width: calc((100% - 12px) / 3);
                height: 64px;
                grid-template-columns: minmax(0, 1fr);
                grid-template-rows: 20px minmax(0, 1fr);
                gap: 2px;
                padding: 6px 5px;
                justify-items: center;
            }
            .customizer-step-icon { display: none; }
            .customizer-step-number { width: 20px; height: 20px; font-size: 10px; }
            .customizer-step-label { width: 100%; font-size: 10px; line-height: 1.15; letter-spacing: 0; white-space: normal; overflow: visible; text-overflow: clip; text-align: center; overflow-wrap: anywhere; }
            .customizer-step-arrow { display: none; }
            .catalog-shell { width: calc(100% - 24px); gap: 16px; }
            .catalog-head { grid-template-columns: auto 1fr; }
            .catalog-head-spacer { display: none; }
            #categoryGrid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
            #productListGrid { grid-template-columns: 1fr; gap: 18px; }
            .diygifts-hero { min-height: 92svh; padding: 28px 14px 292px; }
            .diygifts-hero-card { width: min(50vw, 320px); padding: 20px 16px 18px; border-radius: 24px; }
            .diygifts-hero-title { font-size: clamp(1.7rem, 7.8vw, 2.3rem); }
            .diygifts-bubbles { width: calc(100% - 18px); bottom: 18px; flex-wrap: wrap; }
            .diygifts-bubble { width: calc((100% - 24px) / 4); aspect-ratio: 1 / 1; height: auto; }
            .diygifts-feature-grid.is-wheel-stack { min-height: 372px; }
            .diygifts-feature-grid.is-wheel-stack .diygifts-feature-card { top: 10px; width: calc(100% - 24px); min-height: 286px; display: flex; flex-direction: column; padding: 14px; transform: var(--card-transform, translate3d(-50%, 0, 0)); opacity: var(--card-opacity, 1); z-index: var(--card-z, 1); filter: blur(var(--card-blur, 0)); transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
            .diygifts-feature-grid.is-wheel-stack .diygifts-feature-card.is-front { width: calc(100% - 8px); }
            .diygifts-process-track { display: flex; flex-wrap: nowrap; overflow-x: auto; padding: 0 4px 10px; scroll-snap-type: x proximity; }
            .diygifts-process-step { flex: 0 0 110px; scroll-snap-align: start; }
            .diygifts-process-track::before, .diygifts-process-track::after { display: none; }
            #photoEditorBubble { left: calc(50% + 70px); }
            .photo-editor-popup { width: min(360px, calc(100vw - 24px)) !important; }
            .photo-option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .photo-option-grid.compact-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
        }


/* Stable hero layout and uploaded-photo sticker tools */
.diygifts-hero-card {
  min-height: 356px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  contain: layout paint;
}
.diygifts-hero-title {
  min-height: 126px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.diygifts-hero-title-image,
.diygifts-hero-title-image img {
  flex: 0 0 auto;
}
.diygifts-hero-desc {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.photo-city-select {
  width: 100%;
  height: 38px;
  margin: 0 0 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.09);
  color: #fff;
  padding: 0 10px;
  outline: none;
}
.photo-city-select option { color: #111; }
.city-name-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-option-btn.city-name-option {
  min-height: 42px;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.city-sticker-style-panel {
  display: none;
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
}
.city-sticker-style-panel.is-visible { display: block; }
.city-sticker-style-title {
  margin-bottom: 7px;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
}
.city-sticker-style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.city-sticker-style-btn {
  min-width: 0;
  height: 44px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 9px;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}
.city-sticker-style-btn.is-active { border-color: rgba(35,213,171,.92); box-shadow: 0 0 0 1px rgba(35,213,171,.35); }
.city-sticker-style-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.sticker-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-option-btn.sticker-image-option {
  min-height: 74px;
  padding: 6px;
  flex-direction: column;
}
.photo-option-btn.sticker-image-option img {
  width: 100%;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(0,0,0,0.22);
}
.photo-option-btn.sticker-image-option span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
}
.custom-sticker.image-sticker {
  width: 92px;
  height: 92px;
  padding: 0;
}
.custom-sticker.upload-sticker {
  width: 150px;
  height: 150px;
}
.custom-sticker.image-sticker img {
  /* Use max-width/max-height so the image keeps its natural aspect ratio
     inside the fixed-size sticker box (works in browser AND html2canvas). */
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.34));
}
.floating-size-control {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 90;
  display: none;
  width: 236px;
  padding: 8px 24px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 14px;
  background: rgba(0,0,0,.58);
  box-shadow: 0 8px 18px rgba(0,0,0,.3);
  pointer-events: auto;
}
.floating-size-control::before,
.floating-size-control::after {
  position: absolute;
  top: 7px;
  font-size: 11px;
  line-height: 18px;
  font-weight: 900;
  color: rgba(255,255,255,.88);
  pointer-events: none;
}
.floating-size-control::before { content: 'S'; left: 9px; }
.floating-size-control::after { content: 'L'; right: 10px; }
.floating-size-control.sticker-control { width: 236px; }
.floating-size-control.is-visible { display: block; }
.custom-sticker:hover .sticker-rotate-handle,
.custom-sticker.active .sticker-rotate-handle { opacity: 1; }
.element-delete-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(255,59,94,.94);
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 95;
  box-shadow: 0 6px 14px rgba(0,0,0,.32);
}
#engraveWrapper:hover .element-delete-btn,
#engraveWrapper.active .element-delete-btn,
#iconWrapper:hover .element-delete-btn,
#iconWrapper.active .element-delete-btn,
.custom-sticker:hover .element-delete-btn,
.custom-sticker.active .element-delete-btn { display: inline-flex; }

.object-size-slider,
.object-rotate-slider {
  display: block;
  width: 100%;
  height: 18px;
  margin: 0;
  accent-color: #fff;
  cursor: ew-resize;
}
.object-rotate-slider { margin-top: 9px; accent-color: #23d5ab; }
.object-opacity-slider {
  --opacity-thumb-size: 26px;
  --opacity-thumb-half: 13px;
  --value: 100%;
  display: block;
  width: 100%;
  height: 18px;
  margin: 0;
  margin-top: 9px;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.size-stepper,
.rotation-stepper,
.opacity-stepper {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 26px;
  gap: 7px;
  align-items: center;
}
.size-stepper { margin-bottom: 9px; }
.rotation-stepper { margin-top: 9px; }
.opacity-stepper { margin-top: 9px; grid-template-columns: 20px minmax(0, 1fr) 20px; }
.size-stepper .object-size-slider,
.rotation-stepper .object-rotate-slider,
.opacity-stepper .object-opacity-slider { margin: 0; }
.object-opacity-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #23d5ab 0%, #23d5ab var(--value), rgba(255,255,255,0.25) var(--value), rgba(255,255,255,0.25) 100%);
}
.object-opacity-slider::-moz-range-track {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #23d5ab 0%, #23d5ab var(--value), rgba(255,255,255,0.25) var(--value), rgba(255,255,255,0.25) 100%);
}
.object-opacity-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--opacity-thumb-size);
  height: var(--opacity-thumb-size);
  border-radius: 50%;
  background: #23d5ab;
  border: 2px solid rgba(255,255,255,0.95);
  margin-top: calc((4px - var(--opacity-thumb-size)) / 2);
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.object-opacity-slider::-moz-range-thumb {
  width: var(--opacity-thumb-size);
  height: var(--opacity-thumb-size);
  border-radius: 50%;
  background: #23d5ab;
  border: 2px solid rgba(255,255,255,0.95);
  margin-top: calc((4px - var(--opacity-thumb-size)) / 2);
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.opacity-slider-wrap { position: relative; display: flex; align-items: center; overflow: visible; }
.opacity-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-sizing: border-box;
  justify-self: center;
}
.opacity-icon--low {
  border: 2px solid rgba(255,255,255,.85);
  background: transparent;
}
.opacity-icon--high {
  border: 2px solid rgba(255,255,255,.92);
  background: rgba(255,255,255,.92);
}
.opacity-thumb-label {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  z-index: 3;
}
.size-step-btn,
.rotation-step-btn {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 50%;
  background: rgba(255,255,255,.13);
  color: #fff;
  font-size: 13px;
  line-height: 24px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 0 2px rgba(255,255,255,.08), 0 6px 12px rgba(0,0,0,.24);
}
.rotation-step-btn {
  border-color: rgba(35,213,171,.72);
  background: rgba(35,213,171,.16);
  font-size: 15px;
}
.control-change-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-bottom: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(35,213,171,.55);
  border-radius: 999px;
  background: rgba(35,213,171,.16);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.control-change-icon-btn:hover { background: rgba(35,213,171,.28); border-color: rgba(35,213,171,.8); }
.control-change-btn-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-bottom: 8px;
}
.control-change-btn-row .control-change-icon-btn {
  margin-bottom: 0;
  min-width: 0;
  min-height: 44px;
  padding-left: var(--cc-pad-cc, 10px);
  padding-right: var(--cc-pad-cc, 10px);
}
.control-change-label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: var(--cc-font, inherit);
  line-height: 1.15;
  letter-spacing: 0;
}
.control-change-icon-btn svg { flex-shrink: 0; width: var(--cc-icon, 16px); height: var(--cc-icon, 16px); }
/* Long-locale compaction (fr/de/es/it/pt/ko/ja): shrink font, icon and
   padding. en/zh keep their current compact single-line appearance. */
html[lang="de"], html[lang="es"], html[lang="fr"], html[lang="it"], html[lang="ja"], html[lang="ko"], html[lang="pt"] {
  --cc-font: 10px;
  --cc-icon: 13px;
  --cc-pad-cc: 6px;
}
.editor-popup-minimal .p-6.space-y-5 { padding: 20px; }
.editor-popup-minimal .p-6.space-y-5 > * { display: none !important; }
.editor-popup-minimal .p-6.space-y-5 > #laserTextInputBlock { display: block !important; }
.size-step-btn:hover,
.rotation-step-btn:hover { background: rgba(255,255,255,.24); }
.rotation-step-btn:hover { background: rgba(35,213,171,.28); }
.floating-size-control::before,
.floating-size-control::after,
.floating-size-control:has(.object-rotate-slider)::before,
.floating-size-control:has(.object-rotate-slider)::after {
  display: none !important;
  content: none !important;
}
.floating-size-control .object-rotate-slider { position: relative; }
.floating-size-control .object-rotate-slider::after { content: ''; }
.floating-size-control:has(.object-rotate-slider)::before { content: 'S'; }
.floating-size-control:has(.object-rotate-slider) .object-rotate-slider { background-image: linear-gradient(90deg, transparent calc(50% - 1px), rgba(35,213,171,.8) calc(50% - 1px), rgba(35,213,171,.8) calc(50% + 1px), transparent calc(50% + 1px)); }
.floating-size-control:has(.object-rotate-slider)::selection { background: transparent; }
.floating-size-control::before,
.floating-size-control::after,
.floating-size-control:has(.object-rotate-slider)::before,
.floating-size-control:has(.object-rotate-slider)::after {
  display: none !important;
  content: none !important;
}
.snapshot-preview-clone .sticker-control,
.snapshot-preview-clone .text-scale-control,
.snapshot-preview-clone .icon-scale-control,
.snapshot-preview-clone .floating-size-control,
.snapshot-preview-clone .handle { display: none !important; }
.snapshot-preview-clone #engraveWrapper,
.snapshot-preview-clone #iconWrapper,
.snapshot-preview-clone .custom-sticker { border-color: transparent !important; }
@media (max-width: 640px) {
  .diygifts-hero-card { min-height: 320px; }
  .diygifts-hero-title { min-height: 96px; }
  .diygifts-hero-title-image { height: 96px; }
}

.photo-style-trigger .style-trigger-preview,
.custom-picker-btn .style-option-preview {
  width: 46px;
  height: 34px;
  border-radius: 7px;
  object-fit: cover;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  flex: 0 0 auto;
}
.custom-picker-btn.style-picker-btn {
  grid-template-columns: 48px minmax(0,1fr);
  align-items: center;
  text-align: left;
}
.custom-picker-btn.style-picker-btn .icon-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sticker-adjust-panel {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: grid;
  gap: 8px;
}
.sticker-adjust-title { font-size: 12px; font-weight: 800; opacity: .82; letter-spacing: .08em; }
.sticker-adjust-panel label { display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: 10px; font-size: 12px; opacity: .88; }
.sticker-adjust-panel input[type="range"] { width: 100%; accent-color: #fff; }
.custom-sticker.active { border-color: rgba(35,213,171,.92); }
.custom-sticker { transform-origin: center center; }

.rotate-center-icon {
  position: absolute;
  left: 50%;
  top: 31px;
  width: 18px;
  height: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(35,213,171,.9);
  color: #071312;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 0 0 2px rgba(0,0,0,.42);
}

.handwriting-panel {
  position: fixed;
  z-index: 230;
  width: min(300px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: rgba(12,12,16,.94);
  box-shadow: 0 18px 44px rgba(0,0,0,.48);
  backdrop-filter: blur(20px);
  color: #fff;
  text-align: center;
  max-height: min(90vh, 680px);
  overflow-y: auto;
}
.handwriting-head,
.handwriting-tabs,
.handwriting-colors {
  display: flex;
  align-items: center;
  gap: 8px;
}
.handwriting-head { justify-content: space-between; margin-bottom: 10px; }
.handwriting-head button,
.handwriting-tabs button,
.handwriting-actions button,
.handwriting-color-btn {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 6px 8px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.handwriting-tabs { margin-bottom: 10px; }
.handwriting-tabs button.is-active { background: rgba(35,213,171,.22); border-color: rgba(35,213,171,.72); }
#handwritingCanvas {
  width: 100%;
  aspect-ratio: 2 / 1;
  display: block;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  touch-action: none;
}
#handwritingTextInput,
#handwritingFontSelect {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(0,0,0,.24);
  color: #fff;
  padding: 9px 10px;
}
.handwriting-colors {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  background: rgba(0,0,0,.25);
}
.handwriting-color-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 50%;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  background: transparent;
  flex-shrink: 0;
}
.handwriting-color-btn:hover { transform: scale(1.12); }
.handwriting-color-btn.is-active {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(35,213,171,.6) inset;
}
#handwritingCustomColor {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 50%;
  cursor: pointer;
  background: #23d5ab;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}
#handwritingCustomColor::-webkit-color-swatch-wrapper { padding: 0; }
#handwritingCustomColor::-webkit-color-swatch {
  border: none;
  border-radius: 50%;
  opacity: 0;
}
#handwritingCustomColor::after {
  content: '+';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  pointer-events: none;
}
/* Custom color picker for handwriting */
.handwriting-custom-color-btn {
  width: 32px; height: 32px; padding: 0;
  border: 2px solid rgba(255,255,255,.25); border-radius: 50%;
  cursor: pointer; background: #23d5ab; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.handwriting-custom-color-btn::after { content: '+'; color: #fff; font-size: 18px; font-weight: 700; }

.hw-color-picker {
  position: fixed; z-index: 500;
  width: 212px; padding: 6px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 12px;
  background: rgba(18,18,24,.96); box-shadow: 0 12px 32px rgba(0,0,0,.55);
  display: none; flex-direction: column; gap: 8px;
}
.hw-color-picker.is-visible { display: flex; }
.hwcp-sb-area {
  position: relative; width: 200px; height: 150px;
  border-radius: 8px; overflow: hidden; cursor: crosshair;
}
.hwcp-sb-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hwcp-sb-cursor {
  position: absolute; width: 14px; height: 14px;
  border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 2px rgba(0,0,0,.5);
  transform: translate(-50%,-50%); pointer-events: none; z-index: 1;
}
.hwcp-hue-wrap {
  position: relative; height: 16px; border-radius: 4px;
  background: linear-gradient(to right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);
}
.hwcp-hue-slider {
  -webkit-appearance: none; appearance: none;
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; padding: 0; opacity: 0; cursor: pointer;
}
.hwcp-hue-cursor {
  position: absolute; top: 50%; left: 0; width: 6px; height: 16px;
  border: 2px solid #fff; border-radius: 3px; transform: translate(-50%,-50%);
  pointer-events: none; box-shadow: 0 0 3px rgba(0,0,0,.5);
}
.hwcp-bottom { display: flex; align-items: center; gap: 10px; }
.hwcp-preview { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); overflow: hidden; }
.hwcp-preview-dot { display: block; width: 100%; height: 100%; }
.hwcp-rgb { display: flex; gap: 4px; flex: 1; }
.hwcp-rgb label {
  font-size: 11px; color: rgba(255,255,255,.7); font-weight: 600;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.hwcp-rgb input {
  width: 38px; height: 20px; text-align: center;
  border: 1px solid rgba(255,255,255,.2); border-radius: 4px;
  background: rgba(255,255,255,.08); color: #fff; font-size: 12px;
  font-weight: 600; outline: none;
}
.handwriting-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.handwriting-status { min-height: 16px; margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: 12px; }
.custom-sticker.handwriting-sticker {
  width: 180px;
  height: 96px;
}
.customizer-entry-block { width: 100%; position: relative; display: flex; align-items: center; gap: 8px; }
.customizer-entry-button { width: 100%; }
.delete-entry-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,60,60,.15);
  color: rgba(255,120,120,.9);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s, border-color .15s;
  flex-shrink: 0;
  z-index: 2;
}
.delete-entry-btn:hover {
  background: rgba(255,60,60,.35);
  color: #ff8080;
  border-color: rgba(255,100,100,.5);
}
#laserTextInputBlock input { padding-right: 38px; }
#handwritingEntryBlock .customizer-entry-button { width: 100%; }
.handwriting-panel { width: min(300px, calc(100vw - 24px)); }
/* Unified handwriting UI — only canvas + actions + colors (laser & print) */
.handwriting-panel .handwriting-tabs,
.handwriting-panel [data-handwriting-mode="text"],
.handwriting-panel #handwritingTextInput,
.handwriting-panel #handwritingFontSelect,
.handwriting-panel .handwriting-head button {
  display: none !important;
}
.handwriting-panel .handwriting-head {
  justify-content: center;
}
.handwriting-panel #handwritingCanvas {
  margin-top: 4px;
}
.customizer-entry-block.is-option-disabled,
.custom-upload-option.is-option-disabled {
  opacity: .42;
  pointer-events: none;
}
#textInput:disabled {
  opacity: .55;
  cursor: not-allowed;
}
/* ===== Language switcher (bottom-left) ===== */
.lang-switcher {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 400;
  font-family: Montserrat, "Noto Sans SC", system-ui, sans-serif;
}
.lang-switcher-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(20,20,28,.72);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  transition: background .2s, transform .15s;
}
.lang-switcher-toggle:hover { background: rgba(40,40,52,.85); transform: translateY(-1px); }
.lang-switcher-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  border-radius: 6px;
  background: rgba(255,255,255,.12);
  font-size: 11px;
  font-weight: 700;
}
.lang-switcher-caret { font-size: 10px; opacity: .7; }
.lang-switcher-menu {
  list-style: none;
  margin: 8px 0 0;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(20,20,28,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  display: none;
  min-width: 168px;
}
.lang-switcher-menu.is-open { display: block; }
.lang-switcher-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  border-radius: 9px;
  cursor: pointer;
  transition: background .15s;
}
.lang-switcher-item:hover { background: rgba(255,255,255,.1); }
.lang-switcher-item.is-active { background: rgba(35,213,171,.18); color: #fff; font-weight: 700; }

/* ===== Upload: two-column (local / mobile scan) ===== */
.upload-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}
.upload-columns .upload-col {
  min-width: 0;
  text-align: center;
  white-space: normal;
}
.upload-col-label {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: var(--cc-font, 11px);
  line-height: 1.15;
  letter-spacing: 0;
}
.upload-columns .upload-col svg { flex-shrink: 0; width: var(--cc-icon, 16px); height: var(--cc-icon, 16px); }
html[lang="de"] .upload-columns .upload-col,
html[lang="es"] .upload-columns .upload-col,
html[lang="fr"] .upload-columns .upload-col,
html[lang="it"] .upload-columns .upload-col,
html[lang="ja"] .upload-columns .upload-col,
html[lang="ko"] .upload-columns .upload-col,
html[lang="pt"] .upload-columns .upload-col {
  padding-left: 6px;
  padding-right: 6px;
}
/* Narrow screens: stack the two columns vertically. */
@media (max-width: 480px) {
  .upload-columns { grid-template-columns: 1fr; }
}

/* ===== Mobile scan-to-upload overlay ===== */
.mobile-upload-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(8, 8, 14, .72);
  backdrop-filter: blur(6px);
}
.mobile-upload-overlay.hidden { display: none; }
.mobile-upload-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  background: linear-gradient(180deg, #1b1b2c 0%, #14141f 100%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 26px 22px 22px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.mobile-upload-close {
  position: absolute;
  top: 10px; right: 12px;
  width: 30px; height: 30px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  font-size: 20px; line-height: 1;
  cursor: pointer;
}
.mobile-upload-close:hover { background: rgba(255,255,255,.16); color: #fff; }
.mobile-upload-title { margin: 2px 0 6px; font-size: 17px; font-weight: 700; }
.mobile-upload-sub { margin: 0 0 18px; font-size: 13px; color: #b9b9cc; line-height: 1.5; }
.mobile-qr-box {
  width: 200px; height: 200px;
  margin: 0 auto 16px;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.mobile-qr-box svg { width: 100%; height: 100%; display: block; }
.mobile-qr-box:empty::after {
  content: "…"; color: #999; font-size: 28px;
}
.mobile-upload-status { margin: 0; font-size: 14px; font-weight: 600; color: #f5f5fa; min-height: 20px; }
.mobile-upload-countdown { margin: 6px 0 16px; font-size: 12px; color: #8b8ba0; min-height: 16px; }
.mobile-upload-actions { display: flex; gap: 10px; }
.mobile-upload-btn {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(35,213,171,.16);
  color: #fff;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .12s;
}
.mobile-upload-btn:hover { background: rgba(35,213,171,.28); }
.mobile-upload-btn:active { transform: translateY(1px); }
.mobile-upload-btn.ghost { background: rgba(255,255,255,.06); }
