/* Modern UI Design for Stream Listings */

/* CSS Variables for easy theming */
:root {
    --primary-color: #8B5CF6;
    --primary-dark: #6D28D9;
    --primary-light: #A78BFA;
    --secondary-color: #EC4899;
    --background-dark: #0F0F23;
    --background-darker: #050510;
    --background-card: #1A1A2E;
    --background-card-hover: #16213E;
    --text-primary: #FFFFFF;
    --text-secondary: #E5E7EB;
    --text-muted: #9CA3AF;
    --accent-green: #10B981;
    --accent-red: #EF4444;
    --accent-yellow: #F59E0B;
    --border-color: rgba(139, 92, 246, 0.2);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --gradient-card: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

* {
    box-sizing: border-box;
}

body {
    font-size: 16px;
    background: var(--background-darker);
    background-image: 
        radial-gradient(at 0% 0%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(236, 72, 153, 0.15) 0px, transparent 50%);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    line-height: 1.6;
}

a:link,
a:visited {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-light);
}


/* Main Content */
main {
    padding: 2rem 1rem;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

#suosikit {
    margin-bottom: 3rem;
}

/* Only show header when there are favorites */
#suosikit:not(:empty)::before {
    content: attr(data-header);
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    grid-column: 1 / -1;
    width: 100%;
}

/* Reduce margin when empty */
#suosikit:empty {
    margin-bottom: 0;
    padding: 0;
    min-height: 0;
}

/* Only show header when there are streams (mirrors #suosikit) */
#taulu:not(:empty)::before {
    content: attr(data-header);
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    grid-column: 1 / -1;
    width: 100%;
}

#taulu,
#suosikit {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 320px));
    gap: 0.75rem;
    justify-content: center;
    padding: 0.5rem 0;
    width: 100%;
}

/* Responsive grid for larger screens */
@media (min-width: 1400px) {
    #taulu,
    #suosikit {
        grid-template-columns: repeat(auto-fill, minmax(320px, 320px));
        gap: 1rem;
    }
}

#suosikit img {
    border: 3px solid var(--accent-green);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

/* Stream Cards */
.streamerinfo {
    margin: 0;
    background: var(--background-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
    width: 320px;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.streamerinfo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.streamerinfo:hover {
    z-index: 2;
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.streamerinfo:hover::before {
    opacity: 1;
}

.preview {
    vertical-align: middle;
    border-radius: 10px 10px 0 0;
    width: 100%;
    height: 180px;
    max-width: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border-bottom: none;
}

.streamerinfo:hover .preview {
    transform: scale(1.05);
}

.streamerinfo > span:first-child {
    position: relative;
    display: block;
}

.stream-info-container {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--background-card);
}

.stream-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.streamer-row {
    min-height: 32px;
}

.stats-row {
    min-height: 26px;
}


.streamer,
.game {
    position: static;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
}

.streamer {
    color: var(--text-primary);
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
}

.streamerLink {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.streamername {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.viewers {
    position: absolute;
    bottom: 8px;
    right: 8px;
    /* Lighter red (#F87171) clears WCAG AA on the red-tinted pill; --accent-red was ~3.5:1 */
    color: #F87171;
    background: rgba(239, 68, 68, 0.2);
    backdrop-filter: blur(8px);
    padding: 3px 8px;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 10;
}

.viewers::before {
    content: "👁";
    font-size: 11px;
}

.uptime {
    position: absolute;
    top: 8px;
    right: 8px;
    color: var(--accent-yellow);
    background: rgba(245, 158, 11, 0.2);
    backdrop-filter: blur(8px);
    padding: 3px 8px;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-size: 11px;
    white-space: nowrap;
    font-weight: 600;
    flex-shrink: 0;
    z-index: 10;
}

.game {
    text-align: left;
    width: auto;
    color: var(--text-secondary);
    background: rgba(15, 15, 35, 0.5);
    backdrop-filter: blur(8px);
    padding: 3px 10px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    font-weight: 600;
}

.game > span:first-child:not(.gamedel):not(.gamefav) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    margin-right: 4px;
    max-width: 100%;
}

.gamedel,
.gamefav,
.streamerdel,
.streamerfav {
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    border-radius: 5px;
    margin-left: 6px;
    flex-shrink: 0;
    min-width: 24px;
    height: 24px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gamefav,
.streamerfav {
    color: var(--accent-yellow);
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
}

/* Visible keyboard focus for the role="button" card controls */
.gamedel:focus-visible,
.gamefav:focus-visible,
.streamerdel:focus-visible,
.streamerfav:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

.gamedel,
.streamerdel {
    color: var(--accent-red);
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

.gamedel:hover,
.streamerdel:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.4);
    transform: scale(1.05);
}

.gamefav:hover,
.streamerfav:hover {
    background: rgba(245, 158, 11, 0.25);
    border-color: rgba(245, 158, 11, 0.4);
    transform: scale(1.05);
}

/* Favorited state - filled star */
.gamefav.favorited,
.streamerfav.favorited {
    color: var(--accent-yellow);
    background: rgba(245, 158, 11, 0.25);
    border-color: rgba(245, 158, 11, 0.4);
}

.gamefav.favorited:hover,
.streamerfav.favorited:hover {
    background: rgba(245, 158, 11, 0.35);
    border-color: var(--accent-yellow);
    transform: scale(1.05);
}

/* Blocked Items Manager */
#blocked-items-manager {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#blocked-items-toggle {
    padding: 0.75rem 1.25rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    flex-shrink: 0;
}

#blocked-items-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

#blocked-items-toggle #blocked-items-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    min-width: 24px;
    text-align: center;
}

.blocked-items-collapsed #blocked-items-content {
    display: none;
}

