.embed-body {
  min-width: 0;
  background: var(--paper);
}

.event-embed {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 6px 2px 24px;
}

.embed-toolbar {
  margin: 0 0 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.embed-filter {
  min-height: 42px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 600 .75rem/1.2 var(--body);
}

.embed-filter span {
  color: var(--rose-deep);
  font-variant-numeric: tabular-nums;
}

.embed-filter.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.embed-filter.is-active span { color: var(--rose); }

.embed-events-list { border-top: 1px solid var(--ink); }

.embed-event {
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background .2s ease;
}

.embed-event:hover,
.embed-event.is-open { background: rgba(200, 159, 182, .1); }

.embed-event[hidden] { display: none; }
.embed-event-coming { background: rgba(221, 212, 201, .22); }

.embed-summary {
  width: 100%;
  padding: 21px 16px;
  display: grid;
  grid-template-columns: 92px minmax(230px, 1fr) minmax(135px, .35fr) 132px;
  align-items: center;
  gap: clamp(20px, 4vw, 58px);
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.embed-date {
  min-height: 86px;
  padding-right: 16px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-right: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.embed-date small {
  color: var(--rose-deep);
  font: 700 .62rem/1.4 var(--body);
  letter-spacing: .14em;
}

.embed-date strong {
  font: 400 2.5rem/1 var(--display);
  letter-spacing: -.02em;
}

.embed-place,
.embed-time { display: grid; }

.embed-place > small {
  margin-bottom: 7px;
  color: var(--muted);
  font: 700 .64rem/1.3 var(--body);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.embed-place > small i {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--rose-deep);
}

.embed-event-coming .embed-place > small i { background: var(--gold); }

.embed-place > strong {
  font: 400 clamp(1.8rem, 3vw, 2.7rem)/1.05 var(--display);
  letter-spacing: -.025em;
}

.embed-place > span,
.embed-time > small {
  color: var(--muted);
  font: 400 .82rem/1.45 var(--body);
}

.embed-time { gap: 2px; }
.embed-time > strong { font: 600 .78rem/1.4 var(--body); }

.embed-view {
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--ink);
  font: 700 .7rem/1.2 var(--body);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.embed-view i {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}

.embed-view i::before,
.embed-view i::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.embed-view i::before { width: 12px; height: 1px; top: 5px; left: 0; }
.embed-view i::after { width: 1px; height: 12px; top: 0; left: 5px; transition: transform .2s ease; }
.embed-summary[aria-expanded="true"] .embed-view i::after { transform: rotate(90deg); }

.embed-details {
  padding: 0 16px 30px 166px;
}

.embed-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.embed-detail-grid > div {
  min-height: 116px;
  padding: 18px 20px 18px 0;
  display: grid;
  align-content: start;
  gap: 7px;
  border-bottom: 1px solid var(--line);
}

.embed-detail-grid > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.embed-detail-grid small {
  color: var(--muted);
  font: 700 .62rem/1.35 var(--body);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.embed-detail-grid strong {
  font: 400 1rem/1.4 var(--display);
}

.embed-details > p {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: .8rem;
}

.embed-actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.embed-text-link {
  margin-left: 5px;
  padding: 7px 0;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font: 700 .7rem/1.2 var(--body);
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}

.embed-note {
  max-width: 650px;
  margin: 24px 0 0 auto;
  color: var(--muted);
  font-size: .76rem;
  text-align: right;
}

.embed-note span { margin-right: 7px; color: var(--gold); }

.embed-toast {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 18px;
  padding: 11px 17px;
  background: var(--ink);
  color: var(--paper);
  font-size: .75rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity .2s ease, transform .2s ease;
}

.embed-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .embed-summary { grid-template-columns: 78px minmax(0, 1fr) 118px; }
  .embed-time { display: none; }
  .embed-details { padding-left: 130px; }
  .embed-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .embed-detail-grid > div:nth-child(3) { border-left: 0; }
}

@media (max-width: 640px) {
  .event-embed { padding-top: 2px; }
  .embed-toolbar { margin-bottom: 16px; gap: 7px; }
  .embed-filter { min-height: 40px; padding: 9px 10px; font-size: .65rem; }
  .embed-summary { padding: 17px 4px; grid-template-columns: 64px minmax(0, 1fr) 34px; gap: 14px; }
  .embed-date { min-height: 74px; padding-right: 9px; }
  .embed-date strong { font-size: 2rem; }
  .embed-date small { font-size: .5rem; letter-spacing: .1em; }
  .embed-place > small { margin-bottom: 5px; font-size: .56rem; }
  .embed-place > strong { font-size: 1.72rem; }
  .embed-place > span { font-size: .7rem; }
  .embed-view { width: 34px; height: 34px; padding: 0; justify-content: center; overflow: hidden; border: 1px solid var(--line); font-size: 0; }
  .embed-view i { width: 10px; height: 10px; }
  .embed-view i::before { width: 10px; top: 4px; }
  .embed-view i::after { height: 10px; left: 4px; }
  .embed-details { padding: 0 4px 28px 82px; }
  .embed-detail-grid { grid-template-columns: 1fr; }
  .embed-detail-grid > div { min-height: auto; padding: 14px 0; }
  .embed-detail-grid > div + div { padding-left: 0; border-left: 0; }
  .embed-actions { align-items: stretch; }
  .embed-actions .button { width: 100%; }
  .embed-text-link { margin: 8px auto 0; }
  .embed-note { font-size: .7rem; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .embed-view i::after,
  .embed-toast { transition: none; }
}
