:root {
	--na-ui-scale: 1;
	--na-ink: #151614;
	--na-paper: #efba27;
	--na-paper-soft: #f4e8cf;
	--na-red: #c21f10;
	--na-blue: #27a7cc;
	--na-pink: #d94c91;
	--na-focus: #fff4a8;
}

:root[data-na-size="small"] { --na-ui-scale: .86; }
:root[data-na-size="medium"] { --na-ui-scale: 1; }
:root[data-na-size="large"] { --na-ui-scale: 1.16; }

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

.na-ui {
	position: fixed;
	inset: 0;
	z-index: 70000;
	pointer-events: none;
	color: var(--na-ink);
	font-family: "AAI Atkinson", Arial, sans-serif;
}

html.na-vr-active .na-ui {
	display: none !important;
}

.na-ui button,
.na-ui a,
.na-ui input,
.na-ui select,
.na-ui dialog {
	font: inherit;
}

.na-ui button,
.na-ui a,
.na-ui input,
.na-ui select,
.na-ui dialog[open] {
	pointer-events: auto;
}

.na-ui button {
	color: inherit;
}

.na-ui button:focus-visible,
.na-ui a:focus-visible,
.na-ui input:focus-visible,
.na-ui select:focus-visible {
	outline: 3px solid var(--na-focus);
	outline-offset: 3px;
	box-shadow: 0 0 0 2px #151614;
}

.na-settings-toggle {
	position: fixed;
	top: max(12px, env(safe-area-inset-top));
	right: max(12px, env(safe-area-inset-right));
	width: calc(58px * var(--na-ui-scale));
	height: calc(58px * var(--na-ui-scale));
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	transition: filter 150ms ease;
}

.na-settings-toggle::before {
	display: none;
}

.na-settings-toggle:hover {
	filter: brightness(1.08);
}

.na-settings-gear {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	filter: drop-shadow(3px 4px 0 rgb(21 22 20 / 62%));
	transform: rotate(-5deg) scale(1.18);
	transform-origin: center;
	will-change: transform;
}

.na-settings-gear-shape {
	fill: var(--na-red);
	stroke: #151614;
	stroke-linecap: square;
	stroke-linejoin: bevel;
	stroke-width: 2.8;
}

.na-settings-gear-grit {
	fill: url("#na-settings-gear-grit");
	opacity: .68;
	pointer-events: none;
}

.na-settings-gear circle {
	fill: #fff;
	stroke: #151614;
	stroke-width: 2.8;
}

.na-settings-toggle:hover .na-settings-gear,
.na-settings-toggle:focus-visible .na-settings-gear {
	animation: na-settings-gear-spin 1.25s steps(14, end) infinite;
}

@keyframes na-settings-gear-spin {
	from { transform: rotate(-5deg) scale(1.18); }
	to { transform: rotate(355deg) scale(1.18); }
}

.na-toolbar {
	position: fixed;
	left: 50%;
	bottom: max(12px, env(safe-area-inset-bottom));
	display: flex;
	align-items: stretch;
	min-height: 52px;
	padding: 4px 6px;
	border: 2px solid #151614;
	background:
		linear-gradient(95deg, transparent 0 8%, rgba(255,255,255,.12) 8.5% 9.5%, transparent 10% 73%, rgba(194,31,16,.16) 74% 76%, transparent 77%),
		url("ifg/no-arena-concrete-7.jpg?v=20260727-build-33"),
		var(--na-paper);
	background-position: center, 50% 58%, center;
	background-size: auto, 760px auto, auto;
	background-blend-mode: normal, soft-light, normal;
	box-shadow: 6px 7px 0 rgba(194,31,16,.83), 0 14px 25px rgba(0,0,0,.24);
	clip-path: polygon(0 13%, 4% 3%, 9% 7%, 15% 1%, 21% 8%, 28% 0, 34% 6%, 41% 2%, 47% 9%, 54% 0, 61% 7%, 68% 1%, 75% 8%, 82% 2%, 89% 9%, 95% 1%, 100% 6%, 99% 87%, 95% 100%, 88% 93%, 81% 99%, 74% 92%, 67% 100%, 60% 94%, 53% 99%, 46% 92%, 39% 100%, 32% 93%, 25% 99%, 18% 92%, 11% 100%, 5% 94%, 0 89%);
	transform: translateX(-50%) scale(var(--na-ui-scale)) rotate(-.25deg);
	transform-origin: bottom center;
	transition: opacity 160ms ease, transform 180ms ease;
}

.na-toolbar[hidden] {
	display: none;
}

.na-toolbar > button,
.na-view-toggle {
	position: relative;
	display: grid;
	place-items: center;
	width: 48px;
	min-width: 48px;
	padding: 0;
	border: 0;
	background: transparent;
	clip-path: polygon(4% 3%, 92% 0, 100% 12%, 96% 91%, 84% 100%, 7% 96%, 0 84%, 3% 15%);
	cursor: pointer;
}

.na-toolbar > button:hover,
.na-view-toggle:hover,
.na-toolbar > button.is-pressed {
	background: rgba(194,31,16,.14);
}

.na-toolbar > button[aria-disabled="true"] {
	opacity: .38;
	cursor: default;
}

.na-toolbar svg {
	width: 29px;
	height: 29px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: square;
	stroke-linejoin: bevel;
	stroke-width: 4.6;
	filter: drop-shadow(1px 0 0 currentColor) drop-shadow(1px 1px 0 rgba(244,232,207,.5));
}

.na-toolbar > button:nth-child(1) svg { transform: rotate(-2deg); }
.na-toolbar > button:nth-child(3) svg { transform: rotate(1.5deg); }
.na-toolbar > button:nth-child(4) svg { transform: rotate(-1deg); }
.na-toolbar > button:nth-child(5) svg { transform: rotate(1.7deg); }
.na-toolbar > button:last-child svg { transform: rotate(2deg); }

.na-toolbar > :not(:first-child)::before {
	position: absolute;
	top: 12%;
	left: -3px;
	width: 5px;
	height: 76%;
	content: "";
	background: var(--na-ink);
	clip-path: polygon(22% 0, 91% 4%, 61% 16%, 100% 29%, 57% 42%, 88% 57%, 43% 70%, 82% 83%, 55% 100%, 3% 94%, 34% 80%, 0 66%, 36% 51%, 5% 37%, 42% 22%, 8% 9%);
	transform: rotate(-1.5deg);
}

.na-toolbar > :nth-child(even)::before {
	transform: rotate(1.4deg);
}

.na-toolbar .na-location {
	position: relative;
	isolation: isolate;
	display: flex;
	width: clamp(150px, 25vw, 280px);
	min-width: 150px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 4px 14px;
	border: 0;
	text-align: left;
}

