@font-face {
	font-family: "Genesis Sans Head";
	src: url("/font/GenesisSansHeadKRLight.woff2") format("woff2");
	font-style: normal;
	font-weight: 300;
	font-display: swap;
}

@font-face {
	font-family: "Genesis Sans Head";
	src: url("/font/GenesisSansHeadOffice-Regular.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-22FF, U+25A0-25FF;
}

@font-face {
	font-family: "Genesis Sans Head";
	src: url("/font/GenesisSansHeadKRRegular.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	unicode-range: U+1100-11FF, U+3000-303F, U+3130-318F, U+4E00-9FFF, U+A960-A97F, U+AC00-D7AF, U+D7B0-D7FF, U+FF00-FFEF;
}

@font-face {
	font-family: "Genesis Sans Text";
	src: url("/font/GenesisSansTextOffice-Regular.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F, U+2190-22FF, U+25A0-25FF;
}

@font-face {
	font-family: "Genesis Sans Text";
	src: url("/font/GenesisSansTextKRRegular.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	unicode-range: U+1100-11FF, U+3000-303F, U+3130-318F, U+4E00-9FFF, U+A960-A97F, U+AC00-D7AF, U+D7B0-D7FF, U+FF00-FFEF;
}

@font-face {
	font-family: "GMR Speed Headline";
	src: url("/font/GMRSpeedHeadline_W_Rg.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "GMR Speed Headline";
	src: url("/font/GMRSpeedHeadline_W_It.woff2") format("woff2");
	font-style: italic;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "GMR Speed Headline";
	src: url("/font/GMRSpeedHeadline_W_Md.woff2") format("woff2");
	font-style: normal;
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: "GMR Speed Headline";
	src: url("/font/GMRSpeedHeadline_W_MdIt.woff2") format("woff2");
	font-style: italic;
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: "GMR Speed Headline";
	src: url("/font/GMRSpeedHeadline_W_Bd.woff2") format("woff2");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: "GMR Speed Headline";
	src: url("/font/GMRSpeedHeadline_W_BdIt.woff2") format("woff2");
	font-style: italic;
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: "GMR Speed Headline";
	src: url("/font/GMRSpeedHeadline_W_XBd.woff2") format("woff2");
	font-style: normal;
	font-weight: 800;
	font-display: swap;
}

@font-face {
	font-family: "GMR Speed Headline";
	src: url("/font/GMRSpeedHeadline_W_XBdIt.woff2") format("woff2");
	font-style: italic;
	font-weight: 800;
	font-display: swap;
}

@font-face {
	font-family: "GMR Speed Headline";
	src: url("/font/GMRSpeedHeadline_W_Blk.woff2") format("woff2");
	font-style: normal;
	font-weight: 900;
	font-display: swap;
}

@font-face {
	font-family: "GMR Speed Headline";
	src: url("/font/GMRSpeedHeadline_W_BlkIt.woff2") format("woff2");
	font-style: italic;
	font-weight: 900;
	font-display: swap;
}

:root {
	--bg: #050505;
	--panel: #101010;
	--panel-2: #171717;
	--line: #454545;
	--text: #f7f7f7;
	--muted: #a7a7a7;
	--orange: #ff5a00;
	--orange-soft: #ff7a28;
	--danger: #e14949;
	--success: #35a56f;
	--radius: 18px;
	--safe-bottom: env(safe-area-inset-bottom, 0px);
	--font-head: "Genesis Sans Head", sans-serif;
	--font-text: "Genesis Sans Text", sans-serif;
	--font-gmr: "GMR Speed Headline", "Genesis Sans Head", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	background: #1b1b1b;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100%;
	font-family: var(--font-text);
	font-size: 14px;
	line-height: 1.55;
	color: var(--text);
	background: #1b1b1b;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-head);
}

.font-gmr,
.gmr-title {
	font-family: var(--font-gmr);
	font-style: normal;
	font-synthesis: none;
	letter-spacing: .01em;
}

body.is-locked {
	overflow: hidden;
	touch-action: none;
}

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

button,
a {
	-webkit-tap-highlight-color: transparent;
}

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

img {
	max-width: 100%;
	display: block;
}

button {
	color: inherit;
}

.site-shell {
	position: relative;
	width: 100%;
	max-width: 430px;
	min-height: 100vh;
	margin: 0 auto;
	background: var(--bg);
	box-shadow: 0 0 40px rgba(0, 0, 0, .35);
	overflow-x: hidden;
}

.app-header {
	position: sticky;
	top: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 66px;
	padding: 0 20px;
	background: rgba(5, 5, 5, .96);
	backdrop-filter: blur(10px);
}

.app-header__logo {
	display: inline-flex;
	align-items: center;
	width: 100px;
}

.app-header__logo img {
	width: 100%;
	height: auto;
}

.app-header__menu {
	width: 42px;
	height: 42px;
	padding: 9px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.app-header__menu span {
	display: block;
	width: 24px;
	height: 1px;
	margin: 5px auto;
	background: #fff;
}

.app-menu {
	position: fixed;
	inset: 0;
	z-index: 500;
	display: none;
	justify-content: center;
	background: rgba(0, 0, 0, .72);
}

.app-menu.is-open {
	display: flex;
}

.app-menu__panel {
	width: min(100%, 540px);
	min-height: 100%;
	padding: 24px 20px calc(30px + var(--safe-bottom));
	background: #050505;
	animation: menuIn .22s ease-out;
}

@keyframes menuIn {
	from { opacity: 0; transform: translateX(28px); }
	to { opacity: 1; transform: translateX(0); }
}

.app-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 46px;
}

.app-menu__top img {
	width: 100px;
	height: auto;
}

.app-menu__close {
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	font-size: 34px;
	font-weight: 200;
	line-height: 1;
	cursor: pointer;
}

.app-menu h2 {
	margin: 48px 0 18px;
	font-size: clamp(34px, 9vw, 48px);
	font-weight: 400;
	letter-spacing: -.04em;
}

.app-menu__links {
	border-top: 1px solid #777;
}

.app-menu__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 58px;
	border-bottom: 1px solid #555;
	font-size: 18px;
}

.app-menu__links b {
	font-size: 26px;
	font-weight: 300;
}

.app-menu__logout {
	display: inline-flex;
	margin-top: 34px;
	padding: 10px 0;
	color: var(--muted);
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.page {
	min-height: calc(100vh - 66px);
	padding: 26px 20px calc(48px + var(--safe-bottom));
}

.page--full {
	padding: 0 0 calc(36px + var(--safe-bottom));
}

.page--auth {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 95vh;
	padding: 28px 24px calc(28px + var(--safe-bottom));
}

.page-title-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.page-back {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	font-size: 27px;
	line-height: 1;
}

.page-title-row h1,
.page h1 {
	margin: 0;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: -.035em;
	line-height: 2;
}

.page-title-row h1.gmr-title,
.page h1.gmr-title {
	font-weight: 700;
	letter-spacing: .015em;
	line-height: 1.2;
}

.page-subtitle {
	margin: 8px 0 0;
	color: var(--muted);
	font-size: 14px;
}

.auth-brand {
	padding-top: 4px;
}

.auth-brand img {
    width: 100px;
    height: auto;
}

.auth-brand__event {
	margin: 26px 0 2px;
	color: #adadad;
	font-family: var(--font-head);
	font-size: 20px;
	font-weight: 400;
}

.auth-brand__genesis {
	margin: 0;
	font-family: var(--font-head);
	font-size: clamp(43px, 18vw, 64px);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -.055em;
}

.auth-form {
	margin-top: 68px;
}

.auth-form h1 {
	margin: 0 0 34px;
	font-size: 25px;
	font-weight: 400;
}

.form-field {
	margin-bottom: 22px;
}

.form-field label,
.form-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}

.form-control {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	color: #fff;
	background: #090909;
	border: 1px solid #777;
	border-radius: 0;
	outline: none;
}

textarea.form-control {
	height: 120px;
	padding-top: 12px;
	resize: vertical;
}

.form-control:focus {
	border-color: var(--orange);
	box-shadow: 0 0 0 1px var(--orange);
}

.form-help {
	margin: -8px 0 24px;
	color: #9d9d9d;
	font-size: 12px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
    padding: 8px 18px;
	border: 1px solid #777;
	border-radius: 0;
	color: #fff;
	background: transparent;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
}

.btn--block {
	width: 100%;
}

.btn--orange {
	border-color: var(--orange);
	background: var(--orange);
	color: #080808;
}

.btn--dark {
	background: #111;
}

.btn--small {
	min-height: 36px;
	padding: 7px 11px;
	font-size: 13px;
}

.btn[disabled],
.btn.is-disabled {
	border-color: #363636;
	color: #777;
	background: #111;
	cursor: default;
	pointer-events: none;
}

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

.alert-box {
	margin: 0 0 20px;
	padding: 13px 14px;
	border: 1px solid #6a3838;
	background: #261414;
	color: #ffd5d5;
	font-size: 14px;
}

.alert-box--success {
	border-color: #2c7651;
	background: #10291d;
	color: #c7f4da;
}

.main-page {
	min-height: calc(100vh - 66px);
	padding: 18px 14px calc(34px + var(--safe-bottom));
}

.main-page__event {
	margin: 4px 4px 16px;
	color: #aaa;
	font-family: var(--font-head);
	font-size: 20px;
}

.main-banner {
	position: relative;
	display: block;
	overflow: hidden;
	border: 1px solid #303030;
	background: #111;
}

.main-banner + .main-banner {
	margin-top: 14px;
}

.main-banner img {
	width: 100%;
	aspect-ratio: 1.5 / 1;
	object-fit: cover;
}

.main-banner--reservation img {
	aspect-ratio: 1.55 / 1;
	object-position: 50% 64%;
}

.main-banner::after {
	content: '';
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 255, 255, .08);
	pointer-events: none;
}

.section {
	margin-top: 30px;
}

.section:first-child {
	margin-top: 0;
}

.section-title {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 14px;
}

.section-title h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 400;
}

.section-title p {
	margin: 0;
	color: var(--muted);
	font-size: 12px;
}

.panel {
	padding: 18px;
	border: 1px solid #333;
	background: var(--panel);
}

.panel + .panel {
	margin-top: 12px;
}

.app-modal {
	position: fixed;
	inset: 0;
	z-index: 800;
	display: none;
	align-items: flex-end;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, .78);
}

.app-modal.is-open {
	display: flex;
}

.app-modal__dialog {
	position: relative;
	width: min(100%, 500px);
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 24px;
	border: 1px solid var(--orange);
	background: #111;
	box-shadow: 0 16px 50px rgba(0, 0, 0, .55);
	animation: modalUp .18s ease-out;
}

.app-modal--center {
	align-items: center;
}

.app-modal--center .app-modal__dialog {
	border-radius: 16px;
}

@keyframes modalUp {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: translateY(0); }
}

