/* /domains/audio.icejockey.app/public_html/assets/app.css */

/* =========================
   Theme / variables
   ========================= */
:root {
    --bg: #0b1220;
    --card: #0f172a;
    --card2: #0b1220;
    --border: #1f2a44;
    --border2: #969ea9;
    --text: #e5e7eb;
    --muted: #94a3b8;
    --accent: #2563eb;
    --accent2: #60a5fa;

    --ring: rgba(96, 165, 250, .55);
    --ring-contrast-bg: rgba(11, 18, 32, .8);

    /* Layout */
    --max-header: 1100px;
    --max-content: 980px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* =========================
   Anti-overflow / safety
   ========================= */
.ij-row>*,
.ij-topbar-inner>*,
.ij-topbar-right>*,
.ij-footer-inner>* {
    min-width: 0;
}

p,
li,
div,
span {
    overflow-wrap: anywhere;
    word-break: break-word;
}

code,
pre {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

code {
    white-space: pre-wrap;
}

pre {
    white-space: pre-wrap;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

/* =========================
   Base elements
   ========================= */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.ij-main {
    padding: 24px;
}

/* =========================
   Topbar (boxed look)
   ========================= */
.ij-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
}

.ij-topbar-inner {
    max-width: var(--max-header);
    width: calc(100% - 24px);
    margin: 10px auto;
    padding: 10px 14px;

    display: flex;
    align-items: center;
    gap: 14px;

    background: rgba(11, 18, 32, .86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
}

/* Brand */
.ij-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: .2px;
    min-width: 0;
}

.ij-brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 0 0 3px rgba(96, 165, 250, .15);
    flex: 0 0 auto;
}

.ij-brand-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Logos */
.ij-logo {
    display: block;
    height: 90px;
    width: auto;
    flex: 0 0 auto;
}

.ij-logo-dot {
    display: none;
}

/* Desktop nav */
.ij-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    flex-wrap: wrap;
}

.ij-link {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    color: var(--muted);
    font-weight: 800;
    font-size: 13px;
}

.ij-link:hover {
    color: var(--text);
    border-color: rgba(51, 65, 85, .55);
    background: rgba(15, 23, 42, .55);
}

.ij-link.active {
    color: var(--text);
    border-color: rgba(96, 165, 250, .55);
    background: rgba(37, 99, 235, .15);
}

.ij-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.ij-badge {
    font-size: 12px;
    font-weight: 900;
    color: var(--text);
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(51, 65, 85, .8);
    background: rgba(15, 23, 42, .55);
    white-space: nowrap;
}

/* =========================
   Language toggle
   ========================= */
.ij-lang {
    display: flex;
    align-items: center;
    border: 1px solid rgba(51, 65, 85, .8);
    background: rgba(15, 23, 42, .55);
    border-radius: 999px;
    padding: 2px;
    gap: 2px;
}

.ij-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 28px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 12px;
    color: var(--muted);
    border: 1px solid transparent;
}

.ij-lang-btn:hover {
    color: var(--text);
    background: rgba(15, 23, 42, .6);
}

.ij-lang-btn.active {
    color: var(--text);
    background: rgba(37, 99, 235, .18);
    border-color: rgba(96, 165, 250, .55);
}

/* =========================
   Buttons / inputs
   ========================= */
.ij-btn {
    cursor: pointer;
    border: 0;
    border-radius: 10px;
    padding: 10px 12px;
    background: var(--accent);
    color: white;
    font-weight: 900;
}

.ij-btn:focus-visible,
.ij-btnGhost:focus-visible,
.ij-burger:focus-visible,
.ij-drawer-close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--ring-contrast-bg), 0 0 0 4px var(--ring);
}

.ij-btnGhost {
    cursor: pointer;
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border2);
    background: var(--card2);
    color: var(--text);
    font-weight: 900;
}

.ij-btnGhost.active {
    border-color: var(--accent2);
}

.ij-input {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #24324f;
    background: var(--card2);
    color: var(--text);
}

