:root {
    --bg: #0a86d9; /*#0b1220;*/
    --surface: #141b2d;
    --text: #2989cf; /*#6f89c2;*/ /*#eef2f7;*/
    --brand: #3b82f6;
    --accent: #f59e0b;
    --muted: #fcc924; /*#9aa4b2;*/
    --radius: 16px
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
    background: var(--bg);
    color: var(--text)
}

.app {
    padding: 16px;
    max-width: 1000px;
    margin: 0 auto
}

.h1 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 12px
}

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

@media(min-width:720px) {
    .grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media(min-width:850px) {
    .grid {
        grid-template-columns: repeat(3,1fr)
    }
}

/*@media(min-width:1000px) {
    .grid {
        grid-template-columns: repeat(4,1fr)
    }
}*/

.card {
    background: color-mix(in oklab,var(--surface) 90%,black 10%);
    border: 1px solid #ffffff1a;
    border-radius: var(--radius);
    padding: 12px
}

    .card button {
        all: unset;
        cursor: pointer;
        display: block;
        width: 100%
    }

.row {
    display: flex;
    align-items: center;
    gap: 10px
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #ffffff12;
    font-size: 22px
}

.title {
    font-weight: 700
}

.subtle {
    color: var(--muted);
    font-size: 12px
}

.btn {
    background: var(--brand);
    color: #fff;
    border: 0;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer
}

    .btn:active {
        transform: translateY(1px)
    }

.toolbar {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 8px 0
}

.canvas {
    width: 100%;
    border-radius: 16px;
    border: 1px solid #ffffff1a;
    background: #000
}
