/*  STYLE */
a.content-container {
    text-decoration: none;
}

.button-link {
    padding: 1rem;
}

.gradient {
    color: white;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    outline: #ffffff dashed 2px;
    border-radius: 0.2rem;
    border: none;
    background-size: 120% auto;
    background-image: linear-gradient(315deg, #4c4c7c 0%, #ababf2 75%);
    text-decoration: none;
}

.gradient:hover {
    background-position: right center;
    color: white;
}

.gradient:active {
    top: 2px;
}

button.gradient {
    width: unset;
}

#color-list > .tag {
    display: block;
    margin-bottom: 0.5rem;
}

.divider {
    margin: 2rem 0;
}

#entries-list-container > li {
    margin-left: 1rem;
}

.filter-button {
    font-family: 'Mulish', sans-serif;
    display: inline-flex;
    align-items: center;
    height: fit-content;
    padding: 0.2rem 0.5rem;
    margin: 0.2rem;
    font-size: 0.9rem;
    background-color: #4c4c7c;
    opacity: 60%;
    text-decoration: none;
    color: white;
    border-radius: 1rem;
    transition: background-color 0.3s ease;
    border: none;
}

.filter-button:hover {
    cursor: pointer;
}

.filter-button-selected {
    background-color: white;
    color: #4c4c7c;
    opacity: 100%;
    border: #4c4c7c 1px solid;
}

.flex-grid-container {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: center;
    justify-items: center;
    justify-content: center;
}

.icon {
    width: 1.2rem;
    height: 1.2rem;
    max-width: 20px;
    max-height: 20px;
}

.icon.left {
    padding-left: 0.5rem;
}

.icon.right {
    padding-right: 0.5rem;
}

.icon-button {
    background: none;
    border: none;
}

.info > div {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.info > div > p {
    margin: 0.6rem 0;
    text-transform: lowercase;
    width: 7rem;
}

.media-cover {
    margin: 1rem !important;
    width: 10vw;
}

.micro-icon {
    width: 0.8rem !important;
    height: 0.8rem !important;
}

.no-outline {
    outline: none;
    border: none;
}

.note {
    font-family: 'Cutive Mono', monospace;
    font-size: 0.8rem;
    color: #4c4c7c;
    line-height: 1.4;
}

.polish-image {
    margin-top: 1rem;
    width: 90%;
    aspect-ratio: 1 / 1;
    max-width: 100px;
}

.profile {
    border: 1px solid #4c4c7c;
    aspect-ratio: 1 / 1;
    border-radius: 10rem;
    box-shadow: 0 0 1.2rem #ababf2;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
    margin: 1rem 0;
}

.progress {
    height: 100%;
    background-color: #4a4a4a;
    transition: width 0.5s ease-in-out;
    background-image: linear-gradient(315deg, #ababf2 0%, #4c4c7c 85%);
}

p.series-title {
    margin-top: 0;
}

.status {
    display: flex;
    align-items: center;
    margin: 0 0 0.5rem 0;
}

.status > img {
    margin-right: 0.5rem;
}

.status > p {
    font-size: 0.9rem;
    margin: 0;
    text-transform: lowercase;
}

.status > a {
    font-size: 0.9rem;
    color: #4c4c7c;
    text-decoration-style: dashed;
    text-underline-offset: 0.4rem;
    text-transform: lowercase;
}

.tag {
    font-family: 'Cutive Mono', monospace;
    display: inline-flex;
    align-items: center;
    height: fit-content;
    padding: 0.2rem 0.5rem;
    margin: 0.2rem;
    font-size: 0.9rem;
    background-color: #f0f0f0;
    border-radius: 0.3rem;
    color: #4c4c7c;
    text-decoration: none;
    border: none;
}

/* Tinylytics kudos button */
.tinylytics_kudos {
    font-family: 'Cutive Mono', monospace;
    font-size: 0.85rem;
    color: #4c4c7c;
    background-color: rgba(171, 171, 242, 0.15);
    border: 1px dashed #4c4c7c;
    border-radius: 0.5rem;
    padding: 0.2rem 0.6rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.tinylytics_kudos:hover {
    background-color: #4c4c7c;
    color: #ffffff;
}

.tag > a {
    text-decoration: none;
}

.tag-bold {
    font-weight: bold;
    color: white;
}

.tag-selected {
    background-color: #4c4c7c;
    color: #ffffff;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
}

.tag-list.center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.tag-list > li {
    list-style: none;
}

/*#tarot-card-container {*/
/*    gap: 1rem;*/
/*}*/

#tarot-card-container > article {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

#current-games-container > div,
#games-container > div,
#tbr-container > div {
    padding-bottom: 1rem;
}

.header-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1rem 0;
    font-family: 'Cutive Mono', monospace;
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

.title {
    margin-bottom: 0.5rem;
}

#tracker-links {
    margin: 0;
    display: flex;
    flex-direction: column;
    list-style-type: none;
    list-style-position: outside;
    padding-inline-start: 1rem;
}

#tracker-links > li {
    margin: 0.5rem 0;
}

