/* body {
    margin: 0;
    background: #f5f5f5;
    font-family: Arial, sans-serif;
} */

.mini-iframe {
    width: 100%;
    height: 60vh;
    border: 1px solid #dedede;
}

.fullscreen-iframe {
    width: 100%;
    height: calc(100vh - 36px);
    border:none !important;
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
}

.toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #333;
    color: #fff;
    flex-wrap: wrap;
}

button {
    padding: 6px 8px;
    cursor: pointer;
}

button.active {
    background: #ff9800;
    color: #000;
}

.colors {
    display: flex;
    gap: 6px;
}

.color-item {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
}

.color-item.active {
    border-color: #fff;
}

canvas {
    display: block;
    margin: 0 auto;
    background: #fff;
    cursor: crosshair;
}

.status {
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
}

.wrapper {
    width: 938px;
    margin: 0 auto;
}