.app-modal__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 42px;
	height: 42px;
	border: 0;
	background: transparent;
	font-size: 28px;
	cursor: pointer;
}

.app-modal__title {
    margin: 0 40px 20px 0;
    font-size: 20px;
}

.app-modal__message {
	margin: 0 0 22px;
	color: #ddd;
}

.choice-list {
	display: grid;
	gap: 10px;
}

.choice-list .btn {
	min-height: 62px;
	border-color: var(--orange);
	font-size: 17px;
}

.driver-pass-page {
	padding-top: 20px;
}

.driver-pass-title {
	margin: 0 0 18px;
	font-family: var(--font-gmr);
	font-size: 34px;
	font-weight: 800;
	line-height: .9;
	letter-spacing: .01em;
	color: var(--orange);
	font-synthesis: none;
}

.driver-pass-title span {
	display: block;
	color: #fff;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.2;
}

.pass-scene {
	perspective: 1400px;
}

.pass-card {
	position: relative;
	width: 100%;
	aspect-ratio: 3.5 / 5.15;
	transform-style: preserve-3d;
	transition: transform .55s cubic-bezier(.2, .65, .2, 1);
	cursor: pointer;
}

.pass-card.is-flipped {
	transform: rotateY(180deg);
}

.pass-card__face {
	position: absolute;
	inset: 0;
	backface-visibility: hidden;
	overflow: hidden;
	border: 1px solid #303030;
	background:
		linear-gradient(125deg, rgba(255, 90, 0, .08), transparent 35%),
		repeating-linear-gradient(135deg, transparent 0 52px, rgba(255, 255, 255, .025) 53px 54px),
		#070707;
}

