/* Embed asset portal — /embed/asset-portal/{id} */
.embed-asset-portal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 212, 255, 0.18);
    background: rgba(12, 20, 36, 0.75);
}

.embed-asset-portal-nav a,
.embed-asset-portal-nav-link {
    flex: 1 1 180px;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    background: rgba(0, 0, 0, 0.2);
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.embed-asset-portal-nav a:hover,
.embed-asset-portal-nav-link:hover {
    color: #e8f4ff;
    border-color: rgba(0, 212, 255, 0.35);
    background: rgba(0, 212, 255, 0.06);
}

.embed-asset-portal-nav a.embed-asset-portal-nav--on,
.embed-asset-portal-nav-link.embed-asset-portal-nav--on {
    color: #00d4ff;
    border-color: rgba(0, 212, 255, 0.45);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(124, 58, 237, 0.08));
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.12);
}

.embed-asset-portal-hub {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.embed-asset-portal-hub-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.1rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 212, 255, 0.22);
    background:
        linear-gradient(145deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.05)),
        rgba(12, 20, 36, 0.9);
    color: #e8f4ff;
    text-decoration: none;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.embed-asset-portal-hub-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 212, 255, 0.45);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 212, 255, 0.1);
}

.embed-asset-portal-hub-card h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.embed-asset-portal-hub-card p {
    margin: 0;
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.45;
}

.embed-asset-portal-hub-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.12);
    color: #00d4ff;
}

.embed-asset-portal-section-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 1.25rem 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #00d4ff;
    letter-spacing: 0.02em;
}

.embed-asset-portal-section-title:first-child {
    margin-top: 0;
}

.embed-asset-portal-nav-link--home {
    flex: 0 1 auto;
    min-width: 120px;
}

.embed-asset-tab-panel--iframe {
    padding: 0;
    min-height: 420px;
}

.embed-asset-portal-iframe-wrap {
    width: 100%;
    min-height: 420px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.15);
    background: #0a0e14;
}

.embed-asset-portal-iframe {
    display: block;
    width: 100%;
    min-height: 70vh;
    height: 70vh;
    border: none;
    background: #0a0e14;
}

.embed-asset-portal-external {
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.18);
    background: rgba(12, 20, 36, 0.75);
    color: #94a3b8;
}

.embed-asset-portal-external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.35);
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    font-weight: 600;
    text-decoration: none;
}

.embed-asset-portal-external-link:hover {
    border-color: rgba(0, 212, 255, 0.55);
    color: #e8f4ff;
}

/* Landing page — /embed/asset-landing/{id} */
.embed-asset-landing-page {
    max-width: 640px;
}

.embed-asset-landing-head {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0.5rem 0;
}

.embed-asset-landing-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #00d4ff;
}

.embed-asset-landing-head h1 {
    margin: 0 0 0.65rem;
    font-size: 1.45rem;
    font-weight: 800;
    color: #e8f4ff;
    line-height: 1.25;
}

.embed-asset-landing-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 0.85rem;
    font-size: 0.82rem;
    color: #94a3b8;
}

.embed-asset-landing-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.embed-asset-landing-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 212, 255, 0.28);
    background:
        linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.06)),
        rgba(12, 20, 36, 0.92);
    color: #e8f4ff;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.embed-asset-landing-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 212, 255, 0.55);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 212, 255, 0.12);
}

.embed-asset-landing-btn-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.14);
    color: #00d4ff;
}

.embed-asset-landing-btn--bms .embed-asset-landing-btn-icon {
    background: rgba(251, 191, 36, 0.14);
    color: #fbbf24;
}

.embed-asset-landing-btn--chiller .embed-asset-landing-btn-icon {
    background: rgba(96, 165, 250, 0.14);
    color: #60a5fa;
}

.embed-asset-landing-btn-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.embed-asset-landing-btn-text strong {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
}

.embed-asset-landing-btn-text small {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.35;
}

.embed-asset-landing-btn-arrow {
    flex-shrink: 0;
    color: #64748b;
}
