
body { background:#0e0e14; color:#eee; font-family:Arial; padding:20px; }
h1 { color:#9b59ff; }
.grid { display:flex; gap:20px; }
.card { background:#1a1a24; padding:20px; border-radius:10px; box-shadow:0 0 10px #9b59ff33; }
.mn-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:15px; }
.mn-card { background:#1f1f2d; padding:15px; border-radius:8px; border:1px solid #9b59ff33; }
canvas { margin-top:40px; }

/* Mobile Optimization */
@media (max-width: 768px) {

    body {
        padding: 12px;
        font-size: 14px;
    }

    .grid {
        flex-direction: column;
        gap: 12px;
    }

    .card {
        padding: 15px;
    }

    .mn-grid {
        grid-template-columns: 1fr;
    }

    .mn-card {
        font-size: 13px;
    }

    canvas {
        width: 100% !important;
        height: auto !important;
    }
}

/* Improve tap targets */
button, .mn-card {
    min-height: 44px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Desktop TXID polish */
.txid {
    font-family: monospace;
    font-size: 13px;
    color: #c084fc;
    word-break: break-all;
    display: inline-block;
    margin-right: 10px;
}

.copy-btn {
    background: #9b59ff22;
    border: 1px solid #9b59ff;
    color: #9b59ff;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.2s ease;
}

.copy-btn:hover {
    background: #9b59ff;
    color: #fff;
}

.mn-card {
    overflow: hidden;
}

@media (min-width: 1200px) {
    .mn-grid {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    }
}
/* Force single column on desktop */
@media (min-width: 1024px) {
    .mn-grid {
        grid-template-columns: 1fr !important;
        max-width: 900px;
        margin: 0 auto;
    }

    .mn-card {
        width: 100%;
    }
}
