.cyg { font-family: var(--ff-sans); }
.cyg-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    color: var(--c-text) !important;
    margin: 0 0 6px !important;
}
.cyg-sub {
    font-size: 15px;
    color: var(--c-text-muted);
    line-height: 1.5;
    margin: 0 0 22px;
}
@media (max-width: 640px) { .cyg-title { font-size: 22px !important; } }
.cyg-intro {
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    padding: 16px 20px;
    margin-bottom: 26px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--c-text);
}
.cyg-intro strong { color: var(--c-text); font-weight: 650; }
.cyg-section-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--c-text) !important;
    margin: 0 0 14px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cyg-section-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 18px;
    background: var(--c-primary);
    border-radius: 2px;
    flex-shrink: 0;
}
.cyg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
@media (max-width: 640px) { .cyg-grid { grid-template-columns: 1fr; } }
.cyg-card {
    position: relative;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    padding: 20px;
    box-shadow: var(--c-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.cyg-card:hover { box-shadow: var(--c-shadow-md); border-color: var(--c-border-strong); transform: translateY(-3px); }
@media (hover: none) { .cyg-card:hover { transform: none; } }
.cyg-card__head { display: flex; align-items: flex-start; gap: 12px; }
.cyg-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--c-surface-2);
    box-shadow: inset 0 0 0 1px var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
}
.cyg-card__name {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 0 2px !important;
    color: var(--c-text) !important;
    line-height: 1.2 !important;
}
.cyg-card__alias {
    display: block;
    font-size: 12px;
    color: var(--c-text-muted);
    margin-bottom: 4px;
    font-weight: 400;
}
.cyg-card__handle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    font-size: 12.5px;
    color: var(--c-primary);
    text-decoration: none;
    font-weight: 600;
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    padding: 4px 11px;
    border-radius: var(--c-radius-pill);
    transition: border-color .15s, color .15s;
}
.cyg-card__handle:hover { border-color: var(--c-primary); text-decoration: none; }
.cyg-card__handle svg { width: 13px; height: 13px; fill: currentColor; flex-shrink: 0; }
/* internal action link (CheckFace) uses a stroked arrow icon */
.cyg-card__handle[href^="/"] svg { fill: none; stroke: currentColor; stroke-width: 2; }
.cyg-card__features { list-style: none; margin: 0; padding: 0; }
.cyg-card__features li {
    position: relative;
    padding-left: 13px;
    font-size: 13.5px;
    color: var(--c-text);
    line-height: 1.5;
    margin-bottom: 6px;
}
.cyg-card__features li:last-child { margin-bottom: 0; }
.cyg-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    background: var(--c-primary);
    border-radius: 50%;
}
.cyg-card__foot {
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid var(--c-border);
    padding-top: 10px;
    flex-wrap: wrap;
}
.cyg-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 999px;
    line-height: 1.2;
}
.cyg-badge--free  { background: light-dark(rgba(34, 197, 94, .12), rgba(34, 197, 94, .18)); color: light-dark(#16803a, #4ade80); }
.cyg-badge--paid  { background: light-dark(rgba(245, 158, 11, .12), rgba(245, 158, 11, .18)); color: light-dark(#b45309, #fbbf24); }
.cyg-badge--both  { background: light-dark(rgba(99, 102, 241, .12), rgba(99, 102, 241, .18)); color: light-dark(#4338ca, #818cf8); }
.cyg-badge--own   { background: var(--c-primary-soft); color: var(--c-primary); }
.cyg-cmd {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: 5px;
    padding: 1px 7px;
    font-family: monospace;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--c-primary);
    cursor: pointer;
    user-select: none;
    transition: background .15s, color .15s, border-color .15s;
    vertical-align: middle;
    white-space: nowrap;
}
.cyg-cmd:hover { background: var(--c-primary-soft); border-color: var(--c-primary); }
.cyg-cmd svg { width: 10px; height: 10px; flex-shrink: 0; opacity: .5; }
.cyg-cmd--ok { background: light-dark(rgba(34, 197, 94, .15), rgba(34, 197, 94, .22)) !important; color: light-dark(#16803a, #4ade80) !important; border-color: light-dark(rgba(34, 197, 94, .35), rgba(34, 197, 94, .45)) !important; }

/* ---- Delete page: /delete.html ---- */
.cyd {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: var(--ff-sans);
}
.cyd-info {
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    padding: 18px 20px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--c-text);
}
.cyd-warn {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(245, 158, 11, .08);
    border: 1px solid rgba(245, 158, 11, .25);
    border-radius: var(--c-radius);
    padding: 16px 18px;
}
.cyd-warn__icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1.4;
}
.cyd-warn__body { font-size: 14px; line-height: 1.65; color: var(--c-text); }
.cyd-warn__body b { display: block; font-size: 14.5px; margin-bottom: 4px; color: #92400e; }
@media (prefers-color-scheme: dark) { .cyd-warn__body b { color: #fbbf24; } }
:root[data-theme="dark"] .cyd-warn__body b { color: #fbbf24; }
.cyd-tg {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--c-radius);
    padding: 16px 18px;
    text-decoration: none;
    transition: box-shadow .18s, border-color .18s;
    box-shadow: var(--c-shadow-sm);
}
.cyd-tg:hover {
    border-color: var(--c-primary);
    box-shadow: var(--c-shadow-md);
    text-decoration: none;
}
.cyd-tg__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2AABEE;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cyd-tg__icon svg { width: 24px; height: 24px; fill: #fff; }
.cyd-tg__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text);
    display: block;
    margin-bottom: 2px;
}
.cyd-tg__meta {
    font-size: 12px;
    color: var(--c-text-muted);
    display: block;
}

/* ===== Premium video teaser — мини-постер «внутри видео», БЕЗ кнопки (CY 2026-06-15 r2) ===== */
/* грузится после cy-bundle.css → перебивает старую раскладку .premium-vault-card */
.premium-vault-card {
    width: 100%;
    box-sizing: border-box;
    margin: 24px 0;
    display: block;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    grid-template-columns: none;
    background-image: none;
    overflow: visible;
    font-family: inherit;
}
.premium-vault-card::before,
.premium-vault-card::after { content: none; }
.premium-vault-card .pvc {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border-radius: 16px;
    text-decoration: none;
    background: var(--c-surface, #fff);
    border: 1px solid var(--c-border, rgba(15, 23, 42, 0.1));
    box-shadow: var(--c-shadow-sm, 0 6px 20px rgba(15, 23, 42, 0.06));
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.premium-vault-card .pvc:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
}
.premium-vault-card .pvc-thumb {
    position: relative;
    flex: 0 0 auto;
    width: 132px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background:
        radial-gradient(120% 120% at 28% 18%, rgba(255, 255, 255, 0.22), transparent 60%),
        linear-gradient(135deg, var(--c-primary, #f47a6d), #6d3a86);
}
.premium-vault-card .pvc-play {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.premium-vault-card .pvc-lock {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.42);
}
.premium-vault-card .pvc-lock svg { width: 12px; height: 12px; }
.premium-vault-card .pvc-body { flex: 1 1 auto; min-width: 0; }
.premium-vault-card .pvc-title {
    display: block;
    margin: 0 0 3px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--c-text, #0f172a);
}
.premium-vault-card .pvc-text {
    display: block;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--c-text-muted, #64748b);
}
@media (max-width: 560px) {
    .premium-vault-card .pvc { flex-direction: column; align-items: stretch; gap: 12px; }
    .premium-vault-card .pvc-thumb { width: 100%; }
    .premium-vault-card .pvc-body { text-align: center; }
}