.na-toolbar .na-location::after {
	position: absolute;
	inset: 4px 8px auto 8px;
	z-index: -1;
	height: 28px;
	content: "";
	background-color: var(--na-red);
	background-image: url("ifg/no-arena-title-grit.png?v=20260727-build-33-r13");
	background-position: center;
	background-size: 520px auto;
	background-repeat: repeat;
	background-blend-mode: multiply;
	opacity: 1;
	clip-path: polygon(2% 10%, 12% 1%, 27% 7%, 41% 0, 56% 8%, 72% 1%, 88% 7%, 99% 2%, 97% 87%, 84% 100%, 68% 92%, 51% 100%, 34% 91%, 18% 98%, 0 88%);
	transform: rotate(-.65deg);
}

.na-location span {
	position: relative;
	z-index: 1;
	overflow: hidden;
	max-width: 100%;
	padding: 2px 7px 1px;
	color: #efba27;
	font-family: "AAI Sidestream", "AAI Montech", sans-serif;
	font-size: 19px;
	font-weight: 400;
	line-height: 1;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-shadow: 2px 2px 0 #151614;
}

.na-location small {
	margin-top: 3px;
	font-family: "AAI Atkinson", Arial, sans-serif;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}


.na-view-shell {
	position: relative;
	display: grid;
	width: 48px;
	min-width: 48px;
	place-items: center;
}

.na-view-toggle {
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.na-pan-symbol {
	position: relative;
	display: block;
	width: 27px;
	height: 27px;
	transform: rotate(-2deg);
}

.na-pan-symbol i,
.na-pan-symbol b {
	position: absolute;
	display: block;
}

.na-pan-symbol b {
	top: 10px;
	left: 10px;
	width: 7px;
	height: 7px;
	background: currentColor;
	clip-path: polygon(15% 0, 100% 18%, 82% 100%, 0 76%);
}

.na-pan-symbol i {
	width: 9px;
	height: 9px;
	border: solid currentColor;
	border-width: 4px 0 0 4px;
}

.na-pan-symbol i:nth-child(1) { top: 0; left: 9px; transform: rotate(45deg); }
.na-pan-symbol i:nth-child(2) { top: 9px; right: 0; transform: rotate(135deg); }
.na-pan-symbol i:nth-child(3) { right: 9px; bottom: 0; transform: rotate(225deg); }
.na-pan-symbol i:nth-child(4) { top: 9px; left: 0; transform: rotate(315deg); }

.na-view-panel {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 72000;
	display: grid;
	width: 178px;
	grid-template-columns: 34px 132px;
	align-items: center;
	gap: 5px;
	padding: 8px;
	border: 2px solid #151614;
	background:
		linear-gradient(112deg, transparent 0 44%, rgba(239,186,39,.16) 45% 47%, transparent 48%),
		var(--na-red);
	color: #fff5dc;
	box-shadow: 7px 8px 0 rgba(21,22,20,.78);
	clip-path: polygon(2% 3%, 23% 0, 47% 4%, 71% 0, 98% 4%, 100% 25%, 97% 49%, 100% 74%, 97% 98%, 74% 96%, 51% 100%, 25% 96%, 0 100%, 3% 75%, 0 52%, 3% 29%);
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px) rotate(1deg) scale(.88);
	transform-origin: 78% bottom;
	transition: opacity 160ms ease, transform 190ms cubic-bezier(.22,1,.36,1);
}

.na-view-panel[hidden] {
	display: none;
}

.na-view-panel.is-open {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) rotate(-.5deg) scale(1);
}

.na-view-zoom {
	display: grid;
	width: 34px;
	height: 116px;
	place-items: center;
}

#na-view-zoom {
	width: 38px;
	height: 108px;
	margin: 0;
	accent-color: var(--na-paper);
	cursor: ns-resize;
	direction: rtl;
	writing-mode: vertical-lr;
}

.na-pan-wheel {
	position: relative;
	width: 132px;
	height: 132px;
	border: 3px solid #fff5dc;
	background:
		radial-gradient(circle at center, rgba(239,186,39,.42) 0 31%, transparent 32%),
		rgba(21,22,20,.24);
	box-shadow: inset 0 0 0 5px rgba(21,22,20,.2);
	clip-path: polygon(47% 0, 63% 3%, 77% 10%, 90% 23%, 97% 39%, 100% 55%, 94% 72%, 84% 87%, 68% 97%, 50% 100%, 33% 95%, 17% 87%, 7% 71%, 0 53%, 4% 36%, 13% 20%, 28% 8%);
}

.na-pan-wheel > button:not(.na-pan-joystick) {
	position: absolute;
	z-index: 1;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff5dc;
	cursor: pointer;
}

.na-pan-wheel > button:not(.na-pan-joystick):hover,
.na-pan-wheel > button:not(.na-pan-joystick).is-pressed {
	background: rgba(239,186,39,.3);
}

.na-pan-wheel > button:not(.na-pan-joystick) span {
	font-family: "AAI Sidestream", sans-serif;
	font-size: 31px;
	font-weight: 900;
	line-height: 1;
	text-shadow: 2px 1px 0 #151614;
}

.na-pan-up { top: 0; left: 45px; transform: rotate(-3deg); }
.na-pan-right { top: 45px; right: 0; transform: rotate(2deg); }
.na-pan-down { bottom: 0; left: 45px; transform: rotate(3deg); }
.na-pan-left { top: 45px; left: 0; transform: rotate(-2deg); }

.na-pan-joystick {
	--na-joystick-x: 0px;
	--na-joystick-y: 0px;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: grid;
	width: 52px;
	height: 52px;
	place-items: center;
	padding: 0;
	border: 3px solid #151614;
	background: var(--na-paper);
	color: #151614;
	box-shadow: 4px 5px 0 rgba(21,22,20,.64);
	clip-path: polygon(8% 3%, 86% 0, 100% 13%, 96% 87%, 84% 100%, 5% 93%, 0 17%);
	cursor: grab;
	touch-action: none;
	transform: translate(-50%,-50%) translate(var(--na-joystick-x),var(--na-joystick-y)) rotate(-2deg);
	transition: transform 100ms ease-out, background 120ms ease;
}

.na-pan-joystick span {
	width: 8px;
	height: 8px;
	background: currentColor;
	box-shadow: 0 -11px 0 -2px currentColor, 11px 0 0 -2px currentColor, 0 11px 0 -2px currentColor, -11px 0 0 -2px currentColor;
}

.na-pan-joystick.is-dragging {
	background: var(--na-blue);
	cursor: grabbing;
	transition: background 100ms ease;
}

.na-hotspot-drag-handle {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 70800;
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	padding: 0;
	border: 3px solid #151614;
	background: color-mix(in srgb, var(--na-blue) 82%, transparent);
	color: #151614;
	box-shadow: 4px 4px 0 rgba(194,31,16,.78);
	clip-path: polygon(5% 2%, 91% 0, 100% 12%, 96% 89%, 84% 100%, 3% 94%, 0 14%);
	cursor: move;
	touch-action: none;
	transform: translate(-50%,-50%) rotate(-2deg);
}

.na-hotspot-drag-handle[hidden] {
	display: none;
}

.na-hotspot-drag-handle span {
	position: relative;
	display: block;
	width: 26px;
	height: 26px;
	border: 3px solid currentColor;
	border-radius: 50%;
}

.na-hotspot-drag-handle span::before,
.na-hotspot-drag-handle span::after {
	position: absolute;
	content: "";
	background: currentColor;
}

