:root {
  --bg: #f6f4ef;
  --paper: rgba(255, 255, 255, 0.78);
  --paper-solid: #ffffff;
  --ink: #172033;
  --muted: #687082;
  --line: rgba(23, 32, 51, 0.12);
  --blue: #2b72ff;
  --blue-deep: #174fc9;
  --orange: #ff9b45;
  --pink: #ff7ab6;
  --mint: #77d8bd;
  --shadow: 0 24px 80px rgba(42, 62, 110, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }

html[lang="zh-Hant"], html[lang="zh-Hant"] body { font-family: "Noto Sans TC", "Noto Sans", system-ui, sans-serif; }
html[lang="ko"], html[lang="ko"] body { font-family: "Noto Sans KR", "Noto Sans", system-ui, sans-serif; }
html[lang="ja"], html[lang="ja"] body { font-family: "Noto Sans JP", "Noto Sans", system-ui, sans-serif; }
html[lang="en"], html[lang="en"] body { font-family: "Noto Sans", system-ui, sans-serif; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Noto Sans", "Noto Sans TC", "Noto Sans KR", "Noto Sans JP", system-ui, sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(43, 114, 255, 0.16), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(255, 155, 69, 0.22), transparent 32%),
    linear-gradient(135deg, #fbf7ef 0%, #eef4ff 48%, #fff7eb 100%);
  overflow-x: hidden;
  font-weight: 400;
}

.ambient {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}

.ambient-a { left: -160px; bottom: 8%; background: rgba(43, 114, 255, 0.18); }
.ambient-b { right: -180px; top: 38%; background: rgba(255, 122, 182, 0.18); }

.app-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 56px;
}

.hero-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 34px;
  border: 1px solid rgba(23, 32, 51, 0.10);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(245,247,250,.76));
  box-shadow: 0 14px 46px rgba(42, 62, 110, 0.10);
  overflow: hidden;
}

.eyebrow, .section-kicker {
  margin: 0 0 10px;
  color: var(--blue-deep);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #111111;
  font-size: clamp(36px, 4.1vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-family: "Chelsea Market", system-ui;
  font-weight: 400;
}

.hero-desc {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 10px;
  min-width: 360px;
}

.language-switch {
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
}

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.action-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.lang-btn, .ghost-btn, .primary-btn, .icon-btn {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
}

.icon-btn {
  width: 40px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 14px 28px rgba(43,114,255,.24);
}

.material-symbols-rounded {
  font-size: 22px;
  line-height: 1;
}

.lang-btn {
  color: var(--muted);
  background: transparent;
}

.lang-btn.active {
  color: white;
  background: var(--ink);
}

.ghost-btn {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.74);
}

.primary-btn {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 14px 28px rgba(43,114,255,.24);
}

.meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0;
}

.mini-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.66);
  backdrop-filter: blur(14px);
}

.mini-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.mini-card strong {
  font-size: 18px;
  font-weight: 500;
}

.today-card {
  background: linear-gradient(135deg, rgba(43,114,255,.13), rgba(255,155,69,.14));
}

.calendar-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.72);
  box-shadow: 0 18px 58px rgba(42, 62, 110, 0.12);
  backdrop-filter: blur(16px);
}

.calendar-header {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  text-align: center;
}

