.tnm-aw-wrap {
    --aw-bg: #f8f5f1;
    --aw-card: #ffffff;
    --aw-text: #1f1d1b;
    --aw-muted: #8a847d;
    --aw-cover-bg: #f3ece2;
    --aw-accent: #ff5b45;
    --aw-accent-hover: #f0462f;
    --aw-pill: #efebe6;
    --aw-radius: 22px;
    --aw-shadow: 0 1px 2px rgba(31, 29, 27, .04), 0 8px 24px rgba(31, 29, 27, .06);
    background: var(--aw-bg);
    color: var(--aw-text);
    width: 100%;
}

.tnm-aw {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 16px 64px;
    box-sizing: border-box;
}

.tnm-aw *,
.tnm-aw *::before,
.tnm-aw *::after {
    box-sizing: border-box;
}

.tnm-aw a {
    text-decoration: none;
    box-shadow: none;
}

.tnm-aw-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tnm-aw-crumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0 0 18px;
    padding: 0;
    font-size: 13px;
    color: var(--aw-muted);
}

.tnm-aw-crumbs li {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tnm-aw-crumbs li + li::before {
    content: "›";
    color: var(--aw-muted);
}

.tnm-aw-crumbs a {
    color: var(--aw-muted);
}

.tnm-aw-crumbs a:hover {
    color: var(--aw-text);
}

.tnm-aw-crumbs [aria-current] {
    color: var(--aw-text);
    font-weight: 600;
}

.tnm-aw-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.tnm-aw-card {
    background: var(--aw-card);
    border-radius: var(--aw-radius);
    box-shadow: var(--aw-shadow);
}

.tnm-aw-art {
    padding: 18px;
}

.tnm-aw-main {
    display: block;
    border-radius: 14px;
    overflow: hidden;
}

.tnm-aw-main img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    margin: 0 auto;
}

.tnm-aw-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tnm-aw-thumb {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: none;
    cursor: pointer;
    opacity: .65;
    transition: opacity .2s, border-color .2s;
}

.tnm-aw-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tnm-aw-thumb:hover,
.tnm-aw-thumb.is-active {
    opacity: 1;
    border-color: var(--aw-accent);
}

.tnm-aw-credit {
    margin: 12px 4px 0;
    font-size: 13px;
    color: var(--aw-muted);
}

.tnm-aw-book {
    padding: 22px;
    position: sticky;
    top: 24px;
}

.tnm-aw-eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--aw-muted);
}

.tnm-aw-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    min-height: 190px;
    border-radius: 16px;
    background: var(--aw-cover-bg);
}

.tnm-aw-cover img,
.tnm-aw-book-img {
    display: block;
    width: auto !important;
    max-width: 62%;
    max-height: 170px;
    height: auto;
    object-fit: contain;
    margin: 0 !important;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(31, 29, 27, .18);
    background: #fff;
}

.tnm-aw-book-name {
    margin: 18px 0 4px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.tnm-aw-book-name a {
    color: var(--aw-text);
}

.tnm-aw-book-meta {
    margin: 0;
    font-size: 13px;
    color: var(--aw-muted);
}

.tnm-aw-book-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0;
}

.tnm-aw-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--aw-accent);
    line-height: 1;
}

.tnm-aw-price del {
    font-size: 15px;
    font-weight: 500;
    color: var(--aw-muted);
    margin-right: 6px;
}

.tnm-aw-price ins {
    text-decoration: none;
    background: none;
}

.tnm-aw-pill {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--aw-pill);
    font-size: 11px;
    font-weight: 600;
    color: #5c5650;
}

.tnm-aw-btn {
    display: block;
    width: 100%;
    margin-top: 18px;
    letter-spacing: .04em;
    padding: 14px 18px;
    border-radius: 999px;
    background: var(--aw-accent);
    color: #fff !important;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(255, 91, 69, .28);
    transition: background .2s, transform .2s;
}

.tnm-aw-btn:hover {
    background: var(--aw-accent-hover);
    transform: translateY(-1px);
}

.tnm-aw-newest {
    margin-top: 40px;
}

.tnm-aw-newest-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.tnm-aw-newest-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.tnm-aw-newest-head a {
    color: var(--aw-accent);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.tnm-aw-newest-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.tnm-aw-gcard {
    display: block;
    background: var(--aw-card);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--aw-shadow);
    transition: transform .2s, box-shadow .2s;
}

.tnm-aw-gcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(31, 29, 27, .12);
}

.tnm-aw-gimg {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--aw-cover-bg);
}

.tnm-aw-gimg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 !important;
}


@media (max-width: 900px) {
    .tnm-aw-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tnm-aw-book {
        position: static;
    }

    .tnm-aw-newest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .tnm-aw {
        padding-top: 18px;
    }

    .tnm-aw-art {
        padding: 12px;
    }

    .tnm-aw-book {
        padding: 18px;
    }
}

.tnm-aw-related + .tnm-aw-newest {
    margin-top: 32px;
}

.tnm-aw-gcard.is-current {
    outline: 3px solid var(--aw-accent);
    outline-offset: -3px;
}
