.wrap { padding: 104px 24px 40px; }

header { text-align: center; margin-bottom: 56px; }
.logo { font-size: 34px; font-weight: 700; letter-spacing: 8px; }
.logo em {
  font-style: normal;
  display: inline-block; cursor: pointer;
  color: #9b87a5;
  padding: 0 6px;
  transition: color .2s, transform .2s;
}
.logo em:hover {
  color: #8b7cf6;
  transform: translateY(-3px) scale(1.06);
}
.logo em:active { transform: scale(0.92); }
.logo em.pop { animation: pop .55s ease; }
@keyframes pop {
  0% { transform: scale(1); }
  30% { transform: scale(1.3) rotate(-6deg); }
  55% { transform: scale(0.9) rotate(4deg); }
  80% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.tagline { margin-top: 16px; font-size: 14px; letter-spacing: 3px; color: #999; }

.entry {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 28px; margin-bottom: 14px;
  border: 1px solid #e5e5e5; border-radius: 14px;
  text-decoration: none; color: #111;
  transition: border-color .2s;
}
.entry:hover { border-color: #111; }
.entry .left { display: flex; align-items: baseline; gap: 16px; }
.entry .num { font-size: 12px; color: #bbb; letter-spacing: 1px; }
.entry h2 { font-size: 17px; font-weight: 600; letter-spacing: 2px; }
.entry .arrow { color: #ccc; font-size: 16px; }
.entry:hover .arrow { color: #111; }

footer {
  text-align: center; padding: 32px 0 40px;
  font-size: 12px; color: #ccc; letter-spacing: 1px;
}
footer a { color: inherit; text-decoration: none; }
footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

.xmas-news {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: relative; padding: 16px 16px 16px 52px; margin: 24px 0 20px;
  border: 1px solid #c6a16540; border-radius: 16px; background: #f7ede5d9;
}
.xmas-news p { color: #7d3d44; font-size: 13px; line-height: 1.6; }
.theme-try {
  flex-shrink: 0; padding: 9px 14px; min-height: 40px;
  border: 0; background: none;
  color: #a83242; font: inherit; font-size: 12px;
  cursor: pointer; transition: color .2s, transform .2s;
}
.theme-try:hover { color: #7d2433; text-decoration: underline; text-underline-offset: 3px; }
.theme-try:active { transform: scale(.97); }
.theme-try:focus-visible, .entry:focus-visible { outline: 2px solid #a83242; outline-offset: 4px; }

body.xmas header { margin: -35px 0 27px; }

body.xmas .logo { color: #fff9e9; }
body.xmas .logo em { color: #e4c58c; }
body.xmas .tagline { color: #d8e2d1; }
body.xmas .entry {
  position: relative; border-color: #4a5e4926; border-radius: 18px;
  background: #fffefaf0; color: #293e35;
  box-shadow: 0 4px 18px #2642300b;
}

body.xmas .entry:nth-of-type(3)::before { transform: scaleX(-1); height: 19px; top: -9px; }
body.xmas .entry .num { color: #71836a; }
body.xmas .entry .arrow { color: #a83242; }
body.xmas .entry:hover { border-color: #c6a165; }
.xmas-news::before {
  content: ''; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 32px; background: url('holiday-decoration.webp') center / contain no-repeat; pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .theme-try { transition: none; }
}
