:root {
    --bg-color: #05070A;
    --card-bg: rgba(20, 24, 32, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #00E6F2;
    --secondary: #FF0050;
    --accent: #FDE047;
    --text-main: #FFFFFF;
    --text-dim: #94A3B8;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 50%, rgba(0, 230, 242, 0.08), transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(255, 0, 80, 0.08), transparent 40%);
    pointer-events: none;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

header.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 100;
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: white;
}

.logo-text {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 1px;
}

.logo-text strong {
    font-weight: 900;
}

.nav a {
    color: var(--text-dim);
    text-decoration: none;
    margin-left: 25px;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
    padding-bottom: 4px;
}

.nav a:hover, .nav a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

/* Mobile Menu Elements (Hidden on Desktop) */
.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    width: 42px;
    height: 42px;
    color: var(--text-main);
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.mobile-menu-btn:hover {
    background: rgba(0, 230, 242, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 10, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100%;
    background: rgba(10, 14, 22, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--card-border);
    z-index: 1600;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 20px;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.7);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--card-border);
}

.mobile-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--card-border);
    color: var(--text-dim);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-close-btn:hover {
    color: #fff;
    background: rgba(255, 0, 80, 0.2);
    border-color: var(--secondary);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
    flex: 1;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.mobile-nav-item i {
    font-size: 18px;
    width: 22px;
    text-align: center;
    color: var(--primary);
    transition: color 0.2s;
}

.mobile-nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-item.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(0, 230, 242, 0.15), rgba(255, 0, 80, 0.15));
    border-color: rgba(0, 230, 242, 0.35);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mobile-nav-item.active i {
    color: var(--primary);
}

.mobile-nav-footer {
    padding-top: 18px;
    border-top: 1px solid var(--card-border);
}

.mobile-live-status {
    font-size: 12px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

main {
    padding: 120px 5% 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    margin-bottom: 35px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 230, 242, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 230, 242, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, var(--text-dim));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-dim);
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto;
}

/* Tool Switcher Tabs */
.tool-switcher-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tool-switcher {
    display: flex;
    gap: 10px;
    background: rgba(20, 24, 32, 0.7);
    padding: 6px;
    border-radius: 14px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
}

