:root {
	--bg-app: #030303;
	--bg-panel: rgba(19, 19, 19, 0.92);
	--bg-panel-strong: rgba(10, 10, 10, 0.98);
	--bg-panel-soft: rgba(28, 28, 28, 0.88);
	--bg-elevated: rgba(38, 38, 38, 0.92);
	--bg-input: rgba(14, 14, 14, 0.96);
	--bg-chip: rgba(255, 255, 255, 0.08);
	--bg-chip-strong: rgba(170, 170, 170, 0.12);
	--border: rgba(255, 255, 255, 0.1);
	--border-strong: rgba(255, 255, 255, 0.18);
	--text-main: #f5f5f5;
	--text-secondary: #b8b8b8;
	--text-soft: #7c7c7c;
	--accent: #ffffff;
	--accent-strong: #c9c9c9;
	--accent-blue: #969696;
	--danger: #d7d7d7;
	--success: #f1f1f1;
	--warning: #dddddd;
	--radius-xl: 0px;
	--radius-lg: 0px;
	--radius-md: 0px;
	--radius-sm: 0px;
	--shadow-lg: 0 32px 90px rgba(0, 0, 0, 0.42);
	--shadow-md: 0 20px 50px rgba(0, 0, 0, 0.28);
	--font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
	--font-body: "Inter", system-ui, sans-serif;
	--font-mono: "JetBrains Mono", monospace;
}

* {
	box-sizing: border-box;
}

.hidden {
	display: none !important;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--font-body);
	background:
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 32%),
		radial-gradient(circle at 80% 0%, rgba(156, 156, 156, 0.12), transparent 28%),
		linear-gradient(180deg, #010101 0%, #090909 48%, #020202 100%);
	color: var(--text-main);
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 92%);
	pointer-events: none;
	z-index: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font: inherit;
}

.site-shell {
	position: relative;
	min-height: 100vh;
	overflow: hidden;
	isolation: isolate;
}

.site-backdrop {
	position: fixed;
	border-radius: 999px;
	filter: blur(90px);
	opacity: 0.5;
	pointer-events: none;
	z-index: 0;
}

.site-backdrop-a {
	top: 72px;
	left: -60px;
	width: 280px;
	height: 280px;
	background: rgba(255, 255, 255, 0.12);
}

.site-backdrop-b {
	right: -40px;
	top: 180px;
	width: 260px;
	height: 260px;
	background: rgba(120, 120, 120, 0.12);
}

.navbar,
.main-content {
	position: relative;
	z-index: 1;
}

.navbar {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 20;
	padding: 20px 24px 0;
	background: transparent;
	backdrop-filter: none;
	border-bottom: 0;
	pointer-events: none;
}

.nav-content {
	max-width: 1440px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 20px;
	pointer-events: auto;
}

.nav-content-minimal {
	justify-content: center;
}

.nav-brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding-right: 10px;
	min-width: 0;
}

.brand-mark {
	width: 46px;
	height: 46px;
	object-fit: contain;
	padding: 8px;
	border-radius: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	flex: 0 0 auto;
}

.brand-copy {
	display: flex;
	flex-direction: column;
	gap: 1px;
	line-height: 1;
}

.brand-copy strong {
	font-family: var(--font-display);
	font-size: 1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.brand-copy span:last-child {
	font-size: 0.74rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-soft);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0 auto;
	flex-wrap: wrap;
}

.nav-link {
	position: relative;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-secondary);
	padding: 6px 0;
	transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
	color: var(--text-main);
}

.nav-link.active::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -10px;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, #ffffff, #8d8d8d);
	transform-origin: center;
	animation: nav-underline-in 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-auth-portal,
.site-auth-user {
	display: flex;
	align-items: center;
	gap: 10px;
}

.site-auth-user {
	font-size: 0.84rem;
	color: var(--text-secondary);
	max-width: 240px;
}

.main-content {
	min-height: 100vh;
	padding: 0;
}

.section {
	display: none !important;
}

.section.active {
	display: block !important;
	animation: section-fade 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.section.active:not(.home-minimal) {
	padding-top: 120px;
	padding-bottom: 32px;
}

#appeals.section.active {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding-top: 74px;
	padding-bottom: 32px;
}

#appeals > .container {
	width: 100%;
	display: flex;
	justify-content: center;
}

.home-minimal.section.active {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
}

.home-minimal > .container {
	width: 100%;
	max-width: 1440px;
	display: flex;
	justify-content: center;
	padding-top: 40px;
	padding-bottom: 32px;
}