.ij-input:focus {
    outline: none;
    border-color: rgba(96, 165, 250, .55);
    box-shadow: 0 0 0 2px rgba(96, 165, 250, .15);
}

/* =========================
   Common card / layout
   ========================= */
.ij-card {
    max-width: var(--max-content);
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
}

.ij-h1 {
    margin: 0 0 8px;
    font-size: 18px;
}

.ij-muted {
    color: var(--muted);
    font-size: 12px;
}

.ij-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin: 12px 0;
}

.ij-toast {
    margin-top: 10px;
}

.ij-ok {
    color: #86efac;
}

.ij-err {
    color: #fca5a5;
}

.ij-code {
    background: var(--card2);
    border: 1px solid var(--border);
    padding: 2px 6px;
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* =========================
   Tables (global, consistent)
   ========================= */
table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 10px;
    border-top: 1px solid var(--border);
    text-align: left;
    font-size: 13px;
    vertical-align: middle;
}

th {
    color: #cbd5e1;
    background: var(--card2);
    position: sticky;
    top: 0;
    z-index: 1;
}

.ij-tableWrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* =========================
   Footer
   ========================= */
.ij-footer {
    border-top: 1px solid var(--border);
    margin-top: 28px;
    padding: 18px 0;
    background: rgba(15, 23, 42, .35);
}

.ij-footer-inner {
    max-width: var(--max-header);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.ij-footer-title {
    font-weight: 900;
}

.ij-footer-muted {
    color: var(--muted);
    font-size: 12px;
}

.ij-footer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ij-footer-links a {
    color: var(--muted);
    font-weight: 800;
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 10px;
    border: 1px solid transparent;
}

.ij-footer-links a:hover {
    color: var(--text);
    border-color: rgba(51, 65, 85, .55);
    background: rgba(15, 23, 42, .55);
}

/* =========================
   Overlay + Drawer (mobile nav)
   ========================= */
.ij-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 9998;
}

.ij-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(360px, 88vw);
    background: rgba(11, 18, 32, .96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 1px solid rgba(148, 163, 184, .18);
    z-index: 9999;

    transform: translateX(110%);
    transition: transform .22s cubic-bezier(.16, 1, .3, 1);
    display: flex;
    flex-direction: column;
    padding: 14px;
}

body.ij-nav-open .ij-overlay {
    display: block;
}

body.ij-nav-open .ij-drawer {
    transform: translateX(0);
}

@media (max-width: 820px) {
    body.ij-nav-open {
        overflow: hidden;
        touch-action: none;
    }
}

.ij-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
}

.ij-drawer-title {
    font-weight: 900;
    letter-spacing: .2px;
}

.ij-drawer-close {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .25);
    background: rgba(11, 18, 32, .65);
    color: var(--text);
    font-weight: 900;
    cursor: pointer;
}

.ij-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 0;
    overflow: auto;
    flex: 1;
}

.ij-drawer-nav .ij-link {
    display: flex;
    justify-content: flex-start;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(15, 23, 42, .45);
    color: var(--text);
}

.ij-drawer-nav .ij-link:hover {
    border-color: rgba(96, 165, 250, .55);
}

.ij-drawer-nav .ij-link.active {
    border-color: rgba(96, 165, 250, .55);
    background: rgba(37, 99, 235, .18);
}

.ij-drawer-foot {
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, .14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.ij-drawer-badge {
    font-size: 12px;
    font-weight: 900;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(51, 65, 85, .8);
    background: rgba(15, 23, 42, .55);
}

/* =========================
   Burger
   ========================= */
.ij-burger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .25);
    background: rgba(11, 18, 32, .65);
    color: var(--text);
    font-weight: 900;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ij-burger:hover {
    border-color: rgba(96, 165, 250, .55);
}

.ij-burger:active {
    transform: translateY(1px);
}

/* =========================
   Library (page-specific)
   ========================= */
.ij-library {
    color-scheme: dark;
}

.ij-library-table {
    width: 100%;
    margin-top: 10px;
}

.ij-library .rank {
    width: 44px;
    color: var(--muted);
    font-weight: 900;
}

.ij-library .coverCell {
    width: 54px;
}

