[html]
<!-- ИНТЕРФЕЙС КАЛЕНДАРЯ -->
<div class="amt-advent-wrapper" id="daily-dashboard">
<div class="amt-advent-header">
<span class="amt-advent-sys"> ADVENT_TERMINAL</span>
<div class="amt-advent-title">КАЛЕНДАРЬ СОБЫТИЙ</div>
</div>
<div class="amt-advent-body">
<!-- ЛЕВАЯ КОЛОНКА: ЗАДАНИЕ ДНЯ -->
<div class="amt-advent-today">
<div class="today-date-badge" id="today-date-label">ЗАГРУЗКА ДАТЫ...</div>
<div class="today-card-content" id="today-content">
<!-- Сюда рендерится картинка, заголовок и текст -->
<div class="today-placeholder">Синхронизация с сервером времени...</div>
</div>
<div class="today-action-area">
<div class="quest-status-label" id="quest-status">СТАТУС: ОЖИДАНИЕ</div>
<input type="url" id="daily-proof-input" class="advent-input" placeholder="Вставьте ссылку на выполненное задание..." style="display: none;" />
<button id="daily-action-btn" class="advent-btn" disabled>СИНХРОНИЗАЦИЯ...</button>
</div>
</div>
<!-- ПРАВАЯ КОЛОНКА: СЕТКА КАЛЕНДАРЯ -->
<div class="amt-advent-calendar">
<div class="calendar-section-title">АРХИВ И РАСПИСАНИЕ </div>
<div class="calendar-grid" id="advent-calendar-grid">
<!-- Ячейки генерируются скриптом -->
</div>
</div>
</div>
<!-- СПИСОК УЧАСТНИКОВ -->
<div class="amt-advent-participants">
<div class="participants-title"> ОТМЕТКИ УЧАСТНИКОВ</div>
<div id="participants-list-container"></div>
</div>
<!-- ТЕХНИЧЕСКОЕ -->
<div class="advent-modal-overlay" id="advent-modal">
<div class="advent-modal-box">
<div class="advent-modal-header">
<span class="advent-modal-date" id="modal-date"></span>
<button class="advent-modal-close" id="modal-close">×</button>
</div>
<div class="advent-modal-body" id="modal-body"></div>
</div>
</div>
</div>
<style>
.amt-advent-wrapper {
--bg-main: url(https://forumstatic.ru/files/001c/99/e9/22391.jpg);
--bg-container: #ffffff;
--border-color: #8bb8e8; /* Голубоватый акцент, бордеры кнопки */
--accent-blue: #5a9bd5; /* Насыщенный голубой, ховеры, кнопки потолще */
--accent-orange: #e08e55; /* Бледно-оранжевый, надписи, акцент */
--text-main: #3a4654;
--text-muted: #7f8fa4;
width: 100%;
max-width: 960px;
margin: 20px auto;
background: var(--bg-main);
border: 1px solid var(--border-color);
border-left: 4px solid var(--border-color);
padding: 25px;
box-sizing: border-box;
font-family: 'RadjhaniRu', sans-serif;
color: var(--text-main);
display: flex;
flex-direction: column;
gap: 22px;
position: relative;
box-shadow: 0 6px 20px rgba(90, 155, 213, 0.08);
}
.amt-advent-sys {
font-family: monospace;
font-size: 13px;
color: var(--text-muted);
letter-spacing: 2px;
}
.amt-advent-title {
font-family: 'Hacked', sans-serif;
font-size: 46px;
color: var(--accent-orange);
line-height: 1.05;
text-transform: uppercase;
}
.amt-advent-body {
display: flex;
gap: 20px;
flex-wrap: wrap;
align-items: stretch;
}
/* Левый блок - Сегодняшнее задание */
.amt-advent-today {
flex: 1 1 340px;
background: var(--bg-container);
border: 1px solid var(--border-color);
padding: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
box-sizing: border-box;
}
.today-date-badge {
display: inline-block;
align-self: flex-start;
background: rgba(224, 142, 85, 0.12);
color: var(--accent-orange);
border: 1px solid rgba(224, 142, 85, 0.35);
padding: 4px 12px;
font-family: monospace;
font-size: 13px;
font-weight: bold;
text-transform: uppercase;
margin-bottom: 14px;
}
.today-card-content {
flex-grow: 1;
margin-bottom: 18px;
}
.today-card-img {
width: 100%;
max-height: 190px;
object-fit: cover;
border: 1px solid var(--border-color);
margin-bottom: 12px;
display: block;
}
.today-card-title {
font-size: 20px;
font-weight: bold;
color: var(--accent-orange);
text-transform: uppercase;
margin-bottom: 8px;
}
.today-card-text {
font-size: 15px;
line-height: 1.5;
color: var(--text-main);
}
.today-reward-tag {
margin-top: 12px;
display: inline-block;
font-family: monospace;
font-size: 12px;
color: var(--accent-blue);
background: rgba(139, 184, 232, 0.12);
padding: 4px 10px;
border-left: 2px solid var(--accent-blue);
}
.quest-status-label {
font-family: monospace;
font-size: 12px;
color: var(--accent-orange);
margin-bottom: 10px;
padding-bottom: 6px;
border-bottom: 1px dashed var(--border-color);
text-transform: uppercase;
}
.advent-input {
width: 100%;
box-sizing: border-box;
margin-bottom: 10px;
padding: 9px 12px;
background: var(--bg-main);
border: 1px solid var(--border-color);
color: var(--text-main);
font-family: inherit;
font-size: 13px;
outline: none;
}
.advent-input:focus {
border-color: var(--accent-orange);
}
.advent-btn {
background: rgba(139, 184, 232, 0.15);
color: var(--accent-blue);
border: 1px solid var(--border-color);
padding: 12px 20px;
font-family: 'RadjhaniRu', sans-serif;
font-size: 15px;
font-weight: bold;
text-transform: uppercase;
cursor: pointer;
transition: 0.25s ease;
width: 100%;
clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.advent-btn:hover:not(:disabled) {
background: var(--accent-blue);
color: #fff;
box-shadow: 0 4px 12px rgba(90, 155, 213, 0.3);
}
.advent-btn:disabled {
border-color: #cbd5e1;
background: #e2e8f0;
color: #94a3b8;
cursor: not-allowed;
}
/* Правый блок - Календарь */
.amt-advent-calendar {
flex: 1.4 1 420px;
background: var(--bg-container);
border: 1px solid var(--border-color);
padding: 20px;
box-sizing: border-box;
display: flex;
flex-direction: column;
}
.calendar-section-title {
font-family: monospace;
font-size: 12px;
color: var(--accent-orange);
margin-bottom: 14px;
text-transform: uppercase;
letter-spacing: 1px;
}
.calendar-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
gap: 10px;
max-height: 390px;
overflow-y: auto;
padding-right: 4px;
}
.cal-cell {
background: var(--bg-main);
border: 1px solid var(--border-color);
padding: 10px;
min-height: 82px;
display: flex;
flex-direction: column;
justify-content: space-between;
cursor: pointer;
transition: 0.2s ease;
position: relative;
box-sizing: border-box;
}
.cal-cell:hover:not(.locked) {
border-color: var(--accent-orange);
background: #fff;
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(139, 184, 232, 0.2);
}
.cal-cell.today {
border: 2px solid var(--accent-orange);
background: rgba(224, 142, 85, 0.06);
}
.cal-cell.done::after {
content: "✓";
position: absolute;
top: 6px;
right: 8px;
font-size: 13px;
font-weight: bold;
color: var(--accent-blue);
}
.cal-cell.locked {
opacity: 0.55;
cursor: not-allowed;
background: #e9eef3;
border-style: dashed;
}
.cal-cell-date {
font-family: monospace;
font-size: 11px;
color: var(--text-muted);
text-transform: uppercase;
}
.cal-cell-title {
font-size: 13px;
font-weight: bold;
color: var(--accent-orange);
line-height: 1.25;
margin-top: 6px;
word-break: break-word;
}
.cal-cell.locked .cal-cell-title {
color: var(--text-muted);
font-weight: normal;
font-size: 12px;
}
.amt-advent-participants {
border-top: 1px dashed var(--border-color);
padding-top: 18px;
}
.participants-title {
font-family: monospace;
font-size: 12px;
color: var(--accent-orange);
margin-bottom: 12px;
text-transform: uppercase;
}
#participants-list-container {
max-height: 260px;
overflow-y: auto;
}
.participant-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 14px;
background: var(--bg-container);
margin-bottom: 5px;
border: 1px solid rgba(139, 184, 232, 0.4);
border-left: 3px solid var(--border-color);
font-family: monospace;
font-size: 14px;
}
.p-name { color: var(--text-main); font-weight: bold; flex: 1; }
.p-days { color: var(--accent-orange); width: 140px; text-align: center; font-weight: bold; }
.p-total { color: var(--accent-blue); width: 120px; text-align: right; }
/* Модальное окно */
.advent-modal-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(30, 41, 59, 0.55);
backdrop-filter: blur(3px);
z-index: 9999;
align-items: center;
justify-content: center;
padding: 20px;
}
.advent-modal-overlay.active {
display: flex;
}
.advent-modal-box {
background: var(--bg-container);
border: 2px solid var(--border-color);
max-width: 500px;
width: 100%;
padding: 22px;
box-shadow: 0 10px 30px rgba(0,0,0,0.18);
position: relative;
}
.advent-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--border-color);
padding-bottom: 10px;
margin-bottom: 15px;
}
.advent-modal-date {
font-family: monospace;
font-size: 14px;
font-weight: bold;
color: var(--accent-orange);
text-transform: uppercase;
}
.advent-modal-close {
background: none;
border: none;
font-size: 24px;
color: var(--text-muted);
cursor: pointer;
line-height: 1;
}
.advent-modal-close:hover {
color: var(--accent-orange);
}
</style>
<!-- БАЗА ДАННЫХ -->
<div id="daily-json-db" style="display: none;">
{
"users": {},
"server_date": "2026-11-12",
"last_updated": "2026-11-12T12:00:00.000Z"
}
</div>
[/html][hideprofile]


























































