/* Field Notes push surface kept in a uniquely named stylesheet so an older
   cached field-notes.css cannot flatten the controls into raw inline content. */
.field-notes-page .fn-page-tools,
.field-notes-page .fn-push-open,
.fn-push-modal,
.fn-push-modal * {
  box-sizing: border-box;
}

.field-notes-page .fn-page-tools {
  position: fixed;
  top: max(22px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  z-index: 46;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 22px;
  max-width: calc(100vw - 48px);
  padding-bottom: 42px;
}

.field-notes-page .fn-push-open {
  --nahida-button-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(52, 95, 45, 0.1);
  --nahida-button-hover-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(52, 95, 45, 0.12);
  position: relative;
  isolation: isolate;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  display: inline-grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 0;
  padding: 5px;
  overflow: visible;
  border: 1px solid rgba(245, 255, 238, 0.82);
  border-radius: 16px;
  color: #315f2b;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(232, 247, 202, 0.4) 58%, rgba(243, 221, 154, 0.3)),
    rgba(245, 252, 240, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(52, 95, 45, 0.1);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  cursor: pointer;
  transition:
    transform 0.24s var(--ease-soft, ease),
    border-color 0.24s var(--ease-soft, ease),
    box-shadow 0.24s var(--ease-soft, ease),
    background-color 0.24s var(--ease-soft, ease);
}

.field-notes-page .fn-push-open::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 5px;
  border-radius: 12px;
  clip-path: inset(0 round 12px);
  background: rgba(232, 247, 202, 0.4);
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.24s var(--ease-soft, ease), transform 0.24s var(--ease-soft, ease);
}

.field-notes-page .fn-push-open::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 2px;
  width: auto;
  border-radius: inherit;
  background: linear-gradient(132deg, rgba(255, 255, 255, 0.32), transparent 48%, rgba(232, 200, 122, 0.12));
  clip-path: inset(0 round 999px);
  opacity: 0.34;
  transform: none;
  transition: opacity 0.24s var(--ease-soft, ease);
  pointer-events: none;
}

.field-notes-page .fn-push-open:hover {
  border-color: rgba(232, 200, 122, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(52, 95, 45, 0.12);
  transform: translateY(-2px);
}

.field-notes-page .fn-push-open:hover::before {
  opacity: 1;
  transform: scale(1);
}

.field-notes-page .fn-push-open:active {
  transform: translateY(0) scale(0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(52, 95, 45, 0.14) !important;
}

.field-notes-page .fn-push-open:focus-visible {
  outline: 3px solid rgba(95, 168, 79, 0.2);
  outline-offset: 3px;
}

.fn-push-open-icon {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
  image-rendering: auto;
  transform: translate3d(0, -2px, 0);
  transition: transform 0.24s var(--ease-soft, ease);
}

.field-notes-page .fn-push-open:hover .fn-push-open-icon {
  transform: translate3d(0, -3px, 0) scale(1.035);
}

.fn-tool-label {
  box-sizing: border-box;
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  width: max-content;
  min-width: 64px;
  max-width: 92px;
  min-height: 25px;
  padding: 4px 6px;
  border: 1px solid rgba(245, 255, 238, 0.82);
  border-radius: 11px;
  color: rgba(49, 95, 43, 0.9);
  background: rgba(247, 252, 244, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  opacity: 1;
  transform: translateX(-50%);
  pointer-events: none;
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.fn-page-tools > button:hover .fn-tool-label,
.fn-page-tools > button:focus-visible .fn-tool-label {
  color: #315f2b;
  border-color: rgba(232, 200, 122, 0.52);
  background: rgba(250, 254, 246, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.fn-push-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 26%, rgba(232, 247, 202, 0.34), transparent 40%),
    rgba(18, 34, 20, 0.38);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
}

.fn-push-card {
  position: relative;
  isolation: isolate;
  width: min(1180px, 100%);
  max-height: min(900px, calc(100vh - 48px), calc(100dvh - 48px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(245, 255, 238, 0.84);
  border-radius: 30px;
  color: #344b31;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.2) 46%, rgba(232, 200, 122, 0.12)),
    rgba(244, 251, 239, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(52, 95, 45, 0.1),
    0 34px 92px -36px rgba(19, 51, 20, 0.68);
  backdrop-filter: blur(32px) saturate(1.38);
  -webkit-backdrop-filter: blur(32px) saturate(1.38);
}

.fn-push-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  top: -230px;
  right: -155px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 200, 122, 0.22), transparent 70%);
  pointer-events: none;
}

.fn-push-card .fn-push-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(140, 203, 106, 0.2);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.62), rgba(232, 247, 202, 0.24)),
    rgba(247, 252, 244, 0.76);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}

.fn-push-heading {
  min-width: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.fn-push-heading > div {
  min-width: 0;
}

.fn-push-heading-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(140, 203, 106, 0.38);
  border-radius: 17px;
  color: #b88d27;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.94), transparent 32%),
    linear-gradient(145deg, rgba(176, 220, 152, 0.58), rgba(243, 221, 154, 0.4));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 24px -18px rgba(53, 91, 45, 0.68);
  font-family: Arial, sans-serif;
  font-size: 18px;
}

.fn-push-heading-mark img {
  width: 46px;
  height: 46px;
  display: block;
  object-fit: contain;
}

.fn-push-card .fn-modal-kicker {
  margin: 0;
  color: #b68a23;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.5;
}

.fn-push-card .fn-push-head h2 {
  margin: 2px 0 1px;
  color: #315f2b;
  font-family: "Genshin", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}

.fn-push-heading-note {
  margin: 0;
  color: rgba(47, 74, 43, 0.58);
  font-size: 10px;
  line-height: 1.5;
}

.fn-push-card .fn-modal-close {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(140, 203, 106, 0.34);
  border-radius: 50%;
  color: rgba(49, 95, 43, 0.76);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.22s var(--ease-soft, ease),
    background 0.22s var(--ease-soft, ease),
    transform 0.22s var(--ease-soft, ease);
}

.fn-push-card .fn-modal-close:hover {
  color: #8b6825;
  background: rgba(255, 250, 230, 0.76);
  transform: rotate(7deg);
}

.fn-push-card .fn-modal-body {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  row-gap: 16px;
  column-gap: 12px;
  padding: 20px 18px;
  overflow: hidden auto;
  overscroll-behavior: contain;
}

.fn-push-card .fn-modal-body::-webkit-scrollbar {
  width: 7px;
}

.fn-push-card .fn-modal-body::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(95, 168, 79, 0.28);
  background-clip: padding-box;
}

