.sh-single-layout {
	width: 100%;
}

.sh-fortune {
	width: 100%;
}

.sh-fortune > .sh-breadcrumbs,
.sh-fortune__header {
	width: min(100%, var(--sh-reading-width));
	margin-inline: auto;
}

.sh-fortune__header {
	margin-bottom: clamp(30px, 5vw, 48px);
	text-align: center;
}

.sh-fortune__title {
	margin-bottom: 18px;
	font-size: clamp(2.35rem, 6vw, 4.7rem);
	letter-spacing: -0.04em;
}

.sh-fortune__intro {
	max-width: 720px;
	margin: 0 auto;
	color: var(--sh-color-muted);
	font-size: clamp(1rem, 1.7vw, 1.13rem);
}

.sh-fortune__experience {
	width: min(100%, var(--sh-fortune-width));
	margin-inline: auto;
}

.sh-fortune__hint {
	display: flex;
	width: fit-content;
	max-width: 100%;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 auto 22px;
	padding: 10px 16px;
	border: 1px solid rgb(213 184 118 / 18%);
	border-radius: 999px;
	background: rgb(213 184 118 / 6%);
	color: #d8cadf;
	font-size: 0.86rem;
	text-align: center;
}

.sh-fortune__hint span {
	color: var(--sh-color-accent);
}

.sh-fortune__content {
	min-width: 0;
	color: #d4ccda;
	font-size: clamp(1rem, 1.5vw, 1.065rem);
}

.sh-fortune__content > p,
.sh-fortune__content > h2,
.sh-fortune__content > h3,
.sh-fortune__content > h4,
.sh-fortune__content > ul,
.sh-fortune__content > ol,
.sh-fortune__content > blockquote,
.sh-fortune__content > table {
	width: min(100%, var(--sh-reading-width));
	margin-right: auto;
	margin-left: auto;
}

.sh-fortune__content h2,
.sh-fortune__content h3,
.sh-fortune__content h4 {
	margin-top: 1.8em;
	margin-bottom: 0.7em;
}

