.packbox {
display: grid;
grid-template-columns: 1fr 1fr 7fr auto;
text-align: center;
color: #202122;
word-wrap: break-word;
font: inherit;
border-collapse: collapse;
box-sizing: border-box;
margin: 1em 0;
overflow: auto;
overflow-y: hidden;
overflow-x: auto;
float: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
position: relative;
border: 1px solid #d0d4d8;
margin-bottom: 2em;
background-color: #f8f9fa;
width:100%;
max-width: 100% !important;
border-spacing: 3px;
font-size: small;
line-height: 1.5em;
}
.packbox > div {
word-wrap: break-word;
border-bottom: 1px solid #d0d4d8;
padding: 5px 5px;
border-collapse: collapse;
overflow-wrap: normal;
white-space: nowrap;
box-sizing: border-box;
}
.packbox > .label,
.packbox > #append-image,
.packbox > #right-image,
.packbox > #top-image{
display: flex;
justify-content: center;
align-items: center;
}
#mainpack,
#sidepack,
#collaborationpack {
max-width:500px !important;
}
#singlepack,
#freepack {
max-width:600px !important;
}
#mainpack > #append-image,
#sidepack > #append-image,
#collaborationpack > #append-image,
#singlepack > #append-image,
#freepack > #append-image {
display:none;
}
#appendpack {
max-width:300px !important;
}
#appendpack > #right-image,
#appendpack > #top-image {
display:none;
}
.packbox > #title {
grid-column: 1 / 5;
}
.packbox > .header {
grid-column: 1 / 4;
}
.packbox > .data {
grid-column: 3 / 4;
}
.both > #right-image {
grid-column: 4 / 5;
grid-row: 2 / 13;
}
.mobile-box > #right-image,
.ns-box > #right-image {
grid-column: 4 / 5;
grid-row: 2 / 8;
}
.packbox > #top-image,
.packbox > #append-image {
grid-column: 1 / 4;
}
.packbox > .label {
grid-column: 1 / 3;
}
.packbox > #content {
grid-column: 1 / 2;
grid-row-end: span 2;
border-right: 1px solid #d0d4d8;
}
.packbox > #songs,
.packbox > #partners {
grid-column: 2 / 3;
}
.both > #date-span {
grid-row-end: span 2;
}
.mobile-box > #ns-unlock,
.mobile-box > #ns-date {
display: none;
}
.ns-box > #mobile-price,
.ns-box > #mobile-date {
display: none;
}
@media all and (min-width: 950px) {
#appendpack > #top-image {
display: flex;
}
#title {
grid-column: 1 / 5;
}
}
/* 背景色定义 */
.packbox>.label,
.packbox>#title,
.packbox>.header,
.packbox>div>div>.label-text,
.packbox>div>div>div>.label-text {
background-color: #e8eaf3;
}