/**
 * ============================================================================
 * SIKKHALAY STUDENT PORTAL — YOUTUBE STANDARD VIDEO PLAYER & STREAMING CSS
 * ============================================================================
 * Implements YouTube-standard visual UI & UX:
 * - Dual-layer Progress Bar (YouTube red played bar + semi-transparent buffer bar)
 * - YouTube-standard 3s chunk buffer rail with interactive hover preview & scrubber
 * - Centered YouTube Buffering Ring Spinner with smooth SVG arc rotation
 * - Center Action Ripple Feedback (Play / Pause / 10s Skip animations)
 * - YouTube Buffer Health HUD & Telemetry ("Stats for Nerds" card)
 * - Modern YouTube Controls Bar (Volume slider expansion, HD badge, PiP, Fullscreen)
 * ============================================================================
 */

:root {
    --yt-red: #FF0000;
    --yt-red-hover: #CC0000;
    --yt-rail-bg: rgba(255, 255, 255, 0.22);
    --yt-buffer-color: rgba(255, 255, 255, 0.48);
    --yt-control-hover: rgba(255, 255, 255, 0.15);
}

/* ----------------------------------------------------------------------------
 * 1. VIDEO PLAYER WRAPPER & CANVAS (Responsive Height Engine)
 * ---------------------------------------------------------------------------- */
.yt-player-container {
    position: relative;
    width: 100%;
    height: auto;
    background: #000000;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

/* In class view page: Make cvVideoCard its height responsive as it was originally */
.cv-video-card.yt-player-container {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    background: var(--cv-bg-video, #0F172A) !important;
    border-radius: var(--cv-radius-lg, 16px) !important;
    overflow: hidden !important;
    box-shadow: var(--cv-shadow-lg) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.cv-video-card.yt-player-container .cv-video-canvas-wrap {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    background: #050811 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.cv-video-card.yt-player-container .cv-video-element {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* In classes.html cinema modal */
.video-modal-player-wrap.yt-player-container {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    max-height: 480px !important;
    height: auto !important;
    background: #000000 !important;
}

.video-modal-player-wrap.yt-player-container video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Fullscreen Mode (True 100vw / 100vh) */
.yt-player-container:fullscreen,
.yt-player-container.is-fullscreen,
.cv-video-card:fullscreen,
.cv-video-card.is-fullscreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: none !important;
    border-radius: 0 !important;
    z-index: 999999 !important;
    background: #000000 !important;
}

.cv-video-card:fullscreen .cv-video-canvas-wrap,
.cv-video-card.is-fullscreen .cv-video-canvas-wrap {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
}

.cv-video-card:fullscreen .cv-video-element,
.cv-video-card.is-fullscreen .cv-video-element {
    object-fit: contain !important;
}

/* ----------------------------------------------------------------------------
 * 2. YOUTUBE-STYLE CENTER BUFFERING SPINNER
 * ---------------------------------------------------------------------------- */
.yt-buffering-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    z-index: 18;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.yt-buffering-overlay.active {
    opacity: 1;
    visibility: visible;
}

.yt-spinner-box {
    position: relative;
    width: 64px;
    height: 64px;
}

.yt-spinner-svg {
    width: 100%;
    height: 100%;
    animation: ytRotate 1.6s linear infinite;
    transform-origin: center center;
}

.yt-spinner-circle {
    stroke: var(--yt-red);
    stroke-linecap: round;
    stroke-dasharray: 90, 150;
    stroke-dashoffset: 0;
    animation: ytDash 1.4s ease-in-out infinite;
}

@keyframes ytRotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes ytDash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }
    100% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -125px;
    }
}

.yt-buffering-text {
    margin-top: 12px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    gap: 6px;
}

.yt-chunk-pulse-dot {
    width: 7px;
    height: 7px;
    background: #10B981;
    border-radius: 50%;
    display: inline-block;
    animation: ytPulse 1.2s infinite;
}

@keyframes ytPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

/* ----------------------------------------------------------------------------
 * 3. YOUTUBE CENTER ACTION FEEDBACK RIPPLE (Play/Pause/Skip)
 * ---------------------------------------------------------------------------- */
.yt-center-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 19;
    pointer-events: none;
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.35s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.yt-center-ripple.animate-ripple {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
}

/* ----------------------------------------------------------------------------
 * 4. YOUTUBE DUAL-LAYER PROGRESS BAR (Played + Buffer Rail)
 * ---------------------------------------------------------------------------- */
.yt-progress-container {
    position: relative;
    width: 100%;
    height: 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    touch-action: none;
}

.yt-progress-rail {
    position: relative;
    width: 100%;
    height: 4px;
    background: var(--yt-rail-bg);
    border-radius: 4px;
    transition: height 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.yt-progress-container:hover .yt-progress-rail,
.yt-progress-container.is-scrubbing .yt-progress-rail {
    height: 7px;
}

/* 3-Second Progressive Chunk Buffer Bar */
.yt-buffer-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: var(--yt-buffer-color);
    border-radius: 4px;
    transition: width 0.25s linear;
    pointer-events: none;
    z-index: 1;
}