.na-hotspot-drag-handle span::before {
	top: 9px;
	left: -8px;
	width: 36px;
	height: 3px;
}

.na-hotspot-drag-handle span::after {
	top: -8px;
	left: 9px;
	width: 3px;
	height: 36px;
}

.na-hotspot-drag-handle.is-dragging {
	background: var(--na-paper);
	transform: translate(-50%,-50%) rotate(2deg) scale(1.08);
}

.na-palette {
	position: fixed;
	z-index: 71000;
	width: calc(338px * var(--na-ui-scale));
	max-width: calc(100vw - 24px);
	max-height: calc(100dvh - 92px);
	margin: 0;
	padding: 0;
	overflow: visible;
	border: 0;
	background: transparent;
	color: var(--na-ink);
}

.na-settings-dialog {
	top: max(76px, calc(env(safe-area-inset-top) + 64px));
	right: max(12px, env(safe-area-inset-right));
	left: auto;
}

.na-editor-dialog {
	top: max(24px, env(safe-area-inset-top));
	right: max(20px, env(safe-area-inset-right));
	left: auto;
	width: calc(390px * var(--na-ui-scale));
	max-height: calc(100dvh - 48px);
}

.na-palette::before,
.na-palette::after {
	position: absolute;
	inset: 9px -7px -7px 9px;
	z-index: -2;
	content: "";
	background: var(--na-pink);
	clip-path: polygon(2% 1%, 99% 4%, 97% 96%, 3% 100%, 0 53%);
	transform: rotate(1.1deg);
}

.na-palette::after {
	inset: 14px -11px -11px 15px;
	z-index: -3;
	background: var(--na-blue);
	transform: rotate(-1.1deg);
}

.na-paper {
	position: relative;
	display: flex;
	max-height: inherit;
	flex-direction: column;
	overflow: hidden;
	border: 2px solid #151614;
	background:
		linear-gradient(84deg, transparent 0 23%, rgba(21,22,20,.055) 23.5% 24%, transparent 24.5% 72%, rgba(255,255,255,.09) 72.5% 73.5%, transparent 74%),
		linear-gradient(172deg, transparent 0 42%, rgba(194,31,16,.06) 43% 45%, transparent 46%),
		var(--na-paper);
	box-shadow: 9px 12px 0 rgba(21,22,20,.76), 0 18px 38px rgba(0,0,0,.32);
	clip-path: polygon(1% 1%, 15% 0, 36% 1%, 57% 0, 78% 1.2%, 98% 0, 100% 14%, 99% 34%, 100% 54%, 98.8% 76%, 100% 98%, 80% 99%, 61% 98.5%, 39% 100%, 21% 98.5%, 0 100%, 1% 78%, 0 59%, 1% 39%, 0 19%);
}

.na-paper::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	content: "";
	pointer-events: none;
	background-image: url("ifg/no-arena-panel-worn.jpg?v=20260727-build-33-r13");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	filter: grayscale(1) contrast(1.06);
	opacity: .12;
	mix-blend-mode: multiply;
}

.na-paper > * {
	position: relative;
	z-index: 1;
}

.na-drag-handle {
	display: grid;
	width: 100%;
	height: calc(30px * var(--na-ui-scale));
	place-items: center;
	flex: 0 0 auto;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: grab;
	touch-action: none;
}

.na-drag-handle:active { cursor: grabbing; }

.na-drag-handle span,
.na-drag-handle span::before,
.na-drag-handle span::after {
	display: block;
	width: calc(88px * var(--na-ui-scale));
	height: 3px;
	background: currentColor;
	content: "";
	opacity: .78;
}

.na-drag-handle span {
	transform: rotate(-1deg);
}

.na-drag-handle span::before {
	transform: translateY(-7px) rotate(1.5deg);
}

.na-drag-handle span::after {
	background: var(--na-red);
	transform: translateY(4px) rotate(-1deg);
}

.na-panel-heading {
	display: flex;
	align-items: center;
	gap: 9px;
	flex: 0 0 auto;
	padding: 5px calc(15px * var(--na-ui-scale)) 10px;
	border-bottom: 3px solid var(--na-ink);
}

.na-panel-heading > div {
	min-width: 0;
	flex: 1;
}

