body.student-notice-popup-open { overflow: hidden; }
.student-notice-popup-overlay { position: fixed; inset: 0; z-index: 10070; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(15, 23, 42, .58); backdrop-filter: blur(4px); }
.student-notice-popup-card { position: relative; box-sizing: border-box; width: min(94vw, 560px); max-height: min(88vh, 720px); overflow: auto; border: 1px solid rgba(148, 163, 184, .34); border-radius: 8px; background: #fff; color: #111827; box-shadow: 0 24px 74px rgba(15, 23, 42, .3); padding: 24px 22px 20px; }
.student-notice-popup-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: transparent; color: #64748b; font-size: 1.35rem; font-weight: 800; line-height: 1; cursor: pointer; }
.student-notice-popup-close:hover, .student-notice-popup-close:focus-visible { background: #eef2ff; color: #1d4ed8; outline: none; }
.student-notice-popup-eyebrow { margin: 0 42px 6px 0; color: #2563eb; font-size: .82rem; font-weight: 800; }
.student-notice-popup-title { margin: 0 42px; font-size: 1.2rem; line-height: 1.35; }
.student-notice-popup-list { display: grid; gap: 12px; margin: 18px 0 0; }
.student-notice-popup-item { border: 1px solid #e5e7eb; border-radius: 8px; background: #f8fafc; padding: 14px; }
.student-notice-popup-item-title { margin: 0; color: #111827; font-size: 1rem; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.student-notice-popup-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 7px 0 10px; color: #64748b; font-size: .8rem; }
.student-notice-popup-body { margin: 0; color: #1f2937; word-break: keep-all; overflow-wrap: anywhere; line-height: 1.56; }
.student-notice-popup-body > :first-child { margin-top: 0; }
.student-notice-popup-body > :last-child { margin-bottom: 0; }
.student-notice-popup-body p { margin: 0 0 8px; }
.student-notice-popup-body h4, .student-notice-popup-body h5, .student-notice-popup-body h6 { margin: 12px 0 6px; color: inherit; line-height: 1.4; }
.student-notice-popup-body h4 { font-size: 1.18em; }
.student-notice-popup-body h5 { font-size: 1.08em; }
.student-notice-popup-body h6 { font-size: 1em; }
.student-notice-popup-body ul, .student-notice-popup-body ol { margin: 6px 0 10px; padding-left: 1.4em; }
.student-notice-popup-body li + li { margin-top: 4px; }
.student-notice-popup-body blockquote { margin: 8px 0; border-left: 3px solid rgba(117, 73, 24, .32); padding-left: 10px; color: #735032; }
.student-notice-popup-body hr { margin: 14px 0; border: 0; border-top: 1px solid rgba(117, 73, 24, .22); }
.student-notice-popup-body code { border-radius: 4px; background: rgba(112, 72, 28, .1); padding: 1px 4px; font: 650 .92em/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.student-notice-popup-body pre { max-width: 100%; overflow: auto; border-radius: 6px; background: rgba(52, 32, 12, .08); padding: 10px; white-space: pre-wrap; }
.student-notice-popup-body pre code { background: transparent; padding: 0; }
.student-notice-popup-body a { color: #1d4ed8; font-weight: 850; text-decoration: underline; text-underline-offset: 2px; }
.student-notice-markdown-image { display: block; max-width: 100%; max-height: 360px; margin: 10px 0; border: 1px solid rgba(117, 73, 24, .18); border-radius: 8px; object-fit: contain; }
.student-notice-popup-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; margin-top: 12px; }
.student-notice-popup-image-link { display: block; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; background: #fff; }
.student-notice-popup-image-link img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.student-notice-popup-error { margin: 10px 0 0; color: #b91c1c; font-size: .86rem; }
.student-notice-popup-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.student-notice-popup-status { margin-right: auto; color: #64748b; font-size: .84rem; }
.student-notice-popup-confirm { min-width: 96px; min-height: 44px; border: 0; border-radius: 8px; padding: 10px 16px; background: #2563eb; color: #fff; font-weight: 800; cursor: pointer; }
.student-notice-popup-confirm:disabled { opacity: .65; cursor: wait; }
.student-notice-popup-overlay--economy { padding: 24px; background: rgba(33, 22, 10, .52); backdrop-filter: blur(6px); }
.student-notice-popup-card--economy { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto; box-sizing: border-box; width: min(760px, calc(100vw - 32px)); max-height: min(760px, calc(100vh - 32px)); overflow: hidden; border: 1px solid rgba(112, 72, 28, .28); border-radius: 8px; background: linear-gradient(180deg, #fff7df 0%, #f7e4b6 100%); color: #34200c; box-shadow: 0 22px 55px rgba(34, 20, 6, .34); padding: 26px; }
.student-notice-popup-card--economy .student-notice-popup-close { top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid rgba(82, 48, 15, .22); background: #fff1c5; color: #4a2608; font-size: 24px; font-weight: 1000; }
.student-notice-popup-card--economy .student-notice-popup-close:hover, .student-notice-popup-card--economy .student-notice-popup-close:focus-visible { background: #ffe7a0; color: #3b240d; outline: 3px solid rgba(55, 129, 230, .28); outline-offset: 2px; }
.student-notice-popup-card--economy .student-notice-popup-eyebrow { margin: 0 42px 8px 0; color: #735032; font-size: 12px; font-weight: 1000; }
.student-notice-popup-card--economy .student-notice-popup-title { margin: 0 42px 0 0; color: #34200c; font-size: 24px; font-weight: 1000; line-height: 1.28; }
.student-notice-popup-card--economy .student-notice-popup-list { min-height: 0; overflow: auto; gap: 10px; margin: 18px 0 0; padding-right: 4px; }
.student-notice-popup-card--economy .student-notice-popup-item { border: 1px solid rgba(117, 73, 24, .18); background: rgba(255, 251, 239, .78); }
.student-notice-popup-card--economy .student-notice-popup-item-title { color: #4c2d17; font-size: 15px; font-weight: 1000; }
.student-notice-popup-card--economy .student-notice-popup-meta { gap: 7px; color: #735032; font-size: 12px; font-weight: 900; }
.student-notice-popup-card--economy .student-notice-popup-meta span { border-radius: 999px; background: #f0d894; color: #5a3511; padding: 5px 9px; font-weight: 900; }
.student-notice-popup-card--economy .student-notice-popup-body { color: #4c2d17; font-size: 14px; font-weight: 750; line-height: 1.68; }
.student-notice-popup-card--economy .student-notice-popup-image-link { border-color: rgba(117, 73, 24, .18); background: rgba(255, 251, 239, .78); }
.student-notice-popup-card--economy .student-notice-popup-error { color: #b91c1c; font-weight: 900; }
.student-notice-popup-card--economy .student-notice-popup-actions { align-items: center; justify-content: flex-end; gap: 8px; margin: 22px -26px -26px; padding: 14px 26px; border-top: 1px solid rgba(112, 72, 28, .18); background: rgba(247, 228, 182, .96); }
.student-notice-popup-card--economy .student-notice-popup-status { color: #735032; font-size: 13px; font-weight: 900; }
.student-notice-popup-card--economy .student-notice-popup-confirm { min-width: 96px; border: 0; background: #2563eb; color: #fff; box-shadow: 0 12px 24px rgba(37, 99, 235, .18); font-weight: 1000; }
.student-notice-popup-card--economy .student-notice-popup-confirm:hover, .student-notice-popup-card--economy .student-notice-popup-confirm:focus-visible { background: #1d4ed8; outline: none; }
.student-reward-popup-card { grid-template-rows: auto auto minmax(0, 1fr) auto auto auto auto; }
.student-reward-popup-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.student-reward-popup-copy { min-width: 0; }
.student-reward-popup-time { margin: 6px 0 0; color: #735032; font-size: 12px; font-weight: 800; }
.student-reward-popup-amount { flex: 0 0 auto; color: #166534; font-size: 17px; font-weight: 1000; white-space: nowrap; }
.student-reward-popup-balance { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 14px 0 0; border-radius: 8px; background: rgba(255, 251, 239, .78); padding: 12px 14px; color: #5a3511; font-size: 13px; font-weight: 900; }
.student-reward-popup-balance strong { color: #34200c; font-size: 17px; }
.student-reward-popup-help { margin: 10px 0 0; color: #735032; font-size: 12px; font-weight: 750; line-height: 1.55; }
.student-reward-popup-later { min-width: 96px; border: 1px solid rgba(82, 48, 15, .28); border-radius: 8px; padding: 10px 16px; background: #fff8e8; color: #4a2608; font-weight: 1000; cursor: pointer; }
.student-reward-popup-later:hover, .student-reward-popup-later:focus-visible { background: #ffe7a0; outline: none; }
.student-reward-popup-later:disabled { opacity: .65; cursor: wait; }
@media (max-width: 520px) {
  .student-notice-popup-card--economy { width: min(100%, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 20px 16px 16px; }
  .student-notice-popup-card--economy .student-notice-popup-actions { margin: 16px -16px -16px; padding: 12px 16px; }
  .student-notice-popup-actions { align-items: stretch; flex-direction: column; }
  .student-notice-popup-status { margin-right: 0; }
  .student-notice-popup-confirm { width: 100%; }
  .student-reward-popup-item { align-items: flex-start; }
  .student-reward-popup-later { width: 100%; }
}
