.nostr-ddspace {
    border: 1px solid var(--line, #ffffff20);
    background-color: var(--panel, #201d28);
    border-radius: 4px;
    display: inline-flex;
    text-align: center;
    min-width: 100px;
    min-height: 60px;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
    word-break: break-all;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    color: var(--paper, #f1edf5);
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.nostr-ddspace-text {
    padding: 12px;
    word-break: normal;
    overflow-wrap: anywhere;
    white-space: pre-line;
    line-height: 1.5;
}

.nostr-ddspace-description {
    font-size: 80%;
    position: absolute;
    overflow: hidden;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    padding: 1.2%;
    box-sizing: border-box;
    border: 1px solid var(--line, #ffffff20);
    background-color: var(--accent, #c4a9fa);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    color: var(--ink, #17151d);
    font-weight: bold;
    max-height: 100%;
}

.nostr-ddspace:hover .nostr-ddspace-description {
    opacity: 1;
}

.nostr-ddspace-call-to-action {
    font-size: 11px;
    position: absolute;
    bottom: 0px;
    right: 0px;
    opacity: 0.8;
    max-width: 100%;
    overflow: hidden;
    background: var(--accent, #c4a9fa);
    color: var(--ink, #17151d);
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
    padding-left: 10px;
    border-top-left-radius: 4px;
    transition: opacity 0.3s ease-in-out;
    opacity:0.7;
}

.nostr-ddspace:hover .nostr-ddspace-call-to-action {
    opacity:0;
}


.nostr-ddspace-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    opacity: 0.2;
    background-image: url('./imgs/mark.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