.blocked-items-expanded #blocked-items-content {
    display: block;
    margin-top: 1rem;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    max-height: 70vh;
    overflow-y: auto;
    width: 100%;
    min-width: 300px;
}

.blocked-section {
    margin-bottom: 1.5rem;
}

.blocked-section:last-child {
    margin-bottom: 0;
}

.blocked-section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blocked-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.blocked-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.blocked-item:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--primary-color);
}

.blocked-item-name {
    flex: 1;
    color: var(--text-primary);
    font-size: 0.9rem;
    word-break: break-word;
}

.blocked-item-remove {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.blocked-item-remove:hover {
    background: var(--accent-red);
    color: var(--text-primary);
    transform: scale(1.1);
}

.blocked-empty {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
    padding: 1rem;
}



/* Footer */
#footer {
    display: none; /* Footer is now empty, hide it */
}

/* Startup Screen */
#startup {
    display: block;
    background: var(--background-darker);
    background-image: var(--gradient-primary);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#startup_text {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#startup_header {
    font-size: 4rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #E5E7EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#startup_desc {
    font-size: 1.5rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Utility Classes */
.hidden {
    display: none;
}

.hide {
    display: none;
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Filter/List Items */
.specified_game,
.filtered_game,
.filtered_stream,
.favourite_stream,
.favourite_game {
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    display: inline-block;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.favourite_stream,
.favourite_game {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.specified_game:hover,
.filtered_game:hover,
.filtered_stream:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    header {
        padding: 1rem;
    }


    #taulu,
    #suosikit {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }

    .streamerinfo {
        width: 100%;
        max-width: 100%;
    }

    .preview {
        width: 100%;
        max-width: 100%;
    }

    #blocked-items-manager {
        top: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }

    #blocked-items-toggle {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }

    .blocked-items-expanded #blocked-items-content {
        max-height: 60vh;
        padding: 1rem;
        min-width: auto;
        width: 100%;
    }


    #startup_header {
        font-size: 2.5rem;
    }

    #startup_desc {
        font-size: 1.2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--primary-color);
    color: var(--text-primary);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--text-primary);
}

/* Site Header */
#site-header {
    background: var(--background-card);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
    text-align: center;
}

.header-content h1 {
    margin: 0 0 4px 0;
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
}

/* Filter Bar */
.filter-bar {
    background: var(--background-card);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(26, 26, 46, 0.95);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-group:first-child {
    flex: 1;
    justify-content: center;
    max-width: 500px;
}

/* Search Container */
.search-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 16px;
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    line-height: 1;
}

.search-clear:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Filter Group with relative positioning */
.filter-group:last-child {
    position: relative;
}

/* Filter Toggle */
.filter-toggle {
    padding: 10px 16px;
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-toggle:hover {
    background: var(--background-card-hover);
    border-color: var(--primary-color);
}

.filter-count-badge {
    /* --primary-dark gives white text ~7:1 vs ~4.2:1 on --primary-color (WCAG AA) */
    background: var(--primary-dark);
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

/* Filter Panel */
.filter-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    max-height: 80vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    min-width: 400px;
    z-index: 1000;
}

.filter-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Game Filter */
.game-filter {
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
    padding: 8px;
    min-height: 120px;
    max-height: 200px;
    overflow-y: auto;
}

.game-filter option {
    padding: 6px 8px;
    background: var(--background-dark);
}

.game-filter option:checked {
    background: var(--primary-dark);
    color: white;
}

.filter-actions {
    display: flex;
    gap: 8px;
}

.filter-action-btn {
    flex: 1;
    padding: 6px 12px;
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-action-btn:hover {
    background: var(--background-card-hover);
    border-color: var(--primary-color);
}

/* Sort Select */
.sort-select {
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Viewer Range */
.viewer-range-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.viewer-input {
    flex: 1;
    padding: 8px 12px;
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.2s ease;
}

.viewer-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.range-separator {
    color: var(--text-muted);
    font-weight: 600;
}

/* Quick Filters */
.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-filter-btn {
    padding: 8px 16px;
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.quick-filter-btn:hover {
    background: var(--background-card-hover);
    border-color: var(--primary-color);
}

.quick-filter-btn.active {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

/* Clear All Button */
.clear-all-btn {
    width: 100%;
    padding: 10px 16px;
    /* #DC2626 gives white text ~4.8:1 vs ~3.8:1 on --accent-red (WCAG AA) */
    background: #DC2626;
    border: 1px solid #DC2626;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-all-btn:hover {
    background: #B91C1C;
    border-color: #B91C1C;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-bar {
        padding: 12px;
    }
    
    .filter-panel {
        grid-template-columns: 1fr;
        max-height: 70vh;
        /* Drop the 400px desktop min-width so the right-anchored panel doesn't
           run off the left edge on phones narrower than 400px. */
        min-width: 0;
        max-width: calc(100vw - 24px);
    }
    
    .search-container {
        max-width: 100%;
    }
    
    .quick-filters {
        flex-direction: column;
    }
    
    .quick-filter-btn {
        width: 100%;
    }
}

/* Respect users who ask for reduced motion: drop the startup entrance animation,
   hover/transition motion and smooth scrolling. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