/* Red Played Progress Bar */
.yt-played-bar,
.cv-progress-fill.yt-played-bar,
.yt-progress-container .cv-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: var(--yt-red) !important;
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
}

/* Red Circular Scrubber Dot */
.yt-scrubber-dot {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 13px;
    height: 13px;
    background: var(--yt-red);
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    z-index: 3;
    pointer-events: none;
}

.yt-progress-container:hover .yt-scrubber-dot,
.yt-progress-container.is-scrubbing .yt-scrubber-dot {
    transform: translate(-50%, -50%) scale(1);
}

/* Hover Timestamp Tooltip */
.yt-hover-tooltip {
    position: absolute;
    bottom: 22px;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    white-space: nowrap;
    z-index: 25;
}

.yt-hover-tooltip.visible {
    opacity: 1;
    visibility: visible;
}

/* ----------------------------------------------------------------------------
 * 6. YOUTUBE CONTROLS OVERLAY
 * ---------------------------------------------------------------------------- */
.yt-controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 18px 14px 18px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.88) 100%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.yt-player-container:hover .yt-controls-bar,
.yt-player-container.show-controls .yt-controls-bar,
.yt-player-container.is-paused .yt-controls-bar {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.yt-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.yt-controls-left,
.yt-controls-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Interactive Control Buttons */
.yt-btn {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
    padding: 0;
}

.yt-btn:hover {
    background: var(--yt-control-hover);
    color: #FFFFFF;
    transform: scale(1.08);
}

.yt-btn:active {
    transform: scale(0.92);
}

/* Skip 10s Buttons */
.yt-btn-skip {
    font-size: 13px;
    position: relative;
}

.yt-skip-label {
    position: absolute;
    font-size: 9px;
    font-weight: 800;
    bottom: 4px;
}

/* Volume Wrap & Slider Expansion (YouTube Standard) */
.yt-volume-wrap {
    display: flex;
    align-items: center;
    position: relative;
}

.yt-volume-slider-box {
    width: 0;
    overflow: hidden;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.yt-volume-wrap:hover .yt-volume-slider-box,
.yt-volume-slider-box.active {
    width: 64px;
    margin-left: 4px;
    margin-right: 6px;
}

.yt-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.yt-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FFFFFF;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.yt-volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FFFFFF;
    cursor: pointer;
    border: none;
}

/* Time Display */
.yt-time-text {
    font-size: 12.5px;
    font-weight: 600;
    color: #E2E8F0;
    margin-left: 4px;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Quality HD Badge */
.yt-badge-hd {
    font-size: 10.5px;
    font-weight: 800;
    background: var(--yt-red);
    color: #FFFFFF;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Playback Speed Pill */
.yt-speed-pill {
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    padding: 4px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    border: none;
    transition: background 0.15s ease;
}

.yt-speed-pill:hover {
    background: rgba(255, 255, 255, 0.24);
}

/* Video Quality Settings Pill (Network-Wise Adaptive Engine) */
.yt-quality-pill {
    font-size: 11.5px;
    font-weight: 700;
    color: #FFFFFF;
    padding: 4px 9px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

.yt-quality-pill:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: scale(1.04);
}

.yt-quality-pill i {
    font-size: 11px;
    color: #818CF8;
}

/* ----------------------------------------------------------------------------
 * 7. YOUTUBE QUALITY POPUP MENU & NETWORK TELEMETRY HUD
 * ---------------------------------------------------------------------------- */
.yt-quality-menu {
    position: absolute;
    bottom: 56px;
    right: 14px;
    width: 250px;
    max-width: calc(100% - 24px);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 8px 4px 6px 4px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    z-index: 50;
    display: none;
    flex-direction: column;
    animation: ytMenuFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.yt-quality-menu.show {
    display: flex;
}

@keyframes ytMenuFadeIn {
    from { opacity: 0; transform: translateY(8px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.yt-quality-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 4px;
}

.yt-qmenu-title {
    font-size: 12px;
    font-weight: 800;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.yt-qmenu-title i {
    color: #818CF8;
}

.yt-qmenu-net-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.yt-qmenu-net-badge.warn {
    background: rgba(245, 158, 11, 0.2);
    color: #F59E0B;
    border-color: rgba(245, 158, 11, 0.35);
}

.yt-quality-options-list {
    display: flex;
    flex-direction: column;
    max-height: 260px;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin: 0 4px;
    padding: 3px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
    -webkit-overflow-scrolling: touch;
}

.yt-quality-options-list::-webkit-scrollbar {
    width: 4px;
}

.yt-quality-options-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}

.yt-quality-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.15s ease;
    font-size: 12.5px;
    color: #E2E8F0;
}

.yt-quality-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.yt-quality-item.active {
    background: rgba(79, 70, 229, 0.24);
    color: #FFFFFF;
    font-weight: 700;
}

.yt-qitem-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.yt-qitem-check {
    width: 14px;
    font-size: 11px;
    color: #818CF8;
    visibility: hidden;
    text-align: center;
}

.yt-quality-item.active .yt-qitem-check {
    visibility: visible;
}

.yt-qitem-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.yt-qitem-label {
    font-size: 12px;
    line-height: 1.3;
}

.yt-qitem-sub {
    font-size: 10px;
    color: #94A3B8;
    line-height: 1.2;
}

.yt-quality-item.active .yt-qitem-sub {
    color: #C7D2FE;
}

.yt-qitem-badge {
    font-size: 9.5px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    color: #CBD5E1;
    margin-left: 6px;
    flex-shrink: 0;
}

/* Quality Switch Floating Toast Notification */
.yt-quality-toast {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    padding: 6px 14px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    white-space: nowrap;
    max-width: 90%;
}

.yt-quality-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    visibility: visible;
}

.yt-quality-toast i {
    color: #818CF8;
    font-size: 13px;
}

/* ----------------------------------------------------------------------------
 * 8. EMBEDDED YOUTUBE IFRAME OVERLAY
 * ---------------------------------------------------------------------------- */
.yt-iframe-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: none;
}

.yt-iframe-wrap.active {
    display: block;
}

.yt-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ----------------------------------------------------------------------------
 * 9. CINEMA VIDEO MODAL SPECIFIC TWEAKS (classes.html)
 * ---------------------------------------------------------------------------- */
.video-modal-card {
    max-width: 920px;
    width: 94%;
}

.video-modal-card .yt-player-container {
    aspect-ratio: 16 / 9;
    max-height: 520px;
}

/* Responsive Scaling for Small Displays */
@media (max-width: 640px) {
    .yt-controls-bar {
        padding: 6px 10px 8px 10px;
        gap: 6px;
    }
    .yt-btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .yt-time-text {
        font-size: 11px;
        margin-left: 2px;
    }
    .yt-speed-pill,
    .yt-quality-pill {
        font-size: 10.5px;
        padding: 3px 6px;
        gap: 3px;
    }
    .yt-quality-menu {
        bottom: 50px;
        right: 8px;
        width: min(230px, calc(100% - 16px));
        max-width: calc(100% - 16px);
        padding: 6px 2px 4px 2px;
        border-radius: 10px;
        background: rgba(15, 23, 42, 0.82);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .yt-quality-options-list {
        max-height: min(210px, 42vh);
        background: rgba(15, 23, 42, 0.74);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 8px;
        margin: 0 2px;
    }
    .yt-quality-item {
        padding: 7px 10px;
        font-size: 12px;
    }
    .yt-qitem-label {
        font-size: 12px;
    }
    .yt-qitem-sub {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .yt-controls-left,
    .yt-controls-right {
        gap: 4px;
    }
    .yt-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .yt-btn-skip {
        display: none !important; /* Hide 10s skip buttons on tiny mobile to keep row uncluttered */
    }
    .yt-btn-pip {
        display: none !important;
    }
    .yt-badge-hd {
        display: none !important; /* Quality pill already displays resolution */
    }
    .yt-time-text {
        font-size: 10px;
    }
    .yt-quality-label {
        max-width: 75px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .yt-quality-menu {
        bottom: 46px;
        right: 6px;
        width: min(220px, calc(100% - 12px));
        max-width: calc(100% - 12px);
        padding: 5px 2px 4px 2px;
        border-radius: 10px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
        background: rgba(15, 23, 42, 0.84);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .yt-quality-options-list {
        max-height: min(185px, 36vh);
        background: rgba(15, 23, 42, 0.76);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 7px;
        margin: 0 2px;
        scrollbar-width: none;
    }
    .yt-quality-options-list::-webkit-scrollbar {
        display: none;
    }
    .yt-quality-item {
        padding: 6px 8px;
        font-size: 11.5px;
        min-height: 38px;
    }
    .yt-qitem-left {
        gap: 6px;
    }
    .yt-qitem-label {
        font-size: 11.5px;
    }
    .yt-qitem-sub {
        font-size: 9.5px;
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .yt-qitem-badge {
        font-size: 9px;
        padding: 1px 4px;
    }
    .yt-quality-toast {
        font-size: 10.5px;
        padding: 4px 10px;
        top: 8px;
    }
}

@media (max-width: 360px) {
    .yt-quality-menu {
        bottom: 42px;
        right: 4px;
        left: 4px;
        width: auto;
        max-width: none;
    }
    .yt-quality-options-list {
        max-height: min(160px, 32vh);
        background: rgba(15, 23, 42, 0.8);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .yt-qitem-sub {
        max-width: 100px;
    }
}
