/* =========================================================
   AI ANCHOR NEWS READER v6
   COMPLETE PROFESSIONAL RESPONSIVE CSS
   ========================================================= */

.aianr6-inline {
    --a6-primary: #2563eb;
    --a6-primary-dark: #1d4ed8;
    --a6-secondary: #7c3aed;
    --a6-accent: #06b6d4;
    --a6-danger: #ef4444;

    --a6-text: #0f172a;
    --a6-muted: #64748b;
    --a6-border: #e2e8f0;
    --a6-bg: #ffffff;
    --a6-soft: #f8fafc;

    width: 100%;
    max-width: 100%;
    display: block;
    position: relative;
    clear: both;
    float: none;

    margin: 0 0 26px;
    padding: 0;

    box-sizing: border-box;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.4;

    isolation: isolate;

    overflow: visible;
}


/* =========================================================
   GLOBAL BOX SIZING
   ========================================================= */

.aianr6-inline *,
.aianr6-inline *::before,
.aianr6-inline *::after {
    box-sizing: border-box;
}


/* =========================================================
   TOP CONTROL BAR
   AI Anchor | Restart | Play/Pause | Stop | Arrow
   ========================================================= */

.aianr6-topbar {
    width: 100%;
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 8px 10px;
    margin: 0;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #550606,
            #f8312f 55%,
            #bb1919
        );

    color: #fff;

    box-shadow:
        0 8px 25px rgba(15,23,42,.16),
        0 2px 5px rgba(15,23,42,.08);

    box-sizing: border-box;

    overflow: hidden;
}


/* =========================================================
   BRAND
   ========================================================= */

.aianr6-brand {
    min-width: 0;
    flex: 1 1 auto;

    display: flex;
    align-items: center;

    gap: 9px;
}


.aianr6-brand-text {
    min-width: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 15px;
    font-weight: 800;

    line-height: 1.2;
}


.aianr6-brand .aianr6-avatar {
    width: 39px;
    min-width: 39px;
    height: 38px;

    flex: 0 0 39px;

    transform: scale(.72);
    transform-origin: center;

    margin: 0 -3px;
}


/* =========================================================
   TOP CONTROLS
   ========================================================= */

.aianr6-top-controls {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 6px;

    min-width: 0;
}


/* =========================================================
   TOP BUTTONS
   ========================================================= */

