/* Original poster stays uncropped; navigation has its own readable bar below. */
.np-flyer-home { padding: 0 0 24px; }
.np-flyer-home__inner { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; }
.np-flyer-home__title { margin: 0 0 4px; color: #082d76; font-size: 21px; }
.np-flyer-home__intro { margin: 0; color: #5c6571; font-size: 14px; }
.np-flyer-home__actions { display: flex; align-items: end; gap: 12px; }
.np-flyer-home__label { display: grid; gap: 6px; color: #294155; font-size: 13px; font-weight: 700; }
.np-flyer-home select { max-width: 300px; min-height: 46px; padding: 10px 34px 10px 12px; border: 1px solid #cbd5e0; border-radius: 10px; background: white; color: #142d42; font: inherit; font-size: 14px; }
.np-flyer-home__open { min-height: 46px; border: 0; border-radius: 10px; padding: 11px 17px; color: #fff; background: #d84000; font: inherit; font-weight: 800; cursor: pointer; }
.np-flyer-home__open:disabled { background: #d7dee4; color: #536474; cursor: default; }
.np-flyer-home__status { grid-column: 1 / -1; margin: 0; color: #5c6571; font-size: 12px; line-height: 1.5; }
.np-flyer-home__title, .np-flyer-home__intro, .np-flyer-home[data-flyer-state="idle"] .np-flyer-home__status, .np-flyer-home[data-flyer-state="loading"] .np-flyer-home__status, .np-flyer-home[data-flyer-state="ready"] .np-flyer-home__status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Native :modal dialogs have fixed top/bottom insets. An auto height stretches
   between those insets; fit-content and start alignment keep the shell snug. */
.np-flyer-dialog { box-sizing: border-box; width: min(calc(100vw - 24px), 680px); height: fit-content; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 26px 8px 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; color: #fff; overflow: visible; }
.np-flyer-dialog[open] { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; align-content: start; }
.np-flyer-dialog::backdrop { background: #071321b8; }
.np-flyer-close, .np-flyer-arrow, .np-flyer-playback { box-sizing: border-box; flex-shrink: 0; min-width: 44px; min-height: 44px; border: 0; border-radius: 99px; background: transparent; color: #fff; cursor: pointer; font: inherit; }
/* The visual circle is 32px, inside a full 44px target close to the image. */
.np-flyer-close { position: absolute; z-index: 3; isolation: isolate; top: 4px; right: 0; width: 44px; height: 44px; padding: 0; background: transparent; color: #233546; font-size: 24px; line-height: 1; }
.np-flyer-close::before { content: ''; position: absolute; z-index: -1; inset: 6px; border: 1px solid #ffffff70; border-radius: 50%; box-shadow: 0 2px 10px #0003; background: #fff; }
.np-flyer-stage { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; height: min(calc(100dvh - 50px), 820px); min-width: 0; min-height: 0; overflow: visible; background: transparent; touch-action: pan-y; container-type: inline-size; container-name: np-flyer-art; }
.np-flyer-sheet { max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; width: 100%; height: 100%; overflow: hidden; }
.np-flyer-crop { width: 100%; height: 100%; overflow: hidden; }
.np-flyer-image { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; object-fit: contain; object-position: center; }
.np-flyer-crop[data-crop-half="left"] .np-flyer-image, .np-flyer-crop[data-crop-half="right"] .np-flyer-image { width: 200%; max-width: none; object-fit: fill; }
.np-flyer-crop[data-crop-half="right"] .np-flyer-image { transform: translateX(-50%); }
.np-flyer-image-fallback { box-sizing: border-box; width: 100%; max-width: 36ch; max-height: calc(100% - 16px); min-width: 0; min-height: 0; overflow: auto; margin: 0; padding: 16px; border-radius: 16px; background: #132334e6; color: #fff; text-align: center; line-height: 1.6; overflow-wrap: anywhere; }
.np-flyer-toolbar { position: relative; box-sizing: border-box; display: grid; grid-template-columns: 44px minmax(48px, 1fr) 44px 44px; grid-template-rows: 44px; align-items: center; gap: 4px; width: 100%; min-width: 0; min-height: 58px; overflow: visible; margin: 0; padding: 6px 8px; border: 1px solid #dce5ef; border-radius: 0 0 12px 12px; background: #fff; color: #082d76; opacity: 1; }
.np-flyer-toolbar[data-controls-hidden="true"] { opacity: 1; }
.np-flyer-count { display: block; min-width: 0; padding: 0; color: #082d76; font-size: 15px; font-weight: 700; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; pointer-events: none; }
.np-flyer-toolbar button { border: 1px solid #dce5ef; background: #f2f6fb; color: #082d76; }
.np-flyer-arrow { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; font-size: 32px; line-height: 1; }
.np-flyer-arrow:disabled { color: #66788b; cursor: default; }
.np-flyer-playback { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; font-size: 18px; line-height: 1; }
.np-flyer-toolbar button:not(:disabled):hover { background: #e0ebf8; }
.np-flyer-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.np-flyer-dialog[data-clarification="true"] .np-flyer-stage { height: min(calc(100dvh - 86px), 820px); }
.np-flyer-clarification { box-sizing: border-box; justify-self: center; width: max-content; min-width: 100%; max-width: calc(100vw - 32px); height: 36px; margin: 0; padding: 4px 0 0; color: #fff; font-size: 12px; line-height: 16px; text-align: center; overflow-wrap: anywhere; }
.np-flyer-dialog [hidden] { display: none !important; }
.np-flyer-dialog button:focus-visible { outline: 3px solid #ffc56b; outline-offset: 3px; }
.np-flyer-toolbar button:focus-visible { outline-offset: -3px; }
.np-flyer-home button:focus-visible, .np-flyer-home select:focus-visible { outline: 3px solid #196dd0; outline-offset: 3px; }
@media (max-width: 800px) {
  .np-flyer-home__inner { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .np-flyer-home__actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .np-flyer-home select { width: 100%; max-width: 100%; min-width: 0; }
}
@media (max-width: 390px) {
  .np-flyer-home__actions { grid-template-columns: minmax(0, 1fr); }
  .np-flyer-home__open { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .np-flyer-dialog *, .np-flyer-home * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
/* Contact-free illustration for a selected branch: one compact retail card,
   never another branch's hotline artwork or a fabricated promotion banner. */
.np-home-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.95fr); align-items: center; gap: 20px; width: min(1280px,calc(100% - 32px)); min-height: 152px; margin: 12px auto 20px; padding: 20px 28px; box-sizing: border-box; border: 1px solid #e3ebf3; border-radius: 16px; background: linear-gradient(110deg,#fff 30%,#f2f7ff); box-shadow: 0 3px 12px rgb(3 38 77 / 5%); }
.np-home-hero[hidden] { display: none !important; }
.np-home-hero__copy { display: grid; gap: 8px; min-width: 0; }
.np-home-hero__copy strong { color: #032e8f; font-size: clamp(19px,2.4vw,30px); line-height: 1.25; overflow-wrap: anywhere; }
.np-home-hero__copy span { color: #5c6c7e; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.np-home-hero > img { display: block; width: 100%; height: 116px; min-width: 0; object-fit: contain; }
@media (max-width:700px) { .np-home-hero { min-height: 112px; gap: 8px; margin: 10px auto 16px; padding: 12px 14px; } .np-home-hero__copy { gap: 6px; } .np-home-hero__copy span { font-size: 11px; } .np-home-hero > img { height: 88px; } }
@media (max-width:360px) { .np-home-hero { min-height: 104px; gap: 4px; padding: 10px 12px; } .np-home-hero__copy strong { font-size: 17px; } .np-home-hero__copy span { font-size: 10px; } .np-home-hero > img { height: 82px; } }
