.crtc-cloud {
    --crtc-bg: #173f0f;
    --crtc-token: #c59418;
    --crtc-token-strong: #dfa91f;
    --crtc-text: #151407;
    --crtc-shadow: rgba(0, 0, 0, 0.24);
    --crtc-font-size: 14px;
    width: min(100%, var(--crtc-width));
    height: var(--crtc-height);
    border-radius: 8px;
    background: var(--crtc-bg);
    overflow: hidden;
    position: relative;
    contain: layout paint;
    perspective: 700px;
}

.crtc-theme-light {
    --crtc-bg: #f4f7ef;
    --crtc-token: #bb8b14;
    --crtc-token-strong: #d89f13;
    --crtc-text: #17160d;
    --crtc-shadow: rgba(44, 32, 6, 0.18);
}

.crtc-theme-transparent {
    --crtc-bg: transparent;
    --crtc-token: #c59418;
    --crtc-token-strong: #dfa91f;
    --crtc-text: #151407;
    --crtc-shadow: rgba(0, 0, 0, 0.18);
}

.crtc-cloud__stage {
    position: absolute;
    inset: 0;
}

.crtc-term {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 46%;
    min-height: 22px;
    padding: 2px 7px 3px;
    border-radius: 6px;
    background: var(--crtc-token);
    box-shadow: 0 3px 8px var(--crtc-shadow);
    color: var(--crtc-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: var(--crtc-font-size);
    font-weight: 700;
    line-height: 1.08;
    text-decoration: none;
    white-space: nowrap;
    will-change: transform, opacity;
    transform: translate(-50%, -50%) translate3d(0, 0, 0) scale(var(--crtc-scale, 1));
    transform-origin: center;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.crtc-term:hover,
.crtc-term:focus-visible {
    background: var(--crtc-token-strong);
    box-shadow: 0 5px 13px rgba(0, 0, 0, 0.32);
    color: var(--crtc-text);
    filter: brightness(1.08);
    outline: none;
    text-decoration: none;
}

.crtc-term--small {
    font-size: max(8px, calc(var(--crtc-font-size) - 3px));
    padding-inline: 5px;
}

.crtc-term--medium {
    font-size: var(--crtc-font-size);
}

.crtc-term--large {
    font-size: calc(var(--crtc-font-size) + 3px);
    padding-inline: 8px;
}

.crtc-shortcode-title {
    margin: 0 0 0.75rem;
}

.crtc-empty {
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .crtc-term {
        transition: background-color 180ms ease, box-shadow 180ms ease;
    }
}
