.p24-notice-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 20px 72px;
  color: #191512;
}
body.notice .hkpm_inner_title .wrapper2 {
  text-align: center;
}

body.notice .hkpm_inner_title .wrapper2 > span {
  display: block;
  text-align: center;
}

body.notice .hkpm_inner_title .wrapper2 > h2 {
  display: none;
}
.p24-notice-title {
  width: 100%;
  margin: 20px 0 30px;
  color: #A28C57;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  font-weight: 500 !important;
  text-align: center;
  letter-spacing: 0;
}
.p24-notice-search {
  width: min(720px, 100%);
  min-height: 58px;
  margin: 30px auto 24px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  border: 1px solid #a88d4f;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
}
.p24-notice-search svg {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  color: #A28C57;
  stroke-width: 3;
}
.p24-notice-search input {
  width: 100%;
  min-height: 56px;
  border: 0;
  outline: 0;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: 400;
}
.p24-notice-divider {
  width: min(800px, 100%);
  height: 1px;
  margin: 0 auto 36px;
  background: #A28C57;
}
.p24-notice-list {
  display: grid;
  gap: 22px;
}
.p24-notice-empty {
  padding: 48px 20px;
  border: 1px solid #d7c6aa;
  background: #fffaf0;
  text-align: center;
  color: #6d6252;
  font-size: 18px;
}
.p24-notice-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid #A28C57;
  border-radius: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.p24-notice-card:hover {
  background: #fffdf8;
  border-color: #8f793f;
}
.p24-notice-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
}
.p24-notice-card h3 {
  margin: 0;
  color: #A28C57;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0;
}
.p24-notice-card time {
  color: #8f793f;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
}
.p24-notice-card p {
  margin: 0;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
}
.p24-notice-preview-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #d7c6aa;
}
.p24-file-preview {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7c6aa;
  border-radius: 10px;
  background: #fbf7ee;
  color: #191512;
  font-weight: 900;
}
.p24-file-icon {
  width: 38px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #c8b68f;
  background: #fff;
  color: #124f33;
  font-size: 10px;
}
.p24-notice-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(18, 18, 16, .62);
}
.p24-notice-modal[hidden] { display: none !important; }
.p24-notice-dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid #A28C57;
  background: #fffdf8;
  box-shadow: 0 28px 80px rgba(0,0,0,.18);
}
.p24-notice-close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  border: 1px solid #d7c6aa;
  border-radius: 50%;
  background: #fff;
  color: #191512;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.p24-notice-dialog h2 {
  margin: 4px 54px 18px 0;
  color: #A28C57;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 400;
}
.p24-notice-dialog .summary {
  margin: 0 0 28px;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
}
.p24-notice-body {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
}
.p24-notice-text {
  white-space: pre-wrap;
}
.p24-notice-inline-attachment {
  margin: 22px 0;
}
.p24-notice-inline-attachment img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid #d7c6aa;
}
.p24-notice-attachments {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.p24-notice-attachments img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid #d7c6aa;
}
.p24-notice-files {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.p24-notice-popup-overlay {
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1;
  transition: opacity .26s ease, visibility .26s ease;
}
.p24-notice-popup-overlay.is-closing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.p24-notice-popup-panel {
  position: relative;
  width: min(520px, calc((100vh - 80px) * .75), calc(100% - 110px));
  max-width: calc(100vw - 110px);
  aspect-ratio: 3 / 4;
  max-height: calc(100vh - 80px);
  filter: drop-shadow(0 25px 34px rgba(0, 0, 0, .42));
}
.p24-notice-popup-snooze {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 4px;
  background: rgba(25, 20, 14, .88);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  filter: none;
}
.p24-notice-popup-snooze input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #b58a49;
}
.p24-notice-popup-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(181, 138, 73, .42);
  border-radius: 20px;
  background: #fff;
}
.p24-notice-popup-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .4s cubic-bezier(.25, 1, .5, 1);
  will-change: transform;
}
.p24-notice-popup-slide {
  display: flex;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}