.home-minimal-stack {
	min-height: calc(100vh - 72px);
	width: min(100%, 1280px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.home-minimal-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 36px;
	padding-bottom: 12px;
	flex-wrap: wrap;
}

.coming-soon-shell {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	flex: 1 1 auto;
	min-height: 0;
	padding: 0;
	margin: 0 auto;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.coming-soon-text {
	margin: 0;
	display: grid;
	grid-template-columns: auto 6.2ch;
	align-items: center;
	justify-content: center;
	column-gap: 0.16em;
	font-family: var(--font-display);
	font-size: clamp(3.6rem, 9vw, 7.4rem);
	font-weight: 700;
	line-height: 0.94;
	letter-spacing: -0.075em;
	text-align: center;
	width: 100%;
	max-width: 14ch;
	padding-bottom: 0.1em;
	padding-inline: 0.06em;
	overflow: visible;
}

.welcome-text {
	row-gap: 0.02em;
}

.welcome-text-static {
	white-space: nowrap;
	font-weight: 700;
	color: #f4f4f4;
	text-shadow: 0 0 24px rgba(255, 255, 255, 0.06);
}


.welcome-brand-slot {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	width: 6.2ch;
	min-height: 1em;
	white-space: nowrap;
	text-align: left;
}


.welcome-brand-word {
	display: inline-flex;
	align-items: center;
	width: auto;
	white-space: nowrap;
	padding-right: 0.08em;
	color: #f4f4f4;
	text-shadow: 0 0 24px rgba(255, 255, 255, 0.04);
	border-right: 0.04em solid rgba(244, 244, 244, 0.65);
	line-height: 1;
}

.welcome-brand-word.is-switching {
	transform: none;
}

.welcome-brand-word.is-typing {
	animation: welcome-brand-caret 0.9s steps(1) infinite;
}

.welcome-brand-display {
	font-family: var(--font-display);
	font-weight: 700;
}

.welcome-brand-serif {
	font-family: "Cormorant Garamond", serif;
	font-weight: 700;
	letter-spacing: -0.05em;
}

.welcome-brand-script {
	font-family: "Caveat", cursive;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.welcome-brand-italic {
	font-family: "DM Serif Display", serif;
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.04em;
}

.welcome-brand-playfair {
	font-family: "Playfair Display", serif;
	font-weight: 700;
	letter-spacing: -0.05em;
}

.welcome-brand-cinzel {
	font-family: "Cinzel", serif;
	font-weight: 700;
	letter-spacing: -0.04em;
	text-transform: none;
}

.welcome-brand-bodoni {
	font-family: "Bodoni Moda", serif;
	font-weight: 700;
	font-style: italic;
	letter-spacing: -0.05em;
}

.welcome-brand-abril {
	font-family: "Abril Fatface", serif;
	font-weight: 400;
	letter-spacing: -0.03em;
}

@keyframes welcome-brand-caret {
	0%,
	49% {
		border-right-color: rgba(244, 244, 244, 0.65);
	}

	50%,
	100% {
		border-right-color: transparent;
	}
}

.home-link-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0;
	border: 0;
	background: transparent;
	color: rgba(245, 245, 245, 0.62);
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: lowercase;
	transition: color 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
	opacity: 0.78;
}

.home-link-pill:hover {
	color: rgba(245, 245, 245, 0.92);
	opacity: 1;
	transform: translateY(-1px);
}

.home-link-separator {
	width: 4px;
	height: 4px;
	border-radius: 999px;
	background: rgba(245, 245, 245, 0.28);
	flex: 0 0 auto;
	transform: translateY(1px);
}

.home-link-pill svg {
	width: 0.95rem;
	height: 0.95rem;
	flex: 0 0 auto;
}

.home-link-pill span {
	line-height: 1;
}

.appeals-title-wrap {
	display: flex;
	justify-content: center;
	padding-top: 0;
	padding-bottom: 18px;
	text-align: center;
	width: 100%;
}

.appeal-flow-title {
	font-size: clamp(2.5rem, 4.8vw, 4.2rem);
	max-width: 12ch;
	white-space: nowrap;
	letter-spacing: -0.05em;
	margin: 0 auto;
	text-align: center;
}

.container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 24px;
}

.container.narrow {
	max-width: 860px;
}

.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.73rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #efefef;
	margin-bottom: 12px;
}

.section-kicker::before {
	content: "";
	width: 32px;
	height: 1px;
	background: currentColor;
	opacity: 0.5;
}