.ij-library .playsCol {
    width: 110px;
}

.ij-library .actionsHead {
    width: 260px;
}

.ij-library .img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--card2);
    border: 1px solid var(--border);
    overflow: hidden;
}

.ij-library .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ij-library .title {
    font-weight: 900;
}

.ij-library .artist {
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.ij-library .tag {
    display: inline-block;
    font-size: 12px;
    color: var(--text);
    background: var(--card2);
    border: 1px solid #24324f;
    border-radius: 999px;
    padding: 2px 8px;
    margin-left: 8px;
}

.ij-library .actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

.ij-library .small {
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 10px;
}

.ij-library .playBtn {
    min-width: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Hover-only (desktop) */
.ij-library tr.trackRow {
    transition: background .12s ease;
}

.ij-library tr.trackRow:hover {
    background: rgba(255, 255, 255, .03);
}

@media (hover:hover) and (pointer:fine) {
    .ij-library .hoverOnly {
        opacity: 0;
        transform: translateX(6px);
        pointer-events: none;
        transition: opacity .12s ease, transform .12s ease;
    }

    .ij-library tr.trackRow:hover .hoverOnly,
    .ij-library tr.trackRow.isPlaying .hoverOnly {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }
}

@media (hover:none),
(pointer:coarse) {
    .ij-library .hoverOnly {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}

/* Equalizer */
.ij-library .eqWrap {
    width: 28px;
    height: 18px;
    display: none;
    align-items: flex-end;
    gap: 3px;
    margin-left: 10px;
}

.ij-library .eqBar {
    width: 4px;
    height: 6px;
    border-radius: 999px;
    transform-origin: bottom;
    opacity: .95;
    animation: eq 0.9s ease-in-out infinite;
    background: var(--accent2);
}

.ij-library .eqBar:nth-child(2) {
    animation-duration: 0.7s;
}

.ij-library .eqBar:nth-child(3) {
    animation-duration: 1.05s;
}

.ij-library .eqBar:nth-child(4) {
    animation-duration: 0.8s;
}

@keyframes eq {

    0%,
    100% {
        transform: scaleY(.35);
    }

    50% {
        transform: scaleY(1);
    }
}

.ij-library tr.trackRow.isPlaying .eqWrap {
    display: inline-flex;
}

/* Mobile cards */
.ij-library-mobile {
    display: none;
    margin-top: 10px;
}

.ij-mTrack {
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, .55);
    border-radius: 14px;
    padding: 12px;
    margin: 10px 0;
}

.ij-mTop {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ij-mRank {
    width: 26px;
    color: var(--muted);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.ij-mCover {
    flex: 0 0 auto;
}

.ij-mMeta {
    min-width: 0;
    flex: 1;
}

.ij-mBottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.ij-mPlays {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.ij-mPlaysVal {
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.ij-mActions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.ij-mTrack.isPlaying .eqWrap {
    display: inline-flex;
}

@media (max-width:760px) {
    .ij-library .playsCol {
        width: 84px;
    }

    .ij-library .rank {
        width: 34px;
    }

    .ij-library .playBtn {
        min-width: 82px;
    }

    .ij-library .actionsHead {
        width: 220px;
    }
}

/* Switch: mobile=cards, desktop=table */
@media (max-width:760px) {
    .ij-library .ij-library-tableWrap {
        display: none;
    }

    .ij-library-mobile {
        display: block;
    }
}

/* =========================
   Now Playing (centered + darker underlay) [mobile]
   ========================= */
@media (max-width:760px) {
    .ij-library {
        padding-bottom: 16px;
    }

    body.ij-nowbar-on .ij-library {
        padding-bottom: 104px;
    }
}

.ij-nowBar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9997;

    display: none;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom));

    background: rgba(6, 10, 18, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(148, 163, 184, .14);

    transition: transform .28s cubic-bezier(.16, 1, .3, 1), opacity .18s ease;
    will-change: transform;
}

.ij-nowBar.show {
    display: block;
}

.ij-nowInner {
    max-width: var(--max-content);
    margin: 0 auto;

    background: rgba(11, 18, 32, .72);
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 16px;

    padding: 10px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ij-nowMeta {
    min-width: 0;
    flex: 1;
}

.ij-nowTitle,
.ij-nowArtist {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ij-nowBar.lifted {
    transform: translateY(calc(-1 * var(--nowbar-lift, 0px)));
}

@media (min-width:761px) {
    .ij-nowBar {
        display: none !important;
    }
}

/* =========================
   Mobile responsive rules
   ========================= */
@media (max-width: 820px) {
    .ij-main {
        padding: 16px;
    }

    .ij-card {
        padding: 14px;
    }

    .ij-topbar-inner>.ij-nav {
        display: none;
    }

    .ij-burger {
        display: inline-flex;
    }

    .ij-badge {
        display: none;
    }

    .ij-logo-full {
        display: none;
    }

    .ij-logo-dot {
        display: block;
        height: 54px;
    }

    .ij-input {
        width: 100%;
    }

    .ij-topbar-inner {
        width: calc(100% - 16px);
        margin: 8px auto;
        border-radius: 14px;
        padding: 10px 12px;
    }
}

@media (min-width: 821px) {
    .ij-drawer {
        display: none;
    }

    .ij-overlay {
        display: none !important;
    }
}

/* =========================
   Cover grid + cover cards (home/top views)
   ========================= */

/* 6-kolumns grid (responsivt) */
.ij-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 620px) {
    .ij-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 860px) {
    .ij-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .ij-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .ij-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.ij-coverCard {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--card2);
    border: 1px solid var(--border);
    cursor: pointer;

    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    will-change: transform;
}

.ij-coverCard:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.ij-coverCard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ij-coverOverlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, .08));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
    pointer-events: none;
    /* så hela kortet klickas */
}

.ij-coverTitle {
    font-weight: 900;
    font-size: 14px;
    color: white;
    line-height: 1.2;
    margin-bottom: 2px;
    text-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}

.ij-coverArtist {
    font-size: 12px;
    color: #cbd5e1;
    text-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}

.ij-rankBadge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: white;
    font-weight: 900;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

/* Den extra playknappen i hörnet ska bort */
.ij-playBadge {
    display: none !important;
}

.ij-centerPlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(.96);
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    font-size: 22px;

    background: rgba(11, 18, 32, .70);
    border: 1px solid rgba(148, 163, 184, .22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, border-color .18s ease, background .18s ease;
}

.ij-coverCard:hover .ij-centerPlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    border-color: rgba(96, 165, 250, .45);
    background: rgba(11, 18, 32, .78);
}

/* När den spelar – visa center-ikon även utan hover */
.ij-coverCard.isPlaying .ij-centerPlay {
    opacity: 1;
}

/* Pulsande Now Playing ring */
.ij-coverCard.isPlaying::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 16px;
    pointer-events: none;
    box-shadow:
        0 0 0 2px rgba(96, 165, 250, .35),
        0 0 22px rgba(96, 165, 250, .22);
    animation: ijPulseRing 1.35s ease-in-out infinite;
}