.p24-notice-popup-content {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  height: 100%;
  flex-direction: column;
  padding: 24px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
}
.p24-notice-popup-content::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.p24-notice-popup-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0ec;
}
.p24-notice-popup-brand strong {
  color: #8b642f;
  font-size: 18px;
  font-weight: 900;
}
.p24-notice-popup-brand span {
  min-width: 0;
  padding-left: 9px;
  border-left: 1px solid #d6ddd9;
  color: #726552;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p24-notice-popup-brand small {
  color: #917e61;
  font-size: 9px;
  white-space: nowrap;
}
.p24-notice-popup-heading {
  margin: 16px 0 20px;
}
.p24-notice-popup-count {
  margin-bottom: 8px;
  color: #b58a49;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}
.p24-notice-popup-title-row {
  display: block;
}
.p24-notice-popup-heading h2 {
  margin: 0;
  color: #2b241b;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
}
.p24-notice-popup-heading p {
  margin: 12px 0 0;
  color: #59645e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
}
.p24-notice-popup-hero {
  flex: 0 0 auto;
  width: 100%;
  margin: 0 0 22px;
  background: transparent;
  text-align: center;
}
.p24-notice-popup-hero img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
}
.p24-notice-popup-story {
  display: grid;
  gap: 16px;
  color: #303a35;
  font-size: 14px;
  line-height: 1.75;
}
.p24-notice-popup-story .p24-notice-body,
.p24-notice-popup-story .p24-notice-text {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
.p24-notice-popup-story .p24-notice-inline-attachment,
.p24-notice-popup-story .p24-notice-attachments {
  margin: 0;
}
.p24-notice-popup-story img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}
.p24-notice-popup-actions {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 24px;
}
.p24-notice-popup-sidebar {
  display: flex;
  flex: 0 0 48px;
  width: 48px;
  min-height: 0;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 68px 0 20px;
  background: #a97a3e;
  color: #fff;
  writing-mode: vertical-rl;
  user-select: none;
}
.p24-notice-popup-sidebar span {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}
.p24-notice-popup-sidebar small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: .9;
}
.p24-notice-popup-close,
.p24-notice-popup-nav {
  position: absolute;
  z-index: 40;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(74, 53, 27, .58);
  color: #fff;
  font-family: Arial, sans-serif;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.p24-notice-popup-close:hover,
.p24-notice-popup-nav:hover:not(:disabled) {
  background: rgba(74, 53, 27, .92);
}
.p24-notice-popup-close {
  top: -12px;
  right: -56px;
  font-size: 26px;
  line-height: 1;
}
.p24-notice-popup-close:hover {
  transform: scale(1.08);
}
.p24-notice-popup-nav {
  top: 50%;
  transform: translateY(-50%);
}
.p24-notice-popup-nav:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.08);
}
.p24-notice-popup-nav:disabled {
  opacity: .2;
  cursor: default;
}
.p24-notice-popup-nav span {
  transform: translateY(-2px);
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
}
.p24-notice-popup-nav.is-prev { left: -56px; }
.p24-notice-popup-nav.is-next { right: -56px; }
.p24-notice-popup-dots {
  position: absolute;
  z-index: 30;
  bottom: 16px;
  left: 50%;
  display: flex;
  gap: 9px;
  padding: 8px 15px;
  border-radius: 20px;
  background: rgba(74, 53, 27, .62);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity .3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.p24-notice-popup-dots.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.p24-notice-popup-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .44);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.p24-notice-popup-dot.is-active {
  background: #d7b46f;
  transform: scale(1.3);
}
.p24-notice-view-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid #b58a49;
  border-radius: 6px;
  background: #b58a49;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}
.p24-notice-view-button:hover {
  background: #946c32;
  color: #fff;
}

@media (max-width: 640px) {
  .p24-notice-card-head { grid-template-columns: 1fr; }
  .p24-notice-card time { white-space: normal; }
  .p24-notice-search { min-height: 56px; grid-template-columns: 48px 1fr; }
  .p24-notice-search input { min-height: 50px; font-size: 17px; }
  .p24-notice-popup-panel {
    width: min(calc(100% - 20px), calc((100vh - 72px) * .75));
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 72px);
  }
  .p24-notice-popup-close {
    top: -48px;
    right: 0;
    width: 42px;
    height: 42px;
    font-size: 25px;
  }
  .p24-notice-popup-nav.is-prev { left: 8px; }
  .p24-notice-popup-nav.is-next { right: 8px; }
  .p24-notice-popup-nav { width: 40px; height: 40px; }
  .p24-notice-popup-content { padding: 22px 20px 28px; }
  .p24-notice-popup-sidebar { flex-basis: 38px; width: 38px; }
  .p24-notice-popup-brand { grid-template-columns: auto minmax(0, 1fr); }
  .p24-notice-popup-brand small { display: none; }
  .p24-notice-popup-heading h2 { font-size: 24px; }
  .p24-notice-popup-title-row { grid-template-columns: 1fr; gap: 4px; padding-right: 0; }
  .p24-notice-popup-title-row time { padding-top: 0; }
}

.p24-notice-trial-button,
.p24-notice-review-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 360px);
  min-height: 54px;
  margin: 22px auto 0;
  padding: 0 22px;
  border: 1px solid #b58a49;
  border-radius: 999px;
  background: #b58a49;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(181, 138, 73, .2);
}

.p24-notice-trial-button:hover {
  background: #946c32;
  color: #fff;
}

.p24-notice-review-button {
  border-color: #b58a49;
  background: #b58a49;
  box-shadow: 0 18px 34px rgba(181, 138, 73, .2);
}

.p24-notice-review-button:hover {
  background: #946c32;
  color: #fff;
}

.p24-notice-popup-actions .p24-notice-trial-button,
.p24-notice-popup-actions .p24-notice-review-button {
  width: 100%;
  min-height: 50px;
  margin: 0;
  border-radius: 6px;
}

.p24-notice-image-frame {
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  background: transparent;
  text-align: center;
}

.p24-notice-image-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
}

.p24-notice-popup-story .p24-notice-trial-button,
.p24-notice-popup-story .p24-notice-review-button,
.p24-notice-popup-story .p24-notice-view-button {
  width: 100%;
  min-height: 52px;
  margin: 0;
  border-radius: 6px;
}

.p24-notice-external-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 10px 14px;
  border: 1px solid #d8c49f;
  border-radius: 8px;
  background: #fffdf8;
  color: #2b241b;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(75, 53, 25, .08);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.p24-notice-external-link:hover {
  border-color: #b58a49;
  color: #2b241b;
  box-shadow: 0 12px 28px rgba(75, 53, 25, .14);
  transform: translateY(-1px);
}
.p24-notice-external-link__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e6ddcc;
  border-radius: 7px;
  background: #fff;
}
.p24-notice-external-link__icon img { width: 26px; height: 26px; object-fit: contain; }
.p24-notice-external-link__copy { display: grid; min-width: 0; gap: 2px; }
.p24-notice-external-link__copy strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.p24-notice-external-link__copy small { color: #89775e; font-size: 11px; font-weight: 700; }
.p24-notice-external-link > svg { width: 18px; height: 18px; fill: none; stroke: #a77b3e; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
