.admoneky-epaper-standalone {
	margin: 0;
	background: #f4f8fc;
	color: #263241;
	overflow: auto;
	width: 100vw;
	min-height: 100vh;
}

.admoneky-epaper-standalone * {
	box-sizing: border-box;
}

.admoneky-epaper-shell {
	display: flex;
	flex-direction: column;
	width: 100vw;
	min-height: 100vh;
	overflow: visible;
	background: #f4f8fc;
	font-family: Arial, Helvetica, sans-serif;
}

.admoneky-epaper-masthead {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 104px;
	padding: 16px 10vw;
	border-top: 5px solid #ef3838;
	border-bottom: 1px solid #dbe3ee;
	background: #fff;
}

.admoneky-epaper-brand {
	display: grid;
	gap: 3px;
}

.admoneky-epaper-brand-name {
	color: #d71920;
	font-size: 30px;
	font-weight: 900;
	line-height: 1;
}

.admoneky-epaper-brand-kicker {
	color: #ef3838;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.admoneky-epaper-brand strong {
	color: #0f172a;
	font-size: 28px;
	line-height: 1.1;
}

.admoneky-epaper-masthead-date {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	border: 1px solid #f3d6d6;
	border-radius: 999px;
	padding: 8px 18px;
	background: #fff7f7;
	color: #ef3838;
	font-size: 15px;
	font-weight: 900;
	white-space: nowrap;
}

.admoneky-epaper-toolbar-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 170px;
	white-space: nowrap;
}

.admoneky-epaper-toolbar-brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.admoneky-epaper-toolbar-brand img {
	display: block;
	width: auto;
	max-width: 120px;
	max-height: 42px;
}

.admoneky-epaper-toolbar-brand strong {
	color: #d71920;
	font-size: 22px;
	font-weight: 900;
	line-height: 1;
}

.admoneky-epaper-toolbar-brand span {
	color: #ef3838;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.admoneky-epaper-toolbar-date {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	border: 1px solid #f3d6d6;
	border-radius: 999px;
	padding: 7px 14px;
	background: #fff7f7;
	color: #ef3838;
	font-size: 13px;
	font-weight: 900;
	white-space: nowrap;
}

.admoneky-epaper-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 24px;
	margin: 24px 0;
}

.admoneky-epaper-route {
	width: 100%;
	flex: 1 1 auto;
	min-height: 0;
	height: auto;
	min-height: var(--admoneky-epaper-route-height, auto);
	margin: 0;
	overflow: visible;
}

.admoneky-epaper-credit {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	border-top: 1px solid #dbe3ee;
	background: #fff;
	color: #64748b;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.admoneky-epaper-credit a {
	color: #ef3838;
	text-decoration: none;
}

.admoneky-epaper-credit a:hover,
.admoneky-epaper-credit a:focus {
	text-decoration: underline;
}

.admoneky-epaper-route-title {
	margin: 0 0 20px;
	font-size: 32px;
	line-height: 1.2;
}

.admoneky-epaper-card {
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.admoneky-epaper-cover {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 3 / 4;
	background: #f3f4f6;
	color: #333;
	font-weight: 700;
	text-decoration: none;
}

.admoneky-epaper-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.admoneky-epaper-card-body {
	padding: 16px;
}

.admoneky-epaper-card-body h3 {
	font-size: 18px;
	line-height: 1.3;
	margin: 0 0 8px;
}

.admoneky-epaper-card-body p,
.admoneky-epaper-card-body time {
	display: block;
	margin: 0 0 10px;
	color: #555;
}

.admoneky-epaper-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.admoneky-epaper-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #222;
	border-radius: 6px;
	padding: 8px 12px;
	color: #222;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.2;
}

.admoneky-epaper-actions a:first-child {
	background: #222;
	color: #fff;
}

.admoneky-epaper-viewer {
	min-height: 0;
	height: 100%;
	margin: 0;
	overflow: hidden;
}

.admoneky-epaper-date-form {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff;
	white-space: nowrap;
}

.admoneky-epaper-date-form label {
	color: #263241;
	font-size: 13px;
	font-weight: 900;
}