@keyframes ijPulseRing {
    0% {
        opacity: .55;
        transform: scale(1);
    }

    55% {
        opacity: 1;
        transform: scale(1.02);
    }

    100% {
        opacity: .55;
        transform: scale(1);
    }
}

/* Subtil “crossfade”-glow precis vid byte */
.ij-coverCard.swapGlow {
    box-shadow:
        0 0 0 1px rgba(96, 165, 250, .45),
        0 0 34px rgba(37, 99, 235, .18),
        0 18px 40px rgba(0, 0, 0, .35);
    border-color: rgba(96, 165, 250, .55);
}

.ij-now {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ij-now-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #999;
    transition: background .2s ease;
}

.ij-now {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    max-width: 340px;
    text-decoration: none;
    color: inherit;
}

.ij-now-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #999;
    flex: 0 0 auto;
}

.ij-now-marquee {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    max-width: 260px;
}

.ij-now-text {
    display: inline-block;
    white-space: nowrap;
}

/* Screenreader-only fallback */
.ij-now-sr {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* När det behövs: skrolla */
.ij-now.is-marquee .ij-now-text {
    padding-left: 100%;
    animation: ijNowMarquee 10s linear infinite;
}

@keyframes ijNowMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}
.ij-footer-links {
    display: flex;
    gap: 40px;
}

