* {
    margin:0;
    padding:0;
    box-sizing: border-box;
}

body {
    background-color: #0a0e1a;
    font-family: monospace;
    display: flex;
    flex-direction:column;
    align-items: center;
    min-height: 100vh;
    padding-top: 40px;
    position: relative;
    overflow: hidden;
}

.topo-bg {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index: 0;
    opacity: 0.15;
}

.topo-bg path {
    fill: none;
    stroke:#4a9eff;
    stroke-width: 1.5;
    stroke-linejoin:round;
    stroke-linecap:round;
}

.container {
    display: flex;
    flex-direction:column;
    position: relative;
    z-index: 1;
    max-height: calc(100vh - 80px);
}

.nav {
    width: 600px;
    height: 35px;
    border: 1px solid #4a9eff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    font-size: 14px;
    user-select: none;
    flex-shrink:0;
}

.links {
    width: 600px;
    height: 28px;
    border: 1px solid #4a9eff;
    border-top: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:0 12px;
    user-select: none;
    flex-shrink: 0;
}

.nav-link {
    color:#4a9eff;
    text-decoration:none;
    font-size:14px;
    padding: 2px 4px;
}

.nav-link:hover {
    background-color: #4a9eff;
    color: black;
}

.slash {
    color: white;
    margin-right: 4px;
}

.home,.carbon {
    color:#4a9eff;
    margin-right:4px;
    padding:2px 4px;
    cursor: pointer;
}

.pathtainer:hover .home,
.pathtainer:hover .carbon {
    background-color:#4a9eff;
    color:black;
}

.title {
    color:white;
    font-size: 24px;
    font-weight: normal;
    margin-top:20px;
}

.desc {
    color: white;
    font-size: 14px;
    margin-top:20px;
    max-width:600px;
}

.desc strong,
.desc b {
    font-weight: bold;
    color: #4a9eff;
}

.langs {
    display: flex;
    gap:10px;
    margin-top: 20px;
}

.lang-tag {
    color: #4a9eff;
    border: 1px solid #4a9eff;
    padding: 4px 12px;
    font-size: 14px;
    border-radius: 4px;
}

.cinfo {
    color: #4a9eff;
    font-size: 14px;
    padding-left: 12px;
    border-left: 1px solid #4a9eff;
    height: 33px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cinfo .hash {
    text-decoration: underline;
}

.cinfo .hash:hover {
    background-color: #4a9eff;
    color: black;
}

.cinfo svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.music-plr {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    border-radius: 4px;
    padding: 12px;
    border:1px solid #4a9eff;
    width: 600px;
}

.album {
    width: 100px;
    height: 100px;
    border:1px solid #4a9eff;
    border-radius:4px;
    display:flex;
    align-items: center;
    justify-content: center;
    flex-shrink:0;
}

.album img {
    width: 100%;
    height: 100%;
    object-fit:cover;
}

.track-details {
    display: flex;
    flex-direction:column;
    gap:8px;
    flex: 1;
    overflow: hidden;
}

.track-info {
    display: flex;
    flex-direction: column;
    gap:2px;
}

.track-nm {
    color: #4a9eff;
    font-size: 14px;
    font-weight: bold;
    white-space:nowrap;
    overflow:hidden;
    text-overflow: ellipsis;
}

.artist-nm {
    color:white;
    font-size:12px;
    white-space: nowrap;
    overflow:hidden;
    text-overflow: ellipsis;
}

.plr-controls {
    display:flex;
    gap: 10px;
    align-items: center;
}

.play-btn {
    background: none;
    border: 1px solid #4a9eff;
    color: #4a9eff;
    border-radius:4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content:center;
    cursor: pointer;
    flex-shrink:0;
}

.play-btn:hover {
    background-color: #4a9eff;
    color:black;
}

.play-btn svg {
    width: 14px;
    height: 14px;
}

.progcont {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.progbar {
    width: 100%;
    height: 4px;
    background-color: rgba(74,158,255,0.2);
    border: 1px solid #4a9eff;
    position:relative;
}

.progfill {
    height: 100%;
    background-color: #4a9eff;
    width: 0%;
    transition: width 0.3s ease;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size:10px;
    color:white;
}

.vis {
    display: flex;
    gap: 4px;
    align-items:flex-end;
    height:20px;
}

.bar {
    flex: 1;
    background-color: #4a9eff;
    height:4px;
    transition:height 0.15s ease;
}

.np-icon {
    display:block;
}

.album svg {
    color: #4a9eff;
    font-size: 25px;
}

@keyframes navIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carbon.nav-in {
    animation: navIn 0.3s ease;
}

.slash.nav-in {
    animation: navIn 0.3s ease;
}

@keyframes navOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-10px);
    }
}

.nav-out {
    animation: navOut 0.3s ease forwards;
}

.content {
    animation: cfi 0.4s ease;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 40px;
    padding-right: 18px;
    max-height: calc(100vh - 143px);
}

.content::-webkit-scrollbar {
    width: 4px;
}

.content::-webkit-scrollbar-track {
    background: transparent;
}

.content::-webkit-scrollbar-thumb {
    background: #4a9eff;
    border-radius: 4px;
}

.content::-webkit-scrollbar-thumb:hover {
    background: #5aaeff;
}

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

.content.fade-out { /* street spirit fade out??*/
    animation: cfo 0.3s ease forwards;
}

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

