@font-face {
    font-family: "roboto-200";
    src: url("/static/roboto.ttf") format("truetype");
    font-style: normal;
    font-weight: 200;
}

* {
    font-family: "roboto-200", sans-serif;
    font-weight: 200;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #FFF5F2 !important; 
    background-image: url('/static/img/background.png') !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
    background-size: auto !important;
    overflow-x: hidden;
}

p {
    white-space: pre-line;
    text-align: left;
    margin-bottom: -10px !important;
}

.container {
    display: inline-block;
    text-align: left;
}

.outer-wrapper {
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.inner-cell {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.column-container {
    column-count: 2;
    column-gap: 15px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.card {
    display: inline-block;
    break-inside: avoid;
    width: 100%;
    border: none !important;
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    margin-bottom: 10px !important;
}

.card-title {
    margin-top: -10px;
    font-weight: 200 !important;
}

.small-card-title {
    font-size: 16px !important;
}

.empty-card-title {
    margin-bottom: -10px !important;
}

.p-margin-revert {
    margin-bottom: revert !important;
}

.card-action {
    text-align: center !important;
    display: block !important;
}

.card-action a:not(#play-btn) {
    float: none !important;
    margin: 0 12px !important;
}

.pink-link {
    color: #FFB1A4 !important;
    transition: color 0.3s ease;
}

.pink-link:hover {
    color: #E89A8D !important;
}

#time {
    text-align: center;
    font-size: 20px;
    line-height: 20px;
}

.player {
    padding: 0 !important;
    height: 70px;
    position: relative;
    overflow: hidden;
    text-align: left !important;
}

.player-cover {
    width: 70px;
    height: 70px;
    float: left;
    user-select: none;
    -webkit-user-drag: none;
}

.player-info {
    margin-left: 70px;
    padding: 10px;
}

.player-text {
    font-size: 14px;
    font-weight: 200;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}

.player-controls {
    height: 30px;
    position: relative;
}

.player-controls i {
    font-size: 24px;
    vertical-align: middle;
    user-select: none;
    -webkit-user-drag: none;
}

.player-progress {
    position: absolute;
    left: 35px;
    left: 35px;
    right: 40px;
    top: 12px;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.player-bar {
    width: 0%;
    height: 100%;
    background: #FFB1A4;
    transition: background 0.3s ease;
}

.player-progress:hover .player-bar {
    background: #E89A8D;
}

#play-btn {
    position: absolute;
    left: 0;
    top: 0;
}

#next-btn {
    position: absolute;
    right: -8px;
    top: 0;
}

.footer-row {
    display: table-row;
    height: 1px;
    text-align: center;
}

.footer-content {
    margin-bottom: 5px; 
}

.footer-content span {
    display: inline-block;
    padding: 5px;
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    line-height: 16px;
}

.footer-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 2px;
    margin-top: -2px;
    user-select: none;
    -webkit-user-drag: none;
}

.card-image-container {
    display: grid;
    width: 100%;
    aspect-ratio: 4 / 3; 
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    overflow: hidden;
    gap: 2px;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
}

.card-image-container img:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card-image-vertical {
    grid-row: span 2;
}

#photo-view {
    padding: 24px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    animation: photo-view-zoom-open 0.1s ease;
    cursor: pointer;
}

#photo-view.closing {
    animation: photo-view-zoom-close 0.1s ease;
}

#photo-view img {
    display: block;
    max-width: calc(100vw - 100px);
    max-height: calc(100vh - 100px);
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes photo-view-zoom-open {
    from { transform: scale(0.99); }
    to { transform: scale(1); }
}

@keyframes photo-view-zoom-close {
    from { transform: scale(1); }
    to { transform: scale(0.99); }
}