.na-panel-heading p,
.na-stops-dialog header p {
	margin: 0 0 1px;
	font-size: calc(9px * var(--na-ui-scale));
	font-weight: 900;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.na-panel-heading h2,
.na-stops-dialog h2 {
	margin: 0;
	font-family: "AAI Montech", "AAI Atkinson", sans-serif;
	font-size: calc(27px * var(--na-ui-scale));
	font-weight: 900;
	line-height: .95;
	letter-spacing: .025em;
	text-transform: uppercase;
}

.na-close,
.na-back {
	display: grid;
	width: calc(42px * var(--na-ui-scale));
	height: calc(42px * var(--na-ui-scale));
	place-items: center;
	flex: 0 0 auto;
	padding: 0;
	border: 0;
	background: transparent url("ifg/close.png?v=20260726-close-standard-28") center / contain no-repeat;
	color: transparent !important;
	font-size: 0 !important;
	font-weight: 900 !important;
	line-height: 1;
	filter: drop-shadow(2px 3px 0 rgb(21 22 20 / 78%));
	cursor: pointer;
	transform: rotate(-3deg);
	transition: transform 150ms ease, filter 150ms ease;
}

.na-close:hover {
	filter: drop-shadow(1px 2px 0 rgb(21 22 20 / 72%));
	transform: rotate(3deg) scale(1.05);
}

.na-back {
	background: var(--na-blue);
	color: #151614 !important;
	font-size: calc(19px * var(--na-ui-scale)) !important;
	filter: none;
	clip-path: polygon(4% 2%, 95% 0, 100% 91%, 89% 100%, 0 94%, 3% 9%);
}

.na-panel-body {
	overflow: auto;
	padding: 8px calc(12px * var(--na-ui-scale)) 10px;
	scrollbar-color: var(--na-red) transparent;
	scrollbar-width: thin;
}

.na-section {
	padding: calc(10px * var(--na-ui-scale)) 0;
	border-bottom: 2px dashed color-mix(in srgb, var(--na-ink) 58%, transparent);
}

.na-section:last-child { border-bottom: 0; }

.na-section-heading {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: calc(8px * var(--na-ui-scale));
}

.na-section-heading > span {
	display: grid;
	width: calc(28px * var(--na-ui-scale));
	height: calc(24px * var(--na-ui-scale));
	place-items: center;
	flex: 0 0 auto;
	background: var(--na-red);
	color: #fff5dc;
	font-family: "AAI Montech", sans-serif;
	font-size: calc(11px * var(--na-ui-scale));
	font-weight: 900;
	transform: rotate(-2deg);
}

.na-section-heading h3 {
	margin: 0;
	font-family: "AAI Montech", "AAI Atkinson", sans-serif;
	font-size: calc(14px * var(--na-ui-scale));
	font-weight: 900;
	letter-spacing: .06em;
	line-height: 1;
	text-transform: uppercase;
}

.na-section-heading p {
	margin: 2px 0 0;
	font-size: calc(10px * var(--na-ui-scale));
	font-weight: 650;
	line-height: 1.2;
}

.na-size-options,
.na-visibility-options {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
}

.na-size-options button,
.na-visibility-options button {
	display: grid;
	min-height: calc(54px * var(--na-ui-scale));
	place-items: center;
	gap: 1px;
	padding: 5px;
	border: 2px solid var(--na-ink);
	background: var(--na-paper-soft);
	color: var(--na-ink);
	box-shadow: 3px 3px 0 color-mix(in srgb, var(--na-ink) 72%, transparent);
	cursor: pointer;
}

.na-size-options button[aria-pressed="true"],
.na-visibility-options button[aria-pressed="true"] {
	background: var(--na-blue);
	transform: translate(-1px, -1px) rotate(-1deg);
}

.na-size-options b {
	font-family: "AAI Montech", sans-serif;
	font-size: calc(18px * var(--na-ui-scale));
	line-height: 1;
}

.na-size-options small,
.na-visibility-options small {
	font-size: calc(9px * var(--na-ui-scale));
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.na-experience-console {
	display: flex;
	align-items: center;
	gap: 7px;
}

.na-experience-console button,
.na-access-link {
	display: grid;
	width: calc(45px * var(--na-ui-scale));
	height: calc(43px * var(--na-ui-scale));
	place-items: center;
	padding: 0;
	border: 2px solid var(--na-ink);
	background: var(--na-paper-soft);
	color: var(--na-ink);
	text-decoration: none;
	box-shadow: 3px 3px 0 color-mix(in srgb, var(--na-ink) 72%, transparent);
	cursor: pointer;
}

.na-experience-console button[aria-pressed="true"] {
	background: var(--na-pink);
}

.na-experience-console svg,
.na-access-link svg {
	width: calc(27px * var(--na-ui-scale));
	height: calc(27px * var(--na-ui-scale));
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 3.2;
}

.na-access-link .na-access-figure {
	width: calc(33px * var(--na-ui-scale));
	height: calc(33px * var(--na-ui-scale));
	overflow: visible;
	fill: currentColor;
	stroke: currentColor;
	stroke-linecap: square;
	stroke-linejoin: bevel;
	stroke-width: 0;
	filter: drop-shadow(1px 1px 0 color-mix(in srgb, var(--na-pink) 55%, transparent));
	transform: rotate(-1.5deg);
}

.na-access-figure .na-access-ring {
	fill: none;
	stroke: currentColor;
	stroke-dasharray: 42 2 27 1.5;
	stroke-width: 3.5;
}

.na-access-figure .na-access-ring-echo {
	fill: none;
	opacity: .38;
	stroke: currentColor;
	stroke-dasharray: 20 2 9 1.5;
	stroke-width: 1;
	transform: translate(1px, -.5px);
}

.na-access-figure .na-access-body,
.na-access-figure .na-access-fist {
	fill: currentColor;
	stroke: none;
}

.na-access-figure .na-access-open-hand {
	fill: none;
	stroke: currentColor;
	stroke-width: 2.7;
}

.na-access-figure .na-access-scratches {
	fill: none;
	opacity: .72;
	stroke: currentColor;
	stroke-width: 1.6;
}

.na-motion-icon {
	position: relative;
	width: 27px;
	height: 27px;
	border: 3px solid currentColor;
	border-radius: 50%;
}

.na-motion-icon::after {
	position: absolute;
	inset: 4px;
	content: "";
	border: 2px solid currentColor;
	border-radius: 50%;
	animation: na-ring-pulse 1.8s ease-out infinite;
}

.na-motion-icon i {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
}

.na-immersive-console {
	position: relative;
	margin-top: calc(11px * var(--na-ui-scale));
	padding: calc(10px * var(--na-ui-scale));
	overflow: hidden;
	border: 2px solid var(--na-ink);
	background:
		linear-gradient(108deg, transparent 0 55%, color-mix(in srgb, var(--na-pink) 20%, transparent) 56% 59%, transparent 60%),
		var(--na-paper-soft);
	box-shadow: 4px 5px 0 color-mix(in srgb, var(--na-ink) 76%, transparent);
	clip-path: polygon(1% 3%, 18% 0, 37% 3%, 58% 0, 78% 3%, 99% 1%, 100% 19%, 98% 40%, 100% 62%, 98% 81%, 100% 98%, 79% 96%, 59% 100%, 38% 97%, 18% 100%, 0 97%, 2% 76%, 0 55%, 2% 31%);
}

.na-immersive-console::before {
	position: absolute;
	top: -9px;
	right: 18px;
	width: 68px;
	height: 18px;
	content: "";
	background: color-mix(in srgb, var(--na-blue) 78%, transparent);
	opacity: .82;
	transform: rotate(3deg);
}

.na-immersive-heading {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
}

.na-headset-mark {
	display: grid;
	width: calc(54px * var(--na-ui-scale));
	height: calc(40px * var(--na-ui-scale));
	place-items: center;
	flex: 0 0 auto;
	background: var(--na-red);
	color: #fff5dc;
	clip-path: polygon(3% 8%, 20% 1%, 46% 4%, 70% 0, 98% 9%, 95% 91%, 72% 98%, 48% 94%, 24% 100%, 0 89%);
	transform: rotate(-2deg);
}

.na-headset-mark svg {
	width: calc(43px * var(--na-ui-scale));
	height: calc(30px * var(--na-ui-scale));
	fill: none;
	stroke: currentColor;
	stroke-linecap: square;
	stroke-linejoin: bevel;
	stroke-width: 3.6;
}

.na-immersive-heading p {
	margin: 0 0 1px;
	font-size: calc(8px * var(--na-ui-scale));
	font-weight: 950;
	letter-spacing: .18em;
}

.na-immersive-heading h4 {
	margin: 0;
	font-family: "AAI Montech", "AAI Atkinson", sans-serif;
	font-size: calc(17px * var(--na-ui-scale));
	font-weight: 950;
	letter-spacing: .05em;
	line-height: 1;
	text-transform: uppercase;
}

.na-immersive-status {
	min-height: calc(27px * var(--na-ui-scale));
	margin: calc(8px * var(--na-ui-scale)) 0 7px;
	padding-left: 14px;
	font-size: calc(9px * var(--na-ui-scale));
	font-weight: 750;
	line-height: 1.3;
}

.na-immersive-status::before {
	position: absolute;
	width: 8px;
	height: 8px;
	margin: 2px 0 0 -14px;
	content: "";
	background: var(--na-red);
	clip-path: polygon(50% 0, 100% 30%, 78% 100%, 12% 85%, 0 28%);
}

.na-immersive-console[data-na-vr-state="ready"] .na-immersive-status::before,
.na-immersive-console[data-na-vr-state="active"] .na-immersive-status::before {
	background: var(--na-blue);
}

.na-immersive-console[data-na-vr-state="preview"] .na-immersive-status::before {
	background: var(--na-pink);
}

.na-immersive-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: 7px;
}

.na-immersive-actions button {
	display: grid;
	min-height: calc(58px * var(--na-ui-scale));
	grid-template-columns: calc(30px * var(--na-ui-scale)) minmax(0,1fr);
	align-items: center;
	gap: 6px;
	padding: 6px;
	border: 2px solid var(--na-ink);
	background: var(--na-red);
	color: #fff5dc;
	box-shadow: 3px 3px 0 color-mix(in srgb, var(--na-ink) 82%, transparent);
	text-align: left;
	clip-path: polygon(2% 4%, 23% 0, 50% 4%, 76% 0, 99% 5%, 97% 94%, 75% 100%, 50% 96%, 25% 100%, 0 95%);
	cursor: pointer;
}

.na-immersive-actions button + button {
	background: var(--na-blue);
	color: #151614;
	transform: rotate(.45deg);
}

.na-immersive-actions button[aria-pressed="true"] {
	background: var(--na-pink);
	transform: translate(-1px,-1px) rotate(-1deg);
}

.na-immersive-actions button:disabled {
	cursor: not-allowed;
	filter: grayscale(.45);
	opacity: .46;
	box-shadow: none;
}

.na-immersive-actions strong,
.na-immersive-actions small {
	display: block;
}

.na-immersive-actions strong {
	font-family: "AAI Montech", "AAI Atkinson", sans-serif;
	font-size: calc(12px * var(--na-ui-scale));
	font-weight: 950;
	line-height: 1;
	text-transform: uppercase;
}

.na-immersive-actions small {
	margin-top: 3px;
	font-size: calc(7px * var(--na-ui-scale));
	font-weight: 850;
	letter-spacing: .035em;
	line-height: 1.05;
	text-transform: uppercase;
}

.na-vr-button-icon,
.na-gyro-button-icon {
	position: relative;
	display: block;
	width: calc(28px * var(--na-ui-scale));
	height: calc(22px * var(--na-ui-scale));
	border: 3px solid currentColor;
	clip-path: polygon(4% 8%, 21% 0, 80% 2%, 98% 14%, 94% 88%, 72% 100%, 58% 72%, 42% 72%, 26% 100%, 3% 87%);
}

.na-vr-button-icon::before,
.na-vr-button-icon::after {
	position: absolute;
	top: 6px;
	width: 6px;
	height: 6px;
	content: "";
	border: 2px solid currentColor;
	border-radius: 50%;
}

.na-vr-button-icon::before { left: 3px; }
.na-vr-button-icon::after { right: 3px; }

.na-gyro-button-icon {
	border-radius: 50%;
	clip-path: none;
}

.na-gyro-button-icon::before,
.na-gyro-button-icon::after,
.na-gyro-button-icon i {
	position: absolute;
	inset: 4px;
	content: "";
	border: 2px solid currentColor;
	border-radius: 50%;
}

.na-gyro-button-icon::after {
	inset: 9px;
	background: currentColor;
}

.na-gyro-button-icon i {
	inset: -5px 8px;
	border-width: 2px 0;
	border-radius: 0;
	transform: rotate(-28deg);
}

.na-immersive-note {
	margin: 8px 1px 0;
	font-size: calc(8px * var(--na-ui-scale));
	font-weight: 650;
	line-height: 1.25;
}

.na-lighting-console {
	margin-top: calc(10px * var(--na-ui-scale));
}

.na-lighting-toggle {
	display: grid;
	width: 100%;
	min-height: calc(48px * var(--na-ui-scale));
	grid-template-columns: calc(35px * var(--na-ui-scale)) minmax(0,1fr) 20px;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	border: 2px solid var(--na-ink);
	background:
		linear-gradient(104deg, color-mix(in srgb, var(--na-blue) 22%, transparent), transparent 38%),
		var(--na-paper-soft);
	color: var(--na-ink);
	box-shadow: 3px 4px 0 color-mix(in srgb, var(--na-ink) 74%, transparent);
	text-align: left;
	clip-path: polygon(1% 5%, 20% 0, 39% 5%, 60% 0, 81% 6%, 99% 1%, 98% 92%, 77% 100%, 58% 94%, 38% 100%, 18% 94%, 0 98%);
	cursor: pointer;
}

.na-lighting-toggle > span:first-child {
	position: relative;
	display: block;
	width: calc(32px * var(--na-ui-scale));
	height: calc(32px * var(--na-ui-scale));
	border: 3px solid currentColor;
	border-radius: 50%;
}

.na-lighting-toggle > span:first-child::before,
.na-lighting-toggle > span:first-child::after,
.na-lighting-toggle > span:first-child i {
	position: absolute;
	content: "";
	background: currentColor;
}

.na-lighting-toggle > span:first-child::before {
	inset: 7px;
	border-radius: 50%;
}

.na-lighting-toggle > span:first-child::after {
	top: -7px;
	right: 13px;
	bottom: -7px;
	width: 3px;
	transform: rotate(-34deg);
}

.na-lighting-toggle > span:first-child i {
	top: 13px;
	right: -7px;
	left: -7px;
	height: 3px;
	transform: rotate(16deg);
}

.na-lighting-toggle strong,
.na-lighting-toggle small {
	display: block;
}

.na-lighting-toggle strong {
	font-family: "AAI Montech", "AAI Atkinson", sans-serif;
	font-size: calc(12px * var(--na-ui-scale));
	font-weight: 950;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.na-lighting-toggle small {
	margin-top: 2px;
	font-size: calc(8px * var(--na-ui-scale));
	font-weight: 720;
}

.na-lighting-toggle > b {
	width: 9px;
	height: 9px;
	border-right: 3px solid currentColor;
	border-bottom: 3px solid currentColor;
	transform: rotate(45deg) translate(-2px,-2px);
}

.na-lighting-toggle[aria-expanded="true"] > b {
	transform: rotate(225deg) translate(-2px,-2px);
}

.na-lighting-panel {
	margin: 7px 3px 2px;
	padding: 8px;
	border: 2px dashed var(--na-ink);
	background: color-mix(in srgb, var(--na-paper-soft) 68%, transparent);
}

.na-lighting-presets {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	gap: 4px;
	margin-bottom: 8px;
}

.na-lighting-presets button {
	min-height: calc(29px * var(--na-ui-scale));
	padding: 3px;
	border: 2px solid var(--na-ink);
	background: var(--na-red);
	color: #fff5dc;
	font-family: "AAI Montech", "AAI Atkinson", sans-serif;
	font-size: calc(8px * var(--na-ui-scale));
	font-weight: 900;
	letter-spacing: .035em;
	text-transform: uppercase;
	box-shadow: 2px 2px 0 #151614;
	cursor: pointer;
}

.na-lighting-presets button:nth-child(2) { background: var(--na-blue); color: #151614; }
.na-lighting-presets button:nth-child(3) { background: var(--na-pink); color: #151614; }
.na-lighting-presets button:nth-child(4) { background: var(--na-ink); color: var(--na-paper-soft); }

.na-lighting-sliders {
	display: grid;
	gap: 5px;
}

.na-lighting-sliders label {
	display: grid;
	grid-template-columns: calc(67px * var(--na-ui-scale)) minmax(0,1fr) calc(31px * var(--na-ui-scale));
	align-items: center;
	gap: 6px;
}

.na-lighting-sliders label > span {
	font-size: calc(8px * var(--na-ui-scale));
	font-weight: 900;
	letter-spacing: .055em;
	text-transform: uppercase;
}

.na-lighting-sliders input {
	width: 100%;
	accent-color: var(--na-red);
	cursor: pointer;
}

.na-lighting-sliders output {
	padding: 3px 2px;
	background: #151614;
	color: #f4e8cf;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: calc(8px * var(--na-ui-scale));
	font-weight: 800;
	text-align: center;
}

.na-visibility-options button[aria-pressed="false"] {
	opacity: .54;
	background: transparent;
	box-shadow: none;
}

.na-visibility-options button > span {
	position: relative;
	display: flex;
	width: 36px;
	height: 25px;
	align-items: flex-end;
	justify-content: space-evenly;
}

.na-visibility-options button > span:not(.na-splat-icon):not(.na-media-icon) {
	border: 2px solid currentColor;
}

.na-visibility-options button > span:not(.na-splat-icon):not(.na-media-icon) i {
	width: 4px;
	height: 9px;
	margin-bottom: 4px;
	background: currentColor;
}

.na-splat-icon i {
	position: absolute;
	inset: 5px 3px 3px;
	background: currentColor;
	clip-path: polygon(48% 0, 60% 27%, 91% 14%, 76% 44%, 100% 58%, 68% 64%, 75% 100%, 48% 76%, 23% 100%, 29% 67%, 0 55%, 29% 43%, 12% 15%, 40% 27%);
}

.na-media-icon i {
	position: absolute;
	inset: 3px 5px;
	border: 3px solid currentColor;
	border-radius: 50%;
}

.na-media-icon i::after {
	position: absolute;
	top: 5px;
	left: 8px;
	content: "";
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 10px solid currentColor;
}

.na-tool-link {
	display: flex;
	width: 100%;
	align-items: center;
	gap: 10px;
	padding: calc(8px * var(--na-ui-scale));
	border: 2px solid var(--na-ink);
	background: var(--na-red);
	color: #fff5dc !important;
	box-shadow: 4px 4px 0 #151614;
	text-align: left;
	cursor: pointer;
}

.na-tool-link > span:nth-child(2) {
	display: grid;
	flex: 1;
}

.na-tool-link strong {
	font-family: "AAI Montech", sans-serif;
	font-size: calc(13px * var(--na-ui-scale));
	letter-spacing: .04em;
	text-transform: uppercase;
}

.na-tool-link small {
	font-size: calc(10px * var(--na-ui-scale));
}

.na-tool-link > i {
	font-size: calc(22px * var(--na-ui-scale));
	font-style: normal;
	font-weight: 900;
}

.na-crosshair {
	position: relative;
	width: calc(30px * var(--na-ui-scale));
	height: calc(30px * var(--na-ui-scale));
	flex: 0 0 auto;
	border: 3px solid #fff5dc;
	border-radius: 50%;
}

.na-crosshair::before,
.na-crosshair::after {
	position: absolute;
	content: "";
	background: #fff5dc;
}

.na-crosshair::before { top: 12px; left: -6px; width: 36px; height: 2px; }
.na-crosshair::after { top: -6px; left: 12px; width: 2px; height: 36px; }

.na-panel-footer {
	display: flex;
	min-height: calc(35px * var(--na-ui-scale));
	align-items: center;
	justify-content: space-between;
	flex: 0 0 auto;
	padding: 4px calc(12px * var(--na-ui-scale));
	border-top: 3px solid var(--na-ink);
	background: color-mix(in srgb, var(--na-paper-soft) 42%, transparent);
}

.na-panel-footer > span {
	overflow: hidden;
	font-size: calc(8px * var(--na-ui-scale));
	font-weight: 900;
	letter-spacing: .15em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.na-collapse {
	display: grid;
	width: calc(30px * var(--na-ui-scale));
	height: calc(25px * var(--na-ui-scale));
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.na-collapse i {
	width: 10px;
	height: 10px;
	border-right: 3px solid currentColor;
	border-bottom: 3px solid currentColor;
	transform: rotate(225deg) translate(-2px,-2px);
}

.na-palette.is-minimized .na-panel-body {
	display: none;
}

.na-palette.is-minimized .na-paper {
	max-height: none;
}

.na-palette.is-minimized .na-collapse i {
	transform: rotate(45deg) translate(-2px,-2px);
}

.na-palette.is-dragging {
	user-select: none;
}

.na-editor-context {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	align-items: end;
	margin: 2px 0 9px;
}

.na-editor-context label {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.na-editor-context label > span {
	font-size: calc(9px * var(--na-ui-scale));
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.na-editor-context select {
	width: 100%;
	min-height: calc(38px * var(--na-ui-scale));
	padding: 5px 8px;
	border: 2px solid var(--na-ink);
	border-radius: 0;
	background: var(--na-paper-soft);
	color: var(--na-ink);
	font-size: calc(11px * var(--na-ui-scale));
	font-weight: 750;
}

.na-position-readouts {
	display: flex;
	gap: 4px;
}

.na-position-readouts div {
	display: grid;
	min-width: calc(63px * var(--na-ui-scale));
	min-height: calc(38px * var(--na-ui-scale));
	grid-template-columns: 22px 1fr;
	align-items: center;
	border: 2px solid var(--na-ink);
	background: #151614;
	color: #f4e8cf;
}

.na-position-readouts span {
	display: grid;
	align-self: stretch;
	place-items: center;
	background: var(--na-blue);
	color: #151614;
	font-family: "AAI Montech", sans-serif;
	font-size: calc(12px * var(--na-ui-scale));
	font-weight: 900;
}

.na-position-readouts output {
	padding: 0 5px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: calc(10px * var(--na-ui-scale));
	font-weight: 800;
	text-align: right;
}

.na-adjustments {
	display: grid;
	gap: 5px;
}

.na-adjustment {
	display: grid;
	grid-template-columns: calc(62px * var(--na-ui-scale)) minmax(0,1fr) calc(53px * var(--na-ui-scale));
	gap: 7px;
	align-items: center;
	padding: calc(6px * var(--na-ui-scale));
	border: 2px solid var(--na-ink);
	background: color-mix(in srgb, var(--na-paper-soft) 48%, transparent);
}

.na-axis-label {
	display: grid;
	grid-template-columns: 21px 1fr;
	align-items: center;
	gap: 3px;
}

.na-axis-label span {
	font-size: calc(19px * var(--na-ui-scale));
	font-weight: 900;
}

.na-axis-label strong {
	font-family: "AAI Montech", sans-serif;
	font-size: calc(10px * var(--na-ui-scale));
	text-transform: uppercase;
}

.na-slider-pair {
	display: grid;
	gap: 4px;
}

.na-slider-pair label {
	display: grid;
	grid-template-columns: 38px minmax(0,1fr);
	align-items: center;
	gap: 4px;
}

.na-slider-pair label span {
	font-size: calc(8px * var(--na-ui-scale));
	font-weight: 850;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.na-slider-pair input {
	width: 100%;
	accent-color: var(--na-red);
	cursor: pointer;
}

.na-slider-pair input:disabled {
	cursor: not-allowed;
	opacity: .42;
}

.na-adjustment > output {
	padding: 6px 3px;
	background: #151614;
	color: #f4e8cf;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: calc(9px * var(--na-ui-scale));
	font-weight: 800;
	text-align: center;
}

.na-editor-actions {
	display: grid;
	grid-template-columns: 1fr 1fr .78fr;
	gap: 6px;
	margin-top: 9px;
}

.na-editor-actions button {
	min-height: calc(37px * var(--na-ui-scale));
	border: 2px solid var(--na-ink);
	background: var(--na-red);
	color: #fff5dc;
	font-family: "AAI Montech", sans-serif;
	font-size: calc(11px * var(--na-ui-scale));
	font-weight: 900;
	letter-spacing: .04em;
	text-transform: uppercase;
	box-shadow: 3px 3px 0 #151614;
	cursor: pointer;
}

.na-editor-actions button:nth-child(2) {
	background: var(--na-blue);
	color: #151614;
}

.na-editor-actions button:nth-child(3) {
	background: var(--na-paper-soft);
	color: var(--na-ink);
}

.na-editor-actions button:disabled {
	cursor: not-allowed;
	opacity: .44;
	box-shadow: none;
}

.na-editor-status {
	min-height: 2.4em;
	margin: 8px 2px 0;
	font-size: calc(9px * var(--na-ui-scale));
	font-weight: 700;
	line-height: 1.2;
}

.na-stops-dialog {
	width: min(900px, calc(100vw - 30px));
	max-height: min(82dvh, 760px);
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--na-ink);
}

.na-stops-dialog::backdrop {
	background: rgba(10,11,10,.72);
	backdrop-filter: blur(3px);
}

.na-stops-paper {
	overflow: auto;
	max-height: inherit;
	padding: 16px;
	border: 3px solid #151614;
	background:
		linear-gradient(108deg, transparent 0 30%, rgba(194,31,16,.08) 31% 33%, transparent 34% 78%, rgba(39,167,204,.09) 79% 81%, transparent 82%),
		var(--na-paper);
	box-shadow: 10px 12px 0 var(--na-red);
	clip-path: polygon(1% 1%, 20% 0, 38% 1%, 56% 0, 77% 1%, 99% 0, 100% 19%, 99% 39%, 100% 62%, 99% 82%, 100% 99%, 82% 98%, 62% 100%, 41% 99%, 21% 100%, 0 98%, 1% 76%, 0 55%, 1% 33%, 0 12%);
}

.na-stops-dialog header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 2px 12px;
	border-bottom: 3px solid var(--na-ink);
}

.na-stops-list,
#na-stops-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

#na-stops-list button {
	display: block;
	width: 100%;
	min-height: 58px;
	padding: 10px 12px;
	border: 2px solid var(--na-ink);
	background: var(--na-paper-soft);
	color: var(--na-ink);
	box-shadow: 3px 3px 0 rgba(21,22,20,.7);
	text-align: left;
	cursor: pointer;
}

#na-stops-list button:hover,
#na-stops-list button[aria-current="location"] {
	background: var(--na-blue);
	transform: rotate(-.4deg);
}

#na-stops-list span {
	font-family: "AAI Montech", "AAI Atkinson", sans-serif;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.08;
}

.na-media-dialog {
	--na-media-surface: #c21f10;
	--na-media-ink: #fff5dc;
	--na-media-accent: #efba27;
	--na-media-action: #efba27;
	--na-media-action-ink: #151614;
	--na-media-action-alt: #27a7cc;
	--na-media-action-alt-ink: #151614;
	width: min(920px, calc(100vw - 24px));
	max-height: calc(100dvh - 24px);
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--na-media-ink);
}

.na-media-dialog[data-na-media-type="audio"] {
	--na-media-surface: #efba27;
	--na-media-ink: #151614;
	--na-media-accent: #c21f10;
	--na-media-action: #c21f10;
	--na-media-action-ink: #fff5dc;
	--na-media-action-alt: #27a7cc;
	--na-media-action-alt-ink: #151614;
}

.na-media-dialog[data-na-media-type="photo"] {
	--na-media-surface: #27a7cc;
	--na-media-ink: #151614;
	--na-media-accent: #efba27;
	--na-media-action: #efba27;
	--na-media-action-ink: #151614;
	--na-media-action-alt: #c21f10;
	--na-media-action-alt-ink: #fff5dc;
}

.na-media-dialog::backdrop {
	background: rgb(10 11 10 / 82%);
	backdrop-filter: blur(4px);
}

.na-media-paper {
	position: relative;
	overflow: auto;
	max-height: calc(100dvh - 24px);
	box-sizing: border-box;
	padding: clamp(12px, 2vw, 19px);
	border: 3px solid #151614;
	background:
		linear-gradient(104deg, transparent 0 32%, rgb(255 255 255 / 10%) 33% 35%, transparent 36% 74%, rgb(21 22 20 / 9%) 75% 77%, transparent 78%),
		url("ifg/no-arena-concrete-7.jpg?v=20260727-build-33"),
		var(--na-media-surface);
	background-position: center;
	background-size: auto, 1200px auto, auto;
	background-blend-mode: normal, soft-light, normal;
	box-shadow: 9px 11px 0 var(--na-media-accent);
	clip-path: polygon(1% 2%, 12% 0, 25% 2%, 38% 0, 52% 2%, 66% 0, 80% 2%, 92% 0, 99% 2%, 100% 17%, 99% 33%, 100% 51%, 99% 69%, 100% 87%, 98% 99%, 86% 97%, 73% 100%, 58% 98%, 43% 100%, 29% 97%, 15% 100%, 0 98%, 1% 81%, 0 63%, 1% 44%, 0 26%);
}

.na-media-paper header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 3px solid var(--na-media-ink);
}

.na-media-paper header p,
.na-media-paper header h2 {
	margin: 0;
}

.na-media-paper header p {
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.na-media-paper header h2 {
	font-family: "AAI Sidestream", "AAI Montech", sans-serif;
	font-size: clamp(23px, 4vw, 38px);
	font-weight: 400;
	line-height: 1;
}

.na-media-stage {
	position: relative;
	display: grid;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	place-items: center;
	border: 3px solid #151614;
	background: #090a09;
	box-shadow: 5px 6px 0 color-mix(in srgb, var(--na-media-accent) 82%, #151614);
	clip-path: polygon(0 2%, 13% 0, 27% 2%, 42% 0, 56% 2%, 71% 0, 86% 2%, 100% 0, 99% 98%, 84% 100%, 68% 98%, 51% 100%, 34% 98%, 17% 100%, 0 98%);
}

.na-media-stage iframe {
	width: 100%;
	height: 100%;
	border: 0;
	background: #090a09;
}

.na-media-stage audio {
	width: min(640px, calc(100% - 32px));
	padding: 19px;
	border: 3px solid #151614;
	background: #f4e8cf;
	box-shadow: 5px 6px 0 var(--na-media-accent);
	clip-path: polygon(1% 5%, 16% 0, 34% 4%, 51% 0, 70% 4%, 87% 0, 99% 5%, 97% 93%, 82% 100%, 65% 95%, 47% 100%, 29% 95%, 13% 100%, 0 94%);
	accent-color: var(--na-media-accent);
}

.na-media-dialog[data-na-media-type="audio"] .na-media-stage {
	aspect-ratio: 16 / 7;
}

.na-media-dialog[data-na-media-type="photo"] .na-media-stage {
	aspect-ratio: 16 / 10;
	background: #f4e8cf;
}

.na-media-dialog[data-na-media-type="photo"] .na-media-stage iframe {
	background: #f4e8cf;
}

.na-media-placeholder {
	display: grid;
	place-items: center;
	gap: 6px;
	padding: 24px;
	color: #f4e8cf;
	text-align: center;
}

.na-media-placeholder[hidden] {
	display: none;
}

.na-media-dialog[data-na-media-type="photo"] .na-media-placeholder {
	color: #151614;
}

.na-media-placeholder > span {
	display: grid;
	width: 66px;
	height: 58px;
	place-items: center;
	border: 3px solid #151614;
	background: var(--na-media-surface);
	color: var(--na-media-ink);
	font-size: 31px;
	box-shadow: 4px 4px 0 var(--na-media-accent);
	clip-path: polygon(3% 7%, 22% 0, 48% 5%, 73% 0, 98% 9%, 94% 91%, 71% 100%, 48% 94%, 23% 100%, 0 88%);
	transform: rotate(-2deg);
}

.na-media-placeholder strong {
	font-family: "AAI Montech", "AAI Atkinson", sans-serif;
	font-size: clamp(18px, 3vw, 28px);
	text-transform: uppercase;
}

.na-media-placeholder small {
	font-size: 12px;
	font-weight: 700;
}

.na-media-description {
	min-height: 2.6em;
	margin: 11px 3px 7px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.na-media-paper footer {
	display: grid;
	grid-template-columns: minmax(110px,1fr) auto minmax(110px,1fr);
	align-items: center;
	gap: 8px;
	padding-top: 9px;
	border-top: 2px dashed color-mix(in srgb, var(--na-media-ink) 65%, transparent);
}

.na-media-paper footer button {
	min-height: 40px;
	padding: 7px 10px;
	border: 2px solid #151614;
	background: var(--na-media-action);
	color: var(--na-media-action-ink);
	font-family: "AAI Montech", "AAI Atkinson", sans-serif;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	box-shadow: 3px 3px 0 #151614;
	clip-path: polygon(2% 5%, 23% 0, 49% 4%, 75% 0, 99% 5%, 97% 94%, 76% 100%, 50% 96%, 24% 100%, 0 95%);
	cursor: pointer;
}

.na-media-paper footer button:last-child {
	background: var(--na-media-action-alt);
	color: var(--na-media-action-alt-ink);
}

.na-media-paper footer button:disabled {
	cursor: not-allowed;
	filter: grayscale(.7);
	opacity: .42;
	box-shadow: none;
}

.na-media-paper footer output {
	font-size: 10px;
	font-weight: 950;
	letter-spacing: .1em;
	text-align: center;
	text-transform: uppercase;
}

@keyframes na-ring-pulse {
	0% { opacity: .95; transform: scale(.42); }
	78%, 100% { opacity: 0; transform: scale(1.48); }
}

body.na-reduced-motion .na-motion-icon::after {
	animation: none;
	opacity: .32;
	transform: scale(.65);
}

body.na-reduced-motion .na-ui *,
body.na-reduced-motion .na-ui *::before,
body.na-reduced-motion .na-ui *::after {
	scroll-behavior: auto !important;
	transition-duration: .001ms !important;
	animation-duration: .001ms !important;
	animation-iteration-count: 1 !important;
}

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

@media (max-width: 820px) {
	#na-stops-list {
		grid-template-columns: repeat(2, minmax(0,1fr));
	}
}

@media (max-width: 700px) {
	.na-settings-toggle {
		top: max(8px, env(safe-area-inset-top));
		right: max(8px, env(safe-area-inset-right));
	}

	.na-toolbar {
		bottom: max(8px, env(safe-area-inset-bottom));
		max-width: calc((100vw - 12px) / var(--na-ui-scale));
		min-height: 47px;
	}

	.na-toolbar > button {
		width: 42px;
		min-width: 42px;
	}

	.na-view-shell {
		width: 42px;
		min-width: 42px;
	}

	.na-toolbar .na-location {
		width: clamp(122px, 33vw, 175px);
		min-width: 122px;
		padding-inline: 9px;
	}

	.na-location span { font-size: 16px; }

	.na-palette,
	.na-editor-dialog {
		top: max(68px, calc(env(safe-area-inset-top) + 58px));
		right: 8px;
		left: 8px;
		width: auto !important;
		max-width: none;
		max-height: calc(100dvh - 80px - env(safe-area-inset-bottom));
	}

	.na-palette[style] {
		width: calc(100vw - 16px) !important;
	}

	.na-editor-context {
		grid-template-columns: minmax(0,1fr) auto;
	}

	.na-adjustment {
		grid-template-columns: calc(58px * var(--na-ui-scale)) minmax(0,1fr) calc(51px * var(--na-ui-scale));
	}

	.na-stops-dialog {
		width: calc(100vw - 16px);
		max-height: calc(92dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
	}
}

@media (max-width: 520px) {
	.na-toolbar > button[data-na-command="zoom-out"],
	.na-toolbar > button[data-na-command="zoom-in"] {
		display: none;
	}

	#na-stops-list {
		grid-template-columns: 1fr;
	}

	#na-stops-list button { min-height: 54px; }

	.na-media-dialog {
		width: calc(100vw - 12px);
		max-height: calc(100dvh - 12px);
	}

	.na-media-paper {
		padding: 10px;
	}

	.na-media-paper footer {
		grid-template-columns: 1fr 1fr;
	}

	.na-media-paper footer output {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.na-media-paper footer button {
		grid-row: 2;
	}
}

@media (max-height: 680px) and (min-width: 701px) {
	.na-section { padding-block: 6px; }
	.na-section-heading { margin-bottom: 5px; }
	.na-section-heading p { display: none; }
	.na-settings-dialog { top: 68px; max-height: calc(100dvh - 78px); }
}

.na-media-tooltip {
	position: fixed;
	z-index: 2147483000;
	max-width: min(260px, calc(100vw - 24px));
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff5dc;
	font-family: "AAI Atkinson", Arial, sans-serif;
	font-size: calc(13px * var(--na-ui-scale));
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: .035em;
	text-align: center;
	text-shadow:
		0 0 4px #151614,
		1px 2px 0 #151614,
		-1px -1px 0 #151614;
	pointer-events: none;
}

.na-media-tooltip[hidden] {
	display: none;
}