.text-secondary,
.workspace-copy,
.landing-copy,
.hero-copy,
.helper-copy,
.verify-subtitle,
.verify-hint,
.repository-status,
.toolbar-search span,
small.text-secondary,
.premium-card p.text-secondary {
	color: var(--text-secondary);
}

.panel-surface,
.premium-card,
.verify-card,
.warning-box,
.modal-card,
.toast {
	background: linear-gradient(180deg, rgba(22, 22, 22, 0.96), rgba(12, 12, 12, 0.98));
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: none;
	backdrop-filter: blur(14px);
	position: relative;
	overflow: hidden;
}

.panel-surface::before,
.premium-card::before,
.verify-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 1px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
	pointer-events: none;
}

.compact-surface,
.landing-panel,
.editor-preview-panel,
.atlas-panel,
.editor-panel-section,
.premium-card,
.verify-card,
.workspace-header,
.repository-toolbar {
	padding: 26px;
}

.home-layout,
.workspace-shell,
.flow-shell {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.home-hero {
	padding: 30px;
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg);
}

.hero-topline,
.hero-preview-head,
.flow-shell-head,
.workspace-header-split,
.section-heading-row,
.repository-card-header,
.viewer-toolbar,
.hero-actions,
.landing-actions,
.toolbar-actions,
.tool-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.hero-chip,
.surface-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.05);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-secondary);
}

.hero-chip {
	background: linear-gradient(90deg, var(--bg-chip), rgba(170, 170, 170, 0.08));
	color: var(--text-main);
	border-color: rgba(255, 255, 255, 0.2);
}

.workspace-points,
.workflow-points {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.hero-main {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
	gap: 28px;
	align-items: stretch;
	margin-top: 24px;
}

.hero-copy-column {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 22px;
}

.hero-wordmark {
	width: min(100%, 260px);
	height: auto;
	display: block;
	filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.hero-copy-column h1,
.workspace-header h2,
.section-heading-row h2,
.section-heading-row h3,
.flow-shell-head h2,
.verify-title,
.success-card h2 {
	margin: 0;
	font-family: var(--font-display);
	letter-spacing: -0.05em;
	line-height: 0.95;
}

.hero-copy-column h1 {
	max-width: 11ch;
	font-size: clamp(3rem, 6vw, 5.6rem);
}

.workspace-header h2,
.flow-shell-head h2,
.verify-title,
.success-card h2,
.section-heading-row h2,
.section-heading-row h3 {
	font-size: clamp(2rem, 3vw, 3rem);
}

.hero-copy {
	max-width: 60ch;
	font-size: 1.02rem;
	line-height: 1.8;
	margin: 0;
}

.hero-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 6px;
}

.hero-fact {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 18px;
	border-radius: var(--radius-md);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
	border: 1px solid rgba(255, 255, 255, 0.08);
	min-height: 104px;
}

.hero-fact-label {
	font-size: 0.73rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-soft);
}

.hero-fact strong {
	font-size: clamp(1.3rem, 2vw, 2rem);
	font-weight: 800;
	line-height: 1;
}

.hero-footnote {
	margin: 0;
	font-size: 0.84rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-soft);
}

.hero-preview-column,
.hero-preview-frame {
	height: 100%;
}

.hero-preview-frame {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 24px;
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, rgba(17, 22, 31, 0.95), rgba(10, 14, 20, 0.95));
	border: 1px solid rgba(255, 255, 255, 0.08);
	min-height: 100%;
}

.hero-preview-head h2,
.section-heading-row h2,
.section-heading-row h3,
.flow-shell-head h2,
.verify-card h3,
.premium-card h3 {
	font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.hero-preview-head h2,
.section-heading-row h2,
.section-heading-row h3,
.premium-card h3,
.verify-card h3,
.workspace-header h2,
.flow-shell-head h2,
.success-card h2,
.verify-title {
	margin: 0;
	line-height: 1;
}

.hero-preview-head p,
.workspace-copy,
.landing-panel p,
.premium-card p,
.verify-card p,
.form-group small {
	margin: 0;
	line-height: 1.7;
}

.hero-skin-viewer,
.skin-viewer-canvas,
.skin-atlas-canvas {
	width: 100%;
	display: block;
	border-radius: 0;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background:
		radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.12), transparent 34%),
		radial-gradient(circle at 80% 20%, rgba(150, 150, 150, 0.1), transparent 26%),
		linear-gradient(180deg, #10141c 0%, #0a0d13 100%);
	image-rendering: pixelated;
	image-rendering: crisp-edges;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-skin-viewer,
.skin-viewer-canvas {
	aspect-ratio: 4 / 3;
	height: auto;
}

.skin-atlas-canvas {
	aspect-ratio: 1;
	height: auto;
	cursor: crosshair;
}

.home-secondary-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.landing-panel {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-height: 100%;
}

.accent-panel {
	background:
		linear-gradient(180deg, rgba(20, 20, 20, 0.96), rgba(10, 10, 10, 0.98)),
		linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent);
	border-color: rgba(255, 255, 255, 0.16);
}

