
/*======================================================================*/
#main_caption{
  width: 100%;
}
.award2026_container_timelist{
  display: block;
  margin:50px auto;
  padding:0;
  width: 100%;
}
/*
#container_all,#cat_under200pcs,#cat_nolimit,#cat_music,#cat_tatsujin{
	display: block;
	margin:0 auto;
	padding:0;
  width: 100%;
  _max-width: 800px;
  text-align: left;
}
*/


.post-card{
	display: inline-table;
	width: 200px;
	margin:0 auto;
	padding:10px;
	vertical-align: text-top;
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}

.post_img img,.album_img img{
	display: block;
	margin:0 auto;
	padding:0;
	width: 100%;
}

.box:hover{
	cursor: pointer;
	opacity: .8;
}

.post_account,.modal_account{
  display: block;
  margin:0 auto;
  padding:0;
  width: 100%;
  text-align: left;
  font-size: 14px;
}
.post_account img,.modal_account img{
  display: inline-block;
  margin:10px 10px auto 0;
  padding:0;
  width: 40px;
  border-radius: 50%;
  vertical-align: -15px;
}
.category_name{
  display: block;
  font-size: 16px;
  font-weight: bold;
  background-color: #f9f9f9;
  margin: 10px auto;
  padding:5px;
  line-height: 1;
}
.category_name span{
  width: 20px;
  height: 20px;
  margin:0 10px auto auto;
  display: inline-block;
  position: relative;
  padding:0;
  vertical-align: middle;
}

#cat_label_under200{
  border-left: 20px solid #ffa000;
}
#cat_label_theSeasonofJapan,#cat_label_{
  border-left: 20px solid #0058a0;
}
#cat_label_nolimit{
  border-left: 20px solid #27aca1;
}
#cat_label_tatsujin_under200{
  border-left: 20px solid #e3b844;
}
#cat_label_tatsujin_nolimit{
  border-left: 20px solid #000;
}
#moreBtn_all,
#moreBtn_under200,
#moreBtn_nolimit,
#moreBtn_theSeasonofJapan,
#moreBtn_tatsujinunder200,
#moreBtn_tatsujinnolimit{
  margin: 30px auto;
  text-align: center;
  display: block;
  border: 1px solid #000;
  width: 80%;
  max-width: 300px;
  font-size: 20px;
  padding: 10px;
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
a:hover#moreBtn_all{
  background-color: #000;
  color: #fff;
}
.post_id{
  font-size: 12px;
}
.post_title,.modal_title{
  font-size: 15px;
  margin:5px auto;
}
.post_text{
  color:#888;
  font-size: 13px;
  overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 3; /* number of lines to show */
           line-clamp: 3; 
   -webkit-box-orient: vertical;
   width: 200px;
}
.post_text pre{
    white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
#moreWrapper,#moreWrapper_nolimit,#moreWrapper_music, #moreWrapper_tatsujin{
  margin:50px auto;
  display: block;
  padding:0;
}
a#moreBtn{
  font-size: 18px;
  max-width: 400px;
  padding: 10px;
  margin: 0 auto;
  border: 1px solid #000;
  display: block;
  text-align: center;
  cursor: pointer;
  width: 80%;
}
.modal_text{
  font-size: 13px;
}
.modal_account{
  margin:30px auto 20px auto;
}
.album_img{
  margin:0 auto 20px auto;
  padding:0;
  display: block;
  width: 100%;
}
.modal-content .album_img:nth-child(2),
.modal-content .album_img:nth-child(3){
  width: 48%;
  display: inline-block;
  margin:0 auto;
  padding:0;
  text-align: left;
}
.modal-content .album_img:nth-child(3){
  float: right;
}

/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,80%);
  padding: 0;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
  z-index: 99;
}
/*モーダル本体の擬似要素の指定*/
.modal-container:before{
  /*content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;*/
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active{
  opacity: 1;
  visibility: visible;
}
/*モーダル枠の指定*/
.modal-body{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 600px;
  width: 90%;
  margin-top: 5%;
}
/*モーダルを閉じるボタンの指定*/
.modal-close{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  right: -60px;
  width: 50px;
  height: 50px;
  font-size: 80px;
  color: #fff;
  cursor: pointer;
  font-style: normal;
}
/*モーダル内のコンテンツの指定*/
.modal-content{
  background: #fff;
  text-align: left;
  padding: 30px;
  margin-bottom: 50px;
}
@media screen and (max-width:800px) {
  .post-card{
    width: 45.6%;
    padding: 5vw 2%;
    font-size: 2vw;
    margin: 0 auto;
    display: inline-block;
  }
  .post_text{
    width: 100%;
  }
  .post_id{
    font-size: 2vw;
  }
  .category_name,.post_title,.modal_title{
    font-size: 3vw;
  }
  .post_text,.modal_text{
    font-size: 2.4vw;
  }
  .post_account, .modal_account{
    font-size: 3vw;
  }
  .modal-body{
    max-width: none;
    width: 90%;
    margin-top:10vw;
  }
  /*モーダルを閉じるボタンの指定*/
  .modal-close{
    right: -2vw;
    width: 10vw;
    height: 10vw;
    font-size: 15vw;
    color: #fff;
    cursor: pointer;
    font-style: normal;
    top: -10vw;
  }
  /*モーダル内のコンテンツの指定*/
  .modal-content{
    padding: 3vw;
    margin-bottom: 10vw;
  }
  a#moreBtn{
    font-size: 4vw;
  }
}







