* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: #f5f5f5; color: #333; line-height: 1.6; -webkit-tap-highlight-color: transparent; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.mkz-topbar { position: sticky; top: 0; z-index: 100; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 16px 0; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.mkz-topbar .mkz-brand { font-size: 22px; color: #fff; font-weight: 700; letter-spacing: 2px; text-shadow: 0 2px 4px rgba(0,0,0,.2); }

.mkz-wrap { max-width: 1400px; margin: 0 auto; padding: 12px; }

.mkz-readme { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.08); overflow: hidden; }
.mkz-readme .mkz-poster { float: right; width: 120px; margin: 0 0 12px 16px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.mkz-readme .mkz-poster .mkz-cover { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: #e8e8e8; }
.mkz-readme .mkz-headline { font-size: 22px; font-weight: 700; color: #222; margin-bottom: 12px; line-height: 1.4; }
.mkz-readme .mkz-story { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 24px; }
.mkz-readme .mkz-story::after { content: ""; display: table; clear: both; }
.mkz-readme .mkz-ctrl { text-align: center; }
.mkz-readme .mkz-start { display: inline-block; padding: 12px 40px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; border-radius: 8px; font-size: 16px; font-weight: 600; box-shadow: 0 4px 12px rgba(102,126,234,.4); transition: transform .2s, box-shadow .2s; }
.mkz-readme .mkz-start:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(102,126,234,.5); }
.mkz-readme .mkz-start:active { transform: translateY(0); }

.mkz-block { margin-bottom: 24px; }
.mkz-block .mkz-secname { font-size: 18px; font-weight: 700; color: #333; margin-bottom: 16px; padding-left: 12px; border-left: 4px solid #667eea; }

.mkz-shelf { display: grid; gap: 12px; }

.mkz-book { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: transform .2s, box-shadow .2s; }
.mkz-book:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.mkz-book .mkz-jump { display: block; }
.mkz-book .mkz-cover { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: #e8e8e8; }
.mkz-book .mkz-detail { padding: 10px 12px 12px; }
.mkz-book .mkz-detail .mkz-name { font-size: 15px; font-weight: 700; color: #222; line-height: 1.4; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mkz-book .mkz-detail .mkz-when { font-size: 12px; color: #999; margin-bottom: 6px; }
.mkz-book .mkz-detail .mkz-brief { font-size: 13px; color: #666; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.mkz-ground { background: #fff; padding: 20px 0; text-align: center; border-top: 1px solid #e8e8e8; margin-top: 20px; }
.mkz-ground a { color: #667eea; font-size: 14px; margin: 0 16px; }
.mkz-ground a:hover { text-decoration: underline; }

@media(max-width: 767px) {
    .mkz-shelf { grid-template-columns: repeat(3, 1fr); }
    .mkz-topbar .mkz-brand { font-size: 20px; }
    .mkz-block .mkz-secname { font-size: 16px; }
    .mkz-readme { padding: 16px; }
    .mkz-readme .mkz-poster { width: 100px; margin: 0 0 10px 12px; }
    .mkz-readme .mkz-headline { font-size: 20px; }
    .mkz-readme .mkz-story { font-size: 14px; margin-bottom: 20px; }
    .mkz-readme .mkz-start { padding: 10px 32px; font-size: 15px; }
}
@media(min-width: 768px) and (max-width: 1199px) {
    .mkz-shelf { grid-template-columns: repeat(4, 1fr); }
    .mkz-readme .mkz-poster { width: 140px; }
}
@media(min-width: 1200px) {
    .mkz-shelf { grid-template-columns: repeat(6, 1fr); }
    .mkz-readme .mkz-poster { width: 160px; }
}