:root {
--page-outer: #e8ddc4;
--bg: #f5f1e8;
--bg-elev: #ffffff;
--bg-elev-2: #eee7d8;
--border: #e2d9c4;
--text: #1e2529;
--text-dim: #6b6a63;
--primary: #173b4d;
--primary-dark: #0e2733;
--accent: #d99a3d;
--accent-dark: #b17d2c;
--shadow: 0 1px 3px rgba(23,59,77,0.08);
--shadow-hover: 0 10px 24px rgba(23,59,77,0.16);
--accent-ink: #8a5f1c; --accent-solid: #8a5f1c;
--fs-xs: 0.75rem; --fs-sm: 0.8125rem; --fs-ms: 0.875rem; --fs-base: 0.9375rem;
--font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
--fs-lg: 1.3rem; --fs-xl: 1.75rem;
}
:root[data-theme="dark"] {
color-scheme: dark;
--page-outer: #0a1218; --bg: #101b23; --bg-elev: #172733; --bg-elev-2: #1e3140; --border: #2c4252;
--text: #e9eef0; --text-dim: #a2b3bd; --primary: #8cc4df; --primary-dark: #0b1a23;
--accent: #e0a64a; --accent-dark: #c58c34; --brand-bg: #1b4760;
--accent-ink: #e0a64a; --accent-solid: #9a6a22;
--shadow: 0 1px 3px rgba(0,0,0,0.5); --shadow-hover: 0 10px 24px rgba(0,0,0,0.55);
}
:root[data-theme="dark"] header, :root[data-theme="dark"] .avatar-upload-btn, :root[data-theme="dark"] .new-tag,
:root[data-theme="dark"] .series-item-num, :root[data-theme="dark"] .series-page-num, :root[data-theme="dark"] .search-author-banner .go,
:root[data-theme="dark"] .action-btn:not(.secondary), :root[data-theme="dark"] .rating-avg-box, :root[data-theme="dark"] .btn:not(.secondary),
:root[data-theme="dark"] .filters button.active, :root[data-theme="dark"] .legal-content .legal-btn, :root[data-theme="dark"] .toast,
:root[data-theme="dark"] .bugreport-btn, :root[data-theme="dark"] .welcome-hero, :root[data-theme="dark"] .skip-link { background: var(--brand-bg); }
:root[data-theme="dark"] .btn.secondary, :root[data-theme="dark"] .action-btn.secondary { color: var(--text); }
:root[data-theme="dark"] .welcome-hero-actions .btn, :root[data-theme="dark"] .library-guest .btn { background: var(--accent); color: #14232c; }
:root[data-theme="dark"] #searchInput { background: #0f1d26; color: var(--text); border-color: #2c4252; }
:root[data-theme="dark"] .cover-box, :root[data-theme="dark"] .result-row-cover, :root[data-theme="dark"] .detail-cover {
background-image: linear-gradient(100deg, transparent 35%, rgba(255,255,255,0.07) 50%, transparent 65%);
}
:root {
--cover-emblem-img: url("/cover-emblem.jpg");
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background: var(--bg);
color: var(--text);
min-height: 100vh;
}
.page-frame {
max-width: 1000px;
margin: 0 auto;
background: var(--bg);
min-height: calc(100vh - 54px);
}
header {
background: var(--primary);
border-bottom: 1px solid var(--primary-dark);
position: sticky;
top: 0;
z-index: 20;
width: 100%;
}
.header-inner {
max-width: 1000px;
margin: 0 auto;
padding: 10px 24px;
display: flex;
align-items: center;
gap: 18px;
flex-wrap: wrap;
box-sizing: border-box;
}
.logo {
font-family: var(--font-display);
font-weight: 700;
font-size: 1.3rem;
letter-spacing: 0;
display: flex; align-items: center; gap: 7px; line-height: 1;
white-space: nowrap;
color: #fff;
}
.logo-word span { color: var(--accent); font-style: italic; font-weight: 500; }
nav { display: flex; gap: 3px; }
nav button {
background: none; border: none; color: rgba(255,255,255,0.78);
font-size: var(--fs-sm); padding: 6px 12px; border-radius: 6px; cursor: pointer;
}
nav button, .auth-btn { position: relative; }
nav button::after, .auth-btn::after { content: ""; position: absolute; left: 0; right: 0; top: -7px; bottom: -7px; }
nav button.active { background: rgba(255,255,255,0.14); color: #fff; font-weight: 600; }
.search-block { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 260px; max-width: 560px; }
.search-wrap { flex: 1; position: relative; min-width: 140px; }
#searchInput {
width: 100%; padding: 7px 12px; border-radius: 16px; border: 1px solid transparent;
background: #fff; color: var(--text); font-size: var(--fs-ms); outline: none;
}
#searchInput:focus { border-color: var(--accent); }
.suggest-dropdown {
display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0;
background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px;
box-shadow: var(--shadow-hover); overflow-y: auto; max-height: 380px; z-index: 30;
}
.suggest-dropdown.open { display: block; }
.suggest-item {
display: flex; align-items: center; gap: 10px; padding: 7px 12px; font-size: var(--fs-sm);
cursor: pointer; color: var(--text); border-bottom: 1px solid var(--border);
}
.suggest-item:last-child { border-bottom: none; }
.suggest-item:hover { background: var(--bg-elev-2); }
.suggest-item-cover { width: 28px; height: 40px; border-radius: 3px; overflow: hidden; background: var(--bg-elev-2); flex-shrink: 0; }
.suggest-item-cover img { width: 100%; height: 100%; object-fit: cover; }
.suggest-item-text { min-width: 0; }
.suggest-item-text .suggest-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-item small { display: block; color: var(--text-dim); font-size: var(--fs-xs); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
main { max-width: 900px; margin: 0 auto; padding: 24px; min-height: 100vh; }
main:focus { outline: none; }
h2.section-title {
font-family: var(--font-display); font-size: var(--fs-lg); margin: 4px 0 12px; color: var(--primary); font-weight: 700;
line-height: 1.2;
}
h2.section-title.section-label { font-family: inherit; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.7px; }
h2.section-title a { color: inherit; text-decoration: none; }
h2.section-title a:hover { text-decoration: underline; }
.hero-section h2.section-title { margin-bottom: 2px; }
.home-explore { margin: 28px 0 8px; }
.home-explore h2.section-title { margin-top: 18px; }
.explore-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.explore-chip {
background: var(--bg-elev); color: var(--primary); border: 1px solid var(--border);
font-size: var(--fs-sm); font-weight: 600; padding: 6px 12px; border-radius: 16px; text-decoration: none;
}
.explore-chip:hover { border-color: var(--accent); background: var(--bg-elev-2); }
.hero-subtitle {
font-size: var(--fs-sm); margin: 0 0 12px; color: var(--text-dim); font-weight: 400;
}
.hero-section, .ranking-section { margin-bottom: 28px; }
.hero-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.hero-more { flex-shrink: 0; margin-bottom: 12px; font-size: var(--fs-sm); font-weight: 700; color: var(--primary); text-decoration: none; padding: 8px 0; }
.hero-more:hover { text-decoration: underline; }
.hero-row { display: flex; align-items: center; gap: 10px; }
.hero-scroll-btn {
width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border);
background: var(--bg-elev); color: var(--primary); font-size: 1.1rem; font-weight: 700;
cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1;
flex-shrink: 0; box-shadow: var(--shadow);
}
.hero-scroll-btn:hover { background: var(--bg-elev-2); }
.hero-grid {
display: flex; gap: 14px; overflow-x: hidden; padding-bottom: 2px;
justify-content: safe center; scroll-behavior: smooth; flex: 1; min-width: 0;
}
.hero-grid .card { flex: 0 0 138px; width: 138px; }
.ranking-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--bg-elev); }
.ranking-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--border); cursor: pointer; }
.ranking-row:last-child { border-bottom: none; }
.ranking-row:hover { background: var(--bg-elev-2); }
.ranking-rank { width: 22px; text-align: center; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-weight: 800; color: var(--accent-ink); font-size: var(--fs-base); flex-shrink: 0; }
.ranking-cover { width: 34px; height: 51px; border-radius: 4px; overflow: hidden; background: var(--bg-elev-2); flex-shrink: 0; }
.ranking-cover img { width: 100%; height: 100%; object-fit: cover; }
.ranking-info { flex: 1; min-width: 0; }
.ranking-info .r-title { font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ranking-info .r-author { font-size: var(--fs-xs); color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ranking-badge { font-size: var(--fs-xs); font-weight: 800; background: var(--accent); color: var(--text); padding: 2px 6px; border-radius: 6px; flex-shrink: 0; }
.my-reviews-list { display: flex; flex-direction: column; gap: 12px; }
.my-reviews-item {
display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--bg-elev); border: 1px solid var(--border);
border-radius: 10px; cursor: pointer;
}
.my-reviews-item:hover { border-color: var(--accent); }
.my-reviews-cover { width: 46px; height: 68px; border-radius: 4px; overflow: hidden; background: var(--bg-elev-2); flex-shrink: 0; }
.my-reviews-cover img { width: 100%; height: 100%; object-fit: cover; }
.my-reviews-main { flex: 1; min-width: 0; }
.my-reviews-book { font-size: var(--fs-xs); color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.3px; }
.my-reviews-title { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: var(--fs-base); font-weight: 700; color: var(--accent-ink); margin: 2px 0 4px; }
.my-reviews-snippet { font-size: var(--fs-sm); color: var(--text); line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.my-reviews-date { font-size: var(--fs-xs); color: var(--text-dim); margin-top: 6px; }
.my-reviews-rating {
background: var(--accent); color: var(--text); font-size: var(--fs-xs); font-weight: 800;
width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.profile-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.profile-avatar {
width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(155deg, var(--accent), var(--accent-dark));
color: var(--primary-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
box-shadow: 0 4px 12px rgba(217,154,61,0.4);
}
.profile-avatar svg { width: 32px; height: 32px; }
.avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.profile-avatar-wrap { position: relative; flex-shrink: 0; }
.avatar-upload-btn {
position: absolute; bottom: -2px; right: -2px; width: 24px; height: 24px; border-radius: 50%;
background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
cursor: pointer; border: 2px solid var(--bg-elev); box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.avatar-upload-btn svg { width: 12px; height: 12px; }
.avatar-upload-btn:hover { background: var(--accent-dark); }
.avatar-upload-btn input[type="file"] { display: none; }
.profile-username { font-family: var(--font-display); font-size: 1.4rem; color: var(--primary); margin: 0; }
.profile-header-info { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.follower-count { font-size: var(--fs-sm); color: var(--text-dim); }
.follow-btn {
align-self: flex-start; padding: 7px 18px; border-radius: 20px; border: 1px solid var(--accent-solid);
background: var(--accent-solid); color: #fff; font-size: var(--fs-sm); font-weight: 600; cursor: pointer;
}
.follow-btn.following { background: transparent; color: var(--accent-ink); }
.user-row-avatar {
width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(155deg, var(--accent), var(--accent-dark));
color: var(--primary-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.user-row-avatar svg { width: 22px; height: 22px; }
.user-row-name { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-weight: 700; font-size: var(--fs-base); color: var(--primary); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 14px; align-items: start; }
.card {
background: var(--bg-elev); border-radius: 10px; overflow: hidden; cursor: pointer;
border: 1px solid var(--border); box-shadow: var(--shadow);
transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
display: flex; flex-direction: column;
}
a.card, a.result-row { color: inherit; text-decoration: none; -webkit-user-drag: none; }
a.card img, a.result-row img { -webkit-user-drag: none; }
.card:focus-visible, .result-row:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.cover-box { position: relative; width: 100%; aspect-ratio: 2/3; background: var(--bg-elev-2); }
.cover-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-fallback {
width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
text-align: center; padding: 12% 9%; position: relative; overflow: hidden;
background: linear-gradient(155deg, var(--primary) 0%, var(--primary-dark) 100%);
box-shadow: inset 0 0 0 1px rgba(217,154,61,0.55), inset 0 0 0 5px transparent, inset 0 0 0 6px rgba(217,154,61,0.55);
}
.cover-fallback-emblem {
position: absolute; inset: -10%; pointer-events: none;
background-image: var(--cover-emblem-img);
background-repeat: no-repeat; background-position: center 34%; background-size: 76% auto;
mix-blend-mode: screen; opacity: 0.22; filter: blur(1px);
}
.cover-fallback-medallion {
border-radius: 50%; border: 1.4px solid var(--accent); background: rgba(0,0,0,0.12);
display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative;
width: 30%; max-width: 44px; min-width: 24px; aspect-ratio: 1; margin-bottom: 8%;
}
.cover-fallback-initial {
font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 700;
color: #fff; font-size: 1.3rem; line-height: 1;
}
.cover-fallback-divider { display: flex; align-items: center; justify-content: center; gap: 4px; width: 55%; position: relative; margin-bottom: 7%; flex-shrink: 0; }
.cover-fallback-divider span { height: 1px; flex: 1; background: var(--accent); opacity: 0.7; }
.cover-fallback-divider i { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); flex-shrink: 0; display: block; }
.cover-fallback-title {
font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 600; font-style: italic;
font-size: 0.8rem; color: rgba(255,255,255,0.94); line-height: 1.3; position: relative;
display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.badge, .result-row-rating, .ranking-badge, .my-reviews-rating { font-family: var(--font-display); font-variant-numeric: lining-nums; }
.badge {
position: absolute; top: 5px; right: 5px; background: var(--accent); color: var(--text);
font-weight: 800; font-size: var(--fs-xs); border-radius: 6px; padding: 2px 6px;
box-shadow: 0 1px 4px rgba(23,59,77,0.25);
}
.status-tag {
position: absolute; bottom: 5px; left: 5px; font-size: var(--fs-xs); padding: 2px 6px; border-radius: 5px;
text-transform: uppercase; letter-spacing: 0.3px; font-weight: 700;
}
.status-tag.status-pendiente { background: #f5e3c2; color: #7a5a1a; }
.status-tag.status-leyendo { background: #d7e6ea; color: #1c5866; }
.related-books-section { margin-top: 18px; }
.related-books-label { font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-dim); margin-bottom: 8px; text-align: center; }
.related-books-list { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; justify-content: safe center; }
.related-books-list { scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding-inline: 16px; scrollbar-width: none; }
.related-books-list::-webkit-scrollbar { display: none; }
.related-book-mini { flex: 0 0 96px; width: 96px; cursor: pointer; scroll-snap-align: start; }
a.related-book-mini { display: block; color: inherit; text-decoration: none; -webkit-user-drag: none; }
.related-book-mini img, .related-book-mini .related-cover-fallback {
width: 96px; height: 141px; border-radius: 4px; object-fit: cover; background: var(--bg-elev-2); display: block;
box-shadow: 0 4px 10px rgba(14,39,51,0.18);
}
.related-book-mini .related-cover-fallback { padding: 8% 6%; box-shadow: inset 0 0 0 1px rgba(217,154,61,0.55), inset 0 0 0 2px transparent, inset 0 0 0 2.5px rgba(217,154,61,0.55); }
.related-book-mini .related-cover-fallback .cover-fallback-emblem,
.related-book-mini .related-cover-fallback .cover-fallback-medallion,
.related-book-mini .related-cover-fallback .cover-fallback-divider { display: none; }
.related-book-mini .related-cover-fallback .cover-fallback-title { font-size: 0.64rem; -webkit-line-clamp: 3; }
.related-book-title {
font-size: var(--fs-sm); color: var(--text); margin-top: 4px; line-height: 1.2;
overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.new-tag {
position: absolute; top: 5px; left: 5px; background: var(--primary); color: #fff;
font-size: var(--fs-xs); font-weight: 700; padding: 2px 6px; border-radius: 5px;
text-transform: uppercase; letter-spacing: 0.3px;
}
.card-info { padding: 7px 8px 8px; height: 64px; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.card-title {
font-size: var(--fs-sm); font-weight: 600; line-height: 1.25;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-author { font-size: var(--fs-xs); color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-grid .card-info { align-items: center; text-align: center; }
.empty-state { color: var(--text-dim); text-align: center; padding: 50px 20px; font-size: var(--fs-ms); }
.loading-more {
color: var(--accent-ink); text-align: center; padding: 18px 20px; font-size: var(--fs-ms); font-weight: 700;
display: flex; align-items: center; justify-content: center; gap: 8px;
}
.loading-more::before {
content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-dark);
animation: loadingDotPulse 1s ease-in-out infinite;
}
@keyframes loadingDotPulse { 0%, 100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .loading-more::before, .search-loading::before { animation: none; } }
.search-loading {
color: var(--accent-ink); text-align: center; padding: 40px 20px; font-size: var(--fs-base); font-weight: 700;
display: flex; align-items: center; justify-content: center; gap: 8px;
}
.search-loading::before {
content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-dark);
animation: loadingDotPulse 1s ease-in-out infinite;
}
.search-results-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.result-row {
position: relative; display: flex; align-items: stretch; gap: 14px;
background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px;
padding: 12px; cursor: pointer; box-shadow: var(--shadow);
transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.result-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.result-row-cover {
position: relative; flex: 0 0 92px; width: 92px; aspect-ratio: 2/3;
border-radius: 7px; overflow: hidden; background: var(--bg-elev-2);
}
.result-row-cover img, .result-row-cover .cover-fallback { width: 100%; height: 100%; object-fit: cover; display: block; }
.result-row-cover .cover-fallback { box-shadow: inset 0 0 0 1px rgba(217,154,61,0.55), inset 0 0 0 3px transparent, inset 0 0 0 3.6px rgba(217,154,61,0.55); }
.result-row-cover .cover-fallback .cover-fallback-medallion { max-width: 26px; margin-bottom: 6%; }
.result-row-cover .cover-fallback .cover-fallback-initial { font-size: 0.8rem; }
.result-row-cover .cover-fallback .cover-fallback-divider { margin-bottom: 5%; }
.result-row-cover .cover-fallback .cover-fallback-title { font-size: 0.56rem; -webkit-line-clamp: 3; }
.result-row-rating {
position: absolute; top: 10px; right: 10px; z-index: 1;
display: flex; align-items: center; justify-content: center;
min-width: 34px; height: 34px; padding: 0 5px; border-radius: 999px;
background: var(--accent); color: var(--text); font-weight: 800; font-size: 1rem;
box-shadow: 0 2px 6px rgba(23,59,77,0.3);
}
.result-row-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.result-row-title {
font-weight: 700; font-size: var(--fs-base); line-height: 1.3; color: var(--text);
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.result-row-author { font-size: var(--fs-sm); color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-row-meta { font-size: var(--fs-xs); color: var(--text-dim); opacity: 0.75; margin-top: 1px; }
.search-load-more-btn {
display: block; margin: 20px auto 4px; padding: 10px 26px; border-radius: 999px;
border: 1px solid var(--accent); background: var(--bg-elev); color: var(--accent-ink);
font-weight: 700; font-size: var(--fs-ms); cursor: pointer;
transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.search-load-more-btn:hover { background: var(--accent); color: var(--text); transform: translateY(-1px); }
.empty-state b { color: var(--text); }
.no-results-suggest-label { margin: 16px 0 10px; color: var(--text); font-weight: 600; }
.no-results-suggest-list { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.no-results-suggest-btn {
background: var(--bg-elev-2); border: 1px solid var(--border); color: var(--text);
padding: 6px 14px; border-radius: 14px; font-size: var(--fs-sm); cursor: pointer;
}
.no-results-suggest-btn:hover { background: var(--bg-elev); border-color: var(--primary); }
.search-did-you-mean { font-size: var(--fs-base); color: var(--text); margin: 0 0 14px; }
.search-did-you-mean button {
background: none; border: none; padding: 0; cursor: pointer; font: inherit;
font-weight: 800; font-style: italic; color: var(--primary);
border-bottom: 1.5px solid var(--accent);
}
.search-did-you-mean button:hover { color: var(--accent-ink); border-color: var(--accent-dark); }
.series-block {
margin: 14px 0 6px; padding: 16px; background: var(--bg-elev);
border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: 12px; box-shadow: var(--shadow);
}
.series-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 14px; }
.series-label {
font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px;
color: var(--text); background: var(--accent); padding: 2px 8px; border-radius: 999px;
}
.series-name { margin: 0; font-family: var(--font-display); font-size: var(--fs-lg); color: var(--text); }
.series-meta { font-size: var(--fs-sm); color: var(--text-dim); }
.series-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 14px 12px; }
.series-item { cursor: pointer; min-width: 0; }
.series-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.series-item-cover {
position: relative; aspect-ratio: 2/3; border-radius: 7px; overflow: hidden; background: var(--bg-elev-2);
box-shadow: var(--shadow); transition: transform 0.15s ease;
}
.series-item:hover .series-item-cover { transform: translateY(-2px); }
.series-item-cover img, .series-item-cover .cover-fallback { width: 100%; height: 100%; object-fit: cover; display: block; }
.series-item-cover .cover-fallback .cover-fallback-title { font-size: 0.56rem; -webkit-line-clamp: 3; }
.series-item-num {
position: absolute; top: 6px; left: 6px; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 999px;
display: flex; align-items: center; justify-content: center;
background: var(--primary); color: #fff; font-weight: 800; font-size: var(--fs-sm); box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.series-item-title {
margin-top: 6px; font-size: var(--fs-sm); font-weight: 600; line-height: 1.25; color: var(--text);
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.series-related-label, .series-rest-label { margin: 18px 0 10px; font-size: var(--fs-sm); font-weight: 700; color: var(--text-dim); }
.series-rest-label { margin: 18px 0 10px; }
@media (max-width: 600px) { .series-grid { grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 12px 10px; } }
.series-page-link { margin-left: auto; font-size: var(--fs-sm); font-weight: 700; color: var(--primary); text-decoration: none; }
.series-page-link:hover { text-decoration: underline; }
.series-page-author { margin: -6px 0 12px; font-size: var(--fs-ms); color: var(--text-dim); }
.series-page-author a { color: var(--primary); font-weight: 700; text-decoration: none; }
.series-page-list { list-style: none; margin: 18px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.series-page-row {
display: flex; gap: 14px; align-items: center; padding: 10px; background: var(--bg-elev);
border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); cursor: pointer; min-width: 0;
}
.series-page-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.series-page-num {
flex: 0 0 auto; min-width: 30px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
background: var(--primary); color: #fff; font-weight: 800; font-size: var(--fs-ms);
}
.series-page-cover { flex: 0 0 56px; width: 56px; aspect-ratio: 2/3; border-radius: 5px; overflow: hidden; background: var(--bg-elev-2); }
.series-page-cover img, .series-page-cover .cover-fallback { width: 100%; height: 100%; object-fit: cover; display: block; }
.series-page-cover .cover-fallback .cover-fallback-title { font-size: 0.5rem; -webkit-line-clamp: 3; }
.series-page-info { min-width: 0; }
.series-page-name { font-weight: 700; color: var(--text); line-height: 1.25; }
.series-page-meta { margin-top: 3px; font-size: var(--fs-sm); color: var(--text-dim); }
.prize-list { list-style: none; margin: 18px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.prize-row {
display: flex; gap: 12px; align-items: baseline; padding: 10px 12px; background: var(--bg-elev);
border: 1px solid var(--border); border-radius: 10px; min-width: 0;
}
.prize-year { flex: 0 0 auto; min-width: 42px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.prize-info { min-width: 0; line-height: 1.35; overflow-wrap: anywhere; }
.prize-work { font-weight: 700; color: var(--text); text-decoration: none; }
a.prize-work:hover { text-decoration: underline; }
.prize-by { color: var(--text-dim); }
.prize-by a { color: inherit; }
.prize-meta { margin-top: 3px; font-size: var(--fs-sm); color: var(--text-dim); }
.prize-meta .prize-work { font-weight: 600; }
.author-start { margin: 10px 0 4px; font-size: var(--fs-base); color: var(--text); }
.author-start-book { color: var(--primary); font-weight: 700; cursor: pointer; }
.author-start-book:hover { text-decoration: underline; }
.author-series-links { margin: 8px 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.author-series-links a {
font-size: var(--fs-sm); font-weight: 700; color: var(--text); text-decoration: none; padding: 5px 11px;
border-radius: 999px; border: 1px solid var(--border); background: var(--bg-elev);
}
.author-series-links a:hover { border-color: var(--primary); color: var(--primary); }
.back-link {
background: none; border: none; color: var(--primary); font-weight: 700; font-size: var(--fs-sm);
cursor: pointer; padding: 6px 0; margin-bottom: 14px; display: inline-flex; align-items: center; gap: 4px;
}
.detail-layout {
position: relative; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start;
background: var(--bg-elev); border-radius: 12px; padding: 26px; box-shadow: var(--shadow);
border: 1px solid var(--border); isolation: isolate;
}
.detail-layout::before {
content: ""; position: absolute; left: 0; right: 0; top: 0; height: 320px; z-index: -1; pointer-events: none;
background-image: var(--detail-backdrop, none); background-size: cover; background-position: center 35%;
filter: blur(34px) saturate(1.35); opacity: 0.3;
-webkit-mask-image: linear-gradient(#000 35%, transparent); mask-image: linear-gradient(#000 35%, transparent);
clip-path: inset(0 round 12px 12px 0 0);
}
:root[data-theme="dark"] .detail-layout::before { opacity: 0.22; }
.detail-reviews-card {
position: relative; margin-top: 22px; background: var(--bg-elev); border-radius: 12px; padding: 26px;
border: 1px solid var(--border); border-top: 3px solid var(--accent-dark);
}
.reviews-section-label { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; }
.reviews-section-label svg { width: 17px; height: 17px; color: var(--accent-ink); flex-shrink: 0; }
.reviews-section-label-text {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: var(--fs-base); font-weight: 700; color: var(--primary);
}
.detail-cover {
width: 170px; min-width: 170px; aspect-ratio: 2/3; border-radius: 8px; overflow: hidden;
background: var(--bg-elev-2); box-shadow: 0 10px 24px rgba(23,59,77,0.18);
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-main { flex: 1; min-width: 0; }
.detail-title { font-family: var(--font-display); line-height: 1.15; font-size: var(--fs-xl); font-weight: 700; margin: 0 0 6px; color: var(--text); }
.detail-meta { color: var(--text-dim); font-size: var(--fs-ms); margin-bottom: 10px; }
.detail-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.detail-meta-row { display: contents; }
.detail-tag {
background: var(--bg-elev-2); color: var(--primary); border: 1px solid var(--border);
font-size: var(--fs-xs); font-weight: 700; padding: 3px 10px; border-radius: 12px;
text-transform: uppercase; letter-spacing: 0.3px;
text-decoration: none; cursor: pointer; display: inline-block;
}
.detail-tag:hover { background: var(--bg-elev); border-color: var(--accent); }
.detail-author-link {
color: var(--primary); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent);
text-decoration-thickness: 2px; text-underline-offset: 4px; padding: 4px 0;
}
.detail-author-link::after { content: ' ›'; color: var(--accent-ink); font-weight: 700; }
.detail-author-link:hover { color: var(--accent-ink); }
.detail-author-more {
display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 8px 14px; border-radius: 18px;
border: 1px solid var(--accent); color: var(--primary); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; background: var(--bg-elev);
}
.detail-author-more:hover { background: var(--bg-elev-2); }
.detail-characteristics {
display: flex; flex-wrap: wrap; gap: 12px 26px; margin-bottom: 16px;
padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.char-item { font-size: var(--fs-sm); }
.char-item .char-label { color: var(--text-dim); display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 2px; }
.char-item .char-value { color: var(--text); font-weight: 600; }
.detail-subhead { font-size: var(--fs-sm); font-weight: 700; color: var(--primary); margin: 16px 0 6px; text-transform: uppercase; letter-spacing: 0.4px; }
.detail-text { font-size: var(--fs-base); color: var(--text); line-height: 1.6; margin: 0; text-align: left; }
.author-photo { float: left; margin: 4px 18px 8px 0; width: 132px; }
.author-photo img { width: 132px; height: 132px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 3px var(--bg-elev), 0 0 0 5px var(--accent); display: block; background: var(--border, #e3dccb); }
.author-photo figcaption { font-size: var(--fs-xs); margin-top: 3px; text-align: center; }
.author-photo figcaption a { color: var(--text-dim); opacity: 0.8; }
@media (max-width: 640px) { .author-photo { float: none; margin: 4px auto 12px; } }
#viewAuthor .author-page-count { clear: both; }
.author-page-count { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-dim); margin: 14px 0 10px; }
.search-author-banner {
display: flex; align-items: center; gap: 14px;
background: linear-gradient(135deg, var(--bg-elev-2), var(--bg-elev));
border: 1px solid var(--border); border-left: 3px solid var(--accent);
border-radius: 12px; padding: 14px 16px; margin-bottom: 16px;
box-shadow: 0 1px 3px rgba(23, 59, 77, 0.06);
}
.search-author-banner .author-banner-icon {
flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
background: var(--bg-elev); color: var(--accent-ink);
border: 1px solid var(--border);
}
.search-author-banner .author-banner-icon svg { width: 19px; height: 19px; }
.search-author-banner .author-banner-text { flex: 1; min-width: 0; }
.search-author-banner .label {
display: block; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase;
letter-spacing: 0.06em; color: var(--accent-ink); margin-bottom: 3px;
}
.search-author-banner .sentence { font-size: var(--fs-base); color: var(--text); }
.search-author-banner .name {
font-weight: 800; color: var(--primary); text-decoration: none;
border-bottom: 1.5px solid var(--accent); padding-bottom: 1px;
}
.search-author-banner .name:hover { color: var(--accent-ink); border-color: var(--accent-dark); }
.search-author-banner .go {
flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px;
background: var(--primary); color: #fff; text-decoration: none;
font-size: var(--fs-sm); font-weight: 700; white-space: nowrap;
padding: 8px 14px; border-radius: 20px; transition: background 0.15s ease;
}
.search-author-banner .go:hover { background: var(--accent-dark); }
@media (max-width: 560px) {
.search-author-banner { flex-wrap: wrap; }
.search-author-banner .go { flex-basis: 100%; justify-content: center; margin-top: 2px; }
}
.detail-actions-col { width: 150px; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; }
.detail-actions-primary, .detail-actions-secondary, .vote-btn-row { display: contents; }
.detail-actions-col { position: relative; }
#shareRatingBtn {
position: absolute; top: 11px; left: calc(50% + 34px);
background: linear-gradient(155deg, var(--accent), var(--accent-dark)); border-color: var(--accent-dark); color: var(--primary-dark);
}
#shareRatingBtn:hover { filter: brightness(1.08); }
.rating-badge-lg, .rating-avg-box, .review-rating-badge { font-family: var(--font-display); font-variant-numeric: lining-nums; }
.rating-badge-lg {
width: 52px; height: 52px; border-radius: 50%; background: var(--bg-elev-2); border: 2px solid var(--border);
display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem;
color: var(--text-dim); margin: 0 auto 6px; flex-shrink: 0;
}
.rating-badge-lg.has-rating {
background: linear-gradient(155deg, var(--accent), var(--accent-dark));
border-color: var(--accent-dark); color: var(--text);
box-shadow: 0 4px 12px rgba(217,154,61,0.45);
}
.rating-badge-lg.has-rating { border-radius: 12px; width: 60px; height: 60px; flex-direction: column; gap: 1px; font-size: 1.5rem; line-height: 1; }
.rating-badge-lg small, #voteBtn small { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; opacity: 0.85; }
.rating-badge-lg.is-pending { background: var(--bg-elev); border-color: var(--primary); color: var(--primary); }
.action-btn {
background: var(--primary); color: #fff; border: none; padding: 9px 10px;
border-radius: 7px; font-weight: 700; cursor: pointer; font-size: var(--fs-xs); text-align: center; line-height: 1.25;
}
.action-btn.secondary { background: var(--bg-elev); color: var(--text); border: 1px solid var(--accent); }
#reviewBtn::before, #addToListBtn::before {
content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px;
background: var(--accent-ink); -webkit-mask: var(--btn-icon) center / contain no-repeat; mask: var(--btn-icon) center / contain no-repeat;
}
#reviewBtn { --btn-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 20h9%27/%3E%3Cpath d=%27M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z%27/%3E%3C/svg%3E"); }
#addToListBtn { --btn-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z%27/%3E%3C/svg%3E"); }
.action-btn.has-rating {
background: linear-gradient(155deg, var(--accent), var(--accent-dark)); color: var(--primary-dark);
font-weight: 800; font-size: 1.05rem; box-shadow: 0 4px 12px rgba(217,154,61,0.45);
}
.rating-summary-label { font-size: var(--fs-xs); font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.4px; text-align: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.reading-count { font-size: var(--fs-xs); color: var(--text-dim); text-align: center; margin: -2px auto 4px; }
.popover {
position: absolute; z-index: 60; background: var(--bg-elev); border: 1px solid var(--border);
border-radius: 10px; box-shadow: 0 16px 36px rgba(14,39,51,0.28); width: 260px; max-width: calc(100% - 36px);
}
.vote-panel.popover { max-height: 300px; overflow-y: auto; }
.vote-row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-bottom: 1px solid var(--border); cursor: pointer; }
.vote-row:last-child { border-bottom: none; }
.vote-row:hover { background: var(--bg-elev-2); }
.vote-row.selected { background: #f7e8c9; }
.vote-badge {
width: 22px; height: 22px; border-radius: 5px; background: var(--accent); color: var(--text);
font-weight: 800; font-size: var(--fs-xs); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.vote-row-clear { border-bottom: 2px solid var(--border); }
.vote-row-clear .vote-badge { background: var(--bg-elev-2); color: var(--text-dim); border: 1px solid var(--border); }
.vote-row-clear .vote-label { color: var(--text-dim); font-style: italic; }
.vote-label { width: 76px; font-size: var(--fs-xs); color: var(--text); flex-shrink: 0; }
.vote-stars { color: var(--accent-ink); font-size: var(--fs-xs); letter-spacing: 1px; }
.list-panel.popover { max-height: 320px; overflow-y: auto; padding: 8px; }
.list-panel-item { display: flex; align-items: center; gap: 8px; padding: 7px 6px; border-radius: 6px; cursor: pointer; font-size: var(--fs-sm); }
.list-panel-item:hover { background: var(--bg-elev-2); }
.list-panel-item input { flex-shrink: 0; }
.list-panel-empty { font-size: var(--fs-xs); color: var(--text-dim); padding: 6px; }
.list-panel-divider { height: 1px; background: var(--border); margin: 6px 4px; }
.list-panel-new { display: flex; gap: 6px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--border); }
.list-panel-new input { flex: 1; min-width: 0; padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; font-size: var(--fs-xs); }
.list-panel-new button { flex-shrink: 0; background: var(--accent-solid); color: #fff; border: none; padding: 6px 10px; border-radius: 6px; font-size: var(--fs-xs); font-weight: 700; cursor: pointer; }
.new-list-row { display: flex; gap: 8px; margin-bottom: 20px; }
.new-list-row input { flex: 1; padding: 9px 12px; border: 1px solid var(--border); border-radius: 7px; font-size: var(--fs-ms); }
.my-list-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.my-list-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 10px; }
.my-list-title-row { display: flex; align-items: center; gap: 9px; min-width: 0; }
.my-list-checkbox { flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--accent-dark); cursor: pointer; }
.my-list-name { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 1.05rem; color: var(--primary); margin: 0; }
.my-lists-bulk-bar {
display: flex; align-items: center; justify-content: space-between; gap: 10px;
background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: 8px;
padding: 9px 14px; margin-bottom: 16px; font-size: var(--fs-sm); color: var(--text);
}
.my-lists-bulk-bar .remove-link { padding: 0; }
.my-list-actions { display: flex; align-items: center; gap: 12px; }
.my-list-rename, .my-list-delete { background: none; border: none; color: var(--text-dim); font-size: var(--fs-xs); cursor: pointer; text-decoration: underline; }
.my-list-rename:hover, .my-list-delete:hover { color: var(--text); }
.my-list-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.my-list-book { position: relative; }
.my-list-book-remove { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(14,39,51,0.7); color: #fff; border: none; cursor: pointer; font-size: var(--fs-xs); line-height: 1; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px; padding: 16px; text-align: center; }
.stat-value { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--accent-ink); }
.stat-value-btn { background: none; border: none; font: inherit; color: inherit; padding: 0; cursor: pointer; }
.stat-value-btn:hover { text-decoration: underline; }
.stat-label { font-size: var(--fs-xs); color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.3px; margin-top: 4px; }
.stats-rating-chart { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.stats-rating-row { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); }
.stats-rating-row .r-num { width: 16px; flex-shrink: 0; text-align: right; color: var(--text-dim); }
.stats-rating-row .r-bar-track { flex: 1; background: var(--bg-elev-2); border-radius: 4px; height: 12px; overflow: hidden; }
.stats-rating-row .r-bar-fill { background: var(--accent-dark); height: 100%; border-radius: 4px; }
.stats-rating-row .r-count { width: 22px; flex-shrink: 0; color: var(--text-dim); }
.stats-top-authors { display: flex; flex-direction: column; gap: 6px; }
.stats-author-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 8px; font-size: var(--fs-sm); }
.stats-author-row .a-count { font-weight: 700; color: var(--accent-ink); }
.review-panel.popover { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.install-block { position: relative; flex-shrink: 0; }
.install-panel { top: calc(100% + 8px); right: 0; left: auto; padding: 12px; width: 250px; max-width: 250px; box-sizing: border-box; }
.install-panel-body { font-size: var(--fs-sm); color: var(--text); line-height: 1.55; }
.install-panel-body ol { margin: 0; padding-left: 18px; }
.install-panel-body li { margin-bottom: 5px; }
.notif-block { position: relative; flex-shrink: 0; }
.notif-bell-btn {
position: relative; background: none; border: none; color: rgba(255,255,255,0.85); cursor: pointer;
padding: 6px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.notif-bell-btn:hover { background: rgba(255,255,255,0.12); }
.notif-bell-btn svg { width: 19px; height: 19px; }
.notif-badge {
position: absolute; top: 2px; right: 2px; background: var(--accent-solid); color: #fff;
font-size: var(--fs-xs); font-weight: 800; min-width: 15px; height: 15px; border-radius: 50%;
display: flex; align-items: center; justify-content: center; padding: 0 3px; box-shadow: 0 0 0 2px var(--primary);
}
.notif-panel { top: calc(100% + 8px); right: 0; left: auto; padding: 8px; width: 300px; max-width: 300px; box-sizing: border-box; }
.notif-list { display: flex; flex-direction: column; gap: 2px; max-height: 340px; overflow-y: auto; }
.notif-item { display: flex; align-items: flex-start; gap: 10px; padding: 9px 8px; border-radius: 7px; cursor: pointer; }
.notif-item:hover { background: var(--bg-elev-2); }
.notif-item.unread { background: #fbf1dd; }
.notif-item-icon {
width: 28px; height: 28px; border-radius: 50%; background: var(--bg-elev-2); color: var(--accent-ink);
display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.notif-item-icon svg { width: 15px; height: 15px; }
.notif-item-text { font-size: var(--fs-sm); color: var(--text); line-height: 1.4; }
.notif-username-btn {
background: none; border: none; padding: 0; font: inherit; font-weight: 700;
color: var(--primary); cursor: pointer;
}
.notif-username-btn:hover { text-decoration: underline; }
.notif-item-date { font-size: var(--fs-xs); color: var(--text-dim); margin-top: 2px; }
.notif-empty { padding: 20px 10px; text-align: center; font-size: var(--fs-sm); color: var(--text-dim); }
.auth-block { position: relative; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.auth-email {
display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.9); font-size: var(--fs-sm);
max-width: 160px; white-space: nowrap; background: none; border: none; padding: 4px 6px; border-radius: 14px;
cursor: pointer; font-family: inherit;
}
.auth-email:hover { background: rgba(255,255,255,0.12); }
.auth-email span { overflow: hidden; text-overflow: ellipsis; }
.user-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.user-avatar svg { width: 13px; height: 13px; }
.user-menu-panel { top: calc(100% + 8px); right: 0; left: auto; padding: 8px; display: flex; flex-direction: column; gap: 2px; box-sizing: border-box; width: 250px; max-width: 250px; }
.user-menu-header { display: flex; align-items: center; gap: 12px; padding: 10px 8px 12px; }
.user-menu-avatar {
width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(155deg, var(--accent), var(--accent-dark));
color: var(--primary-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
box-shadow: 0 3px 8px rgba(217,154,61,0.4);
}
.user-menu-avatar svg { width: 20px; height: 20px; }
.user-menu-name { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-weight: 700; font-size: 1rem; color: var(--primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-name-btn {
background: none; border: none; padding: 0; text-align: left; cursor: pointer;
display: inline-flex; align-items: center; gap: 4px;
text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px;
}
.user-menu-name-btn::after { content: '›'; font-family: system-ui, sans-serif; font-weight: 400; opacity: 0.55; }
.user-menu-name-btn:hover { text-decoration-style: solid; }
.user-menu-name-btn:hover::after { opacity: 0.9; }
.user-menu-item {
display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; background: none; border: none;
color: var(--text); font-size: var(--fs-sm); font-family: inherit; padding: 9px 10px; border-radius: 7px; cursor: pointer; text-align: left; white-space: nowrap;
}
.user-menu-item:hover { background: var(--bg-elev-2); }
.user-menu-item svg { width: 17px; height: 17px; color: var(--text-dim); flex-shrink: 0; }
.user-menu-divider { height: 1px; background: var(--border); margin: 4px 6px; }
.auth-btn {
background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); color: #fff;
font-size: var(--fs-sm); padding: 6px 12px; border-radius: 14px; cursor: pointer; white-space: nowrap;
}
.auth-btn:hover { background: rgba(255,255,255,0.2); }
.auth-overlay {
position: fixed; inset: 0; z-index: 190; background: rgba(14,39,51,0.55);
display: flex; align-items: flex-end; justify-content: center;
}
.auth-sheet {
position: relative; background: var(--bg); color: var(--text); width: 100%; max-width: 440px;
max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box;
border-radius: 18px 18px 0 0; padding: 10px 20px calc(22px + env(safe-area-inset-bottom));
box-shadow: 0 -10px 30px rgba(14,39,51,0.25); animation: authSheetUp 0.22s ease-out;
}
@keyframes authSheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 641px) {
.auth-overlay { align-items: center; padding: 16px; }
.auth-sheet { border-radius: 16px; padding: 22px 26px 24px; border-top: 4px solid var(--accent); }
.auth-grabber { display: none; }
}
@media (prefers-reduced-motion: reduce) { .auth-sheet { animation: none; } }
body.auth-open { overflow: hidden; }
.auth-grabber { width: 38px; height: 4px; border-radius: 2px; background: var(--border); margin: 0 auto 12px; }
.auth-close {
position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: none; background: none;
color: var(--text-dim); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.auth-close:hover { background: var(--bg-elev-2); }
.auth-close svg { width: 20px; height: 20px; }
.auth-screen { display: flex; flex-direction: column; gap: 12px; }
.auth-brand { font-weight: 700; font-size: 1.6rem; letter-spacing: -0.4px; color: var(--primary); padding-right: 40px; }
.auth-brand span { color: var(--accent); }
.auth-title { margin: 0; font-size: 1.25rem; color: var(--primary); padding-right: 40px; }
.auth-tagline { margin: -6px 0 2px; font-size: var(--fs-ms); line-height: 1.45; color: var(--text-dim); }
.auth-reason { background: #f7e8c9; color: #6b4a14; border-radius: 10px; padding: 10px 12px; font-size: var(--fs-ms); font-weight: 600; }
.auth-tabs { display: flex; background: var(--bg-elev-2); border-radius: 12px; padding: 4px; }
.auth-tab {
flex: 1; border: none; background: none; padding: 10px; border-radius: 9px; font: inherit; font-size: var(--fs-base);
font-weight: 600; color: var(--text-dim); cursor: pointer;
}
.auth-tab.active { background: var(--bg-elev); color: var(--primary); box-shadow: var(--shadow); }
.google-btn {
display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; box-sizing: border-box;
background: #fff; color: #3c4043; border: 1px solid #dadce0; border-radius: 12px; padding: 13px 12px;
font-size: var(--fs-base); font-weight: 600; cursor: pointer; font-family: inherit;
}
.google-btn:hover { background: #f7f7f7; }
.google-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.auth-inapp-note { font-size: var(--fs-sm); line-height: 1.4; background: #f7e8c9; color: #6b4a14; border-radius: 10px; padding: 9px 12px; }
.auth-divider { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: var(--fs-sm); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.auth-field { display: flex; flex-direction: column; gap: 5px; }
.auth-field label { font-size: var(--fs-sm); font-weight: 600; color: var(--primary); }
.auth-field input {
width: 100%; box-sizing: border-box; background: var(--bg-elev); color: var(--text); border: 1px solid var(--border);
border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 16px;
}
.auth-field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(23,59,77,0.12); }
.auth-field input.ok { border-color: #3b8a5a; }
.auth-field input.bad { border-color: #b3261e; }
.auth-field-hint { font-size: var(--fs-sm); color: var(--text-dim); line-height: 1.35; }
.auth-field-hint.ok { color: #2f7a4c; }
.auth-field-hint.bad { color: #b3261e; }
.auth-password { position: relative; }
.auth-password input { padding-right: 48px; }
.auth-eye {
position: absolute; top: 0; right: 0; width: 46px; height: 100%; border: none; background: none;
color: var(--text-dim); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.auth-eye svg { width: 20px; height: 20px; }
.btn.auth-submit { width: 100%; padding: 14px; font-size: var(--fs-base); border-radius: 12px; }
.btn.auth-submit[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.btn.auth-submit-accent { background: var(--accent); color: var(--primary-dark); }
.auth-link { background: none; border: none; color: var(--primary); font: inherit; font-size: var(--fs-ms); text-decoration: underline; cursor: pointer; padding: 6px; align-self: center; }
.auth-legal { margin: 0; font-size: var(--fs-xs); line-height: 1.45; color: var(--text-dim); text-align: center; }
.auth-legal a { color: var(--primary); }
.auth-hello { display: flex; align-items: center; gap: 12px; }
.auth-hello-avatar {
width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.15rem;
display: flex; align-items: center; justify-content: center; text-transform: uppercase;
}
.auth-step { font-size: var(--fs-xs); font-weight: 700; color: var(--accent-ink); text-transform: uppercase; letter-spacing: 0.06em; }
.auth-ideas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--text-dim); margin-top: -4px; }
.auth-idea { border: 1px solid var(--border); background: var(--bg-elev); color: var(--primary); border-radius: 16px; padding: 6px 12px; font: inherit; font-size: var(--fs-sm); cursor: pointer; }
.auth-idea:hover { border-color: var(--accent); }
.auth-msg { font-size: var(--fs-xs); color: var(--text-dim); min-height: 14px; }
.auth-screen .auth-msg { font-size: var(--fs-ms); line-height: 1.4; min-height: 0; }
.auth-screen .auth-msg:empty { display: none; }
.share-btn {
background: var(--bg-elev-2); border: 1px solid var(--border); color: var(--primary);
width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
cursor: pointer; flex-shrink: 0;
}
.share-btn:hover { background: var(--accent); border-color: var(--accent-dark); }
.share-btn svg { width: 15px; height: 15px; }
.share-btn-sm {
background: var(--bg-elev-2); border: 1px solid var(--border); color: var(--primary);
width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
cursor: pointer; flex-shrink: 0; padding: 0;
}
.share-btn-sm:hover { background: var(--accent); border-color: var(--accent-dark); }
.share-btn-sm svg { width: 11px; height: 11px; }
.detail-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.auth-msg.error { color: #b3261e; }
.tone-high { background: var(--primary) !important; color: #fff !important; border-color: var(--primary) !important; }
.tone-mid { background: var(--accent) !important; color: var(--text) !important; border-color: var(--accent) !important; }
.tone-low { background: var(--bg-elev-2) !important; color: var(--text-dim) !important; border-color: var(--border) !important; }
:root[data-theme="dark"] .tone-high { background: var(--brand-bg) !important; border-color: var(--brand-bg) !important; }
:root[data-theme="dark"] .tone-mid { color: #14232c !important; }
.score-box {
width: 72px; height: 72px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
font-family: var(--font-display); font-variant-numeric: lining-nums; font-weight: 700; font-size: 2.1rem; line-height: 1;
padding: 0; box-shadow: var(--shadow);
}
.score-empty {
background: transparent; color: var(--accent-ink); border: 2px dashed var(--accent); cursor: pointer; box-shadow: none;
}
.score-empty:hover, .score-empty:focus-visible { background: var(--bg-elev-2); outline: none; }
.score-side { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.score-side-main { font-weight: 700; font-size: var(--fs-sm); color: var(--text); }
.score-side-sub { font-size: var(--fs-xs); color: var(--text-dim); }
.rating-summary { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rating-summary-top { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rating-stars-big { color: var(--accent-ink); font-size: var(--fs-ms); letter-spacing: 1px; }
.star-half-wrap { position: relative; display: inline-block; }
.star-half-fill { position: absolute; left: 0; top: 0; width: 50%; overflow: hidden; }
.rating-count-box {
background: var(--bg-elev-2); color: var(--text-dim); font-size: var(--fs-xs); font-weight: 700;
padding: 4px 10px; border-radius: 8px; border: 1px solid var(--border);
display: inline-flex; align-items: center; gap: 4px;
}
.rating-count-box svg { width: 12px; height: 12px; flex-shrink: 0; }
.rating-distribution { display: flex; flex-direction: column; gap: 3px; width: 100%; }
.rating-bar-row { display: flex; align-items: center; gap: 6px; }
.rating-bar-label { width: 16px; font-size: var(--fs-xs); color: var(--text-dim); text-align: right; flex-shrink: 0; }
.rating-bar-track { flex: 1; height: 6px; background: var(--bg-elev-2); border-radius: 3px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--accent); border-radius: 3px; }
.rating-bar-count { width: 18px; font-size: var(--fs-xs); color: var(--text-dim); flex-shrink: 0; }
.public-reviews { display: flex; flex-direction: column; gap: 4px; }
.public-review { padding: 18px 0; border-bottom: 1px solid var(--border); }
.public-review:first-child { padding-top: 0; }
.public-review:last-child { border-bottom: none; padding-bottom: 0; }
.public-review-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.public-review-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.review-author-avatar {
width: 20px; height: 20px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: flex;
background: linear-gradient(155deg, var(--accent), var(--accent-dark)); color: var(--primary-dark);
align-items: center; justify-content: center;
}
.review-author-avatar svg { width: 11px; height: 11px; }
.public-review-author {
font-size: var(--fs-xs); font-weight: 700; color: var(--primary); background: none; border: none;
padding: 0; cursor: pointer; font-family: inherit;
}
.public-review-author:hover { text-decoration: underline; }
.public-review-author.is-deleted { font-style: italic; color: var(--text-dim); cursor: default; }
.public-review-author.is-deleted:hover { text-decoration: none; }
.public-review-date { font-size: var(--fs-xs); color: var(--text-dim); }
.review-edit-btn {
background: var(--bg-elev-2); border: 1px solid var(--border); color: var(--primary);
font-size: var(--fs-xs); font-weight: 700; cursor: pointer; padding: 2px 8px; border-radius: 10px;
}
.review-edit-btn:hover { background: var(--border); }
.public-review-rating {
background: var(--accent); color: var(--text); font-size: var(--fs-xs); font-weight: 800;
width: 21px; height: 21px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.public-review-title {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: var(--fs-ms); font-weight: 700;
color: var(--accent-ink); margin: 0 0 6px;
}
.public-review-text { font-size: var(--fs-sm); color: var(--text); line-height: 1.55; margin: 0; text-align: left; }
.public-review-text.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.detail-text.clamp-5 { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.detail-text.clamp-8 { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.public-review-text.spoiler-hidden { filter: blur(6px); user-select: none; }
.spoiler-reveal-btn {
display: block; background: var(--bg-elev-2); border: 1px solid var(--border); color: var(--text-dim);
font-size: var(--fs-xs); font-weight: 700; padding: 6px 10px; border-radius: 6px; cursor: pointer; margin-top: 6px;
}
.spoiler-reveal-btn:hover { background: var(--border); }
.public-review-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; gap: 10px; }
.public-review-foot-left { display: flex; align-items: center; gap: 12px; }
.review-expand-btn { background: none; border: none; color: var(--primary); font-size: var(--fs-xs); font-weight: 700; cursor: pointer; padding: 6px 0 0; text-decoration: underline; }
.review-report-btn { background: none; border: none; color: var(--text-dim); font-size: var(--fs-xs); cursor: pointer; padding: 6px 0 0; text-decoration: underline; }
.review-report-btn:hover { color: var(--text); }
.review-like-wrap { display: flex; align-items: center; margin-left: auto; }
.review-like-btn {
display: flex; align-items: center; background: none; border: none; cursor: pointer;
color: var(--text-dim); padding: 6px 2px;
}
.review-like-btn svg { width: 15px; height: 15px; }
.review-like-btn.liked { color: #c23b5a; }
.review-like-btn.liked svg { fill: #c23b5a; }
.review-like-count-btn {
background: none; border: none; cursor: pointer; color: var(--text-dim); font-size: var(--fs-xs);
font-weight: 700; font-family: inherit; padding: 6px 2px 6px 0;
}
.review-like-count-btn:hover { text-decoration: underline; }
.likers-panel.popover { max-height: 260px; overflow-y: auto; padding: 6px; }
.likers-username {
display: block; width: 100%; text-align: left; background: none; border: none; font: inherit;
color: var(--text); padding: 7px 10px; border-radius: 6px; cursor: pointer;
}
.likers-username:hover { background: var(--bg-elev-2); }
.review-page-layout {
position: relative; display: flex; gap: 24px; align-items: flex-start;
background: var(--bg-elev); border-radius: 12px; padding: 26px; box-shadow: var(--shadow);
border: 1px solid var(--border);
}
.review-page-cover {
width: 140px; min-width: 140px; aspect-ratio: 2/3; border-radius: 8px; overflow: hidden;
background: var(--bg-elev-2); box-shadow: 0 10px 24px rgba(23,59,77,0.18);
}
.review-page-cover img { width: 100%; height: 100%; object-fit: cover; }
.review-page-main { flex: 1; min-width: 0; }
.review-rating-display { margin: 8px 0 18px; font-size: var(--fs-ms); }
.review-rating-badge { background: var(--accent); color: var(--text); font-weight: 800; padding: 3px 10px; border-radius: 6px; margin-right: 8px; }
.review-rating-hint { color: var(--text-dim); font-size: var(--fs-sm); }
.review-field-label { display: block; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--primary); margin: 14px 0 6px; }
.review-title-input { width: 100%; box-sizing: border-box; background: var(--bg-elev-2); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 9px 12px; font-size: var(--fs-ms); font-family: inherit; }
.review-body-input { width: 100%; box-sizing: border-box; min-height: 160px; background: var(--bg-elev-2); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; font-size: var(--fs-ms); font-family: inherit; resize: vertical; }
.review-page-actions { display: flex; align-items: center; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.review-page-actions .auth-msg { margin-right: auto; min-height: 0; }
.review-actions { display: flex; gap: 8px; justify-content: flex-end; }
textarea, select {
background: var(--bg-elev-2); color: var(--text); border: 1px solid var(--border);
border-radius: 6px; padding: 6px 9px; font-size: var(--fs-sm); font-family: inherit;
}
textarea { width: 100%; min-height: 62px; resize: vertical; }
.btn {
background: var(--primary); color: #fff; border: none; padding: 7px 14px;
border-radius: 7px; font-weight: 700; cursor: pointer; font-size: var(--fs-sm);
}
.btn.secondary { background: var(--bg-elev); color: var(--text); border: 1px solid var(--accent); }
.remove-link {
background: none; border: none; color: var(--text-dim); font-size: var(--fs-xs);
text-decoration: underline; cursor: pointer; padding: 4px 0; align-self: center;
}
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.toolbar-actions { display: flex; gap: 8px; }
.exact-match-toggle {
display: flex; align-items: center; gap: 9px; font-size: var(--fs-sm); font-weight: 700;
color: var(--primary); cursor: pointer; background: var(--bg-elev); border: 1.5px solid var(--border);
padding: 6px 13px 6px 10px; border-radius: 18px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.exact-match-toggle:hover { border-color: var(--accent); }
.exact-match-toggle:has(input:checked) { border-color: var(--accent-dark); box-shadow: var(--shadow); }
.switch { position: relative; width: 34px; height: 20px; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch-track {
position: absolute; inset: 0; background: var(--bg-elev-2); border: 1px solid var(--border);
border-radius: 999px; transition: background 0.15s ease, border-color 0.15s ease;
}
.switch-track::after {
content: ''; position: absolute; top: 1px; left: 1px; width: 16px; height: 16px; border-radius: 50%;
background: #fff; box-shadow: 0 1px 3px rgba(23,59,77,0.35); transition: transform 0.15s ease;
}
.switch input:checked + .switch-track { background: var(--accent-dark); border-color: var(--accent-dark); }
.switch input:checked + .switch-track::after { transform: translateX(14px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button {
background: var(--bg-elev-2); border: 1px solid var(--border); color: var(--text-dim);
padding: 5px 11px; border-radius: 14px; font-size: var(--fs-xs); cursor: pointer;
}
.filters button.active { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 700; }
footer { text-align: center; color: var(--text-dim); font-size: var(--fs-xs); padding: 24px 20px 84px; }
.footer-links { display: flex; justify-content: center; gap: 0 10px; flex-wrap: wrap; margin-bottom: 0; }
.footer-links button, .footer-links a {
background: none; border: none; color: var(--text-dim); font-size: var(--fs-xs);
text-decoration: underline; cursor: pointer; padding: 12px 6px; font-family: inherit;
}
.footer-links button:hover, .footer-links a:hover { color: var(--primary); }
.source-credit { font-size: var(--fs-xs); color: var(--text-dim); margin: 4px 0 0; text-align: right; }
.source-credit a { color: var(--text-dim); }
.legal-content .legal-btn {
background: var(--primary); color: #fff; border: none; border-radius: 8px;
padding: 10px 16px; font-size: var(--fs-ms); font-family: inherit; cursor: pointer;
}
.account-danger-zone { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--border, rgba(127,127,127,0.25)); text-align: center; }
.account-danger-zone button {
background: none; border: none; color: var(--text-dim); font-size: var(--fs-sm);
text-decoration: underline; cursor: pointer; font-family: inherit; padding: 8px;
}
.account-danger-zone button:hover { color: #c0392b; }
.auth-consent { display: flex; align-items: flex-start; gap: 7px; font-size: var(--fs-xs); color: var(--text-dim); line-height: 1.4; cursor: pointer; }
.auth-consent input { width: auto; flex-shrink: 0; margin-top: 2px; accent-color: var(--accent-dark); }
.auth-consent a { color: var(--primary); }
.legal-content {
background: var(--bg-elev); border-radius: 12px; padding: 30px; box-shadow: var(--shadow);
border: 1px solid var(--border); max-width: 720px; margin: 0 auto;
}
.legal-content h1 {
font-family: var(--font-display); font-size: 1.5rem;
color: var(--primary); margin: 0 0 4px;
}
.legal-content .legal-updated { font-size: var(--fs-xs); color: var(--text-dim); margin-bottom: 22px; }
.legal-content h2 {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: var(--fs-base);
color: var(--primary); margin: 22px 0 8px;
}
.legal-content h3 {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: var(--fs-ms);
color: var(--primary); margin: 16px 0 4px;
}
.legal-content p, .legal-content li { font-size: var(--fs-ms); line-height: 1.65; color: var(--text); }
.legal-content ul { margin: 8px 0; padding-left: 20px; }
.legal-content a { color: var(--primary); }
.legal-content strong { color: var(--primary); }
.toast {
position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
background: var(--primary); border: 1px solid var(--primary-dark); color: #fff;
padding: 8px 16px; border-radius: 8px; font-size: var(--fs-sm); z-index: 100;
opacity: 0; transition: opacity 0.2s ease; pointer-events: none; box-shadow: var(--shadow-hover);
}
.toast.show { opacity: 1; }
.bugreport-btn {
position: fixed; bottom: 20px; right: 20px; z-index: 90;
width: 44px; height: 44px; border-radius: 50%;
background: var(--primary); color: #fff; border: none;
display: flex; align-items: center; justify-content: center;
cursor: pointer; box-shadow: var(--shadow-hover);
}
.bugreport-btn:hover { background: var(--primary-dark); }
.bugreport-btn svg { width: 20px; height: 20px; }
.bugreport-panel {
position: fixed; bottom: 74px; right: 20px; z-index: 91;
background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px;
box-shadow: 0 16px 36px rgba(14,39,51,0.28); width: 280px; max-width: calc(100vw - 40px);
padding: 12px;
}
.bugreport-panel-title { font-weight: 700; font-size: var(--fs-sm); color: var(--primary); margin-bottom: 8px; }
.bugreport-panel textarea { width: 100%; min-height: 80px; margin-bottom: 8px; }
.bugreport-panel-actions { display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
.bugreport-msg { font-size: var(--fs-xs); color: var(--text-dim); margin-right: auto; }
@media (max-width: 640px) {
main { padding: 16px 12px; }
.header-inner { padding: 8px 12px; gap: 8px 10px; }
.logo { font-size: 1.02rem; order: 1; margin-right: auto; }
nav { display: contents; }
#navSearch { display: none; }
#navLibrary { order: 2; }
.install-block { order: 3; }
.notif-block { order: 4; }
.auth-block { order: 5; }
.search-block { order: 6; flex-basis: 100%; max-width: none; min-width: 0; }
nav button { padding: 6px 9px; font-size: var(--fs-sm); }
.hero-grid .card { flex: 0 0 128px; width: 128px; scroll-snap-align: start; }
.grid { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; }
.hero-grid { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.hero-scroll-btn { display: none; }
.hero-row { gap: 0; margin: 0 -12px; }
.hero-grid { justify-content: flex-start; scroll-snap-type: x mandatory; padding: 2px 12px 10px; scroll-padding-inline: 12px; }
.hero-grid::-webkit-scrollbar { display: none; }
.review-page-layout {
flex-direction: column; align-items: center; padding: 18px 14px; gap: 16px;
}
.review-page-cover { width: 148px; min-width: 148px; }
.review-page-main { width: 100%; }
.detail-layout {
display: grid; grid-template-columns: 140px 1fr; align-items: start;
column-gap: 12px; row-gap: 4px; padding: 18px 14px;
}
.detail-main { display: contents; }
.detail-title-row { grid-column: 1 / -1; grid-row: 1; flex-wrap: wrap; margin-bottom: 2px; }
.detail-meta-row {
display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
grid-column: 1 / -1; grid-row: 2; margin-bottom: 10px;
}
.detail-meta { margin-bottom: 0; }
.detail-tags { margin-bottom: 0; }
.detail-characteristics, .detail-main > .detail-subhead, .detail-main > .detail-text, .detail-main > .source-credit {
grid-column: 1 / -1; width: 100%;
}
.detail-main > .review-expand-btn, .detail-main > .detail-author-more { grid-column: 1 / -1; justify-self: start; }
.detail-characteristics { margin-top: 14px; }
.detail-layout:has(.detail-characteristics[style*="display: none"]) .detail-main > .detail-subhead:first-of-type {
margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
}
.detail-cover { grid-column: 1; grid-row: 3; width: 140px; min-width: 140px; }
.related-books-list { justify-content: flex-start; margin: 0 -12px; }
.detail-actions-col { display: contents; }
.detail-actions-col .rating-badge-lg,
.detail-actions-col .reading-count {
display: none;
}
.detail-actions-primary {
display: flex; flex-direction: column; gap: 6px;
grid-column: 2; grid-row: 3 / 5; align-self: start;
}
.detail-actions-primary .rating-summary-label { display: none; }
.detail-actions-primary #ratingSummary { display: contents; }
.detail-actions-primary .rating-summary-top {
order: 1; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 10px;
}
.detail-actions-primary .score-box { width: 58px; height: 58px; font-size: 1.75rem; }
.detail-actions-primary .score-side { align-items: flex-start; text-align: left; }
.detail-actions-primary .score-side .rating-stars-big { display: none; }
.detail-actions-primary .rating-stars-big { display: none; }
.detail-actions-primary .vote-btn-row { order: 2; display: flex; align-items: center; gap: 8px; }
.detail-actions-primary #voteBtn { flex: 1; padding: 9px; font-size: var(--fs-ms); }
.detail-actions-primary #shareRatingBtn { position: static; }
.detail-actions-primary #voteBtn.has-rating {
flex: 0 0 auto; padding: 6px 14px; font-size: 1.3rem; border-radius: 10px; font-family: var(--font-display);
}
.detail-actions-primary .rating-distribution { order: 3; margin-top: 0; max-width: 99px; gap: 0.5px; }
.detail-actions-primary .rating-bar-row { gap: 4px; line-height: 1; }
.detail-actions-primary .rating-bar-track { height: 3px; }
.detail-actions-primary .rating-bar-label, .detail-actions-primary .rating-bar-count {
font-size: var(--fs-xs); line-height: 1; width: 10px;
}
.detail-actions-primary #reviewBtn { order: 4; margin-top: 9px; padding: 6px; font-size: var(--fs-xs); }
.detail-actions-primary #addToListBtn { order: 5; padding: 6px; font-size: var(--fs-xs); }
.detail-actions-secondary {
display: flex; flex-direction: column;
grid-column: 1; grid-row: 4; align-self: start; margin-top: -3px;
}
.detail-actions-secondary #removeBtn { padding: 7px; font-size: var(--fs-xs); }
.detail-reviews-card { padding: 18px 14px; }
.public-review-head { flex-wrap: wrap; gap: 6px; }
.toolbar { gap: 8px; }
.my-reviews-item { padding: 12px; gap: 10px; }
.profile-header { flex-wrap: wrap; }
.follow-btn { width: 100%; text-align: center; }
.share-btn-sm { width: 26px; height: 26px; }
.notif-bell-btn, .share-btn { padding: 8px; }
}
@media (max-width: 640px) {
.notif-panel, .install-panel { position: fixed; top: 52px; left: 12px; right: 12px; width: auto; max-width: none; }
}
@media (max-width: 640px) {
.auth-email { max-width: 92px; min-width: 0; }
.auth-email > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
}
@media (max-width: 640px) {
input:not([type=checkbox]):not([type=radio]):not([type=file]), textarea, select,
#searchInput, #reviewBodyInput { font-size: 16px; }
}
@keyframes tinta-shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.cover-box, .result-row-cover, .my-reviews-cover, .suggest-item-cover, .detail-cover {
background-color: var(--bg-elev-2);
background-image: linear-gradient(100deg, transparent 35%, rgba(255,255,255,0.6) 50%, transparent 65%);
background-size: 200% 100%; background-repeat: no-repeat;
animation: tinta-shimmer 1.3s ease-in-out infinite;
}
.cover-box:has(> img.is-loaded), .cover-box:has(> .cover-fallback),
.result-row-cover:has(img.is-loaded), .result-row-cover:has(.cover-fallback),
.my-reviews-cover:has(img.is-loaded), .suggest-item-cover:has(img.is-loaded),
.detail-cover:has(img.is-loaded), .detail-cover:has(#detailCoverFallback:not([style*="none"])) {
animation: none; background-image: none;
}
@media (prefers-reduced-motion: reduce) {
.cover-box, .result-row-cover, .my-reviews-cover, .suggest-item-cover, .detail-cover { animation: none; }
}
.welcome-hero {
background: var(--primary); color: #fff; border-radius: 14px; margin: 4px 0 22px;
padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; text-align: center;
}
.welcome-hero-title { margin: 0; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.2; }
.welcome-hero-text { margin: 0; font-size: var(--fs-ms); line-height: 1.45; opacity: 0.92; }
.welcome-hero-actions { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 4px; }
.welcome-hero-actions .btn { background: var(--accent); color: var(--primary-dark); padding: 12px 22px; font-size: var(--fs-base); width: 100%; max-width: 280px; }
.welcome-hero-actions .remove-link { color: #fff; opacity: 0.85; font-size: var(--fs-sm); padding: 10px; }
@media (min-width: 641px) {
.welcome-hero { text-align: left; padding: 22px 26px; }
.welcome-hero-actions { flex-direction: row; gap: 14px; }
.welcome-hero-actions .btn { width: auto; }
}
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 20px; }
.profile-stat { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px; padding: 10px 8px; text-align: center; min-width: 0; }
.profile-stat-value { font-size: 1.15rem; font-weight: 800; color: var(--primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-stat-value.is-text { font-size: var(--fs-sm); line-height: 1.3; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.profile-stat-label { font-size: var(--fs-xs); color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 3px; }
.library-guest { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px 16px; text-align: center; }
.library-guest p { margin: 0; color: var(--text-dim); font-size: var(--fs-ms); line-height: 1.45; max-width: 320px; }
.library-guest .btn { padding: 12px 22px; font-size: var(--fs-base); background: var(--accent); color: var(--primary-dark); }
.cookie-banner {
position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
background: var(--bg-elev); color: var(--text); border-top: 3px solid var(--accent);
box-shadow: 0 -6px 24px rgba(14,39,51,0.18); padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
display: flex; flex-direction: column; gap: 12px;
}
.cookie-banner p { margin: 0; font-size: var(--fs-ms); line-height: 1.45; }
.cookie-banner a { color: var(--primary); font-weight: 700; }
.cookie-banner-actions { display: flex; gap: 10px; }
.cookie-banner-actions .btn { flex: 1; padding: 12px 10px; font-size: var(--fs-ms); }
@media (min-width: 641px) {
.cookie-banner { left: auto; right: 20px; bottom: 20px; max-width: 380px; border-radius: 12px; border-top-width: 4px; }
}
@media (max-width: 640px) {
.welcome-hero { padding: 14px 16px; gap: 6px; margin: 2px 0 18px; text-align: left; }
.welcome-hero-actions { justify-content: flex-start !important; }
.welcome-hero-title { font-size: 1.3rem; }
.welcome-hero-text { font-size: var(--fs-sm); line-height: 1.4; }
.welcome-hero-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 2px; }
.welcome-hero-actions .btn { width: auto; padding: 10px 18px; font-size: var(--fs-ms); }
.cookie-banner { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 8px; border-top: 1px solid var(--border); }
.cookie-banner p { font-size: var(--fs-sm); line-height: 1.35; }
.cookie-banner-actions .btn { padding: 8px 8px; font-size: var(--fs-ms); }
}
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 300; background: var(--primary); color: #fff; padding: 10px 14px; border-radius: 8px; font-size: var(--fs-ms); text-decoration: none; }
.skip-link:focus { top: 8px; }
.library-example-label { grid-column: 1 / -1; text-align: center; color: var(--text-dim); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; }
.library-guest-note { text-align: center; color: var(--text-dim); font-size: var(--fs-ms); line-height: 1.45; padding: 14px 8px; }
.library-guest-note button { background: none; border: none; padding: 0; font: inherit; color: var(--primary); font-weight: 700; text-decoration: underline; cursor: pointer; }
.footer-cookie-link { background: none; border: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.tour-overlay {
position: fixed; inset: 0; z-index: 200; background: rgba(14,39,51,0.55);
display: flex; align-items: center; justify-content: center; padding: 16px;
}
.tour-card {
background: var(--bg-elev); color: var(--text); border-radius: 14px;
box-shadow: var(--shadow-hover); width: 100%; max-width: 380px; padding: 22px 22px 18px;
display: flex; flex-direction: column; gap: 12px; border-top: 4px solid var(--accent);
}
.tour-step-count { font-size: var(--fs-xs); font-weight: 700; color: var(--accent-ink); text-transform: uppercase; letter-spacing: 0.06em; }
.tour-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-elev-2); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.tour-icon svg { width: 26px; height: 26px; }
.tour-title { margin: 0; font-size: 1.08rem; color: var(--primary); }
.tour-text { margin: 0; font-size: var(--fs-ms); line-height: 1.5; color: var(--text); }
.tour-text b { color: var(--primary); }
.tour-dots { display: flex; gap: 6px; justify-content: center; }
.tour-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.tour-dot.active { background: var(--accent); width: 18px; border-radius: 4px; }
.tour-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.tour-actions .remove-link { margin-right: auto; align-self: center; padding: 12px 8px 12px 0; }
.tour-actions .btn { padding: 9px 16px; font-size: var(--fs-sm); }
.app-dialog-card { gap: 16px; }
.app-dialog-card .tour-text { font-size: var(--fs-base); }
#appDialogInput { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-elev-2); color: var(--text); font: inherit; font-size: 16px; }
.app-dialog-card .btn.danger { background: #b3402e; }
@keyframes vistaEntra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes notaCae { 0% { opacity: 0; transform: translateY(-12px) scale(1.3); } 60% { opacity: 1; transform: translateY(2px) scale(0.96); } 100% { transform: none; } }
html.motion-ready main > section { animation: vistaEntra 0.24s ease-out; }
html.motion-ready .rating-badge-lg.has-rating, html.motion-ready #voteBtn.has-rating { animation: notaCae 0.36s ease-out; }
.btn, .action-btn, .result-row, .series-item, .explore-chip, .card, .score-empty, .no-results-suggest-btn, .follow-btn, .hero-more, .related-book-mini { -webkit-tap-highlight-color: transparent; }
.btn:active, .action-btn:active, .result-row:active, .series-item:active, .explore-chip:active, .card:active, .score-empty:active,
.no-results-suggest-btn:active, .follow-btn:active, .related-book-mini:active { transform: scale(0.97); transition: transform 0.08s ease; }
@media (prefers-reduced-motion: reduce) {
html.motion-ready main > section, html.motion-ready .rating-badge-lg.has-rating, html.motion-ready #voteBtn.has-rating { animation: none; }
.btn:active, .action-btn:active, .result-row:active, .series-item:active, .explore-chip:active, .card:active, .score-empty:active,
.no-results-suggest-btn:active, .follow-btn:active, .related-book-mini:active { transform: none; }
}
@media (min-width: 641px) and (max-width: 1023px) {
.header-inner { padding: 10px 16px; gap: 12px; flex-wrap: nowrap; }
.search-block { min-width: 0; }
nav button { padding: 6px 9px; }
.grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .ico-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
.back-link::before, .hero-more::after {
content: ""; display: inline-block; width: 14px; height: 14px; background: currentColor; flex-shrink: 0;
-webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat;
}
.back-link { --chev: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%272.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M15 5l-7 7 7 7%27/%3E%3C/svg%3E"); }
.hero-more { display: inline-flex; align-items: center; gap: 3px;
--chev: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%272.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M9 5l7 7-7 7%27/%3E%3C/svg%3E"); }
.hero-scroll-btn svg { width: 16px; height: 16px; }
.bottom-nav { display: none; }
@media (max-width: 640px) {
.bottom-nav {
display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
background: var(--bg-elev); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(14,39,51,0.08);
padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
}
.bottom-nav button {
background: none; border: none; color: var(--text-dim); font: inherit; font-size: var(--fs-xs); font-weight: 600;
display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.bottom-nav svg { width: 24px; height: 24px; }
.bottom-nav button.active { color: var(--primary); background: none; font-weight: 700; }
.theme-toggle { order: 4; }
body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
.bugreport-btn { bottom: calc(72px + env(safe-area-inset-bottom)); }
.bugreport-panel { bottom: calc(126px + env(safe-area-inset-bottom)); }
.cookie-banner { bottom: calc(58px + env(safe-area-inset-bottom)); }
#navLibrary { display: none; }
}
.reviews-section-label { justify-content: flex-start; }
.reviews-section-label-text { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--text); }
.reviews-count:not(:empty) { font-size: var(--fs-sm); font-weight: 700; color: var(--text-dim); background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: 999px; padding: 1px 9px; }
.public-review { position: relative; }
.review-author-avatar { width: 34px; height: 34px; }
.review-author-avatar svg { width: 17px; height: 17px; }
.public-review-meta { gap: 2px 10px; }
.public-review-author { font-size: var(--fs-ms); }
.public-review-date { flex-basis: 100%; margin: -4px 0 0 44px; }
.public-review-rating { width: 40px; height: 40px; border-radius: 10px; font-family: var(--font-display); font-variant-numeric: lining-nums; font-size: 1.25rem; font-weight: 700; }
.public-review-title { font-family: var(--font-display); font-size: 1.1rem; color: var(--text); margin: 4px 0 6px; }
.public-review-title::before { content: "\201C"; color: var(--accent); font-size: 1.6em; line-height: 0; vertical-align: -0.32em; margin-right: 2px; }
.public-review-text { font-size: var(--fs-base); line-height: 1.6; }
.public-review-foot { margin-top: 10px; }
.review-report-btn { text-decoration: none; font-size: var(--fs-xs); }
.review-report-btn:hover { text-decoration: underline; }
.reviews-cta { display: block; margin: 18px auto 0; padding: 10px 22px; }
.reviews-empty { text-align: center; color: var(--text-dim); }
.reviews-empty p { margin: 0; font-size: var(--fs-base); }
#reviewPageCharacteristics { display: none; }
.review-rating-display { display: flex; align-items: center; gap: 10px; }
.review-rating-display::before { content: "Tu nota"; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-dim); }
.review-rating-badge { font-family: var(--font-display); font-variant-numeric: lining-nums; font-size: 1.2rem; padding: 4px 12px; border-radius: 8px; margin-right: 0; }
.review-title-input, .review-body-input { background: var(--bg-elev); border-radius: 10px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.review-title-input { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.review-body-input { font-size: var(--fs-base); line-height: 1.6; min-height: 200px; }
.review-title-input:focus, .review-body-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,154,61,0.25); }
.review-body-counter { font-size: var(--fs-xs); color: var(--text-dim); margin-top: 6px; }
.review-spoiler-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-elev-2); cursor: pointer; }
.review-spoiler-row .switch { margin-top: 2px; }
.review-spoiler-row b { display: block; font-size: var(--fs-ms); color: var(--text); }
.review-spoiler-row small { display: block; font-size: var(--fs-xs); color: var(--text-dim); margin-top: 2px; }
@media (max-width: 640px) {
.review-page-layout { display: grid; grid-template-columns: 72px 1fr; column-gap: 14px; row-gap: 0; align-items: start; padding: 18px 14px; }
.review-page-cover { width: 72px; min-width: 72px; grid-column: 1; grid-row: 1 / 3; box-shadow: 0 4px 10px rgba(23,59,77,0.18); }
.review-page-main { display: contents; }
.review-page-main > * { grid-column: 1 / -1; }
.review-page-main > #reviewPageTitle { grid-column: 2; grid-row: 1; font-size: 1.45rem; margin: 0; align-self: end; }
.review-page-main > #reviewPageMeta { grid-column: 2; grid-row: 2; align-self: start; margin: 2px 0 0; }
.review-rating-display { margin-top: 18px; }
.review-page-actions { flex-direction: column-reverse; align-items: stretch; }
.review-page-actions .btn { width: 100%; padding: 12px; }
}
.profile-stat-value { font-family: var(--font-display); font-variant-numeric: lining-nums; font-size: 1.4rem; }
.profile-stat-value.is-text { font-size: var(--fs-ms); }
#myProfileQuicklinks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#myProfileQuicklinks button {
display: flex; align-items: center; gap: 10px; text-align: left; padding: 14px; border-radius: 12px;
background: var(--bg-elev); border: 1px solid var(--border); color: var(--text); font-size: var(--fs-ms); font-weight: 700; box-shadow: var(--shadow);
}
#myProfileQuicklinks button::before {
content: ""; width: 22px; height: 22px; flex-shrink: 0; background: var(--accent-ink);
-webkit-mask: var(--tile-icon) center / contain no-repeat; mask: var(--tile-icon) center / contain no-repeat;
}
#myProfileListsBtn { --tile-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M4 6h16M4 12h16M4 18h10%27/%3E%3C/svg%3E"); }
#myProfileStatsBtn { --tile-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M5 20V10M12 20V4M19 20v-7%27/%3E%3C/svg%3E"); }
#myProfileVotesBtn { --tile-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 3l2.5 5.5L20 9l-4.2 3.8L17 19l-5-3-5 3 1.2-6.2L4 9l5.5-.5z%27/%3E%3C/svg%3E"); }
#myProfileReviewsBtn { --tile-icon: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%271.8%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M4 4.5h16v12H8l-4 3.5V4.5z%27/%3E%3C/svg%3E"); }
#myProfileTabs { display: flex; gap: 0; padding: 3px; background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: 999px; }
#myProfileTabs button { flex: 1; border: none; background: transparent; border-radius: 999px; padding: 8px 10px; font-size: var(--fs-sm); font-weight: 700; color: var(--text-dim); }
#myProfileTabs button.active { background: var(--bg-elev); color: var(--primary); box-shadow: var(--shadow); }
.user-menu-name { font-family: var(--font-display); }
#viewLibrary.is-guest { display: flex; flex-direction: column; }
#viewLibrary.is-guest #libraryEmpty { order: -1; padding: 0; margin-bottom: 22px; }
#viewLibrary.is-guest .library-guest {
padding: 20px 18px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
}
#viewLibrary.is-guest .library-guest p { color: var(--text); }