.support-panel {
	background:
		linear-gradient(180deg, rgba(16, 16, 16, 0.96), rgba(9, 9, 9, 0.98)),
		linear-gradient(135deg, rgba(170, 170, 170, 0.08), transparent);
	border-color: rgba(255, 255, 255, 0.14);
}

.skin-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 14px;
	min-height: 140px;
}

.skin-strip-item {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.skin-strip-item:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.06);
}

.skin-strip-item strong,
.repository-card-title {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.skin-strip-item span {
	font-size: 0.86rem;
	color: var(--text-secondary);
}

.skin-strip-preview,
.repository-preview {
	display: grid;
	place-items: center;
	padding: 16px;
	border-radius: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
	border: 1px solid rgba(255, 255, 255, 0.06);
	min-height: 126px;
}

.skin-strip-preview img,
.repository-preview img {
	width: min(100%, 110px);
	height: auto;
	image-rendering: pixelated;
	image-rendering: crisp-edges;
	filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.32));
}

.workspace-shell {
	gap: 18px;
}

#appeals .workspace-shell {
	width: min(100%, 1100px);
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 128px);
	gap: 10px;
	margin-top: 18px;
}

.workspace-header {
	align-items: flex-start;
}

.workspace-copy {
	max-width: 60ch;
	font-size: 0.98rem;
}

.repository-toolbar {
	align-items: end;
}

.toolbar-search {
	flex: 1 1 420px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 0.73rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-soft);
}

.repository-status {
	min-height: 24px;
	font-size: 0.9rem;
	padding: 0 4px;
}

.repository-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 18px;
}

.repository-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px;
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, rgba(17, 21, 28, 0.98), rgba(11, 14, 20, 0.98));
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: var(--shadow-md);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
	min-height: 100%;
}

.repository-card:hover,
.repository-card.is-selected {
	transform: translateY(-4px);
	border-color: rgba(255, 255, 255, 0.22);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.repository-card.is-selected {
	background:
		linear-gradient(180deg, rgba(24, 24, 24, 0.98), rgba(10, 10, 10, 0.98)),
		linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent);
}

.repository-card-badge,
.badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 10px;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #efefef;
}

.repository-meta,
.repository-selection {
	display: grid;
	gap: 10px;
	color: var(--text-secondary);
	font-size: 0.92rem;
	line-height: 1.6;
}

.repository-meta strong,
.repository-selection strong {
	color: var(--text-main);
	font-weight: 700;
	margin-right: 8px;
}

.editor-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
	gap: 22px;
	align-items: start;
}

.editor-preview-column,
.editor-sidebar {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.tool-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.tool-btn {
	padding: 13px 14px;
	border-radius: var(--radius-sm);
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-secondary);
	font-weight: 700;
	letter-spacing: 0.03em;
	transition: all 0.18s ease;
	cursor: pointer;
}

.tool-btn:hover,
.tool-btn.active {
	color: var(--text-main);
	border-color: rgba(255, 255, 255, 0.2);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(120, 120, 120, 0.08));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.control-stack {
	display: grid;
	gap: 14px;
}

.field-row {
	display: grid;
	gap: 8px;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-soft);
}

input,
textarea,
select {
	width: 100%;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-sm);
	background: var(--bg-input);
	color: var(--text-main);
	padding: 14px 15px;
	outline: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

textarea {
	resize: vertical;
	min-height: 140px;
}

input:focus,
textarea:focus,
select:focus {
	border-color: rgba(255, 255, 255, 0.34);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
	background: rgba(20, 20, 20, 0.98);
}

input::placeholder,
textarea::placeholder {
	color: var(--text-soft);
}

input[type="color"] {
	width: 72px;
	height: 46px;
	padding: 4px;
	border-radius: 0;
	background: var(--bg-input);
	border: 1px solid rgba(255, 255, 255, 0.08);
	appearance: none;
}

input[type="range"] {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

input[type="range"]::-webkit-slider-runnable-track {
	height: 8px;
	border-radius: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(122, 122, 122, 0.24));
}