.calendar-header h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.calendar-title-block {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.calendar-tools {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mini-action-btn {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
}

.mini-action-btn:hover {
  background: #fff;
  box-shadow: 0 8px 18px rgba(42, 62, 110, 0.08);
}

.circle-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.weekday-grid, .calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.weekday {
  padding: 0 8px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  letter-spacing: .08em;
}

.day-cell {
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 51, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 16px rgba(42, 62, 110, 0.035);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.day-cell:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(42, 62, 110, 0.08);
}

.day-cell.muted {
  opacity: .38;
  background: rgba(255,255,255,.44);
}

.day-cell.today {
  position: relative;
  border-color: rgba(43,114,255,.62);
  background: linear-gradient(145deg, rgba(43,114,255,.13), rgba(255,255,255,.9) 46%, rgba(255,155,69,.18));
  box-shadow: inset 0 0 0 2px rgba(43,114,255,.13), 0 14px 30px rgba(43,114,255,.10);
}

.day-cell.today::after {
  content: "TODAY";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
}

.day-number {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 600;
}

.today .day-number {
  color: white;
  background: var(--ink);
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  min-width: 0;
  overflow: hidden;
}

.event-pill {
  display: block;
  width: 100%;
  padding: 7px 9px;
  border-radius: 10px;
  color: var(--ink);
  background: rgba(43,114,255,.075);
  /*border-left: 4px solid rgba(43,114,255,.72);*/
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.event-list-view {
  display: grid;
  gap: 10px;
}

.event-list-card {
  display: grid;
  grid-template-columns: minmax(86px, .38fr) 1fr auto;
  grid-template-areas:
    "date title tag"
    "date meta tag";
  align-items: center;
  gap: 4px 14px;
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255,255,255,.82);
  text-align: left;
  box-shadow: 0 8px 18px rgba(42, 62, 110, 0.045);
}

.event-list-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(42, 62, 110, 0.08);
}

.event-list-date {
  grid-area: date;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 600;
}

.event-list-title {
  grid-area: title;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.event-list-meta {
  grid-area: meta;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.event-list-tag {
  grid-area: tag;
  justify-self: end;
  padding: 7px 10px;
  border-left-width: 3px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.list-empty {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255,255,255,.72);
}

.event-pill.orange { background: rgba(255,155,69,.105); border-left-color: rgba(255,155,69,.70); }
.event-pill.pink { background: rgba(255,122,182,.095); border-left-color: rgba(255,122,182,.70); }
.event-pill.mint { background: rgba(119,216,189,.105); border-left-color: rgba(119,216,189,.70); }

.event-modal {
  width: min(760px, calc(100% - 32px));
  max-width: 760px;
  max-height: min(84vh, 760px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 38px 42px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 30px;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(43,114,255,.07), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(244,246,249,.88));
  box-shadow: 0 28px 100px rgba(23,32,51,.28);
  backdrop-filter: blur(20px);
}

.event-modal::backdrop { background: rgba(23,32,51,.34); backdrop-filter: blur(5px); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(23,32,51,.07);
  display: inline-grid;
  place-items: center;
  transition: background .2s ease, transform .2s ease;
}

.modal-close:hover {
  background: rgba(23,32,51,.12);
  transform: rotate(4deg);
}

.modal-close .material-symbols-rounded {
  font-size: 28px;
  font-weight: 400;
}

.modal-date {
  margin: 0 56px 12px 0;
  color: var(--blue-deep);
  font-weight: 600;
}

.event-modal h3 {
  margin: 0 0 12px;
  max-width: 100%;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.modal-time { margin: 0 0 22px; color: var(--muted); font-weight: 500; }
.modal-desc {
  margin: 0;
  line-height: 1.85;
  color: #374052;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.modal-desc-text {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.modal-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.modal-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 10px 15px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(43,114,255,.18);
}
.modal-link-btn .material-symbols-rounded {
  font-size: 18px;
}
.modal-link-btn:hover {
  transform: translateY(-1px);
}
.modal-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.modal-tags span { padding: 7px 10px; border-radius: 999px; background: rgba(43,114,255,.12); font-size: 12px; font-weight: 500; }

@media (max-width: 880px) {
  .hero-card { flex-direction: column; padding: 26px; }
  .hero-actions { align-items: flex-start; min-width: 0; }
  /*.meta-row { grid-template-columns: 1fr; }*/
  .mini-card span {margin-bottom:2px;}
  .mini-card strong {font-size:14px;}
  .day-cell { padding: 9px; border-radius: 18px; }
  .calendar-panel { padding: 16px; }
  .weekday-grid, .calendar-grid { gap: 6px; }
}

@media (max-width: 620px) {
  .app-shell { width: min(100% - 20px, 1180px); margin-top: 10px; }
  h1 { font-size: 32px; }
  .hero-actions { gap: 8px; width: 100%; }
  .language-switch { width: 100%; justify-content: space-between; }
  .action-row { width: 100%; }
  .lang-btn { flex: 1; padding-inline: 8px; font-size: 12px; }
  .ghost-btn { flex: 1; padding: 0 12px; font-size: 12px; }
  .icon-btn { flex: 0 0 40px; }
  .calendar-header { grid-template-columns: 44px 1fr 44px; }
  .circle-btn { width: 44px; height: 44px; font-size: 28px; }
  .weekday { font-size: 10px; padding-inline: 0; }
  .day-cell { padding: 7px; border-radius: 14px; }
  .day-number { width: 26px; height: 26px; font-size: 13px; }
  .day-cell.today::after { display: none; }
  .event-pill { padding: 5px 6px; font-size: 10px; border-radius: 9px; }
  .event-modal {
    width: min(100% - 20px, 760px);
    padding: 28px 24px;
    border-radius: 24px;
  }
  .modal-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
  .modal-date { margin-right: 48px; }
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(244,246,249,.72));
  box-shadow: 0 14px 42px rgba(42, 62, 110, 0.09);
  backdrop-filter: blur(16px);
}

.footer-brand p { margin: 0; }
.footer-brand .company {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
}
.footer-brand .credit {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.footer-brand .credit span {
  color: var(--muted);
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.social-links {
  display: flex;
  gap: 8px;
}
.social-links a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(23,32,51,.1);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.72);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease;
}
.social-links a:hover {
  transform: translateY(-2px);
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  box-shadow: 0 12px 26px rgba(43,114,255,.18);
}
.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 620px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .footer-social {
    width: 100%;
    justify-content: space-between;
  }
}

.calendar-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255,255,255,.66);
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
}
.calendar-status.error {
  color: #9b2f2f;
  background: rgba(255, 122, 122, .10);
  border-color: rgba(155, 47, 47, .18);
}
.calendar-status.loading {
  color: var(--blue-deep);
}