.switcher-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.switcher-btn.active {
    background: linear-gradient(135deg, rgba(0, 230, 242, 0.2), rgba(255, 0, 80, 0.2));
    color: #fff;
    border: 1px solid rgba(0, 230, 242, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.switcher-btn:hover:not(.active) {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.badge-new {
    background: linear-gradient(90deg, var(--secondary), #ff477e);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-hot {
    background: linear-gradient(90deg, #ff0050, #f59e0b);
    color: white;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.main-interface {
    display: flex;
    padding: 40px;
    gap: 40px;
    margin-bottom: 60px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.left-col {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-right: 1px solid var(--card-border);
    padding-right: 40px;
}

.preview-area {
    position: relative;
    margin: 20px auto 25px;
}

.preview-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 230, 242, 0.2), inset 0 0 20px rgba(0, 230, 242, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
}

.preview-circle img, .preview-circle video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-icon {
    font-size: 60px;
    color: var(--text-dim);
}

.status-dot {
    position: absolute;
    bottom: 10px;
    right: 15px;
    width: 20px;
    height: 20px;
    background-color: #22c55e;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 10px #22c55e;
}

.preview-info {
    text-align: center;
}

.node-id {
    font-family: monospace;
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 5px;
}

.status-text {
    font-size: 13px;
    font-weight: 700;
    color: #22c55e;
    letter-spacing: 1px;
}

.right-col {
    flex: 1.4;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 16px 20px;
    color: white;
    font-family: var(--font-main);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: var(--primary);
}

.upload-box {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-box:hover, .upload-box.dragover {
    border-color: var(--primary);
    background: rgba(0, 230, 242, 0.05);
}

.cloud-icon {
    font-size: 32px;
    color: var(--text-dim);
    transition: color 0.3s;
}

.upload-box:hover .cloud-icon {
    color: var(--primary);
}

.upload-box span {
    font-size: 15px;
    color: var(--text-main);
    font-weight: 600;
}

.browse-text {
    font-size: 13px !important;
    color: var(--text-dim) !important;
}

.primary-btn {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 10px;
    padding: 18px;
    color: white;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 80, 0.4);
}

.voice-btn {
    background: linear-gradient(90deg, var(--secondary), #9333ea);
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.voice-btn:hover {
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
}

.banner-btn {
    background: linear-gradient(90deg, #00E6F2, #3b82f6 50%, #8b5cf6 100%);
    box-shadow: 0 4px 18px rgba(0, 230, 242, 0.35);
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 230, 242, 0.55);
}

.repost-btn {
    background: linear-gradient(90deg, #ff0050, #f43f5e);
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.35);
}

.repost-btn:hover {
    box-shadow: 0 6px 22px rgba(255, 0, 80, 0.55);
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-dim);
}

.trust-indicators span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Voice Comments Enabler Styles */
.simulator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 18px;
}

.sim-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-main);
}

.text-primary {
    color: var(--primary);
}

.live-tag {
    font-size: 11px;
    font-weight: 800;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 3px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blink-dot {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: blink 1.2s infinite ease-in-out;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Comments Feed */
.tt-comments-feed {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 230px;
    overflow-y: auto;
    padding-right: 5px;
    margin-bottom: 20px;
}

.tt-comments-feed::-webkit-scrollbar {
    width: 4px;
}

.tt-comments-feed::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.tt-comment-item {
    display: flex;
    gap: 12px;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tt-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.tt-avatar.alt-avatar {
    background: linear-gradient(135deg, var(--secondary), #ec4899);
}

.tt-comment-content {
    flex: 1;
}

.tt-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.tt-username {
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
}

.tt-time {
    font-size: 11px;
    color: var(--text-dim);
}

/* Voice Player Bubble */
.voice-player-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 20px;
    max-width: 280px;
    transition: all 0.3s ease;
}

.voice-player-bubble:hover {
    background: rgba(0, 230, 242, 0.08);
    border-color: rgba(0, 230, 242, 0.25);
}

.voice-play-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    flex-shrink: 0;
}

.voice-play-btn:hover {
    transform: scale(1.1);
    background: #5eead4;
}

.voice-player-bubble.playing .voice-play-btn {
    background: var(--secondary);
    color: white;
}

.waveform-bars {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 20px;
    flex: 1;
}

.waveform-bars .bar {
    width: 3px;
    height: var(--h, 50%);
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    transition: height 0.2s ease, background 0.2s ease;
}

.voice-player-bubble.playing .bar {
    background: var(--primary);
    animation: wavePulse 0.5s infinite ease-in-out alternate;
}

.voice-player-bubble.playing .bar:nth-child(2n) { animation-delay: 0.1s; }
.voice-player-bubble.playing .bar:nth-child(3n) { animation-delay: 0.2s; }
.voice-player-bubble.playing .bar:nth-child(4n) { animation-delay: 0.3s; }

@keyframes wavePulse {
    0% { height: 20%; }
    100% { height: 100%; }
}

.voice-duration {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
    font-family: monospace;
}

.voice-badge {
    font-size: 10px;
    color: var(--secondary);
    font-weight: 700;
    background: rgba(255, 0, 80, 0.1);
    padding: 2px 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Voice Tester Studio Box */
.voice-tester-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tester-title {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
}

.rec-control-area {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 10px;
}

.rec-mic-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), #ec4899);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(255, 0, 80, 0.4);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.rec-mic-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(255, 0, 80, 0.6);
}

.rec-mic-btn.recording {
    background: #ef4444;
    animation: micPulse 1s infinite alternate;
}

@keyframes micPulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    100% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
}

.rec-status-info {
    flex: 1;
}

.rec-status-text {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.rec-live-waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 14px;
}

.rec-bar {
    width: 3px;
    height: 30%;
    background: var(--text-dim);
    border-radius: 2px;
    transition: height 0.15s ease;
}

.rec-mic-btn.recording ~ .rec-status-info .rec-bar {
    background: var(--primary);
    animation: recWave 0.4s infinite ease-in-out alternate;
}

.rec-mic-btn.recording ~ .rec-status-info .rec-bar:nth-child(2n) { animation-delay: 0.08s; }
.rec-mic-btn.recording ~ .rec-status-info .rec-bar:nth-child(3n) { animation-delay: 0.15s; }

@keyframes recWave {
    0% { height: 15%; }
    100% { height: 100%; }
}

.filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.chip:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.chip.active {
    background: rgba(0, 230, 242, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

/* Repost Cleaner Tool Styles */
.live-tag-hot {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.25);
}

.live-tag-hot .blink-dot {
    background-color: #f59e0b;
}

.repost-stats-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    text-align: center;
}

.repost-stat-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stat-num {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    font-family: monospace;
}

.text-gradient-hot {
    background: linear-gradient(90deg, #f59e0b, #ff0050);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-success {
    color: #22c55e;
}

.stat-lbl {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.repost-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 5px;
    margin-bottom: 16px;
}

.repost-feed::-webkit-scrollbar {
    width: 4px;
}

.repost-feed::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.repost-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.35);
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.repost-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 0, 80, 0.25);
}

.repost-item.removing {
    opacity: 0;
    transform: translateX(30px) scale(0.95);
    pointer-events: none;
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: -12px;
    overflow: hidden;
    border: 0;
    transition: all 0.35s ease;
}

.repost-thumb {
    width: 46px;
    height: 56px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.repost-thumb.thumb-alt-1 {
    background: linear-gradient(135deg, #312e81, #1e1b4b);
}

.repost-thumb.thumb-alt-2 {
    background: linear-gradient(135deg, #701a75, #4a044e);
}

.thumb-play-icon {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    transition: transform 0.2s;
}

.repost-item:hover .thumb-play-icon {
    transform: scale(1.2);
    color: #fff;
}

.repost-duration {
    position: absolute;
    bottom: 3px;
    right: 3px;
    font-size: 9px;
    font-family: monospace;
    background: rgba(0, 0, 0, 0.75);
    padding: 1px 3px;
    border-radius: 3px;
    color: #cbd5e1;
}

.repost-meta {
    flex: 1;
    min-width: 0;
}

.repost-author-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.repost-username {
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
}

.repost-tag {
    font-size: 10px;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
    padding: 1px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.repost-tag-muted {
    font-size: 10px;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
    padding: 1px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.repost-desc {
    font-size: 12px;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.repost-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #64748b;
}

.repost-stats {
    display: flex;
    align-items: center;
    gap: 4px;
}

.repost-badge-flag {
    font-size: 10px;
    font-weight: 700;
    color: #ff0050;
    background: rgba(255, 0, 80, 0.1);
    padding: 1px 6px;
    border-radius: 4px;
}

.repost-badge-flag.warning {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.repost-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 0, 80, 0.1);
    border: 1px solid rgba(255, 0, 80, 0.2);
    color: #ff0050;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.repost-action-btn:hover {
    background: #ff0050;
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 2px 10px rgba(255, 0, 80, 0.4);
}

.repost-sim-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.repost-sim-btn {
    flex: 1;
    padding: 9px 12px;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.repost-sim-btn.secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
}

.repost-sim-btn.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.repost-sim-btn.danger-btn {
    background: rgba(255, 0, 80, 0.1);
    border: 1px solid rgba(255, 0, 80, 0.25);
    color: #ff0050;
}

.repost-sim-btn.danger-btn:hover {
    background: rgba(255, 0, 80, 0.2);
    color: #fff;
}

.repost-notice-box {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(0, 230, 242, 0.05);
    border: 1px solid rgba(0, 230, 242, 0.15);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
}

.repost-notice-box i {
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.repost-empty-state {
    text-align: center;
    padding: 30px 15px;
    color: var(--text-dim);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.4s ease;
}

.repost-empty-state i {
    font-size: 32px;
    color: #22c55e;
}

.repost-empty-state span {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
}

/* ==========================================
   TikTok Profile Banner Studio Styles
   ========================================== */
.banner-interface {
    gap: 35px;
}

.banner-upload-box {
    position: relative;
    border-color: rgba(0, 230, 242, 0.25);
    background: rgba(0, 230, 242, 0.02);
}

.banner-upload-box:hover {
    border-color: var(--primary);
    background: rgba(0, 230, 242, 0.06);
}

.banner-file-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 230, 242, 0.15);
    border: 1px solid rgba(0, 230, 242, 0.4);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease;
}

.banner-file-badge i {
    color: var(--primary);
}

.remove-file-btn {
    background: transparent;
    border: none;
    color: #ff0050;
    cursor: pointer;
    font-size: 13px;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.remove-file-btn:hover {
    transform: scale(1.2);
}

/* TikTok Profile Preview Card */
.tt-profile-card {
    background: rgba(13, 17, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tt-profile-card:hover {
    box-shadow: 0 20px 42px rgba(0, 230, 242, 0.15);
}

.tt-banner-wrapper {
    position: relative;
    width: 100%;
    background: #090d16;
    overflow: hidden;
    transition: aspect-ratio 0.3s ease, min-height 0.3s ease, max-height 0.3s ease;
}

.tt-banner-wrapper.aspect-16-9 {
    aspect-ratio: 16 / 9;
    max-height: 220px;
}

.tt-banner-wrapper.aspect-3-1 {
    aspect-ratio: 3 / 1;
    min-height: 130px;
    max-height: 170px;
}

.tt-banner-wrapper.aspect-2-1 {
    aspect-ratio: 2 / 1;
    max-height: 190px;
}

.tt-banner-wrapper img,
.tt-banner-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tt-profile-card:hover .tt-banner-wrapper img,
.tt-profile-card:hover .tt-banner-wrapper video {
    transform: scale(1.02);
}

.banner-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(5, 7, 10, 0.65) 100%);
    pointer-events: none;
}

.banner-badge-dimension {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(5, 7, 10, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.banner-badge-dimension i {
    color: var(--primary);
    font-size: 10px;
}

.banner-creator-ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(90deg, #ff0050, #00e6f2);
    color: #fff;
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: 0.6px;
    border-radius: 6px;
    padding: 3px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(255, 0, 80, 0.4);
    z-index: 2;
    text-transform: uppercase;
}

.banner-creator-ribbon i {
    font-size: 10px;
}

/* Profile Info Overlap Area */
.tt-profile-details {
    padding: 0 18px 18px;
    position: relative;
}

.tt-profile-avatar-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: -38px;
    margin-bottom: 12px;
    position: relative;
    z-index: 5;
}

.tt-profile-avatar-wrap {
    position: relative;
}

.tt-profile-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 3.5px solid #0d1117;
    background: linear-gradient(135deg, #00E6F2, #FF0050);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.tt-verify-check {
    position: absolute;
    bottom: 2px;
    right: 0;
    background: #00E6F2;
    color: #05070A;
    border-radius: 50%;
    font-size: 13px;
    border: 2px solid #0d1117;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tt-profile-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
}

.tt-profile-btn {
    font-family: var(--font-main);
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.tt-follow-btn {
    background: #ff0050;
    color: #fff;
    padding: 8px 18px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(255, 0, 80, 0.35);
}

.tt-follow-btn:hover {
    background: #e00045;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 0, 80, 0.5);
}

.tt-icon-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.tt-icon-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.25);
}

.tt-profile-user-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tt-profile-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tt-profile-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.tt-creator-tag {
    font-size: 11px;
    font-weight: 700;
    color: #00e6f2;
    background: rgba(0, 230, 242, 0.12);
    border: 1px solid rgba(0, 230, 242, 0.25);
    border-radius: 4px;
    padding: 2px 7px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tt-profile-stats {
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: var(--text-dim);
    margin: 4px 0 6px;
}

.tt-profile-stats .stat-item strong {
    color: #fff;
    font-weight: 700;
    margin-right: 4px;
}

.tt-profile-bio {
    font-size: 12.5px;
    color: #cbd5e1;
    line-height: 1.5;
}

/* Aspect Ratio Selector Bar */
.banner-aspect-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.aspect-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
}

.aspect-btn-group {
    display: flex;
    gap: 6px;
}

.aspect-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-main);
}

.aspect-btn.active, .aspect-btn:hover {
    background: rgba(0, 230, 242, 0.16);
    border-color: var(--primary);
    color: #fff;
}

/* Banner Aesthetic Presets Gallery */
.banner-presets-container {
    margin-top: 18px;
}

.presets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.presets-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
}

.presets-hint {
    font-size: 11px;
    color: var(--text-dim);
}

.presets-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.preset-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.preset-card:hover {
    border-color: rgba(0, 230, 242, 0.4);
    transform: translateY(-2px);
    background: rgba(0, 230, 242, 0.06);
}

.preset-card.active {
    border-color: var(--primary);
    background: rgba(0, 230, 242, 0.15);
    box-shadow: 0 0 15px rgba(0, 230, 242, 0.25);
}

.preset-thumb {
    width: 100%;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.thumb-cyber {
    background: linear-gradient(135deg, #00e6f2, #ff0050);
}

.thumb-synthwave {
    background: linear-gradient(135deg, #ff007f, #7928ca, #ffbe0b);
}

.thumb-tokyo {
    background: linear-gradient(135deg, #ff0050, #7928ca, #00e6f2);
}

.thumb-dark {
    background: radial-gradient(circle, #334155, #090d16);
}

.thumb-aurora {
    background: linear-gradient(135deg, #059669, #0284c7, #ec4899);
}

.preset-name {
    font-size: 11px;
    font-weight: 600;
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Feature Toggles Config */
.features-config {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(0, 0, 0, 0.3);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.config-title {
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.toggle-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toggle-name {
    font-size: 13px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
}

.toggle-desc {
    font-size: 11px;
    color: var(--text-dim);
}

.custom-toggle {
    appearance: none;
    -webkit-appearance: none;
    width: 42px;
    height: 22px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 11px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background 0.3s;
    flex-shrink: 0;
}

.custom-toggle:checked {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.custom-toggle::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    background: white;
    transition: transform 0.3s;
}

.custom-toggle:checked::before {
    transform: translateX(20px);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.feature-card {
    background: rgba(20, 24, 32, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s, background 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(20, 24, 32, 0.8);
    border-color: rgba(0, 230, 242, 0.3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
}

/* Overlay & Progress */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

.processing-content {
    width: 100%;
    max-width: 500px;
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 230, 242, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: spin 1s linear infinite;
}

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

#processingTitle {
    margin-bottom: 25px;
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--primary);
}

.progress-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 25px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.terminal {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    font-family: monospace;
    font-size: 13px;
    color: #22c55e;
    height: 120px;
    overflow-y: hidden;
    position: relative;
}

.terminal-log {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    max-width: 450px;
    width: 90%;
    padding: 40px;
    text-align: center;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    margin-bottom: 20px;
}

.text-yellow {
    color: var(--accent);
    font-size: 40px;
    margin-bottom: 15px;
}

.modal-content h2 {
    font-size: 24px;
}

.modal-content p {
    color: var(--text-dim);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.verification-step {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 600;
}

.status-pending {
    color: var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.unlock-btn {
    display: block;
    background: var(--primary);
    color: var(--bg-color);
    text-decoration: none;
    padding: 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    transition: background 0.3s, transform 0.2s;
}

.unlock-btn:hover {
    background: #00c4ce;
    transform: translateY(-2px);
}

.small-text {
    font-size: 12px !important;
    margin-bottom: 0 !important;
}

/* ==========================================================================
   Responsive & Mobile Optimization
   ========================================================================== */

/* Prevent iOS tap delay & highlight */
* {
    -webkit-tap-highlight-color: transparent;
}

button, input, a {
    touch-action: manipulation;
}

input[type="text"] {
    -webkit-appearance: none;
    font-size: 16px; /* Prevents iOS auto-zoom on input focus */
}

/* Tablets and medium screens */
@media (max-width: 960px) {
    header.header {
        padding: 16px 4%;
    }
    
    main {
        padding: 100px 4% 50px;
    }
    
    .main-interface {
        padding: 30px;
        gap: 30px;
    }
}

/* Mobile & Small Tablets (768px and down) */
@media (max-width: 768px) {
    /* Header & Mobile Navigation */
    header.header {
        padding: 14px 16px;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 17px;
    }

    .logo-text {
        font-size: 19px;
    }

    /* Main Container & Hero */
    main {
        padding: 80px 14px 40px;
    }

    .hero {
        margin-bottom: 22px;
    }

    .badge {
        font-size: 11px;
        padding: 5px 12px;
        white-space: normal;
        line-height: 1.4;
        text-align: center;
        max-width: 100%;
        margin-bottom: 14px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.25;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 14px;
        line-height: 1.55;
        padding: 0 6px;
    }

    /* Tool Switcher Tabs - Horizontal Touch Scrollable Pill Bar */
    .tool-switcher-container {
        width: 100%;
        margin-bottom: 22px;
        display: flex;
        justify-content: center;
    }

    .tool-switcher {
        width: 100%;
        max-width: 100%;
        flex-direction: row;
        gap: 6px;
        padding: 5px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-radius: 14px;
    }

    .tool-switcher::-webkit-scrollbar {
        display: none;
    }

    .switcher-btn {
        flex: 1 0 auto;
        padding: 10px 14px;
        font-size: 13px;
        white-space: nowrap;
        border-radius: 10px;
        justify-content: center;
        gap: 6px;
    }

    .badge-new {
        font-size: 9px;
        padding: 2px 5px;
    }

    /* Main Interface Card */
    .main-interface {
        flex-direction: column;
        padding: 20px 16px;
        gap: 24px;
        border-radius: 16px;
        margin-bottom: 35px;
    }

    .left-col {
        border-right: none;
        border-bottom: 1px solid var(--card-border);
        padding-right: 0;
        padding-bottom: 24px;
    }

    .right-col {
        gap: 20px;
    }

    /* PFP Sync Panel */
    .preview-area {
        margin: 10px auto 16px;
    }

    .preview-circle {
        width: 150px;
        height: 150px;
    }

    .default-icon {
        font-size: 46px;
    }

    .status-dot {
        width: 16px;
        height: 16px;
        bottom: 6px;
        right: 10px;
    }

    .input-group label {
        font-size: 13px;
    }

    .input-group input {
        padding: 14px 16px;
        font-size: 16px; /* Keep 16px to prevent Safari auto-zoom */
        border-radius: 10px;
    }

    .upload-box {
        padding: 26px 14px;
        min-height: 110px;
        gap: 8px;
    }

    .cloud-icon {
        font-size: 28px;
    }

    .upload-box span {
        font-size: 14px;
    }

    .primary-btn {
        padding: 15px 18px;
        font-size: 15px;
        min-height: 50px;
        border-radius: 10px;
        width: 100%;
    }

    .trust-indicators {
        flex-wrap: wrap;
        gap: 8px 14px;
        justify-content: center;
        font-size: 11px;
        text-align: center;
    }

    /* Voice Comments Panel */
    .simulator-header {
        padding-bottom: 12px;
        margin-bottom: 14px;
    }

    .sim-title {
        font-size: 13px;
        gap: 6px;
    }

    .live-tag {
        font-size: 10px;
        padding: 2px 7px;
    }

    .tt-comments-feed {
        max-height: 185px;
        gap: 10px;
        margin-bottom: 14px;
    }

    .tt-comment-item {
        padding: 9px 10px;
        gap: 10px;
    }

    .tt-avatar {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .voice-player-bubble {
        max-width: 100%;
        width: 100%;
        padding: 6px 10px;
        gap: 8px;
    }

    .voice-play-btn {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }

    .waveform-bars {
        height: 18px;
        gap: 2px;
    }

    .waveform-bars .bar {
        width: 2.5px;
    }

    .voice-duration {
        font-size: 10px;
    }

    .voice-badge {
        font-size: 9px;
        padding: 2px 5px;
    }

    .voice-tester-box {
        padding: 12px 10px;
        gap: 10px;
    }

    .rec-control-area {
        padding: 8px 10px;
        gap: 10px;
    }

    .rec-mic-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .filter-chips {
        gap: 6px;
    }

    .chip {
        padding: 5px 10px;
        font-size: 11px;
    }

    .features-config {
        padding: 14px 12px;
        gap: 12px;
    }

    .toggle-row {
        gap: 10px;
        padding: 4px 0;
    }

    .toggle-name {
        font-size: 12px;
        gap: 5px;
    }

    .toggle-desc {
        font-size: 10.5px;
    }

    /* Delete Reposts Panel */
    #repostPanel .right-col {
        padding-right: 0 !important;
    }

    .repost-stats-banner {
        grid-template-columns: repeat(3, 1fr);
        padding: 10px 8px;
        gap: 6px;
        margin-bottom: 14px;
    }

    .stat-num {
        font-size: 16px;
    }

    .stat-lbl {
        font-size: 9.5px;
    }

    .repost-feed {
        max-height: 200px;
        gap: 10px;
        margin-bottom: 14px;
    }

    .repost-item {
        padding: 8px 10px;
        gap: 8px;
    }

    .repost-thumb {
        width: 42px;
        height: 52px;
    }

    /* TikTok Banner Studio Mobile Styles */
    .banner-interface .left-col {
        padding-bottom: 20px;
    }

    .tt-profile-avatar {
        width: 62px;
        height: 62px;
        font-size: 26px;
    }

    .tt-profile-avatar-row {
        margin-top: -30px;
        margin-bottom: 10px;
    }

    .tt-profile-name {
        font-size: 16px;
    }

    .tt-profile-stats {
        gap: 12px;
        font-size: 12px;
    }

    .tt-profile-bio {
        font-size: 11.5px;
    }

    .banner-aspect-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .aspect-btn-group {
        width: 100%;
    }

    .aspect-btn {
        flex: 1;
        text-align: center;
        padding: 6px 8px;
        font-size: 11px;
    }

    .presets-grid {
        grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
        gap: 8px;
    }

    .preset-thumb {
        height: 32px;
        font-size: 13px;
    }

    .preset-name {
        font-size: 10px;
    }

    /* Features Grid */
    .features {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .feature-card {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .feature-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
        margin-bottom: 14px;
    }

    .feature-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Processing Overlay & Modal */
    .processing-content {
        padding: 24px 16px;
        max-width: 94%;
    }

    .spinner {
        width: 48px;
        height: 48px;
        border-width: 3px;
        margin-bottom: 20px;
    }

    #processingTitle {
        font-size: 18px;
        letter-spacing: 1px;
        margin-bottom: 18px;
    }

    .terminal {
        height: 110px;
        font-size: 11.5px;
        padding: 12px;
    }

    .modal-content {
        width: 92%;
        max-width: 380px;
        padding: 24px 18px;
        border-radius: 18px;
    }

    .modal-header {
        margin-bottom: 14px;
    }

    .text-yellow {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .modal-content h2 {
        font-size: 20px;
    }

    .modal-content p {
        font-size: 13.5px;
        margin-bottom: 18px;
        line-height: 1.45;
    }

    .verification-step {
        padding: 12px;
        font-size: 13px;
        margin-bottom: 18px;
    }

    .unlock-btn {
        padding: 14px;
        font-size: 15px;
    }
}

/* Small Phones (< 480px) */
@media (max-width: 480px) {
    header.header {
        padding: 10px 12px;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 15px;
        border-radius: 6px;
    }

    .logo-text {
        font-size: 17px;
    }

    main {
        padding: 72px 10px 30px;
    }

    .hero h1 {
        font-size: 24px;
        line-height: 1.25;
    }

    .hero p {
        font-size: 13px;
    }

    .tool-switcher {
        padding: 4px;
    }

    .switcher-btn {
        padding: 8px 10px;
        font-size: 12px;
        gap: 5px;
    }

    .main-interface {
        padding: 16px 12px;
        gap: 18px;
        border-radius: 14px;
    }

    .preview-circle {
        width: 130px;
        height: 130px;
    }

    .default-icon {
        font-size: 40px;
    }

    .upload-box {
        padding: 20px 10px;
        min-height: 100px;
    }

    .upload-box span {
        font-size: 13px;
    }

    .primary-btn {
        font-size: 14px;
        padding: 13px 14px;
    }

    .trust-indicators {
        font-size: 10px;
        gap: 6px 10px;
    }

    .toggle-name {
        font-size: 11.5px;
    }

    .toggle-desc {
        font-size: 10px;
    }

    .custom-toggle {
        width: 38px;
        height: 20px;
    }

    .custom-toggle::before {
        width: 14px;
        height: 14px;
    }

    .custom-toggle:checked::before {
        transform: translateX(18px);
    }
}

/* Extra Small Phones (< 360px) */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 21px;
    }

    .tool-switcher {
        flex-direction: column;
    }

    .switcher-btn {
        width: 100%;
        justify-content: center;
    }

    .preview-circle {
        width: 110px;
        height: 110px;
    }

    .default-icon {
        font-size: 32px;
    }

    .primary-btn {
        font-size: 13px;
        padding: 12px 10px;
    }
}