input[type="range"]::-webkit-slider-thumb {
	appearance: none;
	width: 18px;
	height: 18px;
	margin-top: -5px;
	border-radius: 50%;
	background: var(--text-main);
	border: 2px solid rgba(110, 110, 110, 0.9);
}

.tool-actions,
.viewer-toolbar,
.toolbar-actions,
.stacked-actions {
	align-items: stretch;
}

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

.helper-copy {
	font-size: 0.9rem;
	line-height: 1.65;
	margin: 0;
}

.repository-selection {
	padding: 18px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	min-height: 120px;
}

.empty-state {
	display: grid;
	place-items: center;
	text-align: center;
	color: var(--text-secondary);
}

.portal-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.appeal-grid {
	display: flex;
	justify-content: center;
	align-items: stretch;
	flex-wrap: wrap;
	max-width: 1060px;
	margin: 0 auto;
	width: 100%;
	padding-top: 0;
	gap: 22px;
}

.portal-card {
	flex: 0 1 480px;
	width: min(100%, 480px);
	padding: 28px;
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, rgba(22, 22, 22, 0.96), rgba(12, 12, 12, 0.98));
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: none;
	cursor: pointer;
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
	position: relative;
	overflow: hidden;
}

.portal-card::after {
	content: none;
}

.portal-card:hover {
	transform: translateY(-5px);
	border-color: rgba(255, 255, 255, 0.2);
	background: linear-gradient(180deg, rgba(22, 22, 22, 0.96), rgba(10, 10, 10, 0.98));
}

.portal-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 22px;
	border-radius: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(120, 120, 120, 0.1));
	border: 1px solid rgba(255, 255, 255, 0.18);
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--text-main);
}

.portal-card h2,
.portal-card p,
.card-action {
	position: relative;
	z-index: 1;
}

.portal-card h2 {
	margin: 0 0 10px;
	font-size: 1.85rem;
	font-family: var(--font-display);
	letter-spacing: -0.04em;
}

.portal-card p {
	margin: 0 0 14px;
	line-height: 1.75;
	color: var(--text-secondary);
}

.card-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-main);
}

.flow-shell-head {
	align-items: flex-start;
	padding: 0 4px;
}

.flow-shell-head p {
	margin-top: 12px;
	max-width: 64ch;
	line-height: 1.75;
}

.premium-card,
.verify-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.centered {
	align-items: center;
	text-align: center;
}

.auth-card {
	padding-top: 32px;
	padding-bottom: 32px;
}

.flow-icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(110, 110, 110, 0.1));
	border: 1px solid rgba(255, 255, 255, 0.18);
	font-family: var(--font-mono);
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-main);
	margin: 0 auto 4px;
}

.flow-icon.success {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(120, 120, 120, 0.12));
	border-color: rgba(255, 255, 255, 0.18);
	color: var(--text-main);
}

.guidelines-header,
.quiz-question,
.form-group,
.agreement-box,
.warning-box,
.requirement-list,
.steps-list,
.verify-status,
.verify-user,
.progress-steps {
	margin: 0;
}

.accordion {
	display: grid;
	gap: 12px;
}

.faq-item {
	border-radius: var(--radius-md);
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.035);
	overflow: hidden;
	transition: border-color 180ms ease, background 180ms ease;
}

.faq-item summary {
	list-style: none;
	cursor: pointer;
	padding: 18px 20px;
	font-weight: 700;
	font-size: 0.98rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.faq-item summary::after {
	content: "+";
	font-size: 1rem;
	line-height: 1;
	color: var(--text-secondary);
	transition: transform 180ms ease, color 180ms ease;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item[open] {
	border-color: rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.05);
}

.faq-item[open] summary::after {
	transform: rotate(45deg);
	color: var(--text-main);
}

.faq-item p {
	padding: 0 20px 18px;
	color: var(--text-secondary);
	line-height: 1.75;
	margin: 0;
	animation: accordion-drop 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.agreement-box,
.warning-box,
.requirement-list,
.steps-list,
.progress-steps,
.user-identity,
.verify-user {
	padding: 18px 20px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.warning-box {
	display: grid;
	gap: 8px;
	color: var(--text-main);
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.12);
}

.checkbox-container {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	position: relative;
	cursor: pointer;
	line-height: 1.65;
	color: var(--text-secondary);
	padding: 4px 0;
}

.checkbox-container input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.checkmark {
	position: relative;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	border-radius: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.04);
}

.checkbox-container input:checked + .checkmark {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(150, 150, 150, 0.74));
	border-color: transparent;
}

.checkbox-container input:checked + .checkmark::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid #111;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.quiz-question {
	display: grid;
	gap: 12px;
	padding: 18px 20px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.quiz-options {
	display: grid;
	gap: 10px;
}