.sh-fortune__content h2 {
	font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.sh-fortune__content h3 {
	font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.sh-fortune__content p,
.sh-fortune__content ul,
.sh-fortune__content ol,
.sh-fortune__content blockquote {
	margin-bottom: 1.35em;
}

.sh-fortune__content blockquote {
	padding: 18px 22px;
	border-left: 3px solid var(--sh-color-accent);
	background: var(--sh-color-surface);
}

.sh-fortune__content img,
.sh-fortune__content svg,
.sh-fortune__content canvas,
.sh-fortune__content video,
.sh-fortune__content iframe {
	max-width: 100%;
}

.sh-fortune__content img {
	height: auto;
}

.sh-fortune__content > div,
.sh-fortune__content .ox__gad,
.sh-fortune__content .ox__taro,
.sh-fortune__content .card-position {
	max-width: 100% !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

.sh-fortune__content .ox__gad {
	position: relative;
	width: min(100%, 920px) !important;
	margin-block: clamp(24px, 5vw, 52px) !important;
}

.sh-fortune__content button,
.sh-fortune__content input[type="button"],
.sh-fortune__content input[type="submit"],
.sh-fortune__content [role="button"] {
	min-height: 44px;
}

.sh-fortune__content table {
	display: block;
	overflow-x: auto;
	border-collapse: collapse;
}

.sh-fortune__content th,
.sh-fortune__content td {
	padding: 9px 12px;
	border: 1px solid var(--sh-color-border);
}

.sh-page-links {
	width: min(100%, var(--sh-reading-width));
	margin: 30px auto 0;
}

.sh-fortune-block,
.sh-related,
.sh-random-inline {
	width: min(100%, var(--sh-content-width));
	margin: clamp(58px, 9vw, 92px) auto 0;
}

.sh-fortune-block,
.sh-related {
	padding-top: clamp(34px, 5vw, 48px);
	border-top: 1px solid var(--sh-color-border);
}

.sh-fortune-block__header {
	max-width: 720px;
	margin-bottom: 26px;
}

.sh-fortune-block__header h2 {
	margin: 0;
	font-size: clamp(1.8rem, 4vw, 2.65rem);
}

.sh-related-fortunes .sh-fortune-block__header {
	margin-bottom: 20px;
}

.sh-related-fortunes .sh-fortune-block__header h2 {
	font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.sh-related-fortunes__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.sh-related-fortune-card {
	min-width: 0;
}

.sh-related-fortune-card__link {
	display: grid;
	min-height: 94px;
	grid-template-columns: 112px minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	padding: 9px;
	border: 1px solid var(--sh-color-border);
	border-radius: var(--sh-radius-md);
	background: var(--sh-color-surface);
	color: var(--sh-color-text);
	text-decoration: none;
	transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.sh-related-fortune-card__link:hover {
	border-color: rgb(213 184 118 / 38%);
	background: var(--sh-color-surface-raised);
	color: var(--sh-color-accent-hover);
	transform: translateY(-1px);
}

.sh-related-fortune-card__media {
	display: grid;
	overflow: hidden;
	width: 112px;
	aspect-ratio: 8 / 5;
	border-radius: calc(var(--sh-radius-md) - 5px);
	background: radial-gradient(circle, #35264d, #16101f 70%);
	place-items: center;
}

.sh-related-fortune-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sh-related-fortune-card__placeholder {
	color: var(--sh-color-accent);
	font-size: 1.35rem;
}

.sh-related-fortune-card__title {
	min-width: 0;
	font-size: 0.96rem;
	font-weight: 720;
	line-height: 1.38;
}

.sh-next-questions__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.sh-next-questions__grid a {
	display: flex;
	min-height: 84px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	border: 1px solid var(--sh-color-border);
	border-radius: var(--sh-radius-md);
	background: linear-gradient(145deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 2%));
	color: var(--sh-color-text);
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.sh-next-questions__grid a > span:last-child {
	flex: 0 0 auto;
	color: var(--sh-color-accent);
}

.sh-next-questions__grid a:hover {
	border-color: rgb(213 184 118 / 38%);
	color: var(--sh-color-accent-hover);
}

.sh-intents {
	padding: clamp(26px, 4vw, 42px);
	border: 1px solid rgb(167 128 208 / 20%);
	border-radius: var(--sh-radius-lg);
	background: radial-gradient(circle at 80% 10%, rgb(139 88 187 / 17%), transparent 25rem), var(--sh-color-surface);
}

.sh-intents__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sh-intents__links a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: 9px 16px;
	border: 1px solid var(--sh-color-border);
	border-radius: 999px;
	background: rgb(255 255 255 / 3%);
	color: #e0d8e7;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.sh-intents__links a:hover {
	border-color: var(--sh-color-accent);
	color: var(--sh-color-accent-hover);
}

.sh-random-inline {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px;
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid rgb(213 184 118 / 22%);
	border-radius: var(--sh-radius-lg);
	background: linear-gradient(135deg, #1d1629, #130f1d);
}

.sh-random-inline__symbol {
	display: grid;
	width: 62px;
	height: 62px;
	border: 1px solid rgb(213 184 118 / 28%);
	border-radius: 50%;
	background: rgb(213 184 118 / 7%);
	color: var(--sh-color-accent);
	font-size: 1.55rem;
	place-items: center;
}

.sh-random-inline h2 {
	margin-bottom: 5px;
	font-size: clamp(1.55rem, 3.5vw, 2.2rem);
}

.sh-random-inline p:not(.sh-section-eyebrow) {
	margin: 0;
	color: var(--sh-color-muted);
}

@media (max-width: 900px) {
	.sh-next-questions__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.sh-fortune__title {
		font-size: clamp(2.1rem, 11vw, 3.1rem);
	}

	.sh-fortune__header {
		text-align: left;
	}

	.sh-fortune__hint {
		width: 100%;
		border-radius: var(--sh-radius-md);
	}

	.sh-fortune__content .ox__gad {
		margin-block: 22px !important;
	}

	.sh-related-fortunes__grid {
		grid-template-columns: 1fr;
	}

	.sh-related-fortune-card__link {
		min-height: 84px;
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 13px;
	}

	.sh-related-fortune-card__media {
		width: 92px;
	}

	.sh-intents {
		padding: 22px 16px;
	}

	.sh-intents__links {
		display: grid;
	}

	.sh-intents__links a {
		justify-content: center;
	}

	.sh-random-inline {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 16px;
	}

	.sh-random-inline .sh-button {
		grid-column: 1 / -1;
		width: 100%;
	}
}
