html,body,#root{margin:0;padding:0;width:100%;height:100%;overflow:hidden}*{box-sizing:border-box}button,input{font:inherit}body{font-family:Pretendard,Apple SD Gothic Neo,Segoe UI,-apple-system,sans-serif;background-color:#f3f4f6;color:#1e293b;-webkit-font-smoothing:antialiased}.container{display:flex;width:100%;height:100vh;overflow:hidden;background-color:#f3f4f6}.sidebar{width:300px;min-width:260px;background:linear-gradient(180deg,#0f172a,#162032);border-right:1px solid rgba(255,255,255,.08);color:#e2e8f0;padding:24px 20px 20px;overflow-y:auto;display:flex;flex-direction:column;box-shadow:4px 0 24px #0f172a1f;z-index:10}.brand-box{display:flex;align-items:center;gap:14px;padding:16px;border-radius:16px;background:#ffffff0a;border:1px solid rgba(255,255,255,.08);margin-bottom:26px}.brand-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#d4af37,#b5952f);color:#0f172a;font-family:Georgia,Times New Roman,serif;font-weight:900;font-size:1.35rem;box-shadow:0 6px 16px #d4af3740;flex-shrink:0}.brand-kicker{margin:0;font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:#d4af37;font-weight:700}.brand-box h2{margin:4px 0 0;font-size:1.2rem;font-weight:800;letter-spacing:.04em;color:#f8fafc}.section-block{margin-bottom:22px}.section-label,.sub-category-label{margin:0 4px 10px;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:#94a3b8;font-weight:700}.category-selector{margin-bottom:0;display:flex;flex-direction:column;gap:8px;max-height:220px;overflow-y:auto;padding-right:4px}.logo-item{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;margin:0;border-radius:12px;background:#ffffff08;border:1px solid rgba(255,255,255,.06);color:#cbd5e1;cursor:pointer;transition:all .2s ease;font-weight:600;min-height:52px;flex-shrink:0}.logo-item:hover{background:#ffffff12;border-color:#ffffff24;color:#fff}.logo-item.active{background:linear-gradient(135deg,#d4af3729,#d4af370f);border-color:#d4af378c;color:#f8fafc;font-weight:700;box-shadow:0 8px 20px #0003}.sub-category-panel{margin-top:4px;display:flex;flex-direction:column;min-height:0;flex:1}.mobile-text{display:none}.desktop-text{display:inline}.menu-list{list-style:none;padding:0 4px 0 0;margin:0;flex:1;display:flex;flex-direction:column;gap:8px;max-height:280px;overflow-y:auto}.menu-list li{padding:13px 16px;border-radius:12px;cursor:pointer;color:#cbd5e1;background:#ffffff06;border:1px solid rgba(255,255,255,.05);transition:all .2s ease;line-height:1.45;font-size:.92rem;font-weight:500}.menu-list li:hover{background:#ffffff12;color:#fff}.menu-list li.active{background:#ffffff1c;color:#fff;font-weight:700;border-color:#d4af3780;border-left:3px solid #d4af37;box-shadow:0 6px 16px #0000002e}.music-player-box{margin-top:auto;background:#0f172aa6;border:1px solid rgba(255,255,255,.09);border-radius:16px;padding:14px;box-shadow:0 12px 24px #00000038;display:flex;flex-direction:column;gap:10px;min-height:152px;transition:min-height .2s ease}.music-player-box.playlist-open{min-height:230px}.mobile-menu-toggle{display:none}.music-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.music-title{font-weight:700;margin:0;color:#e2e8f0;font-size:.78rem;letter-spacing:.08em;text-align:left}.playlist-toggle{width:28px;height:28px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#ffffff0f;color:#cbd5e1;font-size:.85rem;cursor:pointer;transition:background .18s ease}.playlist-toggle:hover{background:#ffffff24}.current-track-box{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:10px;background:#ffffff0a;border:1px solid rgba(255,255,255,.05);color:#cbd5e1;font-size:.76rem;word-break:break-word;line-height:1.4}.track-pill{display:inline-flex;align-items:center;justify-content:center;min-width:38px;padding:3px 8px;border-radius:6px;background:#d4af3733;border:1px solid rgba(212,175,55,.4);color:#f3d266;font-weight:800;font-size:.62rem;letter-spacing:.06em}.playlist-panel{border-radius:10px;background:#090e1a99;border:1px solid rgba(255,255,255,.07);overflow:hidden}.playlist-list{list-style:none;margin:0;padding:6px;max-height:120px;overflow-y:auto;display:flex;flex-direction:column;gap:4px}.playlist-list li{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;background:transparent;color:#94a3b8;cursor:pointer;transition:all .18s ease;font-size:.75rem}.playlist-list li:hover{background:#ffffff0f;color:#e2e8f0}.playlist-list li.active{background:#d4af3726;color:#f8fafc;font-weight:700}.playlist-index{min-width:24px;color:#d4af37;font-weight:700;font-size:.7rem}.playlist-name{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.music-controls{display:flex;justify-content:center;gap:8px;margin-top:auto}.music-controls button{flex:1;border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:8px 12px;font-size:.76rem;font-weight:600;cursor:pointer;background:#ffffff0f;color:#f1f5f9;transition:all .18s ease}.music-controls button:hover{background:#d4af3738;border-color:#d4af3780;color:#fff}.main-viewer{flex:1;padding:36px 32px;overflow-y:auto;position:relative;background:radial-gradient(circle at top right,#f8fafc,#eef2f6)}.presentation-controls{position:fixed;right:24px;top:22px;z-index:80;display:flex;align-items:center;gap:10px}.floating-action{appearance:none;border:1px solid rgba(15,23,42,.14);background:#0f172ad6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#f8fafc;text-decoration:none;cursor:pointer;border-radius:10px;min-width:42px;height:42px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;font-size:.78rem;font-weight:600;letter-spacing:.02em;box-shadow:0 8px 20px #0f172a29;transition:all .2s ease}.floating-action:hover{background:#0f172a;border-color:#d4af3799;transform:translateY(-1px)}.download-action{width:42px;padding:0;font-size:1rem}.paper{width:100%;max-width:230mm;min-height:297mm;margin:0 auto 36px;padding:40px 44px 48px;background:#fff;border-radius:18px;box-shadow:0 20px 50px #0f172a12,0 1px 3px #0f172a0a;border:1px solid #e2e8f0;overflow:visible}.paper-title{margin:0 0 24px;padding-bottom:18px;border-bottom:2px solid #0f172a;color:#0f172a;line-height:1.3;font-weight:800;letter-spacing:-.02em;font-size:clamp(1.5rem,2.2vw,2.1rem)}.paper-content{margin:0;line-height:1.85;color:#334155;font-size:1.05rem}.pdf-viewer-shell{position:relative;width:100%;min-height:900px;border-radius:12px;overflow:hidden;border:1px solid #cbd5e1;background:#f8fafc;box-shadow:0 4px 16px #0f172a0d}.pdf-viewer-shell.fullscreen{position:fixed;inset:10px;z-index:50;min-height:auto;border-radius:12px;background:#0f172a}.pdf-viewer-shell.fullscreen .pdf-toolbar,.pdf-toolbar{display:none}.pdf-fullscreen-toggle{border:none;border-radius:8px;padding:8px 14px;font-size:.74rem;font-weight:600;background:#0f172ae6;color:#f8fafc;cursor:pointer}.pdf-viewer{display:block;width:100%;height:860px;border:none;background:#fff}.pdf-viewer-shell.fullscreen .pdf-viewer{height:100vh}.paper-content p,.paper-content li,.paper-content ul,.paper-content ol,.paper-content h1,.paper-content h2,.paper-content h3,.paper-content h4{margin-top:0}.paper-content p{margin-bottom:16px}.paper-content ul,.paper-content ol{padding-left:1.4rem}.paper-content a{color:#2563eb;text-decoration:underline;text-underline-offset:3px}.loading{display:grid;place-items:center;min-height:100vh;font-size:1.15rem;font-weight:600;letter-spacing:.04em;color:#475569;background-color:#f8fafc}.empty-state{text-align:center;margin-top:120px;color:#64748b;line-height:1.7}body:fullscreen nav,body:fullscreen .brand-box,body:fullscreen .section-block,body:fullscreen .sub-category-panel,body:fullscreen .music-player-box,body:fullscreen .mobile-menu-toggle,body:fullscreen .pdf-fullscreen-toggle{display:none!important;visibility:hidden!important}body:not(:fullscreen) .pdf-fullscreen-toggle{display:inline-flex!important}@media(max-width:768px){html,body,#root{overflow-x:hidden;overflow-y:auto;height:auto}.container{flex-direction:column;height:auto;min-height:100vh;overflow:visible}.sidebar{width:100%;min-width:0;min-height:auto;padding:12px 14px;background:#0f172a;overflow:visible;flex-shrink:0;gap:8px}.sidebar.mobile-menu-closed{padding-bottom:12px;min-height:auto}.brand-box{margin-bottom:0;padding:10px 12px;border-radius:12px}.brand-icon{width:34px;height:34px;font-size:1.05rem;border-radius:9px}.brand-kicker{letter-spacing:.1em;font-size:.58rem}.brand-box h2{font-size:1.02rem;margin-top:2px}.mobile-menu-toggle{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:#ffffff0d;color:#cbd5e1;padding:9px 10px;font-size:.74rem;font-weight:700;letter-spacing:.02em;margin-top:4px;margin-bottom:0;cursor:pointer}.section-block{margin-bottom:0}.sidebar.mobile-menu-closed .section-block,.sidebar.mobile-menu-closed .sub-category-panel{display:none}.section-label,.sub-category-label{margin:4px 2px 6px;font-size:.62rem;letter-spacing:.1em}.category-selector{max-height:none;height:auto;gap:6px;padding-right:0;overflow:visible}.sub-category-panel{min-height:0;margin-top:4px}.logo-item{min-height:42px;padding:10px 12px;border-radius:10px;margin:0;font-size:.92rem}.desktop-text{display:none}.mobile-text{display:inline}.menu-list{max-height:140px;overflow-y:auto;gap:6px;padding-right:0}.sidebar.mobile-menu-closed .menu-list{max-height:0;overflow:hidden;padding:0;margin:0;border:0}.menu-list li{padding:10px 12px;border-radius:10px;font-size:.88rem}.music-player-box{position:fixed;left:0;right:0;bottom:0;z-index:20;width:100%;min-height:auto;border-radius:16px 16px 0 0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;background:#0f172af0;border-top:1px solid rgba(212,175,55,.3);box-shadow:0 -8px 24px #00000040}.music-header,.current-track-box,.music-controls{width:100%}.music-title{margin:0;text-align:left;flex:1;font-size:.72rem;line-height:1.4}.music-controls{gap:8px}.music-controls button{padding:7px 10px;font-size:.72rem}.main-viewer{padding:14px 12px 140px;background:#f1f5f9}.paper{width:100%;min-height:auto;border-radius:14px;padding:20px 16px 24px;margin-bottom:0}.paper-title{margin-bottom:14px;padding-bottom:12px;font-size:1.3rem}.paper-content{font-size:.96rem}}
