/* Alcance exclusivo del compositor y las tarjetas de la comunidad. */
.tc-place-editor__tags > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.tc-place-editor__tags .tc-place-editor__tag { min-width: 0; margin: 0; }
.tc-place-editor__tags .tc-place-editor__tag > span {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 46px;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
    line-height: 1.35;
}
.tc-place-editor__tags .tc-place-editor__tag .tc-place-icon { flex: 0 0 19px; }
.tc-place-editor__custom { display: block; width: min(100%, 390px); margin-top: 17px; }
.tc-place-editor__custom input { width: 100%; max-width: 100%; }
.tc-custom-highlight {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    max-width: 100%;
    margin: 9px 0 6px;
    padding: 7px 10px;
    border: 1px solid #f3d4cb;
    border-radius: 8px;
    background: #fff9f6;
    color: #a3372c;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
}
.tc-custom-highlight svg { width: 17px; height: 17px; flex: 0 0 17px; }
.tc-custom-highlight__text {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.tc-video-panel__preview {
    margin-top: 12px;
    padding: 10px 13px;
    border: 1px solid #dce8df;
    border-radius: 8px;
    background: #f7fbf8;
    color: #305944;
    font-size: 13px;
    line-height: 1.5;
}
.tc-video-panel__preview[hidden] { display: none !important; }
.tc-video-panel__preview.is-invalid { border-color: #f2d5cf; background: #fff8f6; color: #ae3b2e; }
.tc-video-panel [data-tc-video-url][aria-invalid="true"] { border-color: #db6858; }
.tc-video--social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    min-width: 0;
    aspect-ratio: auto;
    overflow: visible;
    background: transparent;
}
.tc-video--social iframe {
    display: block;
    width: min(100%, 390px);
    height: min(76vh, 690px);
    min-height: 440px;
    border: 0;
    border-radius: 8px;
    background: #fff;
}
.tc-video--social a { color: #b8382b; font-size: 12px; font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 700px) {
    .tc-place-editor__tags > div { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .tc-place-editor__tags .tc-place-editor__tag > span { min-height: 48px; padding: 8px; font-size: 11px; }
    .tc-video--social iframe { width: min(100%, 390px); height: min(72vh, 640px); min-height: 420px; }
}
@media (max-width: 360px) {
    .tc-place-editor__tags .tc-place-editor__tag > span { gap: 5px; padding: 7px 6px; }
    .tc-place-editor__tags .tc-place-editor__tag .tc-place-icon { width: 16px; height: 16px; flex-basis: 16px; }
}
