:root { /* Japanese Color Palette - Modern Wabi Sabi */ --bg-base: #0f1115; /* Dark ink */ --bg-surface: rgba(25, 28, 35, 0.6); --bg-surface-hover: rgba(35, 39, 48, 0.8); --glass-border: rgba(255, 255, 255, 0.08); --text-main: #e2e8f0; --text-muted: #94a3b8; /* Accents */ --accent-red: #E63946; /* Crimson / Stamp red */ --accent-green: #2A9D8F; /* Matcha */ --accent-gold: #E9C46A; --accent-indigo: #457B9D; --glow-spread: 0 8px 32px 0 rgba(0, 0, 0, 0.37); --font-en: 'Outfit', sans-serif; --font-jp: 'Noto Sans JP', sans-serif; } * { box-sizing: border-box; margin: 0; padding: 0; } .hidden:not(.modal-overlay) { display: none !important; } body { font-family: var(--font-en); background-color: var(--bg-base); color: var(--text-main); min-height: 100vh; overflow-x: hidden; position: relative; } /* Background Abstract Shapes */ .bg-shape { position: fixed; border-radius: 50%; filter: blur(100px); z-index: -1; opacity: 0.15; pointer-events: none; } .bg-shape-1 { width: 600px; height: 600px; background: radial-gradient(circle, var(--accent-red) 0%, transparent 70%); top: -200px; right: -100px; } .bg-shape-2 { width: 500px; height: 500px; background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 70%); bottom: -150px; left: -100px; } .jp-text { font-family: var(--font-jp); font-weight: 300; font-size: 0.6em; color: var(--accent-red); vertical-align: super; margin-left: 5px; } /* Glassmorphism Utilities */ .glass-panel { background: var(--bg-surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: 16px; } .app-container { max-width: 1400px; margin: 0 auto; padding: 30px; } /* Header */ .main-header { padding: 20px 30px; margin-bottom: 40px; position: sticky; top: 20px; z-index: 100; box-shadow: var(--glow-spread); } .header-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; } .logo-area h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.5px; } .logo-area p { color: var(--text-muted); font-size: 0.9rem; font-weight: 300; margin-top: 4px; } .controls-area { display: flex; gap: 15px; flex-wrap: wrap; } .search-box, .filter-box select { background: rgba(0, 0, 0, 0.3); border: 1px solid var(--glass-border); border-radius: 12px; padding: 12px 20px; color: var(--text-main); font-family: var(--font-en); outline: none; transition: all 0.3s ease; } .search-box { display: flex; align-items: center; gap: 10px; min-width: 250px; } .search-box input { background: transparent; border: none; color: white; width: 100%; outline: none; font-family: var(--font-en); } .search-box:focus-within, .filter-box select:focus { border-color: var(--accent-indigo); box-shadow: 0 0 15px rgba(69, 123, 157, 0.3); } .filter-box select { cursor: pointer; appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 15px center; background-size: 16px; } .filter-box select option { background: var(--bg-base); color: var(--text-main); } /* Grid Layout */ .shelf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; } .loading-spinner { grid-column: 1 / -1; text-align: center; padding: 50px; font-size: 1.5rem; color: var(--text-muted); } /* Cards */ .shelf-card { display: flex; flex-direction: column; overflow: hidden; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease; cursor: pointer; position: relative; height: 100%; } .shelf-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.15); } .card-thumbnail-container { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; position: relative; background: #000; } .card-thumbnail { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; opacity: 0.8; } .shelf-card:hover .card-thumbnail { transform: scale(1.05); opacity: 1; } .type-badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } .type-YOUTUBE { background: rgba(230, 57, 70, 0.8); color: white; } .type-BOOK { background: rgba(42, 157, 143, 0.8); color: white; } .type-LINK { background: rgba(69, 123, 157, 0.8); color: white; } .type-MOVIE_TV { background: rgba(156, 39, 176, 0.8); color: white; } .type-MANGA { background: rgba(233, 30, 99, 0.8); color: white; } .type-ANIME { background: rgba(255, 152, 0, 0.8); color: white; } .status-badge { position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; background: rgba(0,0,0,0.6); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); } .status-COMPLETED { color: var(--accent-green); border-color: var(--accent-green); } .card-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; } .card-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .card-creator { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 12px; } .card-summary { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } /* Card Progress Bar */ .card-progress-bg { width: 100%; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-top: auto; overflow: hidden; } .card-progress-fill { height: 100%; background: var(--accent-red); width: 0%; transition: width 0.5s ease; } /* Modal */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 1000; display: flex; justify-content: center; align-items: center; opacity: 1; transition: opacity 0.3s ease; } .modal-overlay.hidden { opacity: 0; pointer-events: none; } .modal-content { width: 90%; max-width: 1000px; max-height: 90vh; overflow-y: auto; position: relative; display: flex; flex-direction: column; transform: scale(1); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .modal-overlay.hidden .modal-content { transform: scale(0.95); } .modal-split { max-width: 1400px; width: 95%; flex-direction: row; height: 85vh; } .modal-left { flex: 6; display: flex; flex-direction: column; border-right: 1px solid var(--glass-border); } .modal-right { flex: 4; display: flex; flex-direction: column; background: rgba(0,0,0,0.2); border-radius: 0 16px 16px 0; } /* Notes Panel */ .notes-panel { padding: 20px; height: 100%; overflow: hidden; } .notes-panel h3 { margin-bottom: 15px; font-size: 1.2rem; color: var(--accent-gold); display: flex; align-items: center; gap: 10px; } .note-input-area { display: flex; gap: 10px; margin-bottom: 20px; } .note-input-area input { flex-grow: 1; background: rgba(0,0,0,0.4); border: 1px solid var(--glass-border); padding: 12px 15px; border-radius: 8px; color: white; outline: none; font-family: var(--font-en); } .note-input-area input:focus { border-color: var(--accent-indigo); } .notes-list { flex-grow: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; padding-right: 5px; } .notes-list::-webkit-scrollbar { width: 6px; } .notes-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; } .note-item { background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); padding: 12px; border-radius: 8px; } .note-timestamp { display: inline-block; background: var(--accent-indigo); color: white; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; cursor: pointer; margin-bottom: 5px; transition: background 0.2s; } .note-timestamp:hover { background: #5292b9; } .note-text { font-size: 0.95rem; line-height: 1.4; color: var(--text-main); } .ai-btn { width: 100%; justify-content: center; background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%); color: white; margin-top: auto; } .ai-btn:hover { box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4); } .ai-summary-container { margin-top: 15px; padding: 15px; background: rgba(0,0,0,0.4); border: 1px solid rgba(139, 92, 246, 0.3); border-radius: 8px; flex-grow: 1; overflow-y: auto; } /* Markdown Body Styles */ .markdown-body h1, .markdown-body h2, .markdown-body h3 { margin-bottom: 10px; color: var(--accent-gold); } .markdown-body p { margin-bottom: 10px; line-height: 1.5; } .markdown-body ul, .markdown-body ol { margin-left: 20px; margin-bottom: 10px; } .markdown-body pre { background: #000; padding: 10px; border-radius: 4px; overflow-x: auto; } .markdown-body code { background: rgba(255,255,255,0.1); padding: 2px 4px; border-radius: 4px; } .close-btn { position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.5); border: none; color: white; width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; z-index: 10; transition: background 0.3s; } .close-btn:hover { background: var(--accent-red); } .player-container { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 16px 16px 0 0; overflow: hidden; } #ytPlayer { width: 100%; height: 100%; } .modal-details { padding: 30px; } .modal-details h2 { font-size: 1.5rem; margin-bottom: 5px; } .creator-text { color: var(--text-muted); margin-bottom: 20px; } .modal-actions { display: flex; gap: 15px; margin-top: 20px; } .action-btn { padding: 12px 24px; border-radius: 30px; border: none; font-family: var(--font-en); font-weight: 600; font-size: 1rem; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: all 0.3s ease; } .primary-btn { background: var(--accent-green); color: white; box-shadow: 0 4px 15px rgba(42, 157, 143, 0.3); } .primary-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(42, 157, 143, 0.5); } .primary-btn.completed { background: transparent; border: 1px solid var(--accent-green); color: var(--accent-green); box-shadow: none; } .secondary-btn { background: rgba(255,255,255,0.1); color: white; } .secondary-btn:hover { background: rgba(255,255,255,0.2); } @media (max-width: 768px) { .main-header { position: relative; top: 0; margin-bottom: 20px; } .header-content { flex-direction: column; align-items: stretch; } .controls-area { flex-direction: column; } /* Force 2 items per row on mobile with premium tight spacing */ .shelf-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } /* Scale down card content for the 2-column mobile layout */ .card-content { padding: 12px; } .card-title { font-size: 0.85rem; margin-bottom: 4px; line-height: 1.3; } .card-creator { font-size: 0.75rem; margin-bottom: 6px; } .type-badge { font-size: 0.55rem; padding: 3px 6px; top: 6px; left: 6px; } .status-badge { font-size: 0.55rem; padding: 3px 6px; top: 6px; right: 6px; } .modal-actions { flex-direction: column; } .modal-split { flex-direction: column; height: 95vh; } .modal-left { border-right: none; border-bottom: 1px solid var(--glass-border); flex: auto; } .modal-right { border-radius: 0 0 16px 16px; flex: auto; } }