.quiz-options label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	line-height: 1.6;
	color: var(--text-secondary);
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.035);
	transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
	cursor: pointer;
}

.quiz-options label:hover {
	border-color: rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.05);
}

.quiz-options label:has(input:checked) {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
	color: var(--text-main);
	transform: translateY(-1px);
}

.quiz-options input[type="radio"] {
	width: 16px;
	height: 16px;
	margin-top: 3px;
	accent-color: var(--accent);
	padding: 0;
	box-shadow: none;
	background: none;
	border: 0;
}

.form-group {
	display: grid;
	gap: 8px;
}

.form-group label {
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-soft);
}

.progress-steps {
	display: flex;
	gap: 10px;
	background: transparent;
	border: 0;
	padding: 0;
}

.step {
	flex: 1 1 auto;
	height: 6px;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.08);
}

.step.active {
	background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.user-identity,
.verify-user {
	display: flex;
	align-items: center;
	gap: 16px;
}

.user-avatar,
#robloxAvatar,
.verify-user img {
	width: 56px;
	height: 56px;
	border-radius: 0;
	object-fit: cover;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.user-info,
.user-details {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.user-name,
#robloxDisplayName,
#siteAuthUsername,
.verify-user .user-name {
	font-weight: 700;
	color: var(--text-main);
}

.user-handle,
#robloxHandle {
	color: var(--text-secondary);
	font-size: 0.9rem;
}

.requirement-list {
	display: grid;
	gap: 12px;
}

.requirement-item {
	display: flex;
	gap: 12px;
	align-items: center;
	color: var(--text-secondary);
	line-height: 1.5;
}

.requirement-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	min-width: 16px;
	padding: 0;
	border-radius: 0;
	font-size: 0;
	background: rgba(90, 24, 24, 0.16);
	border: 1px solid rgba(255, 110, 110, 0.32);
	color: transparent;
	position: relative;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.requirement-badge.ready {
	background: rgba(24, 96, 58, 0.16);
	border-color: rgba(113, 226, 165, 0.5);
}

.requirement-badge.blocked {
	background: rgba(90, 24, 24, 0.16);
	border-color: rgba(255, 110, 110, 0.32);
}

.requirement-badge::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 5px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: 0;
}

.requirement-badge.ready::after {
	color: #8cf0b8;
	opacity: 1;
}

.requirement-item span:last-child {
	transition: color 0.18s ease, opacity 0.18s ease, text-decoration-color 0.18s ease;
}

.requirement-item:has(.requirement-badge.ready) span:last-child {
	color: rgba(168, 168, 168, 0.72);
	opacity: 0.82;
	text-decoration: line-through;
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(160, 160, 160, 0.58);
}

.verify-container {
	padding: 34px;
	text-align: center;
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg);
}

.verify-icon-wrap {
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	margin: 0 auto 18px;
	border-radius: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(120, 120, 120, 0.1));
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.verify-shield {
	width: 36px;
	height: 36px;
	color: var(--text-main);
}

.steps-list {
	display: grid;
	gap: 14px;
	text-align: left;
}

.step-item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	line-height: 1.7;
	color: var(--text-secondary);
}

.step-number {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	font-family: var(--font-mono);
	font-size: 0.76rem;
	color: var(--text-main);
	flex: 0 0 auto;
}

.verify-status {
	align-items: center;
	text-align: center;
}

.spinner {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.12);
	border-top-color: #ffffff;
	animation: spin 0.9s linear infinite;
	margin: 0 auto;
}

.verify-check,
.verify-x {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	margin: 0 auto;
	position: relative;
}

.verify-check {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.verify-check::after {
	content: "";
	position: absolute;
	left: 18px;
	top: 12px;
	width: 12px;
	height: 22px;
	border: solid #f3f3f3;
	border-width: 0 4px 4px 0;
	transform: rotate(45deg);
}

.verify-x {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.verify-x::before,
.verify-x::after {
	content: "";
	position: absolute;
	left: 25px;
	top: 12px;
	width: 4px;
	height: 28px;
	border-radius: 0;
	background: #f3f3f3;
}

.verify-x::before {
	transform: rotate(45deg);
}

.verify-x::after {
	transform: rotate(-45deg);
}

.success-card {
	padding-top: 34px;
	padding-bottom: 34px;
	max-width: 520px;
	margin: 0 auto;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 12px 18px;
	border: 1px solid transparent;
	border-radius: 0;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
	cursor: pointer;
	box-shadow: none;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
}

.btn-primary {
	color: #050505;
	background: linear-gradient(135deg, #ffffff, #c4c4c4 55%, #8a8a8a 100%);
	box-shadow: 0 16px 28px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
	box-shadow: 0 18px 34px rgba(255, 255, 255, 0.14);
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.1);
	color: var(--text-main);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.16);
}

.btn-danger {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.14);
	color: var(--text-main);
}

