.sc-b5215d0e-wrapper {
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
    margin: 0 auto;
    box-sizing: border-box;
}

.sc-b5215d0e-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
}

.sc-b5215d0e-content-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.sc-b5215d0e-heading {
    margin: 0;
    font-weight: 700;
}

.sc-b5215d0e-description {
    margin: 0;
    font-size: 14px;
}

.sc-b5215d0e-image-wrap {
    width: 100%;
    max-height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-b5215d0e-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sc-b5215d0e-code-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 6px;
    box-sizing: border-box;
}

.sc-b5215d0e-code-text {
    font-family: monospace;
    font-weight: bold;
}

.sc-b5215d0e-copy-btn,
.sc-b5215d0e-reset-btn {
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s, transform 0.1s;
}

.sc-b5215d0e-copy-btn {
    padding: 6px 12px;
    font-size: 12px;
}

.sc-b5215d0e-reset-btn {
    padding: 8px 16px;
    font-size: 13px;
    margin-top: 5px;
}

.sc-b5215d0e-copy-btn:active,
.sc-b5215d0e-reset-btn:active {
    transform: scale(0.97);
}

.sc-b5215d0e-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    cursor: crosshair;
    touch-action: none;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.sc-b5215d0e-wrapper.is-revealed .sc-b5215d0e-canvas {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
    .sc-b5215d0e-canvas {
        transition: none !important;
    }
}

.sc-b5215d0e-overlay-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    box-sizing: border-box;
    padding: 20px;
    transition: opacity 0.3s ease-out;
}

.sc-b5215d0e-wrapper.is-revealed .sc-b5215d0e-overlay-placeholder,
.sc-b5215d0e-wrapper.is-scratching .sc-b5215d0e-overlay-placeholder {
    opacity: 0;
}

.sc-b5215d0e-overlay-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.sc-b5215d0e-overlay-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sc-b5215d0e-overlay-text {
    font-size: 18px;
    font-weight: 600;
}

/* Tooltip styles */
.sc-b5215d0e-tooltip {
    position: absolute;
    background: #0f172a;
    color: #ffffff;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 4px;
    pointer-events: none;
    transform: translate(-50%, -100%);
    margin-top: -8px;
    white-space: nowrap;
    z-index: 999;
    font-family: sans-serif;
    animation: scTooltipFadeIn 0.2s forwards;
}

@keyframes scTooltipFadeIn {
    from { opacity: 0; transform: translate(-50%, -90%); }
    to { opacity: 1; transform: translate(-50%, -100%); }
}