.pass-card__face--back {
	transform: rotateY(180deg);
}

.pass-card__face--back img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pass-card__content {
	display: flex;
	font-family: var(--font-gmr);
	flex-direction: column;
	height: 100%;
	padding: 22px 20px;
	border-radius:20px;
}

.pass-card__brand {
	margin: 0 0 18px;
	color: var(--orange);
	font-family: var(--font-gmr);
	font-size: clamp(28px, 9vw, 44px);
	font-weight: 800;
	line-height: .82;
	letter-spacing: .015em;
	font-synthesis: none;
}

.pass-card__brand small {
	display: block;
	margin-top: 8px;
	color: #fff;
	font-family: var(--font-head);
	font-size: 19px;
	font-weight: 400;
	letter-spacing: -.02em;
}

.pass-card__media {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(90px, .8fr);
	align-items: end;
	gap: 12px;
	margin-top: 10px;
}

.pass-photo {
	position: relative;
	padding: 0;
	color: inherit;
	font: inherit;
	width: 100%;
	aspect-ratio: 3.5 / 4.5;
	overflow: hidden;
	border: 1px solid #777;
	background: #dedede;
	cursor: pointer;
}

.pass-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pass-photo__empty {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: #777;
	font-size: 38px;
}

.pass-photo.has-photo .pass-photo__empty {
	display: none;
}

.pass-qr-wrap {
	position: relative;
	align-self: bottom;
}

.pass-qr {
	padding: 7px;
	background: #fff;
}

.pass-qr svg {
	width: 100%;
	height: auto;
}

.pass-qr-zoom {
	position: absolute;
	right: -6px;
	bottom: -6px;
	width: 34px;
	height: 34px;
	border: 1px solid #777;
	background: #171717;
	font-size: 17px;
	cursor: pointer;
}

.pass-card__info {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 7px 12px;
	margin-top: 19px;
	font-size: 13px;
}

.pass-card__info dt {
	color: #999;
	font-size: 10px;
}

.pass-card__info dd {
	margin: 1px 0 0;
	font-weight: 700;
}

.pass-card__magma-logo {
	width: 118px;
	height: auto;
	margin: auto auto 4px;
	object-fit: contain;
	pointer-events: none;
}