.btn-sm {
	min-height: 38px;
	padding: 9px 12px;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.btn-lg {
	min-height: 54px;
	padding: 14px 22px;
	font-size: 0.95rem;
}

.btn-block {
	width: 100%;
}

.btn-text {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--text-secondary);
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
}

.btn-text:hover {
	color: var(--text-main);
}

.font-bold {
	font-weight: 700;
	color: var(--text-main);
}

.toast {
	position: fixed;
	right: 24px;
	bottom: 24px;
	padding: 16px 18px;
	z-index: 60;
	max-width: min(420px, calc(100vw - 32px));
	border-radius: 0;
	color: var(--text-main);
	box-shadow: none;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.toast.visible {
	transform: translateY(0);
	opacity: 1;
}

.toast.success {
	border-color: rgba(255, 255, 255, 0.16);
}

.toast.error {
	border-color: rgba(255, 255, 255, 0.16);
}

#modalOverlay {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(4, 6, 10, 0.68);
	backdrop-filter: blur(12px);
	z-index: 70;
}

#modalOverlay.visible {
	display: flex;
}

.modal-card {
	width: min(100%, 520px);
	padding: 26px;
	border-radius: 0;
}

.modal-title {
	margin: 0 0 10px;
	font-family: var(--font-display);
	font-size: 1.7rem;
	letter-spacing: -0.04em;
}

.modal-message {
	margin: 0;
	white-space: pre-line;
	line-height: 1.75;
	color: var(--text-secondary);
}

.modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 20px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes section-fade {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes nav-underline-in {
	from {
		opacity: 0;
		transform: scaleX(0.5);
	}

	to {
		opacity: 1;
		transform: scaleX(1);
	}
}

@keyframes accordion-drop {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1180px) {
	.hero-main,
	.editor-layout,
	.home-secondary-grid,
	.portal-grid {
		grid-template-columns: 1fr;
	}

	.appeal-flow-title {
		white-space: normal;
		text-wrap: balance;
	}

	.coming-soon-text {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0.08em;
		line-height: 0.98;
		max-width: 10ch;
	}

	.welcome-brand-word {
		padding-right: 0.08em;
		text-align: center;
	}

	.welcome-brand-slot {
		width: 5.6ch;
		justify-content: center;
		text-align: center;
	}

	.home-minimal-stack {
		min-height: calc(100vh - 92px);
		justify-content: center;
		gap: 18px;
	}

	.home-minimal-links {
		padding-top: 28px;
		padding-bottom: 4px;
		gap: 8px;
	}

	.home-link-pill {
		font-size: 0.72rem;
		letter-spacing: 0.1em;
	}

	.workspace-header-split,
	.flow-shell-head {
		flex-direction: column;
	}

	.workspace-points,
	.workflow-points {
		justify-content: flex-start;
	}
}

@media (min-width: 1181px) {
	#discord-appeal.section.active,
	#game-appeal.section.active {
		min-height: 100vh;
		height: 100vh;
		padding-top: 92px;
		padding-bottom: 14px;
		overflow: hidden;
	}

	#discord-appeal .container.narrow,
	#game-appeal .container.narrow {
		max-width: 1440px;
		height: 100%;
	}

	#discord-appeal .flow-shell,
	#game-appeal .flow-shell {
		display: grid;
		grid-template-columns: minmax(340px, 0.82fr) minmax(540px, 1.18fr);
		gap: 14px 18px;
		align-items: start;
		height: 100%;
		grid-template-rows: auto minmax(0, 1fr);
	}

	#discord-appeal .flow-shell-head,
	#game-appeal .flow-shell-head {
		grid-column: 1 / -1;
		padding: 0;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 12px;
		align-items: start;
	}

	#discordAppealLogin,
	#discordAppealStatus,
	#discordAppealGuidelines,
	#discordAppealQuiz,
	#discordAppealForm,
	#gameAppealLoginPrompt,
	#gameAppealLoginStatus,
	#gameAppealGuidelines,
	#gameAppealQuiz,
	#gameAppealForm {
		min-height: 0;
	}

	#discordAppealLogin,
	#gameAppealLoginPrompt,
	#gameAppealLoginStatus,
	#discordAppealStatus {
		grid-column: 1;
		grid-row: 2;
	}

	#discordAppealGuidelines,
	#discordAppealQuiz,
	#discordAppealForm,
	#gameAppealGuidelines,
	#gameAppealQuiz,
	#gameAppealForm {
		grid-column: 2;
		grid-row: 2;
		max-height: 100%;
		overflow: auto;
		overscroll-behavior: contain;
	}

	#discord-appeal .flow-shell-head h2,
	#game-appeal .flow-shell-head h2 {
		font-size: clamp(1.9rem, 2.5vw, 2.7rem);
		line-height: 1;
	}

	#discord-appeal .flow-shell-head p,
	#game-appeal .flow-shell-head p {
		margin-top: 10px;
		font-size: 0.94rem;
		line-height: 1.45;
		max-width: 40ch;
	}

	#discord-appeal .premium-card,
	#game-appeal .premium-card,
	#discord-appeal .warning-box,
	#game-appeal .warning-box {
		padding: 16px;
		gap: 12px;
	}

	#discord-appeal .premium-card h3,
	#game-appeal .premium-card h3,
	#discord-appeal .guidelines-header h3,
	#game-appeal .guidelines-header h3 {
		font-size: 1.2rem;
	}

	#discord-appeal .premium-card p,
	#game-appeal .premium-card p,
	#discord-appeal .faq-item p,
	#game-appeal .faq-item p,
	#discord-appeal .checkbox-container,
	#game-appeal .checkbox-container,
	#game-appeal .requirement-item {
		font-size: 0.92rem;
		line-height: 1.42;
	}

	#discord-appeal .accordion,
	#game-appeal .accordion {
		gap: 8px;
	}

	#discord-appeal .faq-item summary,
	#game-appeal .faq-item summary {
		padding: 12px 14px;
		font-size: 0.9rem;
	}

	#discord-appeal .faq-item p,
	#game-appeal .faq-item p {
		padding: 0 14px 12px;
	}

	#discord-appeal .agreement-box,
	#game-appeal .agreement-box,
	#discord-appeal .requirement-list,
	#game-appeal .requirement-list,
	#discord-appeal .warning-box,
	#game-appeal .warning-box {
		padding: 12px 14px;
	}

	#game-appeal .requirement-badge {
		width: 16px;
		height: 16px;
		min-width: 16px;
	}

	#discord-appeal .btn,
	#game-appeal .btn {
		min-height: 42px;
		padding: 10px 14px;
	}

	#discord-appeal .btn-lg,
	#game-appeal .btn-lg {
		min-height: 46px;
	}
}

