.profile-invite-entry {
  display: flex;
  justify-content: flex-start;
  margin: -4px 0 14px;
}
.profile-invite-entry .button { min-height: 42px; }
.contest-summary { margin: 16px 0; }
.contest-summary h3 { margin-bottom: 4px; }
.contest-summary p { margin: 0 0 10px; }
.contest-prizes { padding: 0; margin: 12px 0 18px; list-style: none; }
.contest-prizes li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 15%, transparent);
}
.contest-prizes li:first-child {
  color: inherit;
  border-radius: 12px;
  background: color-mix(in srgb, currentColor 9%, transparent);
}
.contest-prizes b { white-space: nowrap; }
.contest-ranking { display: grid; gap: 8px; margin: 16px 0; }
.contest-ranking details { border: 1px solid var(--line); border-radius: 14px; }
.contest-ranking summary { padding: 10px 14px; cursor: pointer; overflow-wrap: anywhere; }
.contest-ranking summary span, .contest-ranking small { display: block; }
.contest-ranking ul { margin: 0; padding: 0 14px 14px 32px; overflow-wrap: anywhere; }
.contest-ranking li + li { margin-top: 8px; }
.contest-admin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contest-finish { margin-top: 14px; }
.contest-admin [hidden] { display: none; }
html:has(.contest-notice[open]) { overflow: hidden; }
.release-update.contest-notice {
  width: 100vw;
  height: var(--app-height,100dvh);
  max-width: none;
  max-height: none;
  margin: 0;
  inset: 0;
  border: 0;
  border-radius: 0;
  padding: max(64px,calc(env(safe-area-inset-top,0px) + 54px)) max(22px,env(safe-area-inset-right,0px)) max(20px,env(safe-area-inset-bottom,0px)) max(22px,env(safe-area-inset-left,0px));
  background: radial-gradient(ellipse at 50% 10%,#76529d38,transparent 60%),#211b30;
}
.contest-notice .contest-announcement-content {
  width: min(100%,480px);
  min-height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contest-notice .release-close {
  position: fixed;
  z-index: 1;
  top: max(10px,env(safe-area-inset-top,0px));
  right: max(12px,env(safe-area-inset-right,0px));
}
.contest-notice h2 { margin: 0 0 16px; font-size: clamp(32px,8vw,44px); line-height: 1.06; }
.contest-notice h2 span { display: inline-block; margin-top: 8px; color: #efd5ff; font-size: clamp(52px,15vw,76px); }
.contest-notice .contest-deadline { margin: 0 0 8px; color: #d0bedb; font-size: 14px; }
.contest-notice #contest-opportunity { margin: 0; font-size: 16px; line-height: 1.5; }
.contest-live-board { margin: 24px 0 18px; text-align: left; }
.contest-live-board h3 { font-size: 15px; margin: 0 0 10px; color: #cdb5e4; }
.contest-live-board ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.contest-live-board li { display: flex; align-items: center; gap: 12px; padding: 14px 12px; background: #ffffff08; border-radius: 16px; }
.contest-live-board li:first-child { background: #cfa3ee17; }
.contest-position { flex: 0 0 22px; font-size: 18px; font-weight: 750; color: #d1b3e5; text-align: center; }
.contest-person { flex: 1; min-width: 0; }
.contest-person b { display: block; font-size: 16px; overflow-wrap: anywhere; }
.contest-person small { display: block; font-size: 12px; line-height: 1.5; color: #d0bedb; overflow-wrap: anywhere; }
.contest-live-board strong { font-size: 15px; white-space: nowrap; }
.contest-notice .contest-invitation-note { margin: 0 0 20px; color: #cdbddb; font-size: 13px; }
.contest-notice .button.primary { min-height: 50px; font-size: 16px; }
@media(max-width:359px) {
  .contest-live-board li { padding: 12px 8px; gap: 8px; }
  .contest-person b,.contest-live-board strong { font-size: 14px; }
}
@media(max-height:700px) {
  .contest-notice h2 { margin-bottom: 10px; }
  .contest-notice h2 span { font-size: 52px; margin-top: 4px; }
  .contest-live-board { margin: 16px 0 12px; }
  .contest-notice .contest-invitation-note { margin-bottom: 14px; }
}