/* v10 mobile calendar readability refinements */
@media (max-width: 620px) {
  .calendar-panel {
    padding: 14px 10px 16px;
    border-radius: 28px;
  }

  .weekday-grid,
  .calendar-grid {
    gap: 4px;
  }

  .weekday {
    padding: 0 2px 6px;
    font-size: 10px;
    letter-spacing: .04em;
  }

  .day-cell {
    aspect-ratio: 3 / 4;
    min-height: 76px;
    padding: 5px 4px;
    border-radius: 8px;
    box-shadow: none;
  }

  .day-cell:hover {
    transform: none;
    box-shadow: none;
  }

  .day-number {
    width: auto;
    height: auto;
    min-width: 20px;
    margin-left: 1px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    place-items: start;
  }

  .today .day-number {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 7px;
  }

  .event-list {
    gap: 3px;
    margin-top: 5px;
  }

  .event-pill {
    padding: 4px 4px 4px 5px;
    border-left-width: 3px;
    border-radius: 5px;
    font-size: 9px;
    line-height: 1.25;
    min-height: 19px;
  }

  .calendar-header {
    gap: 8px;
    margin-bottom: 14px;
  }

  .calendar-header h2 {
    font-size: 22px;
  }
}

@media (max-width: 390px) {
  .app-shell {
    width: calc(100% - 12px);
  }

  .calendar-panel {
    padding-inline: 8px;
  }

  .weekday-grid,
  .calendar-grid {
    gap: 3px;
  }

  .day-cell {
    min-height: 72px;
    padding: 4px 3px;
    border-radius: 7px;
  }

  .event-pill {
    font-size: 8.5px;
    padding-inline: 3px;
  }
}


@media (max-width: 620px) {
  .calendar-title-block { gap: 7px; }
  .calendar-tools { gap: 6px; }
  .mini-action-btn { min-height: 30px; padding: 0 10px; font-size: 11px; }
  .event-list-card {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "date tag"
      "title title"
      "meta meta";
    gap: 6px 10px;
    padding: 13px 14px;
    border-radius: 16px;
  }
  .event-list-title { font-size: 15px; }
  .event-list-date, .event-list-meta, .event-list-tag { font-size: 12px; }
}

/* v19 view-mode fixes */
[hidden] {
  display: none !important;
}
.calendar-panel.list-mode .weekday-grid,
.calendar-panel.list-mode .calendar-grid {
  display: none !important;
}
.calendar-panel:not(.list-mode) .event-list-view {
  display: none !important;
}
.calendar-panel.list-mode .event-list-view {
  display: grid;
}


