body {
margin: 0;
padding: 0;
font-family: "Microsoft YaHei", sans-serif;
position: relative;
}
.news-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
overflow: hidden;
padding: 20px;
box-sizing: border-box;
background-color: #f5f5f5;
}
.news-item {
padding: 5px 15px 15px 15px;
margin-bottom: 15px;
transition: all 0.3s;
cursor: pointer;
background-color: white;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.news-item:hover {
background-color: #f0f8ff;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.delete-btn {
visibility: hidden;
position: relative;
top: 2px;
float: right;
background: #ff4444;
color: white;
border: none;
padding: 5px 12px;
border-radius: 6px;
cursor: pointer;
font-size: 13px;
line-height: 1;
margin-left: 8px;   
height: 26px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); 
}

.news-item:hover .delete-btn {
visibility: visible;
}

.floating-button {
position: fixed;
right: 1.5rem;
bottom: 1.5rem;
border: none;
display: flex;
padding: 0.75rem 1.5rem;
background-color: #488aec;
color: #ffffff;
font-size: 0.75rem;
line-height: 1rem;
font-weight: 700;
text-align: center;
cursor: pointer;
text-transform: uppercase;
vertical-align: middle;
align-items: center;
border-radius: 0.5rem;
user-select: none;
gap: 0.75rem;
box-shadow:
0 4px 6px -1px #488aec31,
0 2px 4px -1px #488aec17;
transition: all 0.6s ease;
z-index: 1000;
}

.floating-button:hover {
box-shadow:
0 10px 15px -3px #488aec4f,
0 4px 6px -2px #488aec17;
}

.floating-button:focus,
.floating-button:active {
opacity: 0.85;
box-shadow: none;
}

.floating-button svg {
width: 1.25rem;
height: 1.25rem;
}

.page-title {
position: fixed;
top: 20px;
left: 20px;
z-index: 1001;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
background-color: rgba(0, 0, 0, 0.7);
border-radius: 15px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
color: #fff; 
font-size: 1.2em;
padding: 0px 20px 0px 20px;
font-weight: bold;
}

@supports not (backdrop-filter: blur(10px)) {
.page-title {
background-color: rgba(0, 0, 0, 0.9);
}
}

.modal {
display: none;
position: fixed;
z-index: 2000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
}
.modal-content {
background-color: #fefefe;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 500px;
border-radius: 8px;
position: relative;
}
.form-group {
margin-bottom: 15px;
}
.form-group label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
.form-group input {
width: 100%;
padding: 10px;
box-sizing: border-box;
border: 1px solid #ddd;
border-radius: 4px;
}
.close {
color: #000000;
position: absolute;
top: 10px;
right: 15px;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}

.fullscreen-modal {
display: none;
position: fixed;
z-index: 2000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: white;
}
.fullscreen-content {
padding: 30px;
max-width: 800px;
margin: 0 auto;
}
.close-fullscreen {
color: #666;
position: absolute;
top: 20px;
right: 30px;
font-size: 30px;
font-weight: bold;
cursor: pointer;
}
.news-detail-title {
font-size: 24px;
margin-bottom: 15px;
color: #333;
}
.news-detail-content {
line-height: 1.8;
color: #555;
white-space: pre-wrap;
}