.pass-card__flip {
	position: absolute;
	right: 15px;
	bottom: 15px;
	padding: 5px 8px;
	border: 1px solid #666;
	background: rgba(0, 0, 0, .75);
	font-size: 12px;
}

.qr-large {
	width: min(100%, 340px);
	margin: 12px auto;
	padding: 12px;
	background: #fff;
}

.qr-large svg {
	width: 100%;
}

.mission-intro {
	margin: 14px 0 14px;
	color: #ddd;
	font-size: 14px;
}

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

.mission-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 142px;
	padding: 15px 12px;
	border: 1px solid #3c3c3c;
	background: #111;
}

.mission-card--wide {
	grid-column: 1 / -1;
	min-height: 96px;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.mission-card--wide h3 {
	margin: 0 0 8px;
	font-family: var(--font-gmr);
	font-size: 23px;
	line-height: 1.25;
}

.mission-card--wide .mission-card__number {
	position: static;
	margin-bottom: 8px;
}

.mission-card--wide .mission-card__status {
	font-size: 12px;
	color: #fff;
}

.mission-card.is-complete {
	border: 2px solid var(--orange);
	box-shadow: inset 0 0 0 1px rgba(255, 90, 0, .2);
}

.mission-card__number {
	color: var(--orange);
	font-size: 11px;
	font-weight: 700;
}

.mission-card h3 {
	margin: 14px 0;
    font-family:var(--font-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .01em;
    font-synthesis: none;
}

.mission-card__small {
	font-size: 12px;
}

.mission-card__status {
	color: #888;
	font-size: 11px;
}

.mission-card.is-complete .mission-card__status {
	color: var(--orange);
}

#mission04_line h3 {
	line-height:0;
}

.driver-pass-actions {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 20px;
}

.location-map {
	border: 1px solid #333;
	background: #101010;
}

.location-map img {
	width: 100%;
	image-rendering: auto;
}

.location-map p {
	padding:0 10px;
}

.guide-image {
	width: 100%;
	margin: 0 0 18px;
	border: 1px solid #555;
	background: #fff;
}

.camera-wrap {
	position: relative;
	background: #000;
}

.camera-wrap video {
	width: 100%;
	max-height: 65vh;
	object-fit: cover;
	transform: scaleX(-1);
}

.camera-controls {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin-top: 14px;
}

.gift-qr-scanner-modal .app-modal__dialog {
	width: min(100%, 520px);
}

.gift-qr-scanner__status {
	min-height: 42px;
	margin: 0 0 14px;
	color: #ccc;
	font-size: 14px;
	line-height: 1.5;
	word-break: keep-all;
}

.gift-qr-scanner-modal.is-error .gift-qr-scanner__status {
	color: #ffb08a;
}

.gift-qr-scanner-modal.is-processing .gift-qr-scanner__status,
.gift-qr-scanner-modal.is-success .gift-qr-scanner__status {
	color: var(--orange);
}

.gift-qr-scanner {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: 1px solid #555;
	background: #000;
}

.gift-qr-scanner video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	background: #000;
	opacity: 0;
	transition: opacity .18s ease;
}

.gift-qr-scanner-modal.is-camera-ready .gift-qr-scanner video {
	opacity: 1;
}

.gift-qr-scanner__frame {
	position: absolute;
	inset: 12%;
	border: 2px solid rgba(255, 255, 255, .86);
	box-shadow: 0 0 0 999px rgba(0, 0, 0, .34), inset 0 0 18px rgba(0, 0, 0, .32);
	pointer-events: none;
}

.gift-qr-scanner__frame span {
	position: absolute;
	left: 7%;
	top: 10%;
	width: 86%;
	height: 2px;
	background: var(--orange);
	box-shadow: 0 0 10px rgba(255, 90, 0, .9);
	opacity: 0;
	animation: giftQrScanLine 2.2s ease-in-out infinite;
}

.gift-qr-scanner-modal.is-camera-ready .gift-qr-scanner__frame span {
	opacity: 1;
}

.gift-qr-scanner-modal.is-success .gift-qr-scanner__frame {
	border-color: var(--orange);
}

.gift-qr-scanner__retry {
	margin-top: 14px;
}

.gift-qr-scanner__retry[hidden] {
	display: none;
}

@keyframes giftQrScanLine {
	0%, 100% { top: 10%; }
	50% { top: 90%; }
}

.crop-editor {
	display: grid;
	gap: 14px;
}

.crop-canvas-wrap {
	width: min(100%, 350px);
	margin: 0 auto;
	border: 1px solid var(--orange);
	background: #000;
}

.crop-canvas-wrap canvas {
	width: 100%;
	aspect-ratio: 3.5 / 4.5;
	display: block;
}

.crop-controls label {
	display: grid;
	grid-template-columns: 58px 1fr;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	font-size: 13px;
}

.crop-controls input[type="range"] {
	width: 100%;
	accent-color: var(--orange);
}

.program-menu {
	padding-top: 26px;
}

.program-menu__links {
	border-top: 1px solid #888;
}