.fn-push-email-state {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(140, 203, 106, 0.28);
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(232, 247, 202, 0.25)),
    rgba(248, 253, 245, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.fn-push-email-state.needs-email {
  border-color: rgba(232, 200, 122, 0.4);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 244, 210, 0.32)),
    rgba(251, 252, 243, 0.84);
}

.fn-push-email-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(140, 203, 106, 0.34);
  border-radius: 12px;
  color: #315f2b;
  background: rgba(232, 247, 202, 0.54);
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.fn-push-email-state.needs-email .fn-push-email-mark {
  border-color: rgba(232, 200, 122, 0.48);
  color: #8b6825;
  background: rgba(255, 244, 210, 0.68);
}

.fn-push-email-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.fn-push-email-copy strong {
  color: #315f2b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.fn-push-email-copy span {
  color: rgba(47, 74, 43, 0.6);
  font-size: 10px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.fn-push-bind-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid rgba(232, 200, 122, 0.46);
  border-radius: 999px;
  color: #745820;
  background: rgba(255, 250, 230, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.22s var(--ease-soft, ease),
    background 0.22s var(--ease-soft, ease);
}

.fn-push-bind-link:hover {
  background: rgba(255, 247, 215, 0.92);
  transform: translateY(-1px);
}

.fn-push-module {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(140, 203, 106, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(232, 247, 202, 0.12)),
    rgba(250, 254, 248, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.fn-push-module-head {
  min-width: 0;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.fn-push-module-index {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 200, 122, 0.36);
  border-radius: 11px;
  color: #a77d21;
  background: rgba(255, 249, 226, 0.58);
  font: 700 9px/1 Arial, sans-serif;
  letter-spacing: 0.08em;
}

.fn-push-module-head > div {
  min-width: 0;
}

.fn-push-module-head h3 {
  margin: 0 0 3px;
  color: #315f2b;
  font-family: "Genshin", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
}

.fn-push-module-head p {
  margin: 0;
  color: rgba(47, 74, 43, 0.58);
  font-size: 10px;
  line-height: 1.6;
}

.fn-push-game-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.fn-push-game-option {
  position: relative;
  min-width: 0;
  min-height: 60px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(140, 203, 106, 0.2);
  border-radius: 15px;
  background: rgba(252, 255, 250, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition:
    transform 0.22s var(--ease-soft, ease),
    border-color 0.22s var(--ease-soft, ease),
    background 0.22s var(--ease-soft, ease),
    box-shadow 0.22s var(--ease-soft, ease);
}

.fn-push-game-option:not(.is-disabled):hover {
  border-color: rgba(140, 203, 106, 0.42);
  background: rgba(255, 255, 255, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 24px -21px rgba(39, 82, 33, 0.58);
  transform: translateY(-1px);
}

.fn-push-game-option.is-enabled {
  border-color: rgba(95, 168, 79, 0.4);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(232, 247, 202, 0.34)),
    rgba(249, 254, 246, 0.76);
}

.fn-push-game-option.is-disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.fn-push-linked-pair {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 8px;
}

.fn-push-linked-pair::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 38px;
  right: 28px;
  bottom: 38px;
  width: 6px;
  border: 1px solid rgba(95, 168, 79, 0.56);
  border-radius: 999px;
  background: linear-gradient(180deg, #9bce78, #d8c76c 52%, #9bce78);
  box-shadow:
    0 0 0 3px rgba(238, 249, 223, 0.86),
    0 0 14px rgba(116, 183, 85, 0.34);
  pointer-events: none;
}

.fn-push-linked-pair::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 50%;
  right: 25px;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 4px;
  background: linear-gradient(135deg, #a8d783, #e4c86d);
  box-shadow:
    0 0 0 1px rgba(95, 168, 79, 0.48),
    0 0 12px rgba(140, 203, 106, 0.42);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.fn-push-linked-pair .fn-push-game-option {
  z-index: 1;
}

.fn-push-linked-pair .fn-push-switch {
  z-index: 6;
  box-shadow:
    inset 0 1px 3px rgba(40, 65, 35, 0.08),
    0 0 0 4px rgba(236, 248, 221, 0.92),
    0 0 12px rgba(140, 203, 106, 0.22);
}

.fn-push-game-option.is-disabled .fn-push-game-copy small[data-fixed-reason="true"] {
  color: rgba(137, 91, 38, 0.86);
  font-weight: 600;
}

.fn-push-game-icon {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  border: 1px solid rgba(140, 203, 106, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
}

.fn-push-game-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.fn-push-game-copy strong {
  min-width: 0;
  color: rgba(39, 75, 34, 0.92);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.fn-push-game-copy small {
  color: rgba(47, 74, 43, 0.5);
  font-size: 9px;
  line-height: 1.35;
}

.fn-push-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.fn-push-switch {
  position: relative;
  width: 42px;
  height: 24px;
  border: 1px solid rgba(95, 130, 88, 0.24);
  border-radius: 999px;
  background: rgba(92, 112, 87, 0.16);
  box-shadow: inset 0 1px 3px rgba(40, 65, 35, 0.08);
  transition:
    background 0.22s var(--ease-soft, ease),
    border-color 0.22s var(--ease-soft, ease),
    box-shadow 0.22s var(--ease-soft, ease);
}

.fn-push-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(44, 72, 38, 0.18);
  transition: transform 0.22s var(--ease-soft, ease);
}

.fn-push-checkbox:checked + .fn-push-switch {
  border-color: rgba(95, 168, 79, 0.58);
  background: linear-gradient(135deg, rgba(95, 168, 79, 0.78), rgba(190, 205, 104, 0.68));
  box-shadow: 0 0 0 3px rgba(140, 203, 106, 0.1);
}

.fn-push-checkbox:checked + .fn-push-switch::after {
  transform: translateX(18px);
}

.fn-push-checkbox:focus-visible + .fn-push-switch {
  outline: 3px solid rgba(95, 168, 79, 0.22);
  outline-offset: 2px;
}

@media (max-width: 1100px) and (min-width: 761px) {
  .fn-push-card {
    width: min(920px, 100%);
  }

  .fn-push-card .fn-modal-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fn-push-checkin-module {
    grid-column: 1 / -1;
  }

  .fn-push-checkin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

.fn-push-card .fn-form-status {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid rgba(140, 203, 106, 0.18);
  border-radius: 12px;
  color: rgba(49, 95, 43, 0.72);
  background: rgba(232, 247, 202, 0.24);
  font-size: 10px;
  line-height: 1.55;
}

.fn-push-card .fn-form-status.is-error {
  border-color: rgba(196, 123, 82, 0.22);
  color: #9a5639;
  background: rgba(255, 239, 221, 0.36);
}

.fn-push-card .fn-modal-foot {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid rgba(140, 203, 106, 0.2);
  background: rgba(247, 252, 244, 0.76);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}

.fn-push-card .fn-primary-action,
.fn-push-card .fn-secondary-action {
  min-width: 132px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: "Genshin", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    transform 0.22s var(--ease-soft, ease),
    filter 0.22s var(--ease-soft, ease),
    box-shadow 0.22s var(--ease-soft, ease);
}

.fn-push-card .fn-secondary-action {
  border: 1px solid rgba(140, 203, 106, 0.26);
  color: rgba(49, 95, 43, 0.82);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.fn-push-card .fn-primary-action {
  border: 1px solid rgba(246, 255, 238, 0.78);
  color: #315f2b;
  background:
    linear-gradient(135deg, rgba(151, 211, 116, 0.7), rgba(232, 200, 122, 0.42)),
    rgba(255, 255, 255, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(53, 91, 45, 0.12),
    0 14px 30px -21px rgba(68, 124, 52, 0.64);
}

.fn-push-card .fn-primary-action:not(:disabled):hover,
.fn-push-card .fn-secondary-action:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.fn-push-card .fn-primary-action:disabled {
  cursor: not-allowed;
  filter: grayscale(0.18);
  opacity: 0.5;
  transform: none;
}

@media (max-width: 760px) {
  .field-notes-page .fn-page-tools {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    gap: 18px;
    max-width: calc(100vw - max(24px, env(safe-area-inset-left) + env(safe-area-inset-right)));
  }

  .field-notes-page .fn-push-open {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    border-radius: 15px;
  }

  .fn-push-open-icon {
    width: 36px;
    height: 36px;
  }

  .fn-tool-label {
    width: max-content;
    min-width: 58px;
    max-width: 84px;
    min-height: 24px;
    padding: 4px 5px;
    font-size: 9px;
  }

  .fn-page-tools > button:last-child .fn-tool-label {
    right: -1px;
    left: auto;
    transform: none;
  }

  .fn-push-modal {
    align-items: end;
    padding: 10px;
  }

  .fn-push-card {
    width: 100%;
    max-height: min(calc(100vh - 20px), calc(100dvh - 20px));
    border-radius: 25px;
  }

  .fn-push-card .fn-push-head {
    padding: 16px 15px;
  }

  .fn-push-heading {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 11px;
  }

  .fn-push-heading-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .fn-push-card .fn-push-head h2 {
    font-size: 20px;
  }

  .fn-push-heading-note {
    display: none;
  }

  .fn-push-card .fn-modal-close {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .fn-push-card .fn-modal-body {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 14px;
  }

  .fn-push-email-state {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 11px;
  }

  .fn-push-email-mark {
    width: 34px;
    height: 34px;
  }

  .fn-push-bind-link {
    grid-column: 1 / -1;
    width: 100%;
  }

  .fn-push-module {
    padding: 13px;
    border-radius: 18px;
  }

  .fn-push-card .fn-modal-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 13px 14px;
  }

  .fn-push-card .fn-primary-action,
  .fn-push-card .fn-secondary-action {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .field-notes-page .fn-page-tools {
    gap: 24px;
  }

  .field-notes-page .fn-push-open {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .fn-push-open-icon {
    width: 34px;
    height: 34px;
  }

  .fn-tool-label {
    width: max-content;
    min-width: 54px;
    max-width: 78px;
    min-height: 23px;
    padding: 4px;
    font-size: 8.5px;
  }

  .fn-push-card .fn-modal-kicker {
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .fn-push-module-head {
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 9px;
  }

  .fn-push-module-index {
    width: 29px;
    height: 29px;
  }

  .fn-push-game-option {
    grid-template-columns: 36px minmax(0, 1fr) 40px;
    gap: 8px;
    min-height: 56px;
    padding: 7px 9px;
  }

  .fn-push-game-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .fn-push-game-copy strong {
    font-size: 10px;
  }

  .fn-push-switch {
    width: 40px;
  }

  .fn-push-checkbox:checked + .fn-push-switch::after {
    transform: translateX(16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .field-notes-page .fn-push-open,
  .field-notes-page .fn-push-open::before,
  .fn-push-open-icon,
  .fn-tool-label,
  .fn-push-card .fn-modal-close,
  .fn-push-game-option,
  .fn-push-switch,
  .fn-push-switch::after,
  .fn-push-card .fn-primary-action,
  .fn-push-card .fn-secondary-action {
    transition-duration: 0.01ms !important;
  }
}
