/* GSF04 v27 — swipeable menu/memo pages without tabs or text pager captions. */
.gsfPageDots { display:none; }
.gsfPage { min-width:0; }
.gsfPageExtra { margin-top:18px;padding-top:11px;border-top:1px solid #e6e9ed; }
@media (min-width:761px) {
  .detailCard .gsfPageViewport,.detailCard .gsfPageTrack,.detailCard .gsfPage,
  .detailCard .gsfPageScroll { display:block;width:100%;height:auto;overflow:visible; }
  .detailCard .gsfMemoPage {margin-top:18px;padding-top:12px;border-top:1px solid #e5e8ec}
  .detailCard .gsfPageTrack{transform:none!important;transition:none!important}
}
@media (max-width:760px) {
  .detailCard .detailBody {
    display:flex!important;flex-direction:column!important;padding:0!important;
    overflow:hidden!important;min-height:0!important;
  }
  .detailCard .gsfPageViewport {flex:1 1 auto;min-height:0;max-height:100%;width:100%;overflow:hidden;touch-action:pan-y;}
  .detailCard .gsfPageTrack{display:flex;width:100%;height:100%;will-change:transform;align-items:stretch}
  .detailCard .gsfPage{flex:0 0 100%;min-width:0;height:100%;overflow:hidden;padding:0;}
  .detailCard .gsfPageScroll{height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;padding:12px 17px 18px;touch-action:pan-y;}
  .detailCard .gsfPageDots{display:flex;flex:0 0 30px;height:30px;align-items:center;justify-content:center;
    gap:11px;background:#fff;border-top:1px solid #f2f3f5;}
  .detailCard .gsfPageDot{width:9px;height:9px;border:0;border-radius:50%;background:#d3d8df;
    padding:0;cursor:pointer;touch-action:manipulation;transition:background .18s ease,transform .18s ease;}
  .detailCard .gsfPageDot.active{background:#394e65;transform:scale(1.09)}
  .detailCard .gsfPageDot:focus-visible{outline:2px solid #4283ac;outline-offset:3px}
  .detailCard:not(.gsfSheetAtMax) .gsfPageDots {visibility:hidden}
  .detailCard .gsfPageExtra .detailHead{font-size:12px!important;color:#8995a3;margin:0 0 5px}
  .detailCard .gsfPageExtra #detailCircle{font-size:13px}
  .detailCard .gsfMenuPage #detailLink{margin-top:0}
  .detailCard .gsfMemoPage .sectionTitle{font-size:16px;font-weight:750;margin:2px 0 12px;display:flex;gap:8px;align-items:center}
  .detailCard .gsfMemoPage .actions{display:flex;gap:8px;align-items:center;margin:8px 0 14px}
  /* Header already provides the star, so preserve the underlying click handler invisibly. */
  .detailCard .gsfMemoPage #favoriteButton{display:none!important}
  .detailCard .gsfMemoPage #purchasedButton{flex:1}
  .detailCard .gsfMemoPage #workForm{display:flex!important;flex-direction:column;gap:9px;margin-top:15px}
  .detailCard .gsfMemoPage #workForm input,.detailCard .gsfMemoPage #workForm select,
  .detailCard .gsfMemoPage #workForm textarea{max-width:100%;font-size:16px}
  .detailCard .gsfMemoPage .hint{font-size:11px;color:#84919b}
  /* Reset body-specific old scrolling; only the active page itself may scroll. */
  .detailCard.gsfSheetAtMax:not(.gsfSheetDragging) .detailBody{overflow:hidden!important}
}
@media(prefers-reduced-motion:reduce){.gsfPageTrack,.gsfPageDot{transition:none!important}}
