.card-top__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-fullscreen-toggle {
    position: relative;
    isolation: isolate;
    width: 64px;
    min-width: 64px;
    height: 64px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 20px;
    background: linear-gradient(135deg, #00c6ff, #00e0c6);
    color: #e6ffff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .38);
    cursor: pointer;
    transition: all .15s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.site-fullscreen-toggle::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 1px 7px auto;
    height: 42%;
    border-radius: 16px 16px 50% 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.site-fullscreen-toggle svg {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: .8px;
    paint-order: stroke fill;
    filter: drop-shadow(0 2px 2px rgba(2, 67, 75, .34));
    pointer-events: none;
}

.site-fullscreen-toggle [data-fullscreen-collapse-icon] { display: none; }
.site-fullscreen-toggle[data-fullscreen-active="true"] [data-fullscreen-expand-icon] { display: none; }
.site-fullscreen-toggle[data-fullscreen-active="true"] [data-fullscreen-collapse-icon] { display: block; }

.site-fullscreen-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .38);
}
.site-fullscreen-toggle:active {
    transform: scale(.96);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2), inset 0 2px 6px rgba(0, 0, 0, .2);
}
.site-fullscreen-toggle:focus { outline: none; }
.site-fullscreen-toggle:focus-visible { outline: 3px solid #173d5b; outline-offset: 3px; }

.site-fullscreen-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 560px) {
    .card-top__actions { gap: 8px; }
}

@media (max-width: 560px) and (orientation: portrait) {
    .site-fullscreen-toggle { width: 64px; min-width: 64px; height: 64px; border-radius: 20px; }
    .site-fullscreen-toggle svg { width: 36px; height: 36px; }
}

@media (max-height: 560px) and (orientation: landscape) {
    .site-fullscreen-toggle { width: 52px; min-width: 52px; height: 52px; border-radius: 15px; }
    .site-fullscreen-toggle svg { width: 25px; height: 25px; }
}

@media (prefers-reduced-motion: reduce) {
    .site-fullscreen-toggle { transition: none; }
}