/* Khung tổng */
.tabs-root {
  width: 100%;
}

/* Ẩn radio */
.tabs-root input[type=radio] {
  display: none;
}

/* (1) Khu vực nút tab */
.tab-buttons {
  display: block;
  max-width: 1100px;         /* yêu cầu 1 */
  margin: 0 auto 12px auto;  /* căn giữa + khoảng cách dưới */
  padding: 0 8px;
  box-sizing: border-box;
  display: flex;             /* dùng flex thay float */
  flex-wrap: wrap;
  gap: 2%;
}

.tab-buttons label {
  flex: calc(23% - 0px); /* gần tương đương width:23% + gap */
  min-width: auto;
  text-align: center;
  color: #000;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1.2;
  padding: 12px 8px;
  border-bottom: 4px solid #000;
  transition: all .3s;
  background: #fff;
  margin-bottom: 10px;
}

/* màu viền mặc định theo tab */
.tab-buttons label[for="tab1"] { border-bottom-color:#000; }
.tab-buttons label[for="tab2"] { border-bottom-color:#ffa000; }
.tab-buttons label[for="tab3"] { border-bottom-color:#27aca1; }
.tab-buttons label[for="tab4"] { border-bottom-color:#0058a0; }
.tab-buttons label[for="tab5"] { border-bottom-color:#e3b844; }
.tab-buttons label[for="tab6"] { border-bottom-color:#000; }

/* trạng thái checked -> tô màu */
#tab1:checked ~ .tab-buttons label[for="tab1"] { background:#000; color:#fff; border-bottom-color:#000; }
#tab2:checked ~ .tab-buttons label[for="tab2"] { background:#ffa000; color:#fff; border-bottom-color:#ffa000; }
#tab3:checked ~ .tab-buttons label[for="tab3"] { background:#27aca1; color:#fff; border-bottom-color:#27aca1; }
#tab4:checked ~ .tab-buttons label[for="tab4"] { background:#0058a0; color:#fff; border-bottom-color:#0058a0; }
#tab5:checked ~ .tab-buttons label[for="tab5"] { background:#e3b844; color:#fff; border-bottom-color:#e3b844; }
#tab6:checked ~ .tab-buttons label[for="tab6"] { background:#000; color:#e3b844; border-bottom-color:#000; }

/* (2) SORT BOX: block + 100% + không bị đè */
.sort_box {
  display: block;        /* yêu cầu 2 */
  width: 100%;           /* yêu cầu 2 */
  max-width: 1320px;
  margin: 30px auto auto;
  padding: 0 8px;
  box-sizing: border-box;
  position: relative;
  z-index: 0;            /* đảm bảo không bị chồng bởi label */
  clear: both;           /* bảo hiểm nếu có float từ stylesheet khác */
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.s_new, .s_random {
  padding: 8px 14px;
  _border: 1px solid #333;
  _border-radius: 4px;
  cursor: pointer;
  user-select: none;
}
.sort-controls .active, .s_new.active, .s_random.active {
  font-weight: 600;
  border-bottom: 2px solid currentColor;
}

/* (3) PANELS 100% độc lập */
.tab-panels {
  display: block;   /* yêu cầu 3 */
  width: 100%;      /* yêu cầu 3 */
  max-width: none;  /* không bị ảnh hưởng bởi max-width của tab buttons */
  padding: 0 8px 16px;
  box-sizing: border-box;
}

.tab-content {
  display: none;
  width: 100%;
  max-width: 1320px;
  padding: 0;
  margin:30px auto;
  box-sizing: border-box;
  text-align: left;
}

/* Hiển thị panel theo radio */
#tab1:checked ~ .tab-panels #tab-content1,
#tab2:checked ~ .tab-panels #tab-content2,
#tab3:checked ~ .tab-panels #tab-content3,
#tab4:checked ~ .tab-panels #tab-content4,
#tab5:checked ~ .tab-panels #tab-content5,
#tab6:checked ~ .tab-panels #tab-content6 {
  display: block;
}

/* Animation (giữ nguyên) */
.tab-content * {
  animation: scale 0.7s ease-in-out;
}
@keyframes scale {
  0% { transform: scale(0.9); opacity: 0; }
  50%{ transform: scale(1.01); opacity: .5; }
  100%{ transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .tab-buttons { gap: 1.2vw; }
  .tab-buttons label {
    flex: calc(48% - 0px);
    font-size: 4.2vw;
    padding: 10px 0;
    margin-bottom: 1vw;
  }
  #moreBtn_all, #moreBtn_under200, #moreBtn_nolimit, #moreBtn_theSeasonofJapan, #moreBtn_tatsujinunder200, #moreBtn_tatsujinnolimit{
    margin: 6vw auto;
    width: 80%;
    max-width: none;
    font-size: 4vw;
    padding: 3vw 0;
  }
}

