.ryo-gallery-page {
	--ryog-ink: #0b1422;
	--ryog-ink-soft: #40506a;
	--ryog-paper: #ffffff;
	--ryog-paper-blue: #f1f6fb;
	--ryog-night: #030711;
	--ryog-night-2: #07111f;
	--ryog-panel: #0b1727;
	--ryog-panel-2: #101f34;
	--ryog-line: rgba(124, 163, 205, .24);
	--ryog-line-light: #d6e1ec;
	--ryog-cyan: #2bdcff;
	--ryog-cyan-strong: #00c7f2;
	--ryog-blue: #5b7cff;
	--ryog-violet: #9d7cff;
	--ryog-mint: #73ffd2;
	--ryog-text-on-dark: #f5f9ff;
	--ryog-muted-on-dark: #b8c7db;
	--ryog-shadow: 0 24px 70px rgba(7, 23, 43, .14);
	--ryog-radius: 22px;
	--ryog-max: 1200px;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--ryog-ink);
	line-height: 1.6;
	background: var(--ryog-paper);
}

.ryo-gallery-full-bleed {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	padding: 0 !important;
	overflow: clip;
	background: var(--ryog-paper, #fff);
}

.ryo-gallery-page,
.ryo-gallery-page * {
	box-sizing: border-box;
}

.ryo-gallery-page a {
	text-decoration: none;
}

.ryo-gallery-page svg {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ryo-gallery-page a:focus-visible,
.ryo-gallery-page button:focus-visible {
	outline: 3px solid #ffd65a;
	outline-offset: 4px;
}

.ryo-gallery-inner {
	position: relative;
	z-index: 2;
	width: min(calc(100% - 40px), var(--ryog-max));
	margin: 0 auto;
}

.ryo-gallery-hero {
	position: relative;
	min-height: 790px;
	display: flex;
	align-items: center;
	padding: 118px 0 100px;
	color: var(--ryog-text-on-dark);
	background:
		radial-gradient(circle at var(--mx, 76%) var(--my, 30%), rgba(43, 220, 255, .18), transparent 26%),
		radial-gradient(circle at 9% 15%, rgba(91, 124, 255, .20), transparent 30%),
		linear-gradient(135deg, #02050b 0%, #06101e 45%, #030711 100%);
	isolation: isolate;
}

.ryo-gallery-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 190px;
	background: linear-gradient(to bottom, transparent, rgba(2, 5, 11, .52));
	pointer-events: none;
}

.ryo-gallery-hero-grid,
.ryo-gallery-section-grid,
.ryo-gallery-contribute-grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(83, 130, 181, .10) 1px, transparent 1px),
		linear-gradient(90deg, rgba(83, 130, 181, .10) 1px, transparent 1px);
	background-size: 52px 52px;
	mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 100%);
}

.ryo-gallery-hero-noise {
	position: absolute;
	inset: 0;
	opacity: .18;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
	mix-blend-mode: screen;
}

.ryo-gallery-hero-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
	gap: 70px;
	align-items: center;
}

.ryo-gallery-eyebrow,
.ryo-gallery-kicker {
	margin: 0 0 16px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.ryo-gallery-eyebrow {
	color: #bcefff;
}

.ryo-gallery-eyebrow span {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 9px;
	border-radius: 50%;
	background: var(--ryog-mint);
	box-shadow: 0 0 18px var(--ryog-mint);
	animation: ryog-pulse-dot 2.2s infinite;
}

.ryo-gallery-hero h1 {
	margin: 0;
	max-width: 820px;
	font-size: clamp(58px, 8vw, 112px);
	line-height: .92;
	letter-spacing: -.07em;
	font-weight: 850;
	color: #f5fbff !important;
	text-shadow: 0 3px 28px rgba(43, 220, 255, .22), 0 1px 2px rgba(0, 0, 0, .5);
	text-wrap: balance;
}

.ryo-gallery-hero-lead {
	max-width: 730px;
	margin: 28px 0 0;
	font-size: clamp(19px, 2vw, 27px);
	line-height: 1.48;
	letter-spacing: -.02em;
	color: var(--ryog-muted-on-dark);
}

.ryo-gallery-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 13px;
	margin-top: 34px;
}