/* v21 mobile calendar spacing/readability */
@media (max-width: 620px) {
  .calendar-panel {
    padding: 14px 10px 18px;
    overflow: hidden;
  }

  .weekday-grid,
  .calendar-grid {
    width: 100%;
    min-width: 0;
    gap: 5px;
  }

  .weekday,
  .day-cell,
  .event-list,
  .event-pill {
    min-width: 0;
  }

  .day-cell {
    aspect-ratio: auto;
    min-height: 108px;
    padding: 6px 5px;
    border-radius: 10px;
    overflow: hidden;
  }

  .day-number {
    display: inline-grid;
    align-items: center;
    justify-items: start;
    min-width: 22px;
    height: 22px;
    line-height: 1;
    margin-bottom: 2px;
    font-size: 14px;
  }

  .today .day-number {
    width: 25px;
    height: 25px;
    border-radius: 8px;
    justify-items: center;
  }

  .event-list {
    gap: 3px;
    margin-top: 5px;
    max-height: 72px;
  }

  .event-pill {
    min-height: 20px;
    padding: 4px 4px;
    border-radius: 6px;
    font-size: 9.5px;
    line-height: 1.25;
  }
}

@media (max-width: 390px) {
  .calendar-panel {
    padding-inline: 8px;
  }

  .weekday-grid,
  .calendar-grid {
    gap: 4px;
  }

  .day-cell {
    min-height: 102px;
    padding: 5px 4px;
    border-radius: 9px;
  }

  .event-list {
    max-height: 68px;
  }

  .event-pill {
    min-height: 19px;
    font-size: 9px;
    padding-inline: 3px;
  }
}

/* v22 mobile calendar compact grid refinement */
@media (max-width: 620px) {
  .calendar-panel {
    padding-inline: 9px;
  }

  .weekday-grid,
  .calendar-grid {
    gap: 0;
  }

  .weekday {
    padding: 0 0 7px;
    font-size: 10px;
  }

  .day-cell {
    min-height: 98px;
    padding: 5px 4px;
    border-radius: 9px;
    margin: 0;
    box-shadow: none;
  }

  .day-number {
    min-width: 18px;
    height: 20px;
    margin-bottom: 2px;
    font-size: 12.5px;
    font-weight: 600;
  }

  .today .day-number {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    font-size: 12.5px;
  }

  .event-list {
    gap: 2px;
    margin-top: 4px;
    max-height: 66px;
  }

  .event-pill {
    min-height: 19px;
    padding: 3px 3px;
    border-radius: 5px;
    font-size: 8.8px;
    line-height: 1.25;
  }
}

@media (max-width: 390px) {
  .calendar-panel {
    padding-inline: 7px;
  }

  .weekday-grid,
  .calendar-grid {
    gap: 0;
  }

  .day-cell {
    min-height: 94px;
    padding: 5px 3px;
    border-radius: 8px;
  }

  .day-number {
    font-size: 12px;
  }

  .today .day-number {
    width: 21px;
    height: 21px;
    font-size: 12px;
  }

  .event-list {
    max-height: 64px;
  }

  .event-pill {
    min-height: 18px;
    font-size: 8.2px;
    padding-inline: 2px;
  }
}

/* v24 desktop calendar height: show at least three events */
@media (min-width: 621px) {
  .day-cell {
    aspect-ratio: auto;
    min-height: 132px;
  }

  .event-list {
    max-height: 88px;
  }
}

.app-modal {
  width: min(520px, calc(100% - 32px));
  padding: 34px 34px 28px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 28px;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(43,114,255,.07), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,246,249,.90));
  box-shadow: 0 28px 100px rgba(23,32,51,.28);
  backdrop-filter: blur(20px);
}

.app-modal::backdrop { background: rgba(23,32,51,.34); backdrop-filter: blur(5px); }

.app-modal h3 {
  margin: 0 48px 14px 0;
  font-size: clamp(22px, 4.6vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.app-modal p {
  margin: 0;
  color: #374052;
  line-height: 1.8;
  white-space: normal;
}

.app-modal-ok {
  margin-top: 24px;
  min-width: 112px;
  justify-content: center;
}

@media (max-width: 620px) {
  .app-modal {
    width: min(100% - 24px, 520px);
    padding: 30px 24px 24px;
    border-radius: 24px;
  }

  .app-modal h3 {
    margin-right: 44px;
  }
}
