@page { 
    size: 60mm 30mm; 
    margin: 0; 
}

body { 
    margin: 0; 
    padding: 0; 
}

.tag {
    width: 60mm;
    height: 30mm;
    box-sizing: border-box;
    padding: 0.8mm 1mm;
    font-family: monospace;
    background: #fff;
    color: #000;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 1mm;
    border: 1px solid #ddd;

}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 0;
    width: 30mm;
}

.artist-title {
    font-size: 10px;
    margin-bottom: 0.3mm;
    width: 58mm;
    letter-spacing: -0.2px;

}

.artist-text {
    font-weight: bold;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.1mm;
    line-height: 1.1;
    text-transform: uppercase;
}

.title-text {
    font-weight: normal;
    color: #666;
    font-style: italic;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.1;
    font-size: 10px;

}

.top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1mm;
    margin-bottom: 0.4mm;

}

.year-country {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}

.year-badge {
    padding: 1px 2px;
    border-radius: 2px;
    flex-shrink: 0;
    letter-spacing: 0.1px;
    font-weight: bold;
    font-size: 20px;
    background: black;
    color: white;

}

.country-text {
    font-size: 8px;
    margin-top: 0.2mm;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
    letter-spacing: 0.1px;
    font-weight: bold;
    color: #666;
    text-transform: uppercase;
    white-space: nowrap;
    /* display: none; */

}

.label-catalog {
    flex: 1;
    /* display: flex; */
    flex-direction: column;
    overflow: hidden;

}

.label-text {
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 9px;

}

.catalog-text {
    font-size: 8px;
    /* margin-top: 0.2mm; */
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
    letter-spacing: 0.1px;
    font-weight: bold;
    color: #666;
    text-transform: uppercase;
    white-space: nowrap;

}

.genre-text {
    font-size: 9px;
    /* margin-bottom: 0.4mm; */
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
    /* letter-spacing: -0.5px; */
    font-weight: bold;
    /* background: black; */
    /* color: white; */
    width: fit-content;
    /* padding: 1px; */
    /* border: 0.5px solid black; */
    /* border-radius: 3px; */
    text-transform: uppercase;

}

.format-text {
    font-size: 7px;
    margin-top: 0.2mm;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
    /* letter-spacing: 0.1px; */
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    /* background: #f0f0f0; */
    padding: 0.5px 2px;
    /* border-radius: 2px; */
    display: inline-block;
    white-space: nowrap;
    /* text-align: center; */

}

.styles-container {
    font-size: 11px;
    width: 58mm;
    flex-shrink: 0;

}

.style-badge {
    /* color: white; */
    /* padding: 0.5px 1.5px; */
    font-weight: 500;
    line-height: 0.5;
    /* letter-spacing: -1px; */
    /* background: black; */
    /* border-radius: 3px; */
    /* padding: 0 4px 0 4px; */
    font-size: 10px;
    /* border: 0.5px solid black; */

}

.qr { 
    width: 4em;
    height: 4em;
    flex-shrink: 0;
}
