@font-face {
    font-family: 'DungGeunMo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-10-21@1.1/DungGeunMo.woff') format('woff');
}

* { 
    margin: 0; padding: 0; box-sizing: border-box; 
    font-family: 'DungGeunMo', monospace !important; 
    -webkit-font-smoothing: none; image-rendering: pixelated; 
}

body {
    background: linear-gradient(to bottom, #1a1a2e 0%, #050505 100%) fixed;
    color: white; /* All White Concept */
    display: flex; justify-content: center; min-height: 100vh;
}

#container {
    display: flex; width: 100%; max-width: 700px;
    padding-inline: 40px; margin: 240px auto; /* 상하 240px 마진 */
}

#sidebar { 
    width: 160px; display: flex; flex-direction: column; 
    align-items: center; /* 가운데 정렬 */
    padding-top: 10px; flex-shrink: 0;
}

.logo { font-size: 40px; margin-bottom: 30px; font-style: italic; letter-spacing: -2px; }

nav { display: flex; flex-direction: column; align-items: center; width: 100%; }

nav a { 
    display: block; font-size: 16px; color: white; 
    text-decoration: none; margin-bottom: 15px; cursor: pointer; 
    opacity: 0.5; transition: 0.2s;
}

/* 선택된 메뉴 강조 */
nav a.active { opacity: 1; font-weight: bold; }

#main-view { 
    flex: 1; max-width: 380px; padding-left: 30px; 
    margin-top: 10px; border-left: 1px dashed rgba(255, 255, 255, 0.2); 
}

.search-box { 
    border: 1px solid white; padding: 12px 15px; margin-bottom: 25px; 
    display: flex; justify-content: space-between; align-items: center;
}
.search-inner { display: flex; align-items: center; flex: 1; }
.search-text { font-size: 13px; white-space: nowrap; }
.search-box input { 
    background: transparent; border: none; color: white; outline: none; 
    width: 100%; font-family: inherit; font-size: 13px; margin-left: 8px;
}
.search-star { font-size: 18px; color: white; }

.card { padding: 15px; margin-bottom: 15px; border: 1px solid white; background: rgba(0, 0, 0, 0.3); }
.card-user { font-size: 11px; opacity: 0.7; margin-bottom: 8px; display: block; }
.card-content { font-size: 16px; line-height: 1.4; }

@media (max-width: 600px) {
    #container { flex-direction: column; margin: 40px auto; padding-inline: 20px; }
    #sidebar { width: 100%; border-bottom: 1px solid white; padding-bottom: 20px; margin-bottom: 20px; }
    nav { flex-direction: row; gap: 20px; justify-content: center; }
}