* { box-sizing: border-box; }
:root { color-scheme: dark; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #f6f4ff; background: #12151f; }
body { margin: 0; background: radial-gradient(ellipse at 90% 35%, #2c2450 0%, transparent 43%), radial-gradient(ellipse at 10% 96%, #202641 0%, transparent 38%); }
.shell { max-width: 1280px; min-height: 100svh; margin: auto; padding: 0 clamp(20px, 5vw, 68px); display: grid; grid-template-rows: auto 1fr auto; }
header, footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
header { padding: 24px 0; border-bottom: 1px solid #ffffff18; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #d2f98a; outline-offset: 4px; }
.brand { display: inline-flex; align-items: center; font-size: 1.45rem; font-weight: 850; letter-spacing: -.06em; }
.mark { display: grid; place-items: center; width: 36px; height: 36px; margin-right: 10px; border-radius: 10px; background: #d2f98a; color: #212333; }
.brand-dot { color: #d2f98a; }
nav { display: flex; gap: 4px; flex-wrap: wrap; }
nav a { display: flex; gap: 7px; align-items: center; padding: 7px 9px; border: 1px solid transparent; border-radius: 8px; font-size: .875rem; }
nav a:hover, nav a[aria-current] { background: #ffffff12; border-color: #ffffff25; }
nav img { border-radius: 2px; object-fit: cover; }
main { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(25px, 5vw, 72px); padding: clamp(54px, 9vw, 128px) 0; }
.status { display: flex; align-items: center; gap: .65rem; color: #d2f98a; font-size: .9rem; font-weight: 700; margin: 0 0 22px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
h1 { font-size: clamp(2.75rem, 5.35vw, 5.4rem); line-height: .99; letter-spacing: -.07em; text-wrap: balance; margin: 0; }
h1 span { color: #d2f98a; }
.description { max-width: 38ch; margin: 24px 0 0; color: #ccc9de; line-height: 1.65; font-size: clamp(1rem, 1.45vw, 1.15rem); }
.calendar { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #bdb0ef45; border-radius: 20px; background: #1c1c2d; box-shadow: 0 30px 75px #0d0c1b80; }
.calendar-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 18px; border-bottom: 1px solid #ffffff14; }
.calendar-head span { color: #ddd5ff; background: #41355f; border-radius: 7px; font-size: .875rem; padding: 5px 8px; }
.board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto 82px 82px; padding: 12px; }
.day { color: #cac5df; text-align: center; font-size: .875rem; padding: 7px 0; }
.cell { border: 1px solid #ffffff10; }
.post { align-self: center; padding: 7px 8px; margin: 3px; display: grid; gap: 3px; font-size: .875rem; border-radius: 7px; }
.post span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one { grid-area: 2 / 1 / 3 / 3; background: #4b335d; color: #f8e8ff; }
.two { grid-area: 3 / 2 / 4 / 4; background: #344c49; color: #e9ffe0; }
.three { grid-area: 2 / 4 / 3 / 6; background: #354367; color: #e1ebff; }
footer { padding: 18px 0; border-top: 1px solid #ffffff18; font-size: .875rem; color: #ccc9de; }
@media (max-width: 800px) { main { grid-template-columns: 1fr; } .calendar { max-width: 600px; width: 100%; } }
@media (max-width: 490px) { header { flex-direction: column; align-items: flex-start; gap: 14px; padding: 17px 0; } nav a { padding: 6px; } }

.cell { grid-column: var(--column); grid-row: var(--row); }
@media (max-width: 950px) { header { align-items: flex-start; flex-direction: column; gap: 12px; } }
