<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    image-rendering: pixelated;
}

body {
    background-color: #8200dc; 
    font-family: "MS Sans Serif", Arial, sans-serif;
    overflow: hidden;
}

.app-container {
    width: 98%;
    height: 95vh;
    margin: 10px auto;
    position: relative;
    border: 8px ridge #00ff77; 
    box-shadow: inset 1px 1px 0px #ffffff, inset -1px -1px 0px #868686;
    background-color: #c0c0c0;
    border-radius: 8px;
}

.logo {
    position: relative;
    text-align: center;
    background: linear-gradient(to right, #ff0066, #ff8800, #ffff00, #00ff77, #00ddff, #aa00ff); 
    color: white;
    padding: 4px 0;
    font-weight: bold;
    font-size: 16px;
    box-shadow: inset 1px 1px 0px #dfdfdf, inset -1px -1px 0px #808080;
    text-shadow: 2px 2px 2px #000000;
    border-bottom: 3px solid #00ddff;
}

.window-body {
    padding: 2px;
    background-color: #c0c0c0;
    display: flex;
    flex-direction: column;
    height: calc(100% - 22px);
}

.controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 4px;
    background-color: #c0c0c0;
    border-bottom: 2px solid #808080;
}

.pixel-btn {
    margin: 0 2px;
    padding: 2px 8px;
    font-size: 12px;
    background-color: #00ccff; 
    color: white;
    border: 3px outset #00eeff;
    box-shadow: 1px 1px 0 #000000;
    cursor: pointer;
    border-radius: 5px;
}

.pixel-btn:active {
    border-style: inset;
    box-shadow: inset 1px 1px 1px #000000;
}

#undo-btn {
    background-color: #ff66cc; 
    border-color: #ff88dd;
}

.workspace {
    display: flex;
    flex-grow: 1;
    position: relative;
    background-color: #c0c0c0;
}

.toolbox {
    width: 60px;
    background: linear-gradient(to bottom, #ff3300, #ff0099); 
    border: 4px ridge #ffdd00;
    padding: 4px 2px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 10;
    border-radius: 0 10px 10px 0;
}

.tool {
    width: 40px;
    height: 40px;
    background-color: #ffdd00; 
    border: 3px outset #ffff66;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.1s;
    border-radius: 5px;
    overflow: hidden; 
}

.tool img {
    width: 32px; 
    height: 32px;
    image-rendering: pixelated;
    transform: scale(1.2); 
    transition: transform 0.2s;
}

.tool:hover img {
    transform: scale(1.4); 
}

.tool.active {
    background-color: #ffffff;
    border-style: inset;
    box-shadow: inset 1px 1px 1px #000000;
}

.size-picker {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    background-color: #00ccff; 
    padding: 3px;
    border: 3px inset #00eeff;
    width: 50px;
    border-radius: 5px;
}

.size-option {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: black;
    cursor: pointer;
}

.size-option[data-size="medium"] {
    width: 12px;
    height: 12px;
}

.size-option[data-size="large"] {
    width: 16px;
    height: 16px;
}

.size-option.active {
    background-color: #ff0000;
}

.canvas-container {
    flex-grow: 1;
    margin: 0 70px 0 70px;
    border: 10px ridge #00ff77; 
    overflow: hidden;
    background: white;
    position: relative;
}

#drawing-canvas {
    width: 100%;
    height: 100%;
    cursor: crosshair;
    image-rendering: pixelated;
}

