
.event-public-nav{display:flex;align-items:center;gap:14px}.event-public-nav>a:not(.event-button){color:#536078;font-weight:750}.event-public-nav form{margin:0}
.mypage-hero{padding:30px 34px;background:linear-gradient(135deg,#fff,#eef1ff);border:1px solid #e2e7f0;border-radius:22px;display:flex;justify-content:space-between;align-items:center;gap:20px}.mypage-hero h1{font-size:38px;margin:6px 0}.mypage-account{background:#fff;border:1px solid #dde3ee;border-radius:14px;padding:16px 20px;min-width:240px}.mypage-account small,.mypage-account strong,.mypage-account span{display:block}.mypage-account strong{font-size:18px;margin:5px 0}.mypage-account span{font-size:12px;color:#8490a4}
.mypage-list{display:grid;gap:16px}.mypage-card{background:#fff;border:1px solid #e2e7f0;border-radius:18px;padding:22px;box-shadow:0 7px 25px rgba(28,39,66,.05)}.mypage-card-top{display:flex;justify-content:space-between;gap:20px}.mypage-card h3{font-size:22px;margin:10px 0}.mypage-card code{color:#7d889c}.status-chip{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800;background:#eef1f6;color:#59677d}.status-chip.confirmed{background:#e9fbf1;color:#18824a}.status-chip.waiting{background:#fff5df;color:#a86206}.status-chip.cancelled{background:#f1f2f5;color:#7d8491}
.mypage-details{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.mypage-details div{background:#f7f9fc;border-radius:11px;padding:12px}.mypage-details dt{font-size:11px;color:#8a94a6}.mypage-details dd{margin:5px 0 0;font-weight:700}.mypage-actions{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid #edf0f5;padding-top:16px}
.event-button.danger{background:#c93737;color:#fff}.cancel-card{max-width:620px;width:100%;background:#fff;border:1px solid #e2e7f0;border-radius:24px;padding:38px;text-align:center;box-shadow:0 20px 70px rgba(36,47,80,.1)}.cancel-mark{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;margin:0 auto 20px;background:#fff1f1;color:#c93737;font-size:34px;font-weight:900}.cancel-warning{color:#b42318;font-weight:700}.cancel-info{text-align:left;background:#f7f9fc;border-radius:14px;padding:5px 16px;margin:25px 0}.cancel-info div{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #e8ecf2}.cancel-info div:last-child{border-bottom:0}.cancel-info dd{margin:0;font-weight:800;text-align:right}.cancel-back{display:block;margin-top:16px;color:#68758a;font-weight:700}.cancel-note{background:#eef8ff;border-radius:12px;padding:14px;margin:18px 0;color:#24628c}
@media(max-width:760px){.event-public-nav>a:not(.event-button),.event-user{display:none}.mypage-hero{display:block}.mypage-account{margin-top:18px}.mypage-details{grid-template-columns:1fr 1fr}.mypage-actions{flex-direction:column}.mypage-actions .event-button{width:100%}} 


/* ===== 申込済み表示 ===== */
.event-registration-state{
  margin-top:16px;
}
.event-applied-badge,
.event-waiting-badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:7px 12px;
  font-size:12px;
  font-weight:850;
}
.event-applied-badge{
  background:#e8f8ef;
  color:#157645;
}
.event-waiting-badge{
  background:#fff4d8;
  color:#9b6200;
}
.event-card-link.applied{
  margin-top:12px;
}
.event-applied-panel{
  text-align:center;
  padding:12px 0 22px;
}
.event-applied-icon{
  width:62px;
  height:62px;
  margin:0 auto 16px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:28px;
  font-weight:900;
}
.event-applied-panel.confirmed .event-applied-icon{
  background:#e8f8ef;
  color:#157645;
}
.event-applied-panel.waiting .event-applied-icon{
  background:#fff4d8;
  color:#9b6200;
}
.applied-info{
  margin:10px 0 18px;
  background:#f7f9fc;
  border-radius:14px;
  padding:4px 14px;
}
.applied-info div{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:11px 0;
  border-bottom:1px solid #e7ebf2;
}
.applied-info div:last-child{
  border-bottom:0;
}
.applied-info dt{
  color:#788498;
  font-size:12px;
}
.applied-info dd{
  margin:0;
  font-weight:800;
  text-align:right;
}
.event-cancel-link{
  margin-top:10px;
  text-align:center;
}
.already-event-box{
  display:grid;
  gap:4px;
  background:#f7f9fc;
  border-radius:14px;
  padding:16px;
  margin:22px 0;
}
.already-event-box span{
  color:#778399;
  font-size:13px;
}
