@charset "UTF-8";
:root {
  --tab-text-selected: #ffffff;
  --tab-text-comic: #5e8631;
  --tab-text-game: #3a6791;
  --tab-text-tool: #7d34a1;
  --tab-text-video: #b04040;
  --tab-text-other: #505050;
}

.local-works-menu {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 374px) {
  .local-works-optional-text {
    display: none;
  }
}

.asc-works-item-list.filter-comic .asc-works-item:not(.comic) {
  display: none;
}
.asc-works-item-list.filter-game .asc-works-item:not(.game) {
  display: none;
}
.asc-works-item-list.filter-other .asc-works-item.comic {
  display: none;
}
.asc-works-item-list.filter-other .asc-works-item.game {
  display: none;
}

@media (hover: hover) {
  .asc-works-item:hover {
    background-color: var(--bg-hvr);
  }
  .asc-works-item:hover img {
    opacity: 60%;
  }
}

.asc-works-item a {
  display: block;
  text-decoration: none;
  height: 100%;
}

.asc-works-item__thumbnail img {
  display: block;
  max-width: 100%;
}

.asc-works-item__title {
  font-family: var(--font-bold);
  font-optical-sizing: auto;
  font-weight: bold;
  line-height: 1.2;
  vertical-align: middle;
  color: var(--text-base);
}

.asc-works-item__caption {
  font-size: 90%;
  line-height: 1.2;
  color: var(--text-muted);
}

.asc-works-item__meta {
  display: flex;
  align-items: center;
}

.asc-works-item__category {
  display: flex;
  align-items: center;
  border-radius: 4px;
  font-size: 80%;
  color: #ffffff;
}
.asc-works-item__category .cmn-icon {
  width: 14px;
  height: 14px;
}
.asc-works-item.comic .asc-works-item__category {
  color: var(--tab-text-comic);
}
.asc-works-item.comic .asc-works-item__category .cmn-icon {
  margin-right: 1px;
  background-color: var(--tab-text-comic);
}
.asc-works-item.game .asc-works-item__category {
  color: var(--tab-text-game);
}
.asc-works-item.game .asc-works-item__category .cmn-icon {
  margin-right: 2px;
  background-color: var(--tab-text-game);
}
.asc-works-item.tool .asc-works-item__category {
  color: var(--tab-text-tool);
}
.asc-works-item.tool .asc-works-item__category .cmn-icon {
  margin-right: 2px;
  background-color: var(--tab-text-tool);
}
.asc-works-item.video .asc-works-item__category {
  color: var(--tab-text-video);
}
.asc-works-item.video .asc-works-item__category .cmn-icon {
  margin-right: 3px;
  background-color: var(--tab-text-video);
}
.asc-works-item.other .asc-works-item__category {
  color: var(--tab-text-other);
}
.asc-works-item.other .asc-works-item__category .cmn-icon {
  margin-right: 2px;
  background-color: var(--tab-text-other);
}

.asc-works-item__date {
  font-size: 80%;
  color: var(--text-faint);
}
.asc-works-item__date::before {
  content: "･";
  margin: 0 3px 0 2px;
}

.asc-works-item-list.grid-view {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
@media (min-width: 654px) {
  .asc-works-item-list.grid-view {
    gap: 48px 24px;
  }
  .asc-works-item-list.grid-view .asc-works-item {
    width: calc((100% - 48px) / 3);
  }
}
@media (max-width: 653px) {
  .asc-works-item-list.grid-view {
    gap: 48px 16px;
  }
  .asc-works-item-list.grid-view .asc-works-item {
    width: calc((100% - 16px) / 2);
  }
  .asc-works-item-list.grid-view.--recent-6 .asc-works-item:nth-child(5),
  .asc-works-item-list.grid-view.--recent-6 .asc-works-item:nth-child(6) {
    display: none;
  }
}
.asc-works-item-list.grid-view .asc-works-item {
  border-bottom: 1px solid var(--border);
}
.asc-works-item-list.grid-view .asc-works-item__title {
  margin: 6px 0;
}
.asc-works-item-list.grid-view .asc-works-item__caption {
  display: none;
}
.asc-works-item-list.grid-view .asc-works-item__meta {
  margin-bottom: 6px;
}

.asc-works-item-list.list-view {
  display: flex;
  flex-direction: column;
}
.asc-works-item-list.list-view .asc-works-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.asc-works-item-list.list-view .asc-works-item__inner {
  display: flex;
  gap: 6px;
}
.asc-works-item-list.list-view .asc-works-item__thumbnail {
  max-width: min(200px, 40%);
}
.asc-works-item-list.list-view .asc-works-item__details {
  margin-left: 4px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
@media (min-width: 480px) {
  .asc-works-item-list.list-view .asc-works-item__title {
    margin-top: 4px;
    font-size: 120%;
  }
}
@media (max-width: 479px) {
  .asc-works-item-list.list-view .asc-works-item__title {
    font-size: 110%;
  }
}
.asc-works-item-list.list-view .asc-works-item__caption {
  flex: 1;
}
@media (min-width: 480px) {
  .asc-works-item-list.list-view .asc-works-item__caption {
    margin-top: 6px;
  }
}
@media (max-width: 479px) {
  .asc-works-item-list.list-view .asc-works-item__caption {
    margin-top: 4px;
    font-size: 80%;
  }
}
@media (min-width: 480px) {
  .asc-works-item-list.list-view .asc-works-item__meta {
    margin-bottom: 4px;
  }
}