.program-menu__links a {
	display: block;
	padding: 18px 8px;
	border-bottom: 1px solid #555;
	font-size: 12px;
}

.program-menu__links a.gmr-title {
	font-weight: 500;
	letter-spacing: .015em;
}

.program-menu__visual {
	margin-top: 24px;
}

.program-menu__visual img {
	width: 100%;
	aspect-ratio: 1.7 / 1;
	object-fit: cover;
}

.program-hero {
	margin: 0 -20px 22px;
}

.program-hero img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.program-copy h2 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 400;
}

.program-copy p {
	margin: 0 0 15px;
	color: #ccc;
}

.program-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 22px 0;
	background: #444;
	border: 1px solid #444;
}

.program-facts div {
	padding: 14px;
	background: #111;
}

.program-facts dt {
	color: #888;
	font-size: 11px;
}

.program-facts dd {
	margin: 4px 0 0;
	font-weight: 700;
	font-size:14px;
}

.reservation-complete {
	padding: 42px 20px;
	text-align: center;
	border: 1px solid #444;
	background: #0c0c0c;
}

.reservation-complete h2 {
	margin: 0 0 10px;
	font-size: 32px;
	font-weight: 400;
}

.reservation-code {
	display: inline-block;
	margin: 16px 0;
	padding: 8px 12px;
	border: 1px solid var(--orange);
	color: var(--orange);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .08em;
}

.people-options {
	display: grid;
	gap: 2px;
	margin: 16px 0 22px;
}

.people-options label {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 0 12px;
	background: #191919;
	cursor: pointer;
}

.people-options input {
	accent-color: var(--orange);
}

.reservation-list {
	display: grid;
	gap: 13px;
}

.reservation-item {
	padding: 17px;
	border: 1px solid #343434;
	background: #101010;
}

.reservation-item__head {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 10px;
}

.reservation-item h2 {
	margin: 0;
	font-size: 16px;
	line-height: 1.3;
}

.reservation-item h2.gmr-title {
    font-weight: 500;
    letter-spacing: .015em;
    font-family: var(--font-head);
}

.status-chip {
	flex: 0 0 auto;
	padding: 5px 8px;
	border: 1px solid #666;
	font-size: 11px;
}

.status-chip--called,
.status-chip--attended {
	border-color: var(--orange);
	color: var(--orange);
}

.status-chip--no_show,
.status-chip--cancelled {
	color: #888;
}

.reservation-item dl {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 6px 10px;
	margin: 16px 0;
	font-size: 13px;
}

.reservation-item dt {
	color: #888;
}

.reservation-item dd {
	margin: 0;
}

.mission-page-hero {
	margin: 0 -20px 18px;
}

.mission-page-hero img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.quiz-mission-box {
	min-width: 0;
	margin: 28px 0 0;
	padding: 0 14px 22px;
	border: 1px solid #e8e8e8;
	background: transparent;
}

.quiz-mission-box__title {
	max-width: calc(100% - 16px);
	margin: 0 auto;
	padding: 0 8px;
	color: var(--text);
	font-family: var(--font-head);
	font-size: clamp(13px, 4vw, 17px);
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: -.02em;
	text-align: center;
	white-space: nowrap;
}

.quiz-mission-box__help {
	margin: 6px 0 0;
	color: #ccc;
	font-size: 11px;
	line-height: 1.5;
	text-align: center;
}

.quiz-mission-box .quiz-grid {
	margin-top: 18px;
}

.quiz-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 22px;
}

.quiz-button {
	min-height: 100px;
	padding: 10px;
	border: 1px solid #555;
	background: #111;
	cursor: pointer;
}

.quiz-button b {
	display: block;
	margin-bottom: 7px;
	color: var(--orange);
	font-size: 13px;
}

.quiz-button.is-complete {
	border-color: var(--orange);
	color: var(--orange);
}

.quiz-options {
	display: grid;
	gap: 10px;
	margin: 18px 0 24px;
}

.quiz-options label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px;
	border: 1px solid #3f3f3f;
	background: #171717;
	cursor: pointer;
}

.quiz-options input {
	margin-top: 4px;
	accent-color: var(--orange);
}

.exhibition-toggle {
	width: 100%;
	padding: 0;
	border: 1px solid #444;
	background: #111;
	cursor: pointer;
}

.exhibition-toggle img {
	width: 100%;
	aspect-ratio: 1.42 / 1;
	object-fit: contain;
	background: #000;
}

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

.exhibition-card {
	display: block;
	border: 1px solid #333;
	background: #111;
}

.exhibition-card img {
	width: 100%;
	aspect-ratio: 1.6 / 1;
	object-fit: cover;
}

.survey-intro {
	margin-bottom: 22px;
	color: #ccc;
}

.survey-form {
	padding-bottom: 10px;
}

.survey-question {
	min-inline-size: 0;
	margin: 0 0 22px;
	padding: 17px;
	border: 1px solid #333;
	background: #101010;
}

.survey-question[hidden] {
	display: none !important;
}

