@@ -41,8 +41,8 @@
}
-
diff --git a/src/NexusReader.UI.Shared/Components/Organisms/CurrentReadingWidget.razor.css b/src/NexusReader.UI.Shared/Components/Organisms/CurrentReadingWidget.razor.css
index bb2c941..f2ddade 100644
--- a/src/NexusReader.UI.Shared/Components/Organisms/CurrentReadingWidget.razor.css
+++ b/src/NexusReader.UI.Shared/Components/Organisms/CurrentReadingWidget.razor.css
@@ -194,23 +194,102 @@
margin: 0;
}
-@media (max-width: 768px) {
+@media (max-width: 767px) {
+ .current-reading-card {
+ background: #1e1e22; /* Lighter anthracite slate for depth */
+ box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Ambient card shadow */
+ padding: 14px;
+ border-radius: 16px;
+ border: 1px solid var(--border);
+ }
+
.card-layout {
flex-direction: column;
- align-items: center;
- text-align: center;
- gap: 1.5rem;
+ align-items: stretch;
+ text-align: left;
+ gap: 0.75rem;
}
- .book-title, .chapter-name {
+ .book-cover {
+ align-self: center;
+ width: 90px;
+ }
+
+ .book-details {
+ width: 100%;
+ text-align: left;
+ }
+
+ .book-title {
+ font-size: 1.25rem;
+ text-align: left;
white-space: normal;
}
+
+ .author-name {
+ text-align: left;
+ font-size: 0.8rem;
+ }
.header-info, .chapter-progress {
- align-items: center;
+ align-items: stretch;
+ }
+
+ .chapter-name {
+ white-space: normal;
+ font-size: 0.8rem;
+ }
+
+ .chapter-progress {
+ margin: 0.5rem 0; /* Margin separator before tracking bar */
+ width: 100%;
+ }
+
+ .progress-bar-container {
+ width: 100%;
+ }
+
+ .book-excerpt {
+ display: -webkit-box; /* Normal display to wrap synopsis */
+ overflow: hidden;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
+ margin-bottom: 0.75rem;
+ text-align: left;
+ font-size: 0.85rem;
+ }
+
+ .actions {
+ width: 100%;
+ margin-top: 0.25rem;
+ }
+
+ .actions .btn-nexus.outline {
+ width: 100%;
+ justify-content: center;
+ padding: 0.75rem 1.25rem; /* Larger touch target */
+ box-sizing: border-box;
+ background: transparent !important;
+ color: var(--accent) !important;
+ border: 1px solid var(--accent) !important;
+ display: inline-flex !important;
+ align-items: center !important;
+ font-weight: 600 !important;
+ }
+
+ .actions .btn-nexus.outline:hover {
+ background: var(--accent-glow) !important;
+ color: var(--accent) !important;
+ }
+
+ .theme-light .current-reading-card {
+ background: #ffffff; /* Pure white card surface for light theme */
+ box-shadow: 0 12px 24px rgba(139, 130, 115, 0.12);
}
}
+
+
/* ============================================================
LIGHT THEME OVERRIDES — "Warm Paper / Soft Sepia"
============================================================ */
diff --git a/src/NexusReader.UI.Shared/Layout/MainHubLayout.razor b/src/NexusReader.UI.Shared/Layout/MainHubLayout.razor
index 62239f2..5c84fec 100644
--- a/src/NexusReader.UI.Shared/Layout/MainHubLayout.razor
+++ b/src/NexusReader.UI.Shared/Layout/MainHubLayout.razor
@@ -1,4 +1,5 @@
@inherits LayoutComponentBase
+@implements IDisposable
@using NexusReader.UI.Shared.Components.Molecules
@using NexusReader.UI.Shared.Components.Atoms
@using NexusReader.Application.Abstractions.Services
@@ -12,7 +13,7 @@