.ryo-gallery-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 12px 19px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .015em;
	transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.ryo-gallery-button svg,
.ryo-gallery-card-link svg {
	width: 18px;
	height: 18px;
}

.ryo-gallery-button:hover {
	transform: translateY(-2px);
}

.ryo-gallery-button-primary {
	color: #04131a !important;
	background: linear-gradient(135deg, #73ffd2, #2bdcff);
	box-shadow: 0 10px 34px rgba(43, 220, 255, .24);
}

.ryo-gallery-button-primary:hover {
	box-shadow: 0 15px 40px rgba(43, 220, 255, .36);
}

.ryo-gallery-button-secondary {
	color: #f6fbff !important;
	background: rgba(255,255,255,.08);
	border-color: rgba(255,255,255,.22);
	backdrop-filter: blur(10px);
}

.ryo-gallery-button-secondary:hover {
	background: rgba(255,255,255,.14);
	border-color: rgba(120, 231, 255, .75);
}

.ryo-gallery-hero-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	max-width: 720px;
	margin-top: 46px;
}

.ryo-gallery-hero-facts div {
	padding: 16px 17px;
	border: 1px solid rgba(111, 186, 224, .20);
	border-radius: 14px;
	background: rgba(7, 19, 33, .62);
	backdrop-filter: blur(12px);
}

.ryo-gallery-hero-facts strong,
.ryo-gallery-hero-facts span {
	display: block;
}

.ryo-gallery-hero-facts strong {
	font-size: 18px;
	line-height: 1.2;
	color: #fff;
}

.ryo-gallery-hero-facts span {
	margin-top: 5px;
	font-size: 12px;
	color: #9fb4cc;
}

.ryo-gallery-visual-stage {
	position: relative;
	width: min(100%, 520px);
	aspect-ratio: 1 / 1.03;
	margin-inline: auto;
	filter: drop-shadow(0 0 60px rgba(43, 220, 255, .10));
}

.ryo-gallery-visual-stage::before {
	content: "";
	position: absolute;
	inset: 13%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(43,220,255,.16), transparent 65%);
	animation: ryog-breathe 5s ease-in-out infinite;
}

.ryo-gallery-orbit {
	position: absolute;
	border: 1px solid rgba(101, 195, 235, .22);
	border-radius: 50%;
}

.ryo-gallery-orbit::after {
	content: "";
	position: absolute;
	top: -4px;
	left: 50%;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ryog-cyan);
	box-shadow: 0 0 18px var(--ryog-cyan);
}

.ryo-gallery-orbit-one {
	inset: 6%;
	animation: ryog-rotate 22s linear infinite;
}

.ryo-gallery-orbit-two {
	inset: 23%;
	border-style: dashed;
	animation: ryog-rotate-reverse 16s linear infinite;
}

.ryo-gallery-poster {
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 43%;
	aspect-ratio: .78;
	padding: 18px;
	border: 1px solid rgba(143, 221, 255, .28);
	border-radius: 18px;
	background:
		linear-gradient(145deg, rgba(27, 55, 87, .92), rgba(5, 10, 18, .96)),
		linear-gradient(90deg, rgba(43,220,255,.08) 1px, transparent 1px);
	box-shadow: 0 25px 55px rgba(0,0,0,.38), inset 0 0 30px rgba(43,220,255,.04);
	backdrop-filter: blur(12px);
	transition: transform .35s ease, border-color .35s ease;
}

.ryo-gallery-poster::after {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(255,255,255,.06);
	border-radius: 12px;
	pointer-events: none;
}

.ryo-gallery-poster span,
.ryo-gallery-poster small {
	position: relative;
	z-index: 2;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .15em;
	color: #8beaff;
}

