.tsce-home {
    --ebook-ink: #161A22;
    --ebook-muted: #4B5563;
    --ebook-line: #E3E6EC;
    --ebook-paper: #FFFFFF;
    --ebook-ground: #F6F7F9;
    --ebook-stage: #E9F0FF;
    --ebook-accent: #2457D6;
    --ebook-hover: #1947B9;
    padding-block: clamp(2.25rem, 4vw, 4.25rem);
    border-top: 1px solid var(--ebook-line);
    background: var(--ebook-ground);
    color: var(--ebook-ink);
    font: 400 1rem/1.65 system-ui, sans-serif;
}
.tsce-home .tsce-home__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .65rem 1rem;
    margin-bottom: 1.15rem;
}
.tsce-home .tsce-home__header h2 {
    margin: 0;
    color: var(--ebook-ink);
    font: 750 clamp(1.6rem, 2.8vw, 2.35rem)/1.1 system-ui, sans-serif;
    letter-spacing: -.045em;
}
.tsce-home .tsce-home__browse {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--ebook-hover) !important;
    font-size: .94rem;
    font-weight: 700;
    text-underline-offset: 4px;
}
.tsce-home .tsce-home__browse:hover { text-decoration: underline; }
.tsce-home .tsce-home__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.8rem, 1.6vw, 1.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}
.tsce-home .tsce-home__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 1px solid var(--ebook-line);
    border-radius: 14px;
    background: var(--ebook-paper);
}
.tsce-home .tsce-home__cover {
    display: grid;
    place-items: center;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    min-width: 0;
    height: clamp(13rem, 21vw, 17.25rem);
    padding: 1.25rem;
    overflow: hidden;
    border-radius: 13px 13px 0 0;
    background: var(--ebook-stage);
}
.tsce-home .tsce-cover {
    display: block;
    max-width: min(100%, 155px);
    max-height: 100%;
    width: auto;
    height: auto;
    margin: 0;
    object-fit: contain;
    border-radius: 2px 6px 6px 2px;
    box-shadow: 5px 7px 0 color-mix(in srgb, var(--ebook-accent) 13%, transparent);
}
.tsce-home .tsce-cover-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .5rem;
    width: min(100%, 145px);
    aspect-ratio: 2 / 3;
    padding: .8rem;
    background: var(--ebook-ink);
    color: var(--ebook-paper);
    font-size: .85rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.tsce-home .tsce-cover-title { font-weight: 750; }
.tsce-home .tsce-cover-author { font-size: .78em; }
.tsce-home .tsce-home__details {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem;
}
.tsce-home .tsce-home__details h3 {
    margin: 0;
    color: var(--ebook-ink);
    font: 750 clamp(1rem, 1.55vw, 1.3rem)/1.2 system-ui, sans-serif;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}
.tsce-home .tsce-home__details h3 a:hover {
    color: var(--ebook-hover) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.tsce-home .tsce-home__author {
    margin: .4rem 0 0;
    color: var(--ebook-muted);
    font-size: .88rem;
}
.tsce-home .tsce-home__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem .65rem;
    margin-top: auto;
    padding-top: .8rem;
}
.tsce-home .tsce-home__price {
    color: var(--ebook-ink);
    font-size: 1.05rem;
    font-weight: 750;
}
.tsce-home .tsce-home__price ins { text-decoration: none; }
.tsce-home .tsce-home__formats {
    color: var(--ebook-muted);
    font-size: .76rem;
    font-weight: 650;
}
.tsce-home .tsce-home__sample {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .4rem;
    min-height: 44px;
    padding: .55rem 1rem;
    border-top: 1px solid var(--ebook-line);
    border-radius: 0 0 13px 13px;
    color: var(--ebook-hover) !important;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.3;
}
.tsce-home .tsce-home__sample:hover { background: var(--ebook-ground); }
.tsce-home a:focus-visible { outline: 3px solid var(--ebook-accent); outline-offset: 2px; }
@media (max-width: 1099px) {
    .tsce-home .tsce-home__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
    .tsce-home { scroll-margin-top: 4.75rem; }
    .tsce-home .tsce-home__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tsce-home .tsce-home__cover { height: clamp(9.5rem, 43vw, 14rem); padding: .75rem; }
    .tsce-home .tsce-home__details { padding: .75rem; }
    .tsce-home .tsce-home__sample { padding-inline: .75rem; }
}