#tag-container > .tag:hover,
.tag-list > li > .tag:hover {
    background-color: #ababf2;
    color: #ffffff;
}

.x-small-icon {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0 0.4rem;
    float: right;
    margin: 0.2rem 0;
}

.white-icon {
    filter: brightness(0) invert(1);
}

/* Books Read cards (book tracker + archive pages) */
.media-card {
    box-sizing: border-box;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #fbfaff;
    border: 2px dashed #c4bce6;
    border-radius: 13px;
    padding: 18px;
    margin-bottom: 16px;
}

.media-card .media-card-cover {
    flex: none;
    width: 104px;
    height: 156px;
    object-fit: cover;
    border-radius: 5px;
    margin: 0 !important;
}

.media-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.media-card .media-card-title {
    font-family: 'Bitcount', monospace;
    font-weight: 400;
    font-size: 1.45rem;
    line-height: 1.05;
    color: #4a4583;
    text-align: left;
    align-self: flex-start;
    margin: 0;
}

.media-card-byline {
    font-size: 0.95rem;
    color: #6f68a6;
    margin: 3px 0 0;
}

.media-card-author {
    text-transform: lowercase;
}

.media-card-series {
    color: #8a83bd;
}

.media-card-strip {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #f0edfa;
    border-radius: 8px;
    padding: 8px 12px;
    width: fit-content;
}

.media-card-strip-item {
    font-size: 0.8rem;
    color: #56507f;
}

.media-card-strip-label {
    font-family: 'Bitcount', monospace;
    color: #9089bf;
    letter-spacing: 1px;
}

.media-card-strip-divider {
    align-self: stretch;
    border-left: 1px solid #d4cdee;
}

.media-card-tags {
    gap: 6px;
}

.media-card-tags > li {
    margin: 0;
}

.media-card-tags .tag {
    margin: 0;
    padding: 1px 9px;
    font-size: 0.8rem;
    background: #eceaf7;
    border: 1px solid #cdc6ec;
    border-radius: 11px;
    color: #6a62b4;
}

.media-card-tags .tag:hover {
    background: #ded9f3;
}

.media-card-notes {
    font-size: 0.85rem;
    color: #56507f;
    margin: 0;
}

.media-card-notes .media-card-strip-label {
    margin-right: 0.3rem;
}

/* Vertical variant: Currently Reading + To Be Read cards */
.media-card--vertical {
    flex-direction: column;
    align-items: center;
    gap: 11px;
    width: 100%;
    height: 100%;
    max-width: 280px;
    margin-bottom: 0;
}

.media-card--vertical .media-card-head {
    width: 100%;
}

.media-card--vertical .media-card-title,
.media-card--vertical .media-card-byline {
    text-align: center;
    align-self: center;
    overflow-wrap: break-word;
}

.media-card--vertical .media-card-title {
    font-size: 1.25rem;
}

.media-card--vertical .media-card-notes {
    align-self: stretch;
}

.media-card-progress {
    width: 100%;
    background: #f0edfa;
    border-radius: 8px;
    padding: 8px 12px;
    box-sizing: border-box;
}

.media-card-progress-head {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #56507f;
    margin-bottom: 6px;
}

.media-card-progress-track {
    height: 8px;
    border-radius: 5px;
    background: #ded9f3;
    overflow: hidden;
}

.media-card-progress-fill {
    height: 100%;
    background: #8a83bd;
}

/* Title link (game title -> game_url, polish name -> jump anchor) */
.media-card-title-link {
    color: inherit;
    text-decoration: none;
}

.media-card-title-link:hover {
    text-decoration: underline dashed;
    text-underline-offset: 0.3rem;
}

/* Game platform strip (reuses the date-strip pill) */
.media-card-platform {
    align-items: center;
}

.media-card-platform-icon {
    width: 1rem;
    height: 1rem;
    max-width: 16px;
    max-height: 16px;
}

/* Polish swatch sits flush inside the card */
.media-card--vertical .polish-image {
    margin-top: 0;
}

.grave-icon {
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
}