@media (max-width: 900px) {
	.navbar {
		padding-inline: 18px;
	}

	.nav-content {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.nav-links {
		order: 3;
		width: 100%;
		margin: 0;
		gap: 18px;
	}

	.site-auth-portal {
		margin-left: auto;
	}

	.container,
	.container.narrow {
		padding-inline: 18px;
	}

	.main-content {
		padding-top: 26px;
	}

	.home-hero,
	.verify-container,
	.compact-surface,
	.landing-panel,
	.editor-preview-panel,
	.atlas-panel,
	.editor-panel-section,
	.premium-card,
	.verify-card,
	.repository-toolbar,
	.workspace-header,
	.modal-card {
		padding: 22px;
	}

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

	.toolbar-actions,
	.viewer-toolbar,
	.hero-actions,
	.landing-actions,
	.tool-actions {
		width: 100%;
	}

	.toolbar-actions > *,
	.viewer-toolbar > *,
	.hero-actions > *,
	.landing-actions > *,
	.tool-actions > * {
		flex: 1 1 180px;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 15px;
	}

	.nav-links {
		gap: 14px;
	}

	.nav-link.active::after {
		bottom: -10px;
	}

	.hero-copy-column h1 {
		font-size: clamp(2.5rem, 16vw, 4rem);
	}

	.workspace-header h2,
	.flow-shell-head h2,
	.verify-title,
	.success-card h2,
	.section-heading-row h2,
	.section-heading-row h3 {
		font-size: clamp(1.7rem, 10vw, 2.4rem);
	}

	.tool-grid {
		grid-template-columns: 1fr;
	}

	.repository-grid,
	.skin-strip {
		grid-template-columns: 1fr;
	}

	.user-identity,
	.verify-user,
	.requirement-item,
	.step-item {
		align-items: flex-start;
	}

	.toast {
		left: 16px;
		right: 16px;
		bottom: 16px;
		max-width: none;
	}
}