.ryo-gallery-poster strong {
	position: relative;
	z-index: 2;
	font-size: clamp(15px, 2.2vw, 25px);
	line-height: 1.04;
	letter-spacing: -.03em;
	color: #fff;
}

.ryo-gallery-poster-one {
	top: 4%;
	left: 5%;
	transform: rotate(-10deg);
}

.ryo-gallery-poster-two {
	top: 8%;
	right: 2%;
	transform: rotate(9deg);
}

.ryo-gallery-poster-three {
	bottom: 0;
	left: 28%;
	transform: rotate(-1deg);
	background: linear-gradient(145deg, rgba(44, 45, 103, .94), rgba(4, 9, 17, .97));
}

.ryo-gallery-visual-stage:hover .ryo-gallery-poster-one { transform: rotate(-13deg) translate(-4px, -5px); }
.ryo-gallery-visual-stage:hover .ryo-gallery-poster-two { transform: rotate(12deg) translate(4px, -5px); }
.ryo-gallery-visual-stage:hover .ryo-gallery-poster-three { transform: rotate(0) translateY(5px); }

.ryo-gallery-visual-core {
	position: absolute;
	z-index: 7;
	top: 45%;
	left: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 126px;
	height: 126px;
	transform: translate(-50%, -50%);
	border: 1px solid rgba(111, 230, 255, .42);
	border-radius: 50%;
	background: radial-gradient(circle at 35% 28%, #163e58, #07111f 66%);
	box-shadow: 0 0 42px rgba(43,220,255,.22), inset 0 0 28px rgba(43,220,255,.08);
}

.ryo-gallery-visual-core span {
	font-size: 31px;
	font-weight: 900;
	letter-spacing: -.05em;
	color: #fff;
}

.ryo-gallery-visual-core small {
	margin-top: 1px;
	font-size: 8px;
	font-weight: 800;
	letter-spacing: .13em;
	color: #82eaff;
}

.ryo-gallery-system-nav {
	position: relative;
	z-index: 10;
	border-top: 1px solid rgba(85, 178, 223, .18);
	border-bottom: 1px solid rgba(85, 178, 223, .18);
	background: #07101d;
	box-shadow: 0 14px 40px rgba(0, 10, 25, .20);
}

.ryo-gallery-system-nav .ryo-gallery-inner {
	display: flex;
	align-items: center;
	gap: 4px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.ryo-gallery-system-nav a {
	flex: 0 0 auto;
	padding: 17px 15px;
	border-bottom: 2px solid transparent;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .025em;
	color: #b8c9dc !important;
	transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.ryo-gallery-system-nav a:hover,
.ryo-gallery-system-nav a.is-active {
	color: #fff !important;
	border-color: var(--ryog-cyan);
	background: rgba(43, 220, 255, .055);
}

.ryo-gallery-overview,
.ryo-gallery-section,
.ryo-gallery-ecosystem {
	position: relative;
	padding: clamp(78px, 8vw, 124px) 0;
}

.ryo-gallery-overview {
	background: var(--ryog-paper-blue);
}

.ryo-gallery-section-header {
	max-width: 840px;
	margin-bottom: 48px;
}

.ryo-gallery-section-header h2,
.ryo-gallery-section-copy h2,
.ryo-gallery-contribute-copy h2 {
	margin: 0;
	font-size: clamp(38px, 5.8vw, 72px);
	line-height: 1.02;
	letter-spacing: -.055em;
	text-wrap: balance;
}

.ryo-gallery-section-header > p:last-child,
.ryo-gallery-section-copy > p,
.ryo-gallery-contribute-copy > p {
	max-width: 820px;
	margin: 20px 0 0;
	font-size: clamp(17px, 1.7vw, 21px);
	line-height: 1.65;
	color: var(--ryog-ink-soft);
}

.ryo-gallery-kicker {
	color: #176b83;
}

.ryo-gallery-collection-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.ryo-gallery-collection-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 310px;
	padding: 25px;
	border: 1px solid var(--ryog-line-light);
	border-radius: var(--ryog-radius);
	background: rgba(255,255,255,.82);
	box-shadow: 0 12px 34px rgba(33, 64, 95, .05);
	color: var(--ryog-ink) !important;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
	overflow: hidden;
}

.ryo-gallery-collection-card::after {
	content: "";
	position: absolute;
	inset: auto -20% -55% 30%;
	height: 190px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(43,220,255,.13), transparent 65%);
	transition: transform .3s ease;
}

.ryo-gallery-collection-card:hover {
	transform: translateY(-5px);
	border-color: #9ed9e8;
	box-shadow: var(--ryog-shadow);
}

.ryo-gallery-collection-card:hover::after {
	transform: translate(-8%, -8%) scale(1.1);
}

.ryo-gallery-collection-card:last-child:nth-child(4n + 1) {
	grid-column: span 2;
}

.ryo-gallery-collection-topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	z-index: 2;
}