.survey-question legend {
	width: 100%;
	padding: 0;
	font-weight: 600;
	line-height: 1.55;
}

.survey-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;
}

.survey-question__title {
	margin: 0;
	font-weight: 600;
	line-height: 1.55;
}

.survey-question__number {
	color: var(--orange);
}

.survey-condition-note {
	margin: 8px 0 0;
	color: #a9a9a9;
	font-size: 12px;
	line-height: 1.45;
}

.survey-question__help {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 9px 0 0;
	color: #999;
	font-size: 12px;
}

.survey-selection-count {
	color: var(--orange);
	font-variant-numeric: tabular-nums;
}

.survey-choice-grid {
	display: grid;
	gap: 8px;
	margin-top: 14px;
}

.survey-choice-grid--two,
.survey-choice-grid--scale {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.survey-choice-grid--stacked {
	grid-template-columns: 1fr;
}

.survey-choice {
	position: relative;
	display: block;
	min-width: 0;
	cursor: pointer;
}

.survey-choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.survey-choice span {
	display: flex;
	align-items: center;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #444;
	background: #111;
	color: #ddd;
	font-size: 13px;
	line-height: 1.4;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.survey-choice input:checked + span {
	border-color: #aaa;
	background: #777;
	color: #fff;
}

.survey-choice input:focus-visible + span {
	outline: 2px solid var(--orange);
	outline-offset: 2px;
}

.survey-choice input:disabled + span {
	cursor: default;
}

.rating-row {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 2px;
	margin-top: 14px;
}

.rating-row label {
	position: relative;
	display: block;
	height: 44px;
	cursor: pointer;
}

.rating-row input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.rating-row label > span {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	border: 1px solid #444;
	background: #111;
}

.rating-row input:checked + span {
	border-color: #aaa;
	background: #777;
}

.rating-row input:focus-visible + span {
	outline: 2px solid var(--orange);
	outline-offset: 1px;
}

.rating-labels {
	display: flex;
	justify-content: space-between;
	margin-top: 5px;
	color: #777;
	font-size: 10px;
}

.survey-question--select .survey-question__title {
	display: block;
}

.survey-select-wrap {
	position: relative;
	margin-top: 14px;
}

.survey-select-wrap::after {
	content: '';
	position: absolute;
	right: 15px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 1px solid var(--orange);
	border-bottom: 1px solid var(--orange);
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
}

.survey-select {
	display: block;
	width: 100%;
	min-height: 46px;
	padding: 10px 44px 10px 12px;
	border: 1px solid #444;
	border-radius: 0;
	background: #111;
	color: #ddd;
	font-size: 13px;
	line-height: 1.4;
	outline: none;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.survey-select::-ms-expand {
	display: none;
}

.survey-select:required:invalid {
	color: #777;
}

.survey-select:valid {
	color: #fff;
}

.survey-select option {
	background: #111;
	color: #fff;
}

.survey-select:focus {
	border-color: var(--orange);
	box-shadow: 0 0 0 1px var(--orange);
}

.survey-question--text .form-label {
	line-height: 1.55;
}

.survey-question--text .survey-question__help {
	justify-content: flex-start;
	margin: -1px 0 9px;
}

.survey-question--text textarea.form-control {
	min-height: 130px;
}

.survey-form > .btn {
	margin-top: 4px;
}

.paddock-page {
	min-height: 100vh;
	padding: 24px 22px calc(28px + var(--safe-bottom));
	background: #050505;
}

.paddock-brand {
	margin: 28px 0 42px;
	color: var(--orange);
}

.paddock-brand img {
	width: 100px;
	height:auto;
	margin-bottom: 30px;
}

.paddock-brand h1 {
	margin: 0;
	font-family: var(--font-gmr);
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .015em;
	font-synthesis: none;
}

.paddock-brand p {
	margin: 8px 0 0;
	font-family: var(--font-gmr);
	font-size: 21px;
	font-weight: 400;
	letter-spacing: .02em;
	font-synthesis: none;
}

.qr-result-page {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: calc(100vh - 66px);
	padding: 30px 22px;
	text-align: center;
}

.qr-result-icon {
	display: grid;
	place-items: center;
	width: 70px;
	height: 70px;
	margin: 0 auto 22px;
	border: 2px solid var(--orange);
	border-radius: 50%;
	color: var(--orange);
	font-size: 32px;
}

.empty-state {
	padding: 42px 18px;
	border: 1px solid #333;
	color: #999;
	text-align: center;
}

@media (max-width: 390px) {
	.page {
		padding-left: 16px;
		padding-right: 16px;
	}
	.pass-card__content {
		padding: 17px 15px;
	}
	.pass-card__brand {
		font-size: 28px;
	}
	.pass-card__magma-logo {
		width: 102px;
	}
	.mission-grid {
		gap: 7px;
	}
	.mission-card {
		min-height: 132px;
		padding: 12px 10px;
	}
}


/* Driver pass: live preview follows the 638 × 1016 pass artwork ratio. */
.driver-pass-page {
	padding-top: 18px;
}

/* Keep the page-title-row typography exactly as before. */
.pass-card__brand {
	margin: 0;
	color: var(--orange);
	font-family: var(--font-gmr);
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .01em;
	font-synthesis: none;
}

.pass-card__brand small {
	display: block;
    margin-top: 5px;
    color: #fff;
    font-family: var(--font-head);
    font-size: 23px;
    font-weight: 200;
    line-height: 1;
    letter-spacing: -.03em;
}

.pass-scene {
	width: 80%;
	max-width: calc(100vw - 64px);
	margin: 0;
	perspective: 1400px;
}

.pass-card {
	position: relative;
	width: 100%;
	aspect-ratio: 638 / 1016;
	transform-style: preserve-3d;
	transition: transform .55s cubic-bezier(.2, .65, .2, 1);
	cursor: pointer;
}

.pass-card.is-flipped {
	transform: rotateY(180deg);
}

.pass-card__face {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border: 0;
	border-radius: 10px;
	background: #000;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.pass-card__face--front {
	background: #000 url('/images/driver_pass_front.jpg') center / 100% 100% no-repeat;
}

.pass-card__face--back {
	transform: rotateY(180deg);
}

.pass-card__face--back img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pass-card__content {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border-radius: 0;
	background: transparent;
	font-family: var(--font-gmr);
}

.pass-card__media {
	position: absolute;
	inset: 0;
	display: block;
	margin: 0;
}

.pass-photo {
	position: absolute;
	left: 12.5%;
	top: 11.81%;
	display: block;
	width: 38.87%;
	height: 31.40%;
	padding: 0;
	overflow: hidden;
	border: 0;
	background: #d2d3d5;
	color: #777;
	cursor: pointer;
}

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

.pass-photo__empty {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}

.pass-photo__empty::before {
	content: "";
	width: 15px;
	height: 11px;
	border: 1px solid #777;
	border-radius: 2px;
	background:
		radial-gradient(circle at center, transparent 0 2px, #777 2.5px 3.5px, transparent 4px);
}

.pass-photo__empty::after {
	content: "";
	position: absolute;
	top: calc(50% - 8px);
	left: calc(50% - 4px);
	width: 8px;
	height: 3px;
	border: 1px solid #777;
	border-bottom: 0;
	border-radius: 2px 2px 0 0;
}

.pass-photo.has-photo .pass-photo__empty {
	display: none;
}

.pass-qr-wrap {
	position: absolute;
	left: 58.15%;
	top: 25.89%;
	width: 28.68%;
	height: 16.93%;
}

.pass-qr {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: #000;
}

.pass-qr svg {
	display: block;
	width: min(100%);
	height: min(100%);
}

.pass-qr-zoom {
	position: absolute;
    right: -21px;
    bottom: -19px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.pass-card__info {
    position: absolute;
    left: 11.5%;
    top: 47%;
    z-index: 2;
    display: block;
    width: 73.67%;
    height: 40.36%;
    margin: 0;
    padding: 0;
    gap: 0;
    color: #fff;
    font-family: var(--font-text);
}

.pass-card__info-item {
	position: absolute;
	min-width: 0;
}

.pass-card__info-item--no {
	left: 3px;
	top: 30px;
	width: 42px;
}

.pass-card__info-item--name {
	left: 35%;
	top: 30px;
	width: 91px;
}

.pass-card__info-item--car {
	left: 3px;
    top: 80px;
    width: 100%;
}

.pass-card__info-item--access {
	left: 3px;
	top: 130px;
	width: 141px;
}

.pass-card__info dt {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    font-family: var(--font-text);
    letter-spacing: .01em;
}

.pass-card__info dd {
	margin: 4px 0 0;
    max-width: 100%;
    color: #fff;
    font-family: var(--font-text);
    font-size: 18px;
    font-weight: 100;
    line-height: 1;
    letter-spacing: -.04em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pass-card__info-item--car dd {
		font-size: 19px;
    font-weight: 200;
    letter-spacing: -.025em;
}

.pass-card__info-item--access dd {
	font-size: 18px;
	letter-spacing: -.045em;
}

/* The orange logo is already part of the approved front artwork. */
.pass-card__magma-logo {
	display: none;
}

.pass-card__flip {
	position: absolute;
    top: 27.5%;
    right: 25px;
    bottom: auto;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: var(--font-head);
    font-size: 9px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.03em;
    text-align: center;
    pointer-events: none;
}

.pass-card__flip b {
	font: inherit;
	font-weight: 400;
}

.pass-card__flip i {
	display: block;
	margin-top: 2px;
	font-family: Arial, sans-serif;
	font-size: 19px;
	font-style: normal;
	font-weight: 400;
	line-height: .75;
}

.pass-card__face--back .pass-card__flip {
	top: 35.5%;
	right: 5px;
	bottom: auto;
	padding: 3px 2px;
	background: rgba(0, 0, 0, .5);
}

@media (max-width: 390px) {
	.page {
		padding-left: 16px;
		padding-right: 16px;
	}

	.pass-scene {
		width: 80%;
		max-width: calc(100vw - 56px);
	}

	.mission-grid {
		gap: 7px;
	}

	.mission-card {
		min-height: 100px;
		padding: 12px 10px;
	}
}

/* 2026-06-22 DRIVER PASS final adjustments */
.pass-scene {
	position: relative;
	width: min(70%, 430px);
	max-width: none;
	margin: 8px auto 0;
	-webkit-perspective: 1400px;
	perspective: 1400px;
	isolation: isolate;
	left:-15%;
}

.pass-card {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	will-change: transform;
	-webkit-tap-highlight-color: transparent;
}

.pass-card__face {
	border: 0;
	background-color: transparent;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-mask-image: -webkit-radial-gradient(white, black);
	will-change: transform, opacity;
}

.pass-card__face--front {
	z-index: 2;
	background: transparent url('/images/driver_pass_front.png') center / 100% 100% no-repeat;
	-webkit-transform: rotateY(0.01deg) translateZ(1px);
	transform: rotateY(0.01deg) translateZ(1px);
}

.pass-card__face--back {
	z-index: 1;
	background: transparent;
	-webkit-transform: rotateY(180deg) translateZ(1px);
	transform: rotateY(180deg) translateZ(1px);
}

.pass-card.is-flipped .pass-card__face--front {
	z-index: 1;
	pointer-events: none;
}

.pass-card.is-flipped .pass-card__face--back {
	z-index: 2;
	pointer-events: auto;
}

.pass-card__face--back img {
	object-fit: contain;
	background: transparent;
}

.pass-card__content,
.pass-card__media,
.pass-card__info {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.pass-card__flip {
	top: 65%;
	right: -35%;
	bottom: auto;
	z-index: 12;
	width: 58px;
	height: 58px;
	padding: 7px;
	border: 1px solid rgba(255, 255, 255, .72);
	border-radius: 50%;
	background: rgba(0, 0, 0, .78);
	box-shadow: 0 5px 18px rgba(0, 0, 0, .5);
	font-size: 12px;
	pointer-events: auto;
	cursor: pointer;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	touch-action: manipulation;
}

.pass-card__flip i {
	margin-top: 3px;
	font-size: 25px;
}

.pass-card__flip:active {
	transform: translateY(-50%) scale(.94);
	-webkit-transform: translateY(-50%) scale(.94);
}

.pass-qr-wrap {
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

.pass-qr-wrap:focus-visible {
	outline: 2px solid var(--orange);
	outline-offset: 4px;
}

.pass-qr-zoom {
    right: -13px;
    bottom: -14px;
    width: 30px;
    height: 30px;
    font-size: 27px;
    line-height: 0.7;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .55);
}

.pass-photo__empty {
	background: #000 url('/images/camera.png?ver=2232') center / 35% auto no-repeat;
	border: 1px solid var(--orange);
}

.pass-photo__empty::before,
.pass-photo__empty::after {
	display: none;
}

.app-modal__dialog--wide {
	width: min(94vw, 620px);
}

.guide-image--diagram {
	border: 0;
	background: #fff;
}

.collection-discount-action {
	margin-top: 10px;
}

.collection-discount-status {
	margin: 12px 0 0;
	color: #aaa;
	font-size: 13px;
	text-align: center;
}

@supports (-webkit-touch-callout: none) {
	.pass-card__face--front {
		-webkit-transform: rotateY(0deg) translateZ(1px);
		transform: rotateY(0deg) translateZ(1px);
	}
	.pass-card__face--back {
		-webkit-transform: rotateY(180deg) translateZ(1px);
		transform: rotateY(180deg) translateZ(1px);
	}
	.pass-card.is-flipped .pass-card__face--front {
		opacity: 0;
	}
	.pass-card:not(.is-flipped) .pass-card__face--back {
		opacity: 0;
	}
}

@media (max-width: 390px) {
	.pass-scene {
		width: min(70%, 410px);
		max-width: none;
		left:-15%;
	}
	.pass-card__flip {
		right: -35%;
		width: 52px;
		height: 52px;
		font-size: 10px;
	}
	.pass-card__flip i {
		font-size: 22px;
	}
}

/* 2026-06-23 DRIVER PASS inverse QR: black background, white modules, no inner pass padding. */
.qr-code--inverse {
	background: #000;
}

.qr-code--inverse svg {
	display: block;
	max-width: none;
	-webkit-filter: invert(1);
	filter: invert(1);
	shape-rendering: crispEdges;
}

.pass-qr.qr-code--fill {
	padding: 0;
	overflow: hidden;
	background: #000;
}

.pass-qr.qr-code--fill svg {
	width: 100%;
	height: 100%;
}

.qr-large.qr-code--inverse {
	background: #000;
}

.qr-large.qr-code--inverse svg {
	width: 100%;
	height: auto;
}


@media (prefers-reduced-motion: reduce) {
	.gift-qr-scanner__frame span {
		top: 50%;
		animation: none;
	}
}