.admoneky-epaper-date-form select {
	width: 172px;
	min-height: 40px;
	border: 1px solid #dbe3ee;
	border-radius: 7px;
	padding: 7px 12px;
	background: #fff;
	color: #263241;
	font-weight: 700;
}

.admoneky-epaper-back {
	display: inline-flex;
	margin-bottom: 12px;
	color: #222;
	text-decoration: none;
	font-weight: 600;
}

.admoneky-epaper-back:hover,
.admoneky-epaper-back:focus {
	text-decoration: underline;
}

.admoneky-epaper-viewer-title {
	margin: 0 0 18px;
	font-size: 28px;
	line-height: 1.2;
}

.admoneky-epaper-viewer img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
}

.admoneky-epaper-reader {
	display: flex;
	flex-direction: column;
	min-height: 0;
	height: 100%;
	border: 0;
	border-radius: 0;
	background: #f4f8fc;
	overflow: hidden;
}

.admoneky-epaper-toolbar {
	flex: 0 0 auto;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
	min-height: 66px;
	padding: 10px 4vw;
	background: #fff;
	border-bottom: 1px solid #dbe3ee;
	box-shadow: 0 1px 4px rgba(23, 38, 56, 0.06);
	position: sticky;
	top: 0;
	z-index: 20;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.admoneky-epaper-page-status {
	min-width: 82px;
	color: #263241;
	font-size: 13px;
	font-weight: 800;
	text-align: center;
	white-space: nowrap;
}

.admoneky-epaper-btn,
.admoneky-epaper-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 38px;
	border: 1px solid #dbe3ee;
	border-radius: 7px;
	padding: 8px 11px;
	background: #f8fbff;
	color: #263241;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.admoneky-epaper-btn:hover,
.admoneky-epaper-btn:focus,
.admoneky-epaper-icon-btn:hover,
.admoneky-epaper-icon-btn:focus {
	background: #eef5ff;
	color: #111827;
}

.admoneky-epaper-btn:disabled,
.admoneky-epaper-icon-btn:disabled {
	border-color: #b8b8b8;
	background: #efefef;
	color: #777;
	cursor: not-allowed;
}

.admoneky-epaper-current {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	border: 1px solid #dbe3ee;
	border-radius: 8px;
	padding: 6px 10px;
	background: #f8fbff;
	color: #263241;
	white-space: nowrap;
}

.admoneky-epaper-current strong {
	font-size: 15px;
	font-weight: 900;
}

.admoneky-epaper-current span {
	color: #64748b;
	font-size: 13px;
	font-weight: 800;
}

.admoneky-epaper-page-pill {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	border-radius: 7px;
	padding: 5px 10px;
	background: #ef3838;
	color: #fff;
	font-style: normal;
	font-size: 12px;
	font-weight: 900;
}

.admoneky-epaper-toolbar-spacer {
	flex: 1 1 auto;
	min-width: 10px;
}

.admoneky-epaper-stage {
	flex: 1 1 auto;
	position: relative;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	min-height: 0;
	height: var(--admoneky-epaper-stage-height, calc(100vh - 65px));
	padding: 0;
	background:
		linear-gradient(90deg, rgba(218, 230, 242, 0.7), rgba(255, 255, 255, 0.95), rgba(218, 230, 242, 0.7)),
		#f4f8fc;
	overflow: hidden !important;
	overscroll-behavior: contain;
}

.admoneky-epaper-reader.is-zoomed .admoneky-epaper-stage {
	align-items: stretch;
	justify-content: stretch;
}

.admoneky-epaper-reader.is-zoomed .admoneky-epaper-paper {
	margin: 24px auto;
}

.admoneky-epaper-thumbnails {
	flex: 0 0 220px;
	height: 100%;
	padding: 12px 14px;
	border-right: 1px solid #dbe3ee;
	background: #edf3f9;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.admoneky-epaper-thumbnail {
	position: relative;
	display: block;
	width: 100%;
	margin: 0 0 14px;
	border: 2px solid transparent;
	border-radius: 8px;
	padding: 10px;
	background: #fff;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
	cursor: pointer;
}

.admoneky-epaper-thumbnail.is-active {
	border-color: #111827;
}

.admoneky-epaper-thumbnail canvas {
	display: block;
	width: 100%;
	height: auto;
	background: #fff;
}

.admoneky-epaper-thumbnail span {
	position: absolute;
	right: 10px;
	bottom: 10px;
	border-radius: 3px;
	padding: 6px 8px;
	background: #ef3838;
	color: #fff;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
}

.admoneky-epaper-thumbnail:not(.is-active) span {
	background: #374151;
}

.admoneky-epaper-page-area {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	min-width: 0;
	min-height: 0;
	height: 100%;
	padding: 18px 56px 24px;
	overflow: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.admoneky-epaper-reader.is-zoomed .admoneky-epaper-page-area {
	align-items: flex-start;
	justify-content: flex-start;
}

.admoneky-epaper-paper {
	position: relative;
	margin: 0 auto;
	background: #fff;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.admoneky-epaper-paper::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 1px;
	background: rgba(0, 0, 0, 0.08);
	pointer-events: none;
}

.admoneky-epaper-paper canvas {
	display: block;
	max-width: 100%;
	height: auto;
}

.admoneky-epaper-turn {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 42px;
	height: 56px;
	border: 0;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.9);
	color: #111;
	font-size: 36px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
}

.admoneky-epaper-turn:hover,
.admoneky-epaper-turn:focus {
	background: #fff;
}

.admoneky-epaper-turn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.admoneky-epaper-turn-prev {
	left: 10px;
}

.admoneky-epaper-turn-next {
	right: 10px;
}

.admoneky-epaper-reader:fullscreen {
	width: 100vw;
	height: 100vh;
	border-radius: 0;
}

.admoneky-epaper-reader:fullscreen .admoneky-epaper-stage {
	height: calc(100vh - 62px);
	min-height: 0;
}

@media (max-width: 700px) {
	body.admoneky-epaper-standalone {
		width: 100%;
		max-width: 100%;
		overflow: hidden;
	}

	.admoneky-epaper-shell,
	.admoneky-epaper-route,
	.admoneky-epaper-viewer,
	.admoneky-epaper-reader {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.admoneky-epaper-standalone {
		overflow: hidden;
	}

	.admoneky-epaper-masthead {
		min-height: 72px;
		padding: 10px 12px;
		gap: 10px;
	}

	.admoneky-epaper-brand-name {
		font-size: 20px;
	}

	.admoneky-epaper-brand-kicker {
		font-size: 10px;
	}

	.admoneky-epaper-brand strong {
		font-size: 18px;
	}

	.admoneky-epaper-masthead-date {
		min-height: 34px;
		padding: 6px 10px;
		font-size: 12px;
	}

	.admoneky-epaper-list {
		grid-template-columns: 1fr;
		gap: 16px;
		margin: 16px 0;
		padding: 0 12px;
	}

	.admoneky-epaper-toolbar {
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr) 44px 44px 44px;
		gap: 8px;
		min-height: 0;
		padding: 8px;
		position: sticky;
		top: 0;
		overflow: visible;
	}

	.admoneky-epaper-toolbar-brand {
		grid-column: 1 / -1;
		min-width: 0;
		justify-content: space-between;
		min-height: 28px;
	}

	.admoneky-epaper-toolbar-brand img {
		max-width: 92px;
		max-height: 34px;
	}

	.admoneky-epaper-toolbar-brand strong {
		font-size: 18px;
	}

	.admoneky-epaper-toolbar-brand span {
		font-size: 10px;
	}

	.admoneky-epaper-toolbar-date {
		display: none;
	}

	.admoneky-epaper-date-form {
		display: block;
		min-width: 0;
	}

	.admoneky-epaper-date-form label {
		display: none;
	}

	.admoneky-epaper-date-form select {
		width: 100%;
		min-height: 36px;
		padding: 6px 8px;
		font-size: 13px;
	}

	.admoneky-epaper-current {
		grid-column: 1 / -1;
		order: 2;
		justify-content: space-between;
		width: 100%;
		min-width: 0;
		min-height: 34px;
		padding: 5px 8px;
	}

	.admoneky-epaper-current strong {
		max-width: 52vw;
		overflow: hidden;
		text-overflow: ellipsis;
		font-size: 13px;
	}

	.admoneky-epaper-page-pill {
		min-height: 24px;
		padding: 4px 8px;
		font-size: 11px;
	}

	.admoneky-epaper-current span {
		display: none;
	}

	.admoneky-epaper-toolbar-spacer {
		display: none;
	}

	.admoneky-epaper-page-status {
		grid-column: 1 / -1;
		order: 3;
		min-width: 0;
		padding: 0;
		text-align: center;
		font-size: 12px;
		line-height: 1;
	}

	.admoneky-epaper-btn,
	.admoneky-epaper-icon-btn {
		width: 100%;
		min-width: 36px;
		min-height: 36px;
		padding: 7px 9px;
		font-size: 12px;
	}

	.admoneky-epaper-stage {
		flex-direction: column;
		min-height: 0;
		height: var(--admoneky-epaper-stage-height, calc(100vh - 112px));
		padding: 0;
		overflow: hidden;
		width: 100%;
		max-width: 100%;
	}

	.admoneky-epaper-thumbnails {
		flex: 0 0 92px;
		display: flex;
		gap: 10px;
		width: 100%;
		height: 92px;
		padding: 7px 8px;
		border-right: 0;
		border-bottom: 1px solid #dbe3ee;
		overflow-x: auto;
		overflow-y: hidden;
	}

	.admoneky-epaper-thumbnail {
		flex: 0 0 58px;
		margin: 0;
		padding: 4px;
		border-radius: 7px;
	}

	.admoneky-epaper-thumbnail span {
		right: 5px;
		bottom: 5px;
		padding: 4px 5px;
		font-size: 10px;
	}

	.admoneky-epaper-page-area {
		flex: 1 1 auto;
		width: 100%;
		max-width: 100%;
		height: calc(100% - 92px);
		padding: 8px 28px 12px;
		overflow: auto;
	}

	.admoneky-epaper-paper {
		max-width: calc(100vw - 64px);
		box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
	}

	.admoneky-epaper-paper canvas {
		width: 100% !important;
		max-width: calc(100vw - 64px);
		height: auto !important;
	}

	.admoneky-epaper-turn {
		width: 30px;
		height: 44px;
		border-radius: 5px;
		font-size: 28px;
	}

	.admoneky-epaper-turn-prev {
		left: 2px;
	}

	.admoneky-epaper-turn-next {
		right: 2px;
	}
}

@media (max-width: 430px) {
	.admoneky-epaper-masthead {
		align-items: flex-start;
	}

	.admoneky-epaper-masthead-date {
		display: none;
	}

	.admoneky-epaper-toolbar {
		grid-template-columns: 38px minmax(0, 1fr) 38px 38px 38px;
		gap: 6px;
		padding: 6px;
	}

	.admoneky-epaper-icon-btn[aria-label="Previous page"],
	.admoneky-epaper-icon-btn[aria-label="Next page"] {
		display: none;
	}

	.admoneky-epaper-icon-btn[aria-label="Home"] {
		max-width: 40px;
		overflow: hidden;
	}

	.admoneky-epaper-current strong {
		max-width: 58vw;
	}

	.admoneky-epaper-stage {
		min-height: 0;
		height: var(--admoneky-epaper-stage-height, calc(100vh - 108px));
		padding: 0;
	}

	.admoneky-epaper-thumbnails {
		flex-basis: 82px;
		height: 82px;
	}

	.admoneky-epaper-thumbnail {
		flex-basis: 52px;
	}

	.admoneky-epaper-page-area {
		height: calc(100% - 82px);
		padding: 8px 24px 12px;
	}

	.admoneky-epaper-paper {
		max-width: calc(100vw - 54px);
	}

	.admoneky-epaper-paper canvas {
		max-width: calc(100vw - 54px);
	}

	.admoneky-epaper-turn {
		width: 26px;
		height: 40px;
		font-size: 24px;
	}
}