.ryo-gallery-collection-topline > span {
	font-size: 12px;
	font-weight: 850;
	letter-spacing: .16em;
	color: #197691;
}

.ryo-gallery-collection-topline > div {
	display: grid;
	place-items: center;
	width: 43px;
	height: 43px;
	border-radius: 13px;
	background: #e7f8fc;
	color: #087d9c;
}

.ryo-gallery-collection-topline svg {
	width: 23px;
	height: 23px;
}

.ryo-gallery-collection-card h3 {
	position: relative;
	z-index: 2;
	margin: 34px 0 0;
	font-size: 23px;
	line-height: 1.18;
	letter-spacing: -.025em;
	color: var(--ryog-ink);
}

.ryo-gallery-collection-card p {
	position: relative;
	z-index: 2;
	margin: 13px 0 0;
	font-size: 14px;
	line-height: 1.65;
	color: #637187;
}

.ryo-gallery-card-link {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 25px;
	font-size: 13px;
	font-weight: 850;
	color: #087d9c;
}

.ryo-gallery-theme-white {
	background: #fff;
}

.ryo-gallery-theme-soft {
	background: var(--ryog-paper-blue);
}

.ryo-gallery-theme-dark,
.ryo-gallery-theme-midnight {
	color: var(--ryog-text-on-dark);
	background: linear-gradient(145deg, #07111f, #030711 72%);
}

.ryo-gallery-theme-midnight {
	background:
		radial-gradient(circle at 82% 18%, rgba(91,124,255,.16), transparent 28%),
		radial-gradient(circle at 12% 80%, rgba(43,220,255,.10), transparent 30%),
		linear-gradient(145deg, #07111f, #030711 72%);
}

.ryo-gallery-section-heading {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 34px;
	align-items: start;
	max-width: 1040px;
	margin-bottom: 46px;
}

.ryo-gallery-section-marker {
	position: relative;
	display: grid;
	place-items: center;
	width: 96px;
	height: 122px;
	border: 1px solid var(--ryog-line-light);
	border-radius: 20px;
	background: rgba(255,255,255,.70);
	box-shadow: 0 14px 36px rgba(19, 42, 70, .06);
	overflow: hidden;
}

.ryo-gallery-section-marker::before {
	content: "";
	position: absolute;
	inset: auto -25px -48px;
	height: 90px;
	border-radius: 50%;
	background: rgba(43,220,255,.12);
}

.ryo-gallery-section-marker > span {
	position: absolute;
	top: 12px;
	left: 14px;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .16em;
	color: #197691;
}

.ryo-gallery-section-icon {
	position: relative;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-top: 20px;
	border-radius: 15px;
	background: #e7f8fc;
	color: #087d9c;
}

.ryo-gallery-section-icon svg {
	width: 27px;
	height: 27px;
}

.ryo-gallery-section-copy h2 {
	max-width: 930px;
}

.ryo-gallery-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 25px;
}

.ryo-gallery-tags span {
	display: inline-flex;
	align-items: center;
	min-height: 31px;
	padding: 6px 11px;
	border: 1px solid #cfe0ec;
	border-radius: 999px;
	background: rgba(255,255,255,.62);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .03em;
	color: #3d5a70;
}

.ryo-gallery-theme-dark .ryo-gallery-section-marker,
.ryo-gallery-theme-midnight .ryo-gallery-section-marker {
	border-color: rgba(102, 181, 221, .20);
	background: rgba(11, 28, 47, .74);
	box-shadow: 0 22px 50px rgba(0,0,0,.24);
}

.ryo-gallery-theme-dark .ryo-gallery-section-marker > span,
.ryo-gallery-theme-midnight .ryo-gallery-section-marker > span,
.ryo-gallery-theme-dark .ryo-gallery-kicker,
.ryo-gallery-theme-midnight .ryo-gallery-kicker {
	color: #7feaff;
}

.ryo-gallery-theme-dark .ryo-gallery-section-icon,
.ryo-gallery-theme-midnight .ryo-gallery-section-icon {
	background: rgba(43,220,255,.10);
	color: #7feaff;
}

.ryo-gallery-theme-dark .ryo-gallery-section-copy h2,
.ryo-gallery-theme-midnight .ryo-gallery-section-copy h2 {
	color: #f5f9ff;
}

.ryo-gallery-theme-dark .ryo-gallery-section-copy > p,
.ryo-gallery-theme-midnight .ryo-gallery-section-copy > p {
	color: var(--ryog-muted-on-dark);
}

.ryo-gallery-theme-dark .ryo-gallery-tags span,
.ryo-gallery-theme-midnight .ryo-gallery-tags span {
	border-color: rgba(112, 191, 228, .22);
	background: rgba(255,255,255,.055);
	color: #b9d7eb;
}

.ryo-gallery-frame {
	position: relative;
	padding: 18px;
	border: 1px solid #d8e2ed;
	border-radius: 25px;
	background: rgba(255,255,255,.86);
	box-shadow: 0 22px 65px rgba(16, 38, 67, .10);
	overflow: hidden;
}

.ryo-gallery-frame::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: linear-gradient(90deg, var(--ryog-cyan), var(--ryog-blue), var(--ryog-violet));
}