.color-palette {
    width: 60px;
    background: linear-gradient(to bottom, #00ddff, #0055ff); 
    border: 4px ridge #00aaff;
    padding: 4px 2px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 10;
    border-radius: 10px 0 0 10px;
}

.color-option {
    width: 40px;
    height: 20px;
    border: 3px outset;
    border-color: inherit;
    cursor: pointer;
    border-radius: 3px;
}

.color-option:hover {
    border-color: #ffffff;
}

.color-option.active {
    border: 3px solid #ff0000;
}

.fun-tools {
    display: flex;
    gap: 4px;
}

.fun-tool {
    padding: 3px 6px;
    background-color: #ff44cc; 
    color: white;
    border: 3px outset #ff88dd;
    font-size: 12px;
    cursor: pointer;
    border-radius: 5px;
}

.fun-tool:hover {
    background-color: #ff88dd;
}

.fun-tool.active {
    background-color: #ff99ee;
    border-style: inset;
    box-shadow: inset 1px 1px 1px #000000;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 8px;
    background: #202020;
    padding: 3px;
    border: 3px inset #444444;
    width: 48px;
    border-radius: 4px;
}

.mini-color {
    width: 12px;
    height: 12px;
    border: 1px solid #000;
    cursor: pointer;
}

.mini-color:hover {
    transform: scale(1.1);
}

.stamps-panel, .effects-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    display: none;
    border: 3px solid #c0c0c0;
    box-shadow: inset 1px 1px 0px #ffffff, inset -1px -1px 0px #868686;
    background-color: #c0c0c0;
}

.stamps-container, .effects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 10px;
    background-color: #c0c0c0;
}

.stamp {
    width: 54px;
    height: 54px;
    background-color: #ffdd00; 
    border: 3px outset #ffff66;
    overflow: hidden;
}

.stamp img {
    width: 45px;
    height: 45px;
    image-rendering: pixelated;
    transform: scale(1.1);
    transition: transform 0.2s;
}

.stamp:hover img {
    transform: scale(1.3);
}

.stamp:hover {
    background-color: #dfdfdf;
}

.effect {
    width: 90px;
    height: 60px;
    flex-direction: column;
    font-size: 11px;
    text-align: center;
    background-color: #c0c0c0;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.effect img {
    width: 40px;
    height: 40px;
    image-rendering: pixelated;
}

.effect:hover {
    background-color: #dfdfdf;
}

.effect:active {
    border-color: #808080 #dfdfdf #dfdfdf #808080;
    box-shadow: inset 1px 1px 1px #000000;
}

.tooltip {
    position: absolute;
    background-color: #ffffcc;
    border: 1px solid #000000;
    padding: 2px 4px;
    font-size: 11px;
    display: none;
    z-index: 1000;
}

.sparkle {
    position: absolute;
    pointer-events: none;
    animation: sparkle 0.8s linear forwards;
    z-index: 10;
    width: 16px;
    height: 16px;
    background-image: url('sparkle.png');
    background-size: contain;
}

@keyframes sparkle {
    0% {
        transform: scale(0.1) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2) rotate(45deg);
        opacity: 0;
    }
}

.color-explosion {
    width: 50px;
    height: 25px;
    background: linear-gradient(to right, red, orange, yellow, green, blue, purple);
    margin-top: 5px;
    cursor: pointer;
    border: 2px solid;
    border-color: #dfdfdf #808080 #808080 #dfdfdf;
}

#toggle-fill-btn {
    background-color: #00ff77;
    border-color: #44ffaa;
}

.color-wheel-button {
    width: 44px;
    height: 44px;
    background-color: #ffdd00;
    border: 3px outset #ffff66;
    cursor: pointer;
    border-radius: 5px;
    margin: 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.color-wheel-button img {
    width: 36px;
    height: 36px;
    image-rendering: pixelated;
    transform: scale(1.2);
    transition: transform 0.2s;
}

.color-wheel-button:hover img {
    transform: scale(1.4);
}

.color-wheel-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    display: none;
    border: 3px solid #c0c0c0;
    box-shadow: inset 1px 1px 0px #ffffff, inset -1px -1px 0px #868686;
    background-color: #c0c0c0;
    padding: 10px;
    border-radius: 5px;
}

.color-wheel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#color-wheel-canvas {
    border: 3px inset #808080;
    background-color: white;
    cursor: crosshair;
}

.selected-color-preview {
    width: 50px;
    height: 30px;
    border: 3px inset #808080;
    background-color: #000000;
}

#load-image-btn {
    background-color: #ff8800;
    border-color: #ffaa44;
}

.prompt-container {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

.pixel-input {
    padding: 4px 8px;
    font-size: 12px;
    background-color: white;
    border: 3px inset #c0c0c0;
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.2);
    width: 200px;
}

#generate-btn {
    background-color: #ff44cc;
    border-color: #ff88dd;
}</pre></body></html>