.sfep { --ep-navy: #192f65; --ep-ink: #1d2230; --ep-mut: #5c6372; --ep-rule: #dfe3ea; --ep-bg: #f1f3f7; color: var(--ep-ink); padding-bottom: 56px; }
.sfep .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sfep a:focus-visible, .sfep button:focus-visible, .sfep select:focus-visible, .sfep-vp:focus-visible { outline: 3px solid #2271b1; outline-offset: 2px; }
.sfep-empty { margin: 24px 0; font-size: 18px; color: #4b5260; }
.sfep-h2 { margin: 40px 0 6px; padding: 10px 0 0; font-size: 23px; font-weight: 700; border-top: 2px solid #000; }
.sfep-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 30px; font-size: 18px; font-weight: 700; color: #fff !important; background: var(--ep-navy); border: 2px solid var(--ep-navy); border-radius: 6px; text-decoration: none !important; }
.sfep-btn:hover { background: #0f1f47; border-color: #0f1f47; }
.sfep-btn--line { color: var(--ep-navy) !important; background: #fff; }
.sfep-btn--line:hover { color: #fff !important; }
.sfep-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 600; color: var(--ep-navy) !important; text-decoration: none; }
.sfep .sft-kicker { font-size: 15px; }   
.sfep-link:hover { text-decoration: underline; }

.sfep-pthumb, .sfep-ithumb { display: block; aspect-ratio: 1600 / 2912; overflow: hidden; background: var(--ep-bg); border: 2px solid #e1e5eb; }
.sfep-pthumb img, .sfep-ithumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sfep-strip a, .sfep-rail a { display: block; color: var(--ep-ink) !important; text-align: center; text-decoration: none; }
.sfep-pl { display: block; margin-top: 4px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.sfep-strip a:hover .sfep-pthumb, .sfep-rail a:hover .sfep-pthumb { border-color: #8d97ab; }

.sfep-resume { margin: 18px 0 0; }
.sfep-resume a { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; padding: 14px 20px; font-size: 18px; color: var(--ep-navy) !important; text-decoration: none; background: #eef2fa; border: 1px solid #cdd6e8; border-radius: 12px; }
.sfep-resume a::after { content: "›"; margin-left: auto; font-size: 26px; line-height: 1; }
.sfep-resume-k { font-weight: 700; }
.sfep-resume a:hover { background: #e3e9f6; }
.sfep-latest { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 36px; align-items: start; margin: 26px 0 0; }
.sfep-cover { display: block; }
.sfep-cover img { display: block; width: 100%; height: auto; background: var(--ep-bg); border: 1px solid var(--ep-rule); box-shadow: 0 8px 26px rgba(16, 24, 48, .16); }
.sfep-cover:hover img { box-shadow: 0 10px 30px rgba(16, 24, 48, .24); }
.sfep-badge { display: inline-block; margin: 0 0 10px; padding: 3px 10px; font-size: 15px; font-weight: 700; color: var(--ep-navy); background: #fff4cc; border-left: 3px solid #f8c623; }
.sfep-latest-txt h2 { margin: 0 0 6px; font-size: 32px; line-height: 1.3; color: var(--ep-navy); }
.sfep-meta { margin: 0 0 20px; font-size: 18px; color: var(--ep-mut); }
.sfep-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0 0 30px; }
.sfep-h3 { margin: 0 0 12px; padding: 12px 0 0; font-size: 19px; font-weight: 700; border-top: 1px solid var(--ep-rule); }
.sfep-h3 span { margin-left: 12px; font-size: 15px; font-weight: 400; color: var(--ep-mut); }
.sfep-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 16px 12px; margin: 0; padding: 0; list-style: none; }
.sfep-strip li { margin: 0; }

.sfep-month { margin: 22px 0 12px; font-size: 19px; font-weight: 700; color: var(--ep-mut); }
.sfep-issues { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 26px 20px; margin: 0; padding: 0; list-style: none; }
.sfep-issues li { margin: 0; }
.sfep-issues a { display: block; color: var(--ep-ink) !important; text-decoration: none; }
.sfep-ithumb { border-width: 1px; border-color: var(--ep-rule); box-shadow: 0 3px 10px rgba(16, 24, 48, .08); }
.sfep-idate { display: block; margin: 10px 0 0; font-size: 18px; font-weight: 700; line-height: 1.4; }
.sfep-ino { display: block; font-size: 15px; color: var(--ep-mut); }
.sfep-issues a:hover .sfep-idate { color: var(--ep-navy); text-decoration: underline; }
.sfep-issues a:hover .sfep-ithumb { border-color: #8d97ab; }
.sfep-more { margin: 26px 0 0; }

.sfep-rhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin: 14px 0 18px; padding: 14px 0; border-top: 3px solid var(--ep-navy); border-bottom: 1px solid #e6e8ee; }
.sfep-rtitle { margin: 0; font-size: 28px; line-height: 1.25; font-weight: 700; color: var(--ep-navy); }
.sfep-rdate { margin: 4px 0 0; font-size: 19px; font-weight: 600; }
.sfep-rdate span { margin-left: 12px; font-size: 17px; font-weight: 400; color: var(--ep-mut); }
.sfep-issue-f, .sfep-page-f { display: flex; align-items: center; gap: 8px; margin: 0; }
.sfep-issue-f label { font-size: 17px; font-weight: 600; }
.sfep select { box-sizing: border-box; max-width: 100%; height: 46px; padding: 0 42px 0 12px; font: inherit; font-size: 17px; color: var(--ep-ink); text-overflow: ellipsis; -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23192f65' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 16px 16px; border: 1px solid #aeb6c4; border-radius: 6px; cursor: pointer; }   
.sfep select:hover { border-color: var(--ep-navy); }
.sfep-go { height: 46px; padding: 0 16px; font: inherit; font-size: 17px; font-weight: 700; color: #fff; background: var(--ep-navy); border: 0; border-radius: 6px; cursor: pointer; }
.sfep-issue-f.is-js .sfep-go, .sfep-reader.is-js .sfep-go { display: none; }

.sfep-reader { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 0 24px; align-items: start; }
.sfep-rail { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 2px 8px 2px 2px; scrollbar-width: thin; }
html.sfhd-mini-on .sfep-rail { top: 64px; max-height: calc(100vh - 80px); }
.sfep-rail-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sfep-rail ol { position: relative; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sfep-rail li { margin: 0; }
.sfep-rail a[aria-current="page"] .sfep-pthumb { border-color: var(--ep-navy); box-shadow: 0 0 0 2px var(--ep-navy); }
.sfep-rail a[aria-current="page"] .sfep-pl { color: var(--ep-navy); font-weight: 700; }

.sfep-stage { min-width: 0; }
.sfep-bar { position: sticky; top: 0; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 10px 12px; background: #f7f8fa; border: 1px solid var(--ep-rule); transition: top .22s ease; }
html.sfhd-mini-on .sfep-bar { top: 48px; }
.sfep-bar-pg { display: flex; align-items: center; gap: 8px; }
.sfep-nav { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 14px; font-size: 17px; font-weight: 700; color: var(--ep-navy) !important; text-decoration: none !important; background: #fff; border: 1px solid var(--ep-navy); border-radius: 6px; }
.sfep-nav:hover { color: #fff !important; background: var(--ep-navy); }
.sfep-nav[aria-disabled="true"] { pointer-events: none; opacity: .35; }
.sfep-arr { font-size: 22px; line-height: 1; }
.sfep-bar .sfep-end-l { display: none; }
.sfep-bar-zoom { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.sfep-bar-zoom[hidden] { display: none; }
.sfep-zb, .sfep-tb { height: 46px; font: inherit; color: var(--ep-ink); background: #fff; border: 1px solid #aeb6c4; border-radius: 6px; cursor: pointer; }
.sfep-zb { width: 46px; padding: 0; font-size: 24px; line-height: 1; }
.sfep-tb { padding: 0 12px; font-size: 16px; font-weight: 600; }
.sfep-zb:hover:not(:disabled), .sfep-tb:hover:not(:disabled) { border-color: var(--ep-navy); color: var(--ep-navy); }
.sfep-zb:disabled, .sfep-tb:disabled { opacity: .4; cursor: default; }
.sfep-tb[hidden] { display: none; }
.sfep-zv { min-width: 54px; font-size: 16px; text-align: center; color: var(--ep-mut); font-variant-numeric: tabular-nums; }
.sfep-orig { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; margin-left: auto; font-size: 16px; font-weight: 600; color: var(--ep-navy) !important; text-decoration: none; white-space: nowrap; }
.sfep-reader.is-js .sfep-orig { margin-left: 0; }
.sfep-orig:hover { text-decoration: underline; }
.sfep-ext { display: inline-block; margin-left: 4px; vertical-align: -2px; }   

.sfep-vp { position: relative; overflow-x: auto; overflow-y: hidden; background: #e7eaf0; border: 1px solid var(--ep-rule); border-top: 0; touch-action: manipulation; }
.sfep-img { display: block; width: 100%; max-width: none !important; height: auto; background: #f4f5f7; cursor: zoom-in; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: opacity .15s; }
.sfep-reader.is-zoomed .sfep-img { cursor: grab; }
.sfep-reader.is-zoomed.is-dragging .sfep-img { cursor: grabbing; }
.sfep-reader.is-busy .sfep-img.is-loading { opacity: .45; }
.sfep-loading { position: fixed; left: 50%; top: 50%; z-index: 20; display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 20px; font-size: 17px; line-height: 1.3; color: #fff; background: rgba(16, 24, 48, .88); border-radius: 8px; box-shadow: 0 6px 20px rgba(0, 0, 0, .22); transform: translate(-50%, -50%); pointer-events: none; }
.sfep-loading::before { content: ""; flex: none; width: 18px; height: 18px; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: sfep-spin .8s linear infinite; }
@keyframes sfep-spin { to { transform: rotate(360deg); } }
.sfep-loading[hidden] { display: none; }
.sfep-hint { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--ep-mut); }
@media (pointer: coarse) { .sfep-hint-k { display: none; } }
.sfep-endnav { display: flex; justify-content: space-between; gap: 12px; margin: 18px 0 0; }
.sfep-endnav .sfep-nav { display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 10px; min-height: 64px; padding: 8px 22px; }
.sfep-endnav .sfep-nav-t { grid-row: 1; font-size: 15px; font-weight: 400; }
.sfep-endnav .sfep-end-l { grid-row: 2; font-size: 20px; }
.sfep-endnav .sfep-prev .sfep-arr { grid-row: 1 / 3; grid-column: 1; }
.sfep-endnav .sfep-prev .sfep-nav-t, .sfep-endnav .sfep-prev .sfep-end-l { grid-column: 2; }
.sfep-endnav .sfep-next { margin-left: auto; text-align: right; }
.sfep-endnav .sfep-next .sfep-arr { grid-row: 1 / 3; grid-column: 2; }
.sfep-endnav .sfep-next .sfep-nav-t, .sfep-endnav .sfep-next .sfep-end-l { grid-column: 1; }
.sfep-endnav .sfep-nav[aria-disabled="true"] { visibility: hidden; }

.sfep-stage:fullscreen { display: flex; flex-direction: column; background: #2b2f36; }
.sfep-stage:fullscreen .sfep-bar { position: static; border: 0; }
.sfep-stage:fullscreen .sfep-vp { flex: 1 1 auto; min-height: 0; overflow: auto; background: #2b2f36; border: 0; }
.sfep-stage:fullscreen .sfep-img { margin: 0 auto; }   
.sfep-stage:fullscreen .sfep-hint, .sfep-stage:fullscreen .sfep-endnav { display: none; }

@media (max-width: 800px), (max-height: 520px) and (pointer: coarse) {
	.sfep { padding-bottom: 40px; }
	.sfep-latest { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.sfep-cover { width: 100%; max-width: 280px; margin: 0 auto; }
	.sfep-latest-txt { text-align: center; }
	.sfep-latest-txt h2 { font-size: 25px; }
	.sfep-actions { justify-content: center; }
	.sfep-actions .sfep-btn { width: 100%; }
	.sfep-h3 { text-align: left; }
	.sfep-h3 span { display: block; margin: 2px 0 0; }
	.sfep-strip { display: flex; gap: 10px; margin: 0 -15px; padding: 0 15px 6px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 15px; scrollbar-width: none; }
	.sfep-strip::-webkit-scrollbar { display: none; }
	.sfep-strip li { flex: 0 0 76px; scroll-snap-align: start; }
	.sfep-issues { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }

	.sfep-rhead { flex-direction: column; align-items: stretch; }
	.sfep-rtitle { font-size: 24px; }
	.sfep-rdate span { display: block; margin: 2px 0 0; }
	.sfep-issue-f select { flex: 1 1 auto; min-width: 0; }
	.sfep-reader { grid-template-columns: minmax(0, 1fr); }
	.sfep-stage { margin: 0 -15px; }
	.sfep-bar, html.sfhd-mini-on .sfep-bar { position: static; gap: 8px; padding: 8px 10px; border-left: 0; border-right: 0; }
	.sfep-bar .sfep-fs { display: none !important; }   
	.sfep-reader.is-js .sfep-orig { margin-left: auto; }
	.sfep-bar-pg { flex: 1 1 100%; }
	.sfep-page-f { flex: 1 1 auto; min-width: 0; }
	.sfep-psel { width: 100%; min-width: 0; }
	.sfep-bar .sfep-nav { justify-content: center; min-width: 46px; padding: 0 12px; }
	.sfep-bar .sfep-nav-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.sfep-bar-zoom { margin-left: 0; }
	.sfep-vp { border-left: 0; border-right: 0; }
	.sfep-hint, .sfep-endnav { margin-left: 15px; margin-right: 15px; }
	.sfep-endnav .sfep-nav { padding: 8px 16px; }
	.sfep-rail { order: 2; position: static; max-height: none; overflow: visible; margin: 28px 0 0; padding: 0; }
	.sfep-rail-h { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin: 0 0 12px; padding: 10px 0 0; font-size: 21px; font-weight: 700; border-top: 2px solid #000; }
	.sfep-rail ol { display: flex; gap: 10px; margin: 0 -15px; padding: 2px 15px 6px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 15px; scrollbar-width: none; }
	.sfep-rail ol::-webkit-scrollbar { display: none; }
	.sfep-rail li { flex: 0 0 76px; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .sfep-bar, .sfep-img { transition: none; } .sfep-loading::before { animation-duration: 2.4s; } }
@media print { .sfep-rail, .sfep-bar, .sfep-hint, .sfep-endnav, .sfep-rhead form { display: none !important; } .sfep-reader { display: block; } }