.aianr6-top-btn,
.aianr6-toggle {
    appearance: none;
    -webkit-appearance: none;

    height: 38px;
    min-width: 38px;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    padding: 0 10px;

    border: 1px solid rgba(255,255,255,.18);
    border-radius: 9px;

    background: rgba(255,255,255,.10);

    color: #fff;

    font-family: inherit;

    font-size: 14px;
    font-weight: 800;

    line-height: 1;

    cursor: pointer;

    white-space: nowrap;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


.aianr6-top-btn:hover,
.aianr6-toggle:hover {
    background: rgba(255,255,255,.20);
    transform: translateY(-1px);
}


.aianr6-top-btn:active,
.aianr6-toggle:active {
    transform: scale(.95);
}


.aianr6-top-btn:focus-visible,
.aianr6-toggle:focus-visible {
    outline: 3px solid rgba(255,255,255,.35);
    outline-offset: 2px;
}


/* =========================================================
   PLAYER TOGGLE
   PROPER CHEVRON ICON
   ========================================================= */

.aianr6-toggle {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 38px !important;

    font-size: 0 !important;
    line-height: 1 !important;
}


/* Font Awesome Chevron */

.aianr6-toggle i {
    display: block !important;

    width: auto;
    height: auto;

    margin: 0 !important;
    padding: 0 !important;

    font-family:
        "Font Awesome 6 Free",
        "Font Awesome 5 Free" !important;

    font-weight: 900 !important;

    font-size: 14px !important;
    line-height: 1 !important;

    color: #ffffff !important;

    pointer-events: none;

    transition:
        transform .2s ease,
        opacity .2s ease;
}


.aianr6-toggle:hover i {
    transform: translateY(-1px);
}


.aianr6-toggle:active i {
    transform: scale(.85);
}


/* =========================================================
   OLD LARGE BUTTON HIDDEN
   ========================================================= */

.aianr6-button {
    display: none !important;
}


/* =========================================================
   PLAYER CLOSED BY DEFAULT
   ONLY ARROW OPENS IT
   ========================================================= */

.aianr6-player[hidden] {
    display: none !important;
}


/* =========================================================
   PLAYER
   ========================================================= */

.aianr6-player {
    position: relative;

    width: 100%;
    max-width: 100%;

    margin: 10px 0 0;
    padding: 0;

    background: var(--a6-bg);

    color: var(--a6-text);

    border: 1px solid var(--a6-border);

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 18px 50px rgba(15,23,42,.12),
        0 3px 12px rgba(15,23,42,.06);

    transform-origin: top center;

    animation:
        a6PlayerOpen .28s ease both;
}


@keyframes a6PlayerOpen {

    from {
        opacity: 0;
        transform: translateY(-5px) scale(.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =========================================================
   PLAYER HEADER
   ========================================================= */

.aianr6-player header {
    position: relative;

    min-height: 66px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 11px 14px;

    background:
        linear-gradient(
            135deg,
            #550606,
            #f8312f 55%,
            #bb1919
        );

    color: #ffffff;
}


/* =========================================================
   PLAYER FACE
   ========================================================= */

.aianr6-face {
    position: relative;

    width: 42px;
    height: 38px;

    min-width: 42px;

    flex: 0 0 42px;
}


.aianr6-face i {
    position: absolute;

    top: 3px;
    left: 10px;

    width: 22px;
    height: 22px;

    background:
        linear-gradient(
            145deg,
            #f3c39f,
            #e8a87f
        );

    border-radius: 50%;

    z-index: 2;
}


.aianr6-face b {
    position: absolute;

    bottom: 0;
    left: 5px;

    width: 32px;
    height: 16px;

    background: #2563eb;

    border-radius:
        15px 15px 4px 4px;
}


/* =========================================================
   PLAYER HEADER TEXT
   ========================================================= */

.aianr6-player header > div:nth-child(2) {
    min-width: 0;

    flex: 1 1 auto;

    overflow: hidden;
}


.aianr6-player header strong {
    display: block;

    margin: 0;

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    line-height: 1.3;

    overflow-wrap: anywhere;
}


.aianr6-player header small {
    display: block;

    margin-top: 2px;

    color: rgba(255,255,255,.68);

    font-size: 10px;

    line-height: 1.3;

    overflow-wrap: anywhere;
}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.aianr6-player header button.aianr6-close {
    appearance: none;
    -webkit-appearance: none;

    width: 34px;
    height: 34px;

    min-width: 34px;

    display: grid;
    place-items: center;

    flex: 0 0 34px;

    padding: 0;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 9px;

    background: rgba(255,255,255,.10);

    color: #ffffff;

    font-size: 21px;
    font-weight: 400;

    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}


.aianr6-player header button.aianr6-close:hover {
    background: rgba(255,255,255,.20);
    transform: rotate(5deg);
}


/* =========================================================
   NOW READING
   ========================================================= */

.aianr6-now {
    padding: 17px 17px 8px;
}


.aianr6-now label {
    display: block;

    margin: 0 0 5px;

    color: var(--a6-primary);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.3px;

    line-height: 1;
}


.aianr6-now h3 {
    margin: 0;

    color: var(--a6-text);

    font-size: clamp(14px, 1.7vw, 17px);
    font-weight: 750;

    line-height: 1.45;

    letter-spacing: -.15px;

    overflow-wrap: anywhere;
    word-break: break-word;
}


/* =========================================================
   WAVEFORM
   ========================================================= */

.aianr6-wave {
    width: 100%;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 4px;

    padding: 0 14px;

    overflow: hidden;
}


.aianr6-wave i {
    display: block;

    width: 4px;
    height: 5px;

    flex: 0 0 4px;

    border-radius: 20px;

    background:
        linear-gradient(
            to top,
            #2563eb,
            #7c3aed
        );

    opacity: .38;

    transition: height .2s ease;
}


.aianr6-wave.on i {
    opacity: 1;

    animation:
        a6Wave .55s ease-in-out infinite alternate;
}


.aianr6-wave.on i:nth-child(1) {
    animation-delay: -.15s;
}

.aianr6-wave.on i:nth-child(2) {
    animation-delay: -.35s;
}

.aianr6-wave.on i:nth-child(3) {
    animation-delay: -.08s;
}

.aianr6-wave.on i:nth-child(4) {
    animation-delay: -.25s;
}

.aianr6-wave.on i:nth-child(5) {
    animation-delay: -.4s;
}

.aianr6-wave.on i:nth-child(6) {
    animation-delay: -.18s;
}

.aianr6-wave.on i:nth-child(7) {
    animation-delay: -.32s;
}

.aianr6-wave.on i:nth-child(8) {
    animation-delay: -.12s;
}

.aianr6-wave.on i:nth-child(9) {
    animation-delay: -.27s;
}


@keyframes a6Wave {

    0% {
        height: 5px;
    }

    100% {
        height: 28px;
    }
}


/* =========================================================
   PROGRESS
   ========================================================= */

.aianr6-progress {
    position: relative;

    width: calc(100% - 34px);
    height: 6px;

    margin: 2px 17px 0;

    background: #eef2f7;

    border-radius: 20px;

    overflow: hidden;
}


.aianr6-progress span {
    display: block;

    width: 0;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #7c3aed,
            #06b6d4
        );

    transition: width .25s linear;
}


/* =========================================================
   STATUS
   ========================================================= */

.aianr6-meta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: 7px 17px 3px;

    color: var(--a6-muted);

    font-size: 9px;
    font-weight: 600;
}


.aianr6-status {
    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.aianr6-percent {
    flex: 0 0 auto;

    font-variant-numeric: tabular-nums;
}


/* =========================================================
   PLAYER CONTROLS
   ========================================================= */

.aianr6-controls {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    padding: 8px 14px 12px;

    overflow: hidden;
}


.aianr6-controls button {
    appearance: none;
    -webkit-appearance: none;

    width: 40px;
    height: 40px;

    min-width: 40px;

    display: grid;
    place-items: center;

    flex: 0 0 40px;

    padding: 0;

    border: 1px solid #e2e8f0;

    border-radius: 50%;

    background: #f8fafc;

    color: #1e3a8a;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.aianr6-controls button:hover {
    transform: translateY(-2px);

    background: #eef2ff;

    box-shadow:
        0 5px 12px rgba(37,99,235,.12);
}


.aianr6-controls button:active {
    transform: scale(.95);
}


.aianr6-controls button:focus-visible {
    outline: 3px solid rgba(37,99,235,.22);
    outline-offset: 2px;
}


/* =========================================================
   MAIN PLAY BUTTON
   ========================================================= */

.aianr6-controls .main {
    width: 46px;
    height: 46px;

    min-width: 46px;

    flex: 0 0 46px;

    background: #bb1919;

    color: #fff;

    font-size: 17px;
}


.aianr6-controls .main:hover {
    background:
        linear-gradient(
            135deg,
            #1d4ed8,
            #4338ca
        );

    box-shadow:
        0 10px 24px rgba(37,99,235,.30);
}


/* =========================================================
   OPTIONS
   VOICE = 75%
   SPEED = 25%
   ========================================================= */

.aianr6-options {
    width: 100%;

    display: flex;

    flex-wrap: wrap;

    margin: 0;

    padding: 0 17px 14px;

    box-sizing: border-box;
}


.aianr6-options .col-md-9 {
    width: 75%;

    flex: 0 0 75%;

    padding: 0 5px 0 0;
}


.aianr6-options .col-md-3 {
    width: 25%;

    flex: 0 0 25%;

    padding: 0 0 0 5px;
}


.aianr6-options label {
    display: block;

    width: 100%;

    min-width: 0;

    color: var(--a6-muted);

    font-size: 9px;
    font-weight: 800;

    line-height: 1.3;
}


.aianr6-options select {
    appearance: none;
    -webkit-appearance: none;

    width: 100%;
    max-width: 100%;

    height: 36px;

    display: block;

    margin: 5px 0 0;

    padding: 0 28px 0 10px;

    border: 1px solid #dbe2ea;

    border-radius: 9px;

    background:
        linear-gradient(
            45deg,
            transparent 50%,
            #64748b 50%
        ) calc(100% - 14px) 15px / 5px 5px no-repeat,

        linear-gradient(
            135deg,
            #64748b 50%,
            transparent 50%
        ) calc(100% - 10px) 15px / 5px 5px no-repeat,

        #ffffff;

    color: #334155;

    font-family: inherit;

    font-size: 11px;
    font-weight: 600;

    cursor: pointer;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.aianr6-options select:hover {
    border-color: #94a3b8;
}


.aianr6-options select:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37,99,235,.10);
}


/* =========================================================
   FOOTER
   ========================================================= */

.aianr6-player footer {
    min-height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 8px 14px;

    border-top: 1px solid #eef2f7;

    background: #f8fafc;

    color: #64748b;

    font-size: 9px;
    font-weight: 600;

    text-align: center;

    line-height: 1.4;

    overflow-wrap: anywhere;
}


/* =========================================================
   SPEAKING AVATAR
   ========================================================= */

.aianr6-inline.speaking .aianr6-avatar em {
    animation:
        a6Mouth .18s infinite alternate;
}


@keyframes a6Mouth {

    from {
        height: 3px;
        width: 10px;
    }

    to {
        height: 7px;
        width: 13px;
    }
}


/* =========================================================
   SPEAKING BUTTON
   ========================================================= */

.aianr6-inline.speaking .aianr6-button {
    box-shadow:
        0 12px 32px rgba(37,99,235,.25),
        0 3px 10px rgba(15,23,42,.12);
}


/* =========================================================
   RED / BREAKING NEWS
   ========================================================= */

.aianr6-red header {
    background:
        linear-gradient(
            135deg,
            #450a0a,
            #991b1b,
            #dc2626
        ) !important;
}


.aianr6-red .aianr6-now label {
    color: #dc2626;
}


.aianr6-red .aianr6-progress span {
    background:
        linear-gradient(
            90deg,
            #dc2626,
            #ef4444,
            #f97316
        );
}


.aianr6-red .aianr6-controls .main {
    background:
        linear-gradient(
            135deg,
            #dc2626,
            #b91c1c
        );
}


/* =========================================================
   DARK THEME
   ========================================================= */

.aianr6-dark {
    background: #0f172a;

    border-color: #1e293b;

    color: #f8fafc;
}


.aianr6-dark header {
    background:
        linear-gradient(
            135deg,
            #020617,
            #111827
        ) !important;
}


.aianr6-dark .aianr6-now h3 {
    color: #f8fafc;
}


.aianr6-dark .aianr6-progress {
    background: #1e293b;
}


.aianr6-dark .aianr6-controls button {
    background: #1e293b;

    border-color: #334155;

    color: #dbeafe;
}


.aianr6-dark .aianr6-options label {
    color: #94a3b8;
}


.aianr6-dark .aianr6-options select {
    background-color: #1e293b;

    border-color: #334155;

    color: #f8fafc;
}


.aianr6-dark footer {
    background: #020617;

    border-color: #1e293b;

    color: #94a3b8;
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1200px) {

    .aianr6-inline {
        margin-bottom: 28px;
    }

    .aianr6-player header {
        padding-left: 16px;
        padding-right: 16px;
    }
}


/* =========================================================
   DESKTOP / LAPTOP
   ========================================================= */

@media (max-width: 1199px) {

    .aianr6-copy strong {
        font-size: 15px;
    }

    .aianr6-copy small {
        font-size: 10px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .aianr6-inline {
        margin-bottom: 24px;
    }

    .aianr6-player {
        border-radius: 15px;
    }

    .aianr6-options {
        padding-left: 14px;
        padding-right: 14px;
    }

    .aianr6-options .col-md-9 {
        width: 75%;
        flex-basis: 75%;
        padding-right: 4px;
    }

    .aianr6-options .col-md-3 {
        width: 25%;
        flex-basis: 25%;
        padding-left: 4px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .aianr6-inline {
        margin-bottom: 21px;
    }

    .aianr6-player {
        margin-top: 8px;
        border-radius: 14px;
    }

    .aianr6-player header {
        min-height: 60px;

        padding: 10px 11px;

        gap: 9px;
    }

    .aianr6-face {
        width: 38px;
        min-width: 38px;
        flex-basis: 38px;
    }

    .aianr6-player header strong {
        font-size: 12px;
    }

    .aianr6-player header small {
        font-size: 9px;
    }

    .aianr6-player header button.aianr6-close {
        width: 32px;
        height: 32px;

        min-width: 32px;
        flex-basis: 32px;
    }

    .aianr6-now {
        padding: 14px 13px 6px;
    }

    .aianr6-now h3 {
        font-size: 13px;
        line-height: 1.4;
    }

    .aianr6-wave {
        height: 34px;
        gap: 3px;

        padding-left: 10px;
        padding-right: 10px;
    }

    .aianr6-wave i {
        width: 3px;
        flex-basis: 3px;
    }

    .aianr6-progress {
        width: calc(100% - 26px);

        margin-left: 13px;
        margin-right: 13px;
    }

    .aianr6-meta {
        padding-left: 13px;
        padding-right: 13px;
    }

    .aianr6-controls {
        gap: 10px;

        padding:
            7px
            10px
            11px;
    }

    .aianr6-controls button {
        width: 38px;
        height: 38px;

        min-width: 38px;
        flex-basis: 38px;
    }

    .aianr6-controls .main {
        width: 46px;
        height: 46px;

        min-width: 46px;
        flex-basis: 46px;

        font-size: 16px;
    }

    /* VOICE 75% / SPEED 25% */

    .aianr6-options {
        padding:
            0
            13px
            12px;
    }

    .aianr6-options .col-md-9 {
        width: 75%;
        flex-basis: 75%;
        padding-right: 4px;
    }

    .aianr6-options .col-md-3 {
        width: 25%;
        flex-basis: 25%;
        padding-left: 4px;
    }

    .aianr6-options select {
        height: 34px;

        font-size: 10px;

        padding-left: 9px;
        padding-right: 23px;
    }

    .aianr6-player footer {
        font-size: 8px;

        padding:
            7px
            10px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .aianr6-inline {
        margin-bottom: 20px;
    }

    .aianr6-player header {
        min-height: 58px;

        padding: 9px 10px;
    }

    .aianr6-now {
        padding:
            13px
            11px
            6px;
    }

    .aianr6-now h3 {
        font-size: 12.5px;
    }

    .aianr6-progress {
        width: calc(100% - 22px);

        margin-left: 11px;
        margin-right: 11px;
    }

    .aianr6-meta {
        padding-left: 11px;
        padding-right: 11px;
    }

    .aianr6-options {
        padding-left: 11px;
        padding-right: 11px;
    }

    .aianr6-options select {
        height: 33px;
        font-size: 10px;
    }
}


/* =========================================================
   400px AND BELOW
   ========================================================= */

@media (max-width: 400px) {

    .aianr6-inline {
        margin-bottom: 18px;
    }

    .aianr6-player {
        border-radius: 12px;
    }

    .aianr6-player header {
        min-height: 56px;

        padding: 8px 9px;

        gap: 7px;
    }

    .aianr6-face {
        width: 35px;
        min-width: 35px;
        flex-basis: 35px;
    }

    .aianr6-player header strong {
        font-size: 11px;
    }

    .aianr6-player header small {
        font-size: 8px;
    }

    .aianr6-player header button.aianr6-close {
        width: 30px;
        height: 30px;

        min-width: 30px;
        flex-basis: 30px;

        font-size: 18px;
    }

    .aianr6-now {
        padding:
            12px
            10px
            5px;
    }

    .aianr6-now label {
        font-size: 8px;
    }

    .aianr6-now h3 {
        font-size: 12px;
        line-height: 1.35;
    }

    .aianr6-wave {
        height: 32px;

        gap: 2px;

        padding-left: 8px;
        padding-right: 8px;
    }

    .aianr6-wave i {
        width: 3px;
        flex-basis: 3px;
    }

    .aianr6-progress {
        width: calc(100% - 20px);

        margin-left: 10px;
        margin-right: 10px;
    }

    .aianr6-meta {
        padding:
            6px
            10px
            3px;

        font-size: 8px;
    }

    .aianr6-controls {
        gap: 8px;

        padding:
            6px
            8px
            10px;
    }

    .aianr6-controls button {
        width: 36px;
        height: 36px;

        min-width: 36px;
        flex-basis: 36px;
    }

    .aianr6-controls .main {
        width: 44px;
        height: 44px;

        min-width: 44px;
        flex-basis: 44px;
    }

    .aianr6-options {
        padding:
            0
            10px
            11px;
    }

    .aianr6-options .col-md-9 {
        width: 75%;
        flex-basis: 75%;
        padding-right: 3px;
    }

    .aianr6-options .col-md-3 {
        width: 25%;
        flex-basis: 25%;
        padding-left: 3px;
    }

    .aianr6-options label {
        font-size: 8px;
    }

    .aianr6-options select {
        height: 32px;

        margin-top: 4px;

        padding-left: 8px;
        padding-right: 20px;

        font-size: 9px;

        border-radius: 8px;
    }

    .aianr6-player footer {
        min-height: 29px;

        font-size: 8px;

        padding:
            6px
            8px;
    }
}


/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 340px) {

    .aianr6-avatar {
        display: none;
    }

    .aianr6-player header {
        padding: 8px;
    }

    .aianr6-face {
        width: 32px;
        min-width: 32px;
        flex-basis: 32px;

        transform: scale(.9);
        transform-origin: center left;
    }

    .aianr6-player header strong {
        font-size: 10.5px;
    }

    .aianr6-player header small {
        display: none;
    }

    .aianr6-player header button.aianr6-close {
        width: 28px;
        height: 28px;

        min-width: 28px;
        flex-basis: 28px;

        font-size: 17px;
    }

    .aianr6-controls {
        gap: 6px;

        padding-left: 6px;
        padding-right: 6px;
    }

    .aianr6-controls button {
        width: 34px;
        height: 34px;

        min-width: 34px;
        flex-basis: 34px;
    }

    .aianr6-controls .main {
        width: 41px;
        height: 41px;

        min-width: 41px;
        flex-basis: 41px;
    }

    .aianr6-options {
        padding-left: 8px;
        padding-right: 8px;
    }

    .aianr6-options .col-md-9 {
        padding-right: 2px;
    }

    .aianr6-options .col-md-3 {
        padding-left: 2px;
    }

    .aianr6-options select {
        font-size: 8.5px;

        padding-left: 6px;
        padding-right: 17px;
    }
}


/* =========================================================
   ULTRA SMALL DEVICES
   BELOW 320px
   ========================================================= */

@media (max-width: 319px) {

    .aianr6-player header {
        padding: 7px;
    }

    .aianr6-controls {
        gap: 4px;
    }

    .aianr6-controls button {
        width: 32px;
        height: 32px;

        min-width: 32px;
        flex-basis: 32px;
    }

    .aianr6-controls .main {
        width: 39px;
        height: 39px;

        min-width: 39px;
        flex-basis: 39px;
    }

    .aianr6-options {
        padding-left: 7px;
        padding-right: 7px;
    }
}


/* =========================================================
   WORDPRESS THEME COMPATIBILITY
   ========================================================= */

.entry-content .aianr6-inline,
.post-content .aianr6-inline,
.article-content .aianr6-inline,
.single-post .aianr6-inline {
    width: 100%;
    max-width: 100%;

    float: none;

    clear: both;
}


.aianr6-inline {
    grid-column: 1 / -1;
}


/* =========================================================
   FORM RESET / THEME PROTECTION
   ========================================================= */

.aianr6-inline button,
.aianr6-inline select {
    font-family: inherit;
}


.aianr6-inline button {
    text-transform: none;

    letter-spacing: normal;

    line-height: normal;
}


.aianr6-inline button::before,
.aianr6-inline button::after {
    pointer-events: none;
}


.aianr6-inline img,
.aianr6-inline svg {
    max-width: 100%;
}


.aianr6-inline p {
    margin: 0;
}


/* =========================================================
   PREVENT THEME CSS FROM BREAKING COMPONENT
   ========================================================= */

.aianr6-inline input,
.aianr6-inline select,
.aianr6-inline button {
    max-width: 100%;
}


.aianr6-inline select {
    min-width: 0;
}


.aianr6-inline button {
    box-sizing: border-box;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .aianr6-inline *,
    .aianr6-inline *::before,
    .aianr6-inline *::after {
        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;

        scroll-behavior: auto !important;
    }

    .aianr6-button:hover {
        transform: none;
    }
}


/* =========================================================
   FINAL SAFETY
   ========================================================= */

.aianr6-inline[hidden],
.aianr6-player[hidden] {
    display: none !important;
}


/* =========================================================
   BOX SIZING SAFETY
   ========================================================= */

.aianr6-inline,
.aianr6-inline *,
.aianr6-inline *::before,
.aianr6-inline *::after {
    box-sizing: border-box;
}


/* =========================================================
   PREVENT HORIZONTAL OVERFLOW
   ========================================================= */

.aianr6-inline,
.aianr6-player,
.aianr6-button,
.aianr6-options {
    max-width: 100%;
}


/* =========================================================
   FINAL MOBILE WIDTH PROTECTION
   ========================================================= */

@media (max-width: 767px) {

    .aianr6-inline,
    .aianr6-player,
    .aianr6-button,
    .aianr6-options {
        width: 100%;
    }

    .aianr6-options .col-md-9,
    .aianr6-options .col-md-3 {
        min-width: 0;
    }
}


/* =========================================================
   TOP BAR RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {

    .aianr6-topbar {
        min-height: 54px;

        gap: 6px;

        padding: 7px 8px;

        border-radius: 12px;
    }

    .aianr6-brand {
        gap: 4px;
    }

    .aianr6-brand .aianr6-avatar {
        width: 32px;
        min-width: 32px;
        flex-basis: 32px;

        margin-left: -3px;
        margin-right: -4px;
    }

    .aianr6-brand-text {
        font-size: 13px;
    }

    .aianr6-top-controls {
        gap: 4px;
    }

    .aianr6-top-btn,
    .aianr6-toggle {
        width: 35px !important;
        min-width: 35px !important;
        height: 35px !important;

        padding: 0 !important;

        flex-basis: 35px !important;

        border-radius: 8px;

        font-size: 15px !important;
    }

    /* Hide Play / Stop / Restart text on mobile */

    .aianr6-top-btn span {
        display: none !important;
    }

    /* Chevron */

    .aianr6-toggle i {
        font-size: 13px !important;
    }
}


/* =========================================================
   SMALL MOBILE TOP BAR
   ========================================================= */

@media (max-width: 380px) {

    .aianr6-topbar {
        padding: 6px;
        gap: 3px;
    }

    .aianr6-brand-text {
        font-size: 12px;
    }

    .aianr6-top-controls {
        gap: 3px;
    }

    .aianr6-top-btn,
    .aianr6-toggle {
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;

        flex-basis: 32px !important;
    }

    .aianr6-toggle i {
        font-size: 12px !important;
    }
}


/* =========================================================
   FINAL CHEVRON SAFETY OVERRIDE
   ========================================================= */

/*
 * This intentionally comes LAST so WordPress themes,
 * Bootstrap and other plugin CSS cannot turn the
 * chevron back into the old text ˅ / ˄.
 */

.aianr6-toggle {
    font-size: 0 !important;
    text-indent: 0 !important;
}


.aianr6-toggle i,
.aianr6-toggle i::before {
    font-family:
        "Font Awesome 6 Free",
        "Font Awesome 5 Free" !important;

    font-weight: 900 !important;

    color: #ffffff !important;
}


/* Closed */

.aianr6-toggle[aria-expanded="false"] i {
    transform: translateY(0);
}


/* Open */

.aianr6-toggle[aria-expanded="true"] i {
    transform: translateY(0);
}


/* Mobile final */

@media (max-width: 767px) {

    .aianr6-toggle {
        width: 35px !important;
        min-width: 35px !important;
        height: 35px !important;
        flex-basis: 35px !important;
    }

    .aianr6-toggle i {
        font-size: 13px !important;
    }
}


@media (max-width: 380px) {

    .aianr6-toggle {
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
        flex-basis: 32px !important;
    }

    .aianr6-toggle i {
        font-size: 12px !important;
    }
}