.ryo-gallery-theme-dark .ryo-gallery-frame,
.ryo-gallery-theme-midnight .ryo-gallery-frame {
	border-color: rgba(130, 197, 231, .26);
	background: rgba(255,255,255,.97);
	box-shadow: 0 30px 80px rgba(0,0,0,.32), 0 0 50px rgba(43,220,255,.05);
}

.ryo-gallery-frame-topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 10px 7px 15px;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .15em;
	color: #5f7185;
}

.ryo-gallery-foogallery {
	min-height: 140px;
	padding: 16px;
	border: 1px solid #e1e8f0;
	border-radius: 17px;
	background: #f9fbfd;
	color: var(--ryog-ink);
}

.ryo-gallery-foogallery > .foogallery,
.ryo-gallery-foogallery .foogallery-container {
	width: 100%;
	max-width: 100%;
}

.ryo-gallery-unavailable {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 180px;
	padding: 30px;
	border: 1px dashed #b8c6d5;
	border-radius: 13px;
	background: #fff;
	text-align: center;
}

.ryo-gallery-unavailable strong {
	font-size: 18px;
	color: #1b2a3d;
}

.ryo-gallery-unavailable span {
	max-width: 680px;
	margin: 8px auto 0;
	font-size: 13px;
	line-height: 1.6;
	color: #67768a;
}

.ryo-gallery-featured-section .ryo-gallery-frame {
	padding: 22px;
}

.ryo-gallery-featured-section .ryo-gallery-foogallery {
	padding: 20px;
}

.ryo-gallery-contribute {
	position: relative;
	padding: clamp(82px, 9vw, 132px) 0;
	color: var(--ryog-text-on-dark);
	background:
		radial-gradient(circle at 15% 20%, rgba(43,220,255,.14), transparent 28%),
		linear-gradient(135deg, #07111f, #02050b);
	overflow: hidden;
}

.ryo-gallery-contribute-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
	gap: 70px;
	align-items: center;
}

.ryo-gallery-contribute-copy .ryo-gallery-kicker {
	color: #7feaff;
}

.ryo-gallery-contribute-copy h2 {
	color: #f5fbff !important;
	text-shadow: 0 2px 22px rgba(43, 220, 255, .16), 0 1px 2px rgba(0, 0, 0, .45);
}

.ryo-gallery-contribute-copy > p {
	color: var(--ryog-muted-on-dark);
}

.ryo-gallery-contribute-panel {
	border: 1px solid rgba(120, 205, 239, .25);
	border-radius: 22px;
	background: rgba(7, 23, 39, .78);
	box-shadow: 0 35px 80px rgba(0,0,0,.32), inset 0 0 44px rgba(43,220,255,.035);
	overflow: hidden;
	backdrop-filter: blur(12px);
}

.ryo-gallery-contribute-panel-head {
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 48px;
	padding: 0 18px;
	border-bottom: 1px solid rgba(120, 205, 239, .16);
	background: rgba(255,255,255,.025);
}

.ryo-gallery-contribute-panel-head > span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #4a637c;
}

.ryo-gallery-contribute-panel-head > span:first-child { background: #ff7a78; }
.ryo-gallery-contribute-panel-head > span:nth-child(2) { background: #ffd269; }
.ryo-gallery-contribute-panel-head > span:nth-child(3) { background: #6ee6b7; }

.ryo-gallery-contribute-panel-head strong {
	margin-left: auto;
	font-size: 10px;
	letter-spacing: .15em;
	color: #8fb3ce;
}

.ryo-gallery-contribute-panel-body {
	display: grid;
	gap: 1px;
	padding: 22px;
}

.ryo-gallery-contribute-panel-body > div {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 3px 15px;
	padding: 19px;
	border-bottom: 1px solid rgba(120, 205, 239, .13);
	background: rgba(255,255,255,.025);
}

.ryo-gallery-contribute-panel-body > div:last-child {
	border-bottom: 0;
}

.ryo-gallery-contribute-panel-body span {
	grid-row: 1 / 3;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(99, 223, 255, .24);
	border-radius: 12px;
	font-size: 11px;
	font-weight: 900;
	color: #7feaff;
}

.ryo-gallery-contribute-panel-body strong {
	font-size: 18px;
	color: #fff;
}

.ryo-gallery-contribute-panel-body small {
	font-size: 12px;
	color: #91a8bc;
}

.ryo-gallery-ecosystem {
	background: #fff;
}

.ryo-gallery-ecosystem-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 17px;
}

.ryo-gallery-ecosystem-card {
	display: flex;
	flex-direction: column;
	min-height: 235px;
	padding: 27px;
	border: 1px solid var(--ryog-line-light);
	border-radius: var(--ryog-radius);
	background: #fff;
	color: var(--ryog-ink) !important;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ryo-gallery-ecosystem-card:hover {
	transform: translateY(-5px);
	border-color: #9ed9e8;
	box-shadow: var(--ryog-shadow);
}

.ryo-gallery-ecosystem-card > div {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 15px;
	background: #e7f8fc;
	color: #087d9c;
}

.ryo-gallery-ecosystem-card svg {
	width: 27px;
	height: 27px;
}

.ryo-gallery-ecosystem-card strong {
	margin-top: 28px;
	font-size: 25px;
	line-height: 1.2;
}

.ryo-gallery-ecosystem-card span {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.65;
	color: #617187;
}

.ryo-gallery-editorial-note {
	padding: 24px 0;
	border-top: 1px solid rgba(95, 151, 188, .18);
	background: #0a0e16;
	font-size: 12px;
	line-height: 1.65;
	color: #7f98b1;
}

.ryo-gallery-editorial-note strong {
	color: #dbe6f4;
}

.ryo-gallery-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1);
}

.ryo-gallery-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

#collections,
[data-gallery-section] {
	scroll-margin-top: 28px;
}

@keyframes ryog-pulse-dot {
	0%, 100% { opacity: .55; transform: scale(.8); }
	50% { opacity: 1; transform: scale(1.18); }
}

@keyframes ryog-rotate { to { transform: rotate(360deg); } }
@keyframes ryog-rotate-reverse { to { transform: rotate(-360deg); } }
@keyframes ryog-breathe {
	0%,100% { transform: scale(.96); opacity: .65; }
	50% { transform: scale(1.04); opacity: 1; }
}

@media (max-width: 1080px) {
	.ryo-gallery-hero-layout,
	.ryo-gallery-contribute-layout {
		grid-template-columns: 1fr;
	}

	.ryo-gallery-visual-stage,
	.ryo-gallery-contribute-panel {
		max-width: 650px;
	}

	.ryo-gallery-collection-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ryo-gallery-collection-card:last-child:nth-child(4n + 1) {
		grid-column: auto;
	}
}

@media (max-width: 760px) {
	.ryo-gallery-inner {
		width: min(calc(100% - 30px), var(--ryog-max));
	}

	.ryo-gallery-hero {
		min-height: 0;
		padding: 75px 0 72px;
	}

	.ryo-gallery-hero h1 {
		font-size: clamp(48px, 15vw, 72px);
		letter-spacing: -.058em;
	}

	.ryo-gallery-hero-lead {
		font-size: 17px;
	}

	.ryo-gallery-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.ryo-gallery-button {
		width: 100%;
	}

	.ryo-gallery-hero-facts {
		grid-template-columns: 1fr;
	}

	.ryo-gallery-visual-stage {
		width: min(100%, 430px);
		margin-top: 22px;
	}

	.ryo-gallery-system-nav a {
		padding: 15px 13px;
		font-size: 11px;
	}

	.ryo-gallery-overview,
	.ryo-gallery-section,
	.ryo-gallery-ecosystem,
	.ryo-gallery-contribute {
		padding: 64px 0;
	}

	.ryo-gallery-section-header h2,
	.ryo-gallery-section-copy h2,
	.ryo-gallery-contribute-copy h2 {
		font-size: clamp(36px, 11vw, 52px);
	}

	.ryo-gallery-section-header > p:last-child,
	.ryo-gallery-section-copy > p,
	.ryo-gallery-contribute-copy > p {
		font-size: 16px;
	}

	.ryo-gallery-collection-grid,
	.ryo-gallery-ecosystem-grid {
		grid-template-columns: 1fr;
	}

	.ryo-gallery-collection-card {
		min-height: 270px;
	}

	.ryo-gallery-section-heading {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.ryo-gallery-section-marker {
		width: 88px;
		height: 98px;
	}

	.ryo-gallery-frame,
	.ryo-gallery-featured-section .ryo-gallery-frame {
		padding: 11px;
		border-radius: 18px;
	}

	.ryo-gallery-foogallery,
	.ryo-gallery-featured-section .ryo-gallery-foogallery {
		padding: 8px;
		border-radius: 13px;
	}

	.ryo-gallery-frame-topline {
		align-items: flex-start;
		flex-direction: column;
		gap: 3px;
		padding: 9px 5px 12px;
	}

	.ryo-gallery-contribute-panel-body {
		padding: 13px;
	}
}

@media (max-width: 440px) {
	.ryo-gallery-poster {
		padding: 13px;
		border-radius: 14px;
	}

	.ryo-gallery-poster strong {
		font-size: 14px;
	}

	.ryo-gallery-poster span,
	.ryo-gallery-poster small {
		font-size: 8px;
	}

	.ryo-gallery-visual-core {
		width: 94px;
		height: 94px;
	}

	.ryo-gallery-visual-core span {
		font-size: 25px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ryo-gallery-page *,
	.ryo-gallery-page *::before,
	.ryo-gallery-page *::after {
		scroll-behavior: auto !important;
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}

	.ryo-gallery-reveal {
		opacity: 1;
		transform: none;
	}
}