.ij-footer-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ij-footer-col-title {
    font-size: 12px;
    font-weight: 700;
    opacity: .6;
    margin-bottom: 6px;
}

.ij-footer-admin {
    opacity: .5;
    font-size: 12px;
}

@media (max-width:700px) {

    .ij-footer-inner {
        flex-direction: column;
        gap: 16px;
    }

    .ij-footer-links {
        gap: 30px;
    }

}
.ij-footer-rich {
    display: grid;
    grid-template-columns: 1.2fr 1.1fr .9fr;
    gap: 32px;
    align-items: start;
}

.ij-footer-brand {
    max-width: 420px;
}

.ij-footer-copy {
    margin-top: 14px;
    color: #94a3b8;
    font-size: 12px;
}

.ij-footer-links {
    display: flex;
    gap: 36px;
    justify-content: flex-end;
}

.ij-footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 110px;
}

.ij-footer-col-title {
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}

.ij-footer-admin {
    opacity: .55;
    font-size: 12px;
}

.ij-footer-promo {
    min-width: 0;
}

.ij-footer-promo-card {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid #24324f;
    background: #0b1220;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ij-footer-promo-card:hover {
    transform: translateY(-1px);
    border-color: #3b82f6;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.ij-footer-promo-img {
    width: 96px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #1f2a44;
    flex: 0 0 auto;
}

.ij-footer-promo-body {
    min-width: 0;
}

.ij-footer-promo-title {
    font-weight: 900;
    color: #e5e7eb;
    line-height: 1.2;
}

.ij-footer-promo-text {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.55;
}

.ij-footer-promo-link {
    margin-top: 8px;
    color: #60a5fa;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 980px) {
    .ij-footer-rich {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ij-footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .ij-footer-links {
        flex-wrap: wrap;
        gap: 24px;
    }

    .ij-footer-promo-card {
        flex-direction: column;
    }

    .ij-footer-promo-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}
.useCases {
    margin-top: 14px;
}

.useCaseGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .useCaseGrid {
        grid-template-columns: 1fr;
    }
}

.useCase {
    background: #0b1220;
    border: 1px solid #24324f;
    border-radius: 14px;
    padding: 18px;
}

.useCaseIcon {
    font-size: 22px;
    margin-bottom: 8px;
}

.useCaseTitle {
    font-weight: 900;
    color: #e5e7eb;
    margin-bottom: 6px;
}

.useCaseText {
    font-size: 13px;
    line-height: 1.7;
    color: #94a3b8;
}
/* =========================
   Drawer logo + larger mobile menu text
   ========================= */
.ij-drawer-brand {
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 56px);
}

.ij-drawer-logo {
    align-items: center;
    display: block;
    width: auto;
    height: 154px;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 820px) {
    .ij-drawer-head {
        align-items: flex-start;
        padding-bottom: 14px;
    }

    .ij-drawer-title {
        display: none;
    }

    .ij-drawer-close {
        flex: 0 0 auto;
    }

    .ij-drawer-nav {
        gap: 10px;
        padding: 16px 0;
    }

    .ij-drawer-nav .ij-link {
        justify-content: center;
        text-align: center;
        padding: 15px 16px;
        font-size: 1.08rem;
        font-weight: 900;
        line-height: 1.2;
        min-height: 56px;
        border-radius: 14px;
    }

    .ij-drawer-foot {
        padding-top: 14px;
    }
}
@media (max-width: 820px) {
    .ij-drawer-head {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-bottom: 14px;
    }

    .ij-drawer-brand {
        margin: 0 auto;
        max-width: 100%;
        justify-content: center;
    }

    .ij-drawer-logo {
        display: block;
        margin: 0 auto;
    }

    .ij-drawer-close {
        position: absolute;
        top: 0;
        right: 0;
    }
}