/* dog-ears · 详情页：一张长纸，右上折角里写着分类名 */
.de-longread { max-width: 900px; }
.de-longread .detail-breadcrumb { padding: 4px 0 12px; color: var(--de-soft); }
.de-longread .detail-breadcrumb a { color: var(--de-coral); font-weight: 600; }
.de-longread .detail-top-ad:has(.ad) { margin: 4px 0 24px; }

.de-long { position: relative; padding: 0 34px 20px; background: var(--de-sheet); box-shadow: 0 4px 12px rgba(26, 36, 51, .1); }
.de-long-corner { display: flex; justify-content: flex-end; margin: 0 -34px 0 0; }
.de-long-corner > * { position: relative; display: block; max-width: 70%; min-width: 0; padding: 8px 56px 8px 16px; background: var(--de-f); color: #fff; font-family: var(--de-display); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.de-long-corner > *::after { content: ""; position: absolute; top: 0; right: 0; width: 40px; height: 100%; background: linear-gradient(to bottom left, var(--de-sky) 50%, rgba(0, 0, 0, .25) 50%); }
.de-long-title { margin: 18px 0 12px; font-family: var(--de-display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.15; }
.de-long-byline { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px dashed var(--de-edge); font-size: .92rem; color: var(--de-soft); }
.de-long-byline > * { min-width: 0; overflow-wrap: anywhere; }
.de-long-text .detail-summary { padding: 14px 18px; background: var(--de-sky); line-height: 1.6; }
.de-long-text .detail-prose { max-width: 70ch; font-size: 1.08rem; line-height: 1.78; }
.de-long-text .detail-prose a { color: var(--de-coral); }

.de-around { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 30px 0 8px; }
.de-around-link { display: grid; gap: 4px; padding: 14px 18px; background: var(--de-sheet); font-family: var(--de-display); font-weight: 500; line-height: 1.35; box-shadow: 0 2px 6px rgba(26, 36, 51, .08); }
.de-around-link em { font-family: var(--de-body); font-style: normal; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--de-soft); }
.de-around-link:hover { text-decoration: underline; }
.de-around-later { grid-column: 2; text-align: right; }

@media (max-width: 767px) {
    .de-long { padding: 0 14px 12px; }
    .de-long-corner { margin-right: -14px; }
    .de-long-corner > * { max-width: 85%; padding-right: 44px; }
    .de-long-corner > *::after { width: 30px; }
    .de-long-title { margin-top: 12px; font-size: 1.65rem; }
    .de-around { grid-template-columns: minmax(0, 1fr); }
    .de-around-later { grid-column: auto; text-align: left; }
}