.subtitle {
    color: #4a9eff;
    font-size: 18px;
    font-weight: normal;
    margin-top: 16px;
    margin-bottom: -8px;
}

.pgrid {
    display: flex;
    flex-direction: column;
    gap:12px;
    margin-top: 20px;
    max-width: 600px;
}

.pcard {
    border: 1px solid #4a9eff;
    border-radius: 4px;
    overflow:hidden;
    display:flex;
    flex-direction: column;
    padding: 0;
}

.pimg {
    width: 100%;
    height: 100px;
    background-color: #1a1f2e;
    border-bottom: 1px solid #4a9eff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pcontent {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pheader {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.pname {
    color: #4a9eff;
    font-size: 16px;
    font-weight: bold;
}

.pdesc {
    color: white;
    font-size: 13px;
    line-height: 1.4;
}

.plangs {
    display: flex;
    gap:6px;
    flex-wrap: wrap;
    align-items: center;
}

.plang-tag {
    color: #4a9eff;
    border: 1px solid #4a9eff;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 4px;
}

.vs-btn {
    background: none;
    border: 1px solid #4a9eff;
    color: #4a9eff;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
    gap: 6px;
    cursor: pointer;
    font-family: monospace;
    text-decoration: none;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    white-space: nowrap;
}

.vs-btn svg {
    width: 14px;
    height: 14px;
}

.vs-btn:hover {
    background-color: #4a9eff;
    color: black;
}

.list {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

.list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color:white;
    font-size: 14px;
    margin-bottom: 6px;
}

.list li::before {
    content: '▶';
    color: #4a9eff;
    font-size: 16px;
}

.cgrid {
    display: flex;
    flex-direction:column;
    gap: 10px;
    margin-top: 20px;
    max-width: 300px;
}

.citem {
    position: relative;
    border: 1px solid #4a9eff;
    border-radius: 4px;
    padding:10px 12px;
    display: flex;
    align-items: center;
    gap:10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.citem:hover {
    background-color: #4a9eff;
}

.citem svg {
    width:20px;
    height:20px;
    color:#4a9eff;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.citem:hover svg {
    color: black;
}

.clabel {
    color: #4a9eff;
    font-size: 14px;
    transition: color 0.2s ease;
}

.citem:hover .clabel {
    color: black;
}

.ctooltip {
    position: absolute;
    left: 100%;
    top:50%;
    transform: translateY(-50%);
    background-color: #4a9eff;
    color:black;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space:nowrap;
    opacity: 0;
    pointer-events: none;
    transition:opacity 0.2s ease;
    margin-left: 12px;
}

.ctooltip::before {
    content: "";
    position:absolute;
    right: 100%;
    left: 50%;
    transform: translateY(-50%);
    border:4px solid transparent;
    border-right-color: #4a9eff;
}

.citem:hover .ctooltip {
    opacity: 1;
}

.btns-sec {
    margin-top: 20px;
    background-color: rgba(74,158,255,0.05);
    border: 1px solid #4a9eff;
    border-radius:8px;
    padding: 10px;
    max-width: 600px;
}

.btns-tl {
    color: #4a9eff;
    font-size:16px;
    font-weight:normal;
    margin-bottom: 10px;
}

.btns-gd {
    display: flex;
    flex-wrap: wrap;
    gap:8px;
    max-width: 600px;
}

.btns-gd a {
    display:inline-block;
}

.btns-gd img {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    height: 31px;
    width: 88px;
}

.carbtn {
    display: flex;
    align-items: center;
    gap:10px;
}

.btn-txt {
    color: #4a9eff;
    font-size: 12px;
}

.btns-gd iframe {
    width: 88px;
    height: 31px;
    border: none;
    display:inline-block;
    vertical-align: top;
}

/*mobile styling */
@media (max-width: 768px) {
    body {
        padding-top: 20px;
        overflow-y:auto;
        overflow-x:hidden;
        min-height: 100vh;
        height: auto;
    }

    .container {
        max-height: none;
        width:100%;
        padding: 0 16px;
    }

    .nav {
        width: 100%;
        height: 35px;
        padding: 0 8px;
        font-size: 13px;
    }

    .links {
        width: 100%;
        height: 28px;
        padding: 0px 8px;
        font-size: 13px;
        gap: 8px;
    }

    .nav-link {
        font-size: 12px;
        line-height:1.5;
        padding: 2px 2px;
        white-space:nowrap;
    }

    .cinfo {
        font-size: 12px;
    }

    .content {
        max-height: none;
        overflow-y: visible;
        overflow-x: hidden;
        padding-right: 0;
        padding-bottom: 60px;
    }

    .music-plr{
        width: calc(100% - 32px);
        flex-direction: column;
        gap: 12px;
    }

    .album {
        width: 100px;
        height: 100px;
    }

    .track-details {
        width: 100%;
    }

    .plr-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .progcont {
        width: 100%;
    }

    .vis {
        justify-content: center;
    }

    .desc,
    .pgrid,
    .btns-sec {
        width: 100%;
        max-width: 100%;
    }

    .btns-gd {
        justify-content: flex-start;
    }

    .title {
        font-size: 20px;
    }

    .subtitle {
        font-size: 16px;
    }

    .topo-bg {
        opacity: 0.08;
    }

    .cgrid {
        max-width: 100%;
    }

    .langs {
        flex-wrap: wrap;
    }

    .ctooltip {
        display:none;
    }
}