/*_______________________________________________________________________________________________________________
 * |                                                                                                             |
 * |  ████████╗  ██████╗   ██████╗  ██╗      ███╗   ██╗ ███████╗ ███████╗ ████████╗        ███╗   ███╗ ██████╗   |
 * |  ╚══██╔══╝ ██╔═══██╗ ██╔═══██╗ ██║      ████╗  ██║ ██╔════╝ ██╔════╝ ╚══██╔══╝        ████╗ ████║ ██╔══██╗  |
 * |     ██║    ██║   ██║ ██║   ██║ ██║      ██╔██╗ ██║ █████╗   ███████╗    ██║    █████╗ ██╔████╔██║ ██████╔╝  |
 * |     ██║    ██║   ██║ ██║   ██║ ██║      ██║╚██╗██║ ██╔══╝   ╚════██║    ██║    ╚════╝ ██║╚██╔╝██║ ██╔═══╝   |
 * |     ██║    ╚██████╔╝ ╚██████╔╝ ███████╗ ██║ ╚████║ ███████╗ ███████║    ██║           ██║ ╚═╝ ██║ ██║       |
 * |     ╚═╝     ╚═════╝   ╚═════╝  ╚══════╝ ╚═╝  ╚═══╝ ╚══════╝ ╚══════╝    ╚═╝           ╚═╝     ╚═╝ ╚═╝       |
 * |                                                                                                             |
 * |    ███╗   ███╗  █████╗  ███╗   ███╗ ███████╗ ██████╗  ██╗ ███╗   ██╗      ██████╗  ██████╗  ███╗   ███╗     |
 * |    ████╗ ████║ ██╔══██╗ ████╗ ████║ ██╔════╝ ██╔══██╗ ██║ ████╗  ██║     ██╔════╝ ██╔═══██╗ ████╗ ████║     |
 * |    ██╔████╔██║ ███████║ ██╔████╔██║ █████╗   ██████╔╝ ██║ ██╔██╗ ██║     ██║      ██║   ██║ ██╔████╔██║     |
 * |    ██║╚██╔╝██║ ██╔══██║ ██║╚██╔╝██║ ██╔══╝   ██╔═══╝  ██║ ██║╚██╗██║     ██║      ██║   ██║ ██║╚██╔╝██║     |
 * |    ██║ ╚═╝ ██║ ██║  ██║ ██║ ╚═╝ ██║ ███████╗ ██║      ██║ ██║ ╚████║ ██╗ ╚██████╗ ╚██████╔╝ ██║ ╚═╝ ██║     |
 * |    ╚═╝     ╚═╝ ╚═╝  ╚═╝ ╚═╝     ╚═╝ ╚══════╝ ╚═╝      ╚═╝ ╚═╝  ╚═══╝ ╚═╝  ╚═════╝  ╚═════╝  ╚═╝     ╚═╝     |
 * |                                                                                                             |
 * |                                                                                                             |
 * |                                 (C) 2021- mamepin.com - ALL RIGHTS RESERVED                                 |
 * |                                         Unauthorized use prohibited                                         |
 * |_____________________________________________________________________________________________________________|
 */


:root {
	--tnm-qr-color-ink: #18212b;
	--tnm-qr-color-subtle: #5a6675;
	--tnm-qr-color-border: #d7dee7;
	--tnm-qr-color-surface: #ffffff;
	--tnm-qr-color-surface-alt: #edf3f8;
	--tnm-qr-color-accent: #0c7a6c;
	--tnm-qr-color-accent-strong: #095d53;
	--tnm-qr-color-warning: #9d4e00;
	--tnm-qr-color-error: #b42318;
	--tnm-qr-color-success: #0f766e;
	--tnm-qr-shadow: 0 18px 50px rgba(24, 33, 43, 0.12);
}

.tnm-qr-code-reader {
	margin: 32px auto;
	max-width: 960px;
	color: var(--tnm-qr-color-ink);
	font-family: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
	line-height: 1.7;
}

.tnm-qr-code-reader *,
.tnm-qr-code-reader *::before,
.tnm-qr-code-reader *::after {
	box-sizing: border-box;
}

.tnm-qr-code-reader__card {
	background:
		radial-gradient(circle at top right, rgba(12, 122, 108, 0.12), transparent 32%),
		linear-gradient(180deg, rgba(237, 243, 248, 0.6), rgba(255, 255, 255, 0.95));
	border: 1px solid rgba(12, 122, 108, 0.12);
	border-radius: 14px;
	box-shadow: var(--tnm-qr-shadow);
	overflow: hidden;
}

.tnm-qr-code-reader__hero {
	padding: 28px 28px 20px;
	background: linear-gradient(135deg, #163038 0%, #0c7a6c 55%, #25a28f 100%);
	color: #ffffff;
}

.tnm-qr-code-reader__eyebrow {
	margin: 0 0 10px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.78;
}

.tnm-qr-code-reader__title {
	margin: 0;
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	line-height: 1.2;
}

.tnm-qr-code-reader__subtitle {
	margin: 12px 0 0;
	max-width: 42rem;
	font-size: 1rem;
	opacity: 0.92;
}

.tnm-qr-code-reader__tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	padding: 16px 20px 0;
	background: rgba(237, 243, 248, 0.72);
}

.tnm-qr-code-reader__tab {
	border: 1px solid transparent;
	border-radius: 16px 16px 0 0;
	background: transparent;
	color: var(--tnm-qr-color-subtle);
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 14px 18px;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tnm-qr-code-reader__tab.is-active {
	background: var(--tnm-qr-color-surface);
	border-color: rgba(12, 122, 108, 0.15);
	border-bottom-color: var(--tnm-qr-color-surface);
	color: var(--tnm-qr-color-accent-strong);
}

.tnm-qr-code-reader__panels {
	padding: 0 20px 20px;
	background: rgba(237, 243, 248, 0.72);
}

.tnm-qr-code-reader__panel {
	padding: 24px;
	border-radius: 0 20px 20px 20px;
	background: var(--tnm-qr-color-surface);
	border: 1px solid rgba(12, 122, 108, 0.15);
}

.tnm-qr-code-reader__video-shell {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	aspect-ratio: 4 / 3;
	background:
		linear-gradient(145deg, rgba(12, 122, 108, 0.14), rgba(24, 33, 43, 0.88)),
		#18212b;
}

.tnm-qr-code-reader__video-shell.is-live {
	background: #000000;
}

.tnm-qr-code-reader__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tnm-qr-code-reader__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	display: grid;
	place-items: center;
	background: linear-gradient(180deg, rgba(24, 33, 43, 0.05), rgba(24, 33, 43, 0.28));
}

.tnm-qr-code-reader__finder {
	width: min(62%, 290px);
	aspect-ratio: 1;
	border: 2px solid rgba(255, 255, 255, 0.9);
	border-radius: 24px;
	box-shadow: 0 0 0 999px rgba(24, 33, 43, 0.38);
}

.tnm-qr-code-reader__scan-line {
	position: absolute;
	width: min(58%, 268px);
	height: 2px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), #67f0cb, rgba(255, 255, 255, 0));
	box-shadow: 0 0 18px rgba(103, 240, 203, 0.9);
	animation: tnm-qr-code-reader-scan 2.1s linear infinite;
}

.tnm-qr-code-reader__video-placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
	text-align: center;
	color: rgba(255, 255, 255, 0.92);
}

.tnm-qr-code-reader__video-placeholder-copy {
	max-width: 22rem;
	margin: 0;
	font-size: 0.98rem;
}

.tnm-qr-code-reader__controls {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-end;
	gap: 14px;
	margin-top: 18px;
}

.tnm-qr-code-reader__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	padding: 12px 18px;
	text-decoration: none;
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
}

.tnm-qr-code-reader__button:hover {
	transform: translateY(-1px);
}

.tnm-qr-code-reader__button--primary {
	background: var(--tnm-qr-color-accent);
	color: #ffffff;
}

.tnm-qr-code-reader__button--primary:hover {
	background: var(--tnm-qr-color-accent-strong);
}

.tnm-qr-code-reader__button--ghost {
	background: transparent;
	border-color: rgba(12, 122, 108, 0.2);
	color: var(--tnm-qr-color-accent-strong);
}

.tnm-qr-code-reader__button--ghost:hover {
	background: rgba(12, 122, 108, 0.08);
}

.tnm-qr-code-reader__button.is-disabled,
.tnm-qr-code-reader__button[aria-disabled="true"],
.tnm-qr-code-reader__button:disabled {
	opacity: 0.45;
	pointer-events: none;
}

.tnm-qr-code-reader__upload {
	position: relative;
	display: grid;
	gap: 0;
	justify-items: stretch;
	padding: 42px 20px;
	border: 2px dashed rgba(12, 122, 108, 0.3);
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(12, 122, 108, 0.05), rgba(12, 122, 108, 0.01));
	cursor: pointer;
	text-align: center;
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.tnm-qr-code-reader__upload.is-dragover,
.tnm-qr-code-reader__upload:hover,
.tnm-qr-code-reader__upload:focus-visible {
	border-color: var(--tnm-qr-color-accent);
	background: linear-gradient(180deg, rgba(12, 122, 108, 0.1), rgba(12, 122, 108, 0.03));
	transform: translateY(-1px);
	outline: none;
}

.tnm-qr-code-reader__file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.tnm-qr-code-reader__upload-content {
	display: grid;
	gap: 10px;
	justify-items: center;
}

.tnm-qr-code-reader__upload-content[hidden],
.tnm-qr-code-reader__upload-preview[hidden] {
	display: none !important;
}

.tnm-qr-code-reader__upload-preview {
	position: relative;
	width: 100%;
	display: grid;
	justify-items: center;
}

.tnm-qr-code-reader__upload.has-preview {
	padding: 14px;
	background: linear-gradient(180deg, rgba(12, 122, 108, 0.08), rgba(12, 122, 108, 0.02));
}

.tnm-qr-code-reader__upload.has-preview .tnm-qr-code-reader__upload-content {
	display: none;
}

.tnm-qr-code-reader__upload.has-preview:hover,
.tnm-qr-code-reader__upload.has-preview:focus-visible {
	transform: none;
}

.tnm-qr-code-reader__preview-canvas {
	display: block;
	width: min(100%, clamp(320px, 46vw, 520px));
	aspect-ratio: 1;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: inset 0 0 0 1px rgba(12, 122, 108, 0.12);
}

.tnm-qr-code-reader__reselect-button {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 1;
	padding: 10px 14px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(6px);
}

.tnm-qr-code-reader__upload-badge {
	display: inline-grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 20px;
	background: #163038;
	color: #ffffff;
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.tnm-qr-code-reader__upload-title {
	font-size: 1.15rem;
}

.tnm-qr-code-reader__upload-text,
.tnm-qr-code-reader__upload-note {
	color: var(--tnm-qr-color-subtle);
}

.tnm-qr-code-reader__upload-note {
	font-size: 0.92rem;
}

.tnm-qr-code-reader__result-area {
	padding: 16px 24px 28px;
	background: var(--tnm-qr-color-surface);
}

.tnm-qr-code-reader__result-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 10px;
}

.tnm-qr-code-reader__result-label {
	font-weight: 700;
	color: var(--tnm-qr-color-subtle);
	padding-top: 10px;
}

.tnm-qr-code-reader__result-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.tnm-qr-code-reader__result-actions .tnm-qr-code-reader__button {
	margin: 0;
}

.tnm-qr-code-reader__result-summary {
	margin: 0;
	padding: 18px 20px;
	border: 1px solid var(--tnm-qr-color-border);
	border-radius: 20px;
	background: var(--tnm-qr-color-surface-alt);
	color: var(--tnm-qr-color-subtle);
	display: grid;
	gap: 10px;
}

.tnm-qr-code-reader__result-summary-main,
.tnm-qr-code-reader__result-summary-meta {
	margin: 0;
}

.tnm-qr-code-reader__result-summary-main {
	color: var(--tnm-qr-color-ink);
	font-weight: 700;
}

.tnm-qr-code-reader__result-summary-meta {
	font-size: 0.95rem;
	color: var(--tnm-qr-color-subtle);
}

.tnm-qr-code-reader__result-summary-meta[hidden] {
	display: none !important;
}

.tnm-qr-code-reader__result-summary[data-tone="success"] {
	border-color: rgba(12, 122, 108, 0.28);
	background: linear-gradient(180deg, #f9fffd 0%, #edf9f5 100%);
}

.tnm-qr-code-reader__result-summary[data-tone="success"] .tnm-qr-code-reader__result-summary-meta {
	color: var(--tnm-qr-color-success);
	font-weight: 700;
}

.tnm-qr-code-reader__result-summary[data-tone="error"] {
	border-color: rgba(180, 35, 24, 0.28);
	background: linear-gradient(180deg, #fffafa 0%, #fff3f2 100%);
}

.tnm-qr-code-reader__result-summary[data-tone="error"] .tnm-qr-code-reader__result-summary-meta {
	color: var(--tnm-qr-color-error);
	font-weight: 700;
}

.tnm-qr-code-reader__result-display {
	margin-top: 2px;
}

.tnm-qr-code-reader__result-display[hidden] {
	display: none !important;
}

.tnm-qr-code-reader__result-list {
	display: grid;
	gap: 12px;
}

.tnm-qr-code-reader__result-item {
	padding: 14px 16px;
	border: 1px solid rgba(12, 122, 108, 0.12);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.88);
}

.tnm-qr-code-reader__result-item-title {
	margin: 0 0 8px;
	font-size: 0.96rem;
	color: var(--tnm-qr-color-accent-strong);
}

.tnm-qr-code-reader__result-item-text {
	white-space: pre-wrap;
	word-break: break-word;
	color: var(--tnm-qr-color-ink);
}

.tnm-qr-code-reader__result {
	width: 100%;
	min-height: 120px;
	padding: 16px;
	border: 1px solid var(--tnm-qr-color-border);
	border-radius: 18px;
	background: var(--tnm-qr-color-surface-alt);
	color: var(--tnm-qr-color-ink);
	font: inherit;
	resize: vertical;
}

.tnm-qr-code-reader__camera-select {
	display: grid;
	gap: 8px;
	min-width: min(100%, 280px);
	text-align: left;
}

.tnm-qr-code-reader__camera-select-label {
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--tnm-qr-color-subtle);
}

.tnm-qr-code-reader__camera-select-input {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--tnm-qr-color-border);
	border-radius: 14px;
	background: var(--tnm-qr-color-surface);
	color: var(--tnm-qr-color-ink);
	font: inherit;
}

.tnm-qr-code-reader__camera-select-input[data-state="error"] {
	border-color: rgba(180, 35, 24, 0.3);
	background: #fff5f4;
	color: var(--tnm-qr-color-error);
	font-weight: 700;
}

.tnm-qr-code-reader__camera-select-input:disabled[data-state="error"] {
	opacity: 1;
	cursor: not-allowed;
}

.tnm-qr-code-reader__modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 24px;
}

.tnm-qr-code-reader__modal[hidden] {
	display: none;
}

.tnm-qr-code-reader__modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(24, 33, 43, 0.58);
}

.tnm-qr-code-reader__modal-dialog {
	position: relative;
	width: min(560px, 100%);
	max-height: min(80vh, 720px);
	overflow: auto;
	padding: 22px;
	border-radius: 20px;
	background: var(--tnm-qr-color-surface);
	box-shadow: 0 24px 60px rgba(24, 33, 43, 0.24);
	border: 1px solid rgba(24, 33, 43, 0.08);
}

.tnm-qr-code-reader__modal-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 18px;
}

.tnm-qr-code-reader__modal-title {
	margin: 0;
	font-size: 1.1rem;
	padding-bottom: 10px;
	border-bottom: 3px solid rgba(12, 122, 108, 0.72);
}

.tnm-qr-code-reader__modal[data-tone="success"] .tnm-qr-code-reader__modal-title {
	border-bottom-color: rgba(12, 122, 108, 0.82);
}

.tnm-qr-code-reader__modal[data-tone="error"] .tnm-qr-code-reader__modal-title {
	border-bottom-color: rgba(180, 35, 24, 0.82);
}

.tnm-qr-code-reader__modal[data-busy="true"] .tnm-qr-code-reader__modal-backdrop,
.tnm-qr-code-reader__modal[data-busy="true"] .tnm-qr-code-reader__modal-close {
	pointer-events: none;
}

.tnm-qr-code-reader__modal[data-busy="true"] .tnm-qr-code-reader__modal-close {
	opacity: 0.35;
}

.tnm-qr-code-reader__modal-close {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(12, 122, 108, 0.2);
	border-radius: 999px;
	background: #ffffff;
	color: var(--tnm-qr-color-ink);
	font: inherit;
	font-size: 1.3rem;
	cursor: pointer;
}

.tnm-qr-code-reader__modal-body {
	display: grid;
	gap: 14px;
}

.tnm-qr-code-reader__modal-loading {
	display: grid;
	justify-items: center;
	gap: 14px;
	padding: 20px 8px 10px;
	text-align: center;
}

.tnm-qr-code-reader__modal-spinner {
	width: 48px;
	height: 48px;
	border: 4px solid rgba(12, 122, 108, 0.16);
	border-top-color: var(--tnm-qr-color-accent);
	border-radius: 50%;
	animation: tnm-qr-code-reader-spin 0.9s linear infinite;
}

.tnm-qr-code-reader__modal-copy {
	margin: 0;
	color: var(--tnm-qr-color-subtle);
}

.tnm-qr-code-reader__modal-results,
.tnm-qr-code-reader__url-list {
	display: grid;
	gap: 12px;
}

.tnm-qr-code-reader__modal-result-item {
	padding: 16px;
	border-radius: 16px;
	background: var(--tnm-qr-color-surface-alt);
	border: 1px solid rgba(12, 122, 108, 0.08);
}

.tnm-qr-code-reader__modal-result-title {
	margin: 0 0 8px;
	font-size: 0.98rem;
	color: var(--tnm-qr-color-accent-strong);
}

.tnm-qr-code-reader__modal-result-text {
	white-space: pre-wrap;
	word-break: break-word;
	color: var(--tnm-qr-color-ink);
}

.tnm-qr-code-reader__inline-link {
	color: inherit;
	font-weight: inherit;
	text-decoration: underline;
	text-underline-offset: 0.14em;
}

.tnm-qr-code-reader__inline-link:hover {
	color: inherit;
}

.tnm-qr-code-reader__url-option {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(12, 122, 108, 0.14);
	border-radius: 16px;
	background: var(--tnm-qr-color-surface-alt);
	color: var(--tnm-qr-color-accent-strong);
	font: inherit;
	font-weight: 700;
	text-align: left;
	word-break: break-word;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.tnm-qr-code-reader__url-option:hover {
	background: rgba(12, 122, 108, 0.08);
	border-color: rgba(12, 122, 108, 0.26);
}

.tnm-qr-code-reader__content-area {
	margin-top: 24px;
	padding: 30px;
	border: 1px solid rgba(12, 122, 108, 0.12);
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff 0%, #f9fcfb 100%);
	box-shadow: 0 16px 36px rgba(24, 33, 43, 0.06);
}

.tnm-qr-code-reader__content-area h2 {
	position: relative;
	margin: 0 0 16px;
	padding: 0 0 0 14px;
	border-bottom: 1px solid rgba(12, 122, 108, 0.18);
	font-size: 1.35rem;
	line-height: 1.4;
	color: #143038;
}

.tnm-qr-code-reader__content-area h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.1em;
	width: 6px;
	height: 1.15em;
	border-radius: 3px;
	background: linear-gradient(180deg, #0c7a6c 0%, #25a28f 100%);
}

.tnm-qr-code-reader__content-area p + h2,
.tnm-qr-code-reader__content-area ul + h2,
.tnm-qr-code-reader__content-area ol + h2 {
	margin-top: 36px;
}

.tnm-qr-code-reader__content-area h3 {
	margin: 28px 0 12px;
	font-size: 1.08rem;
	color: var(--tnm-qr-color-accent-strong);
}

.tnm-qr-code-reader__content-area p,
.tnm-qr-code-reader__content-area ul,
.tnm-qr-code-reader__content-area ol {
	margin-bottom: 16px;
	color: #41505f;
}

.tnm-qr-code-reader__content-area ul,
.tnm-qr-code-reader__content-area ol {
	padding-left: 1.4em;
}

.tnm-qr-code-reader__content-area li {
	margin-bottom: 8px;
}

.tnm-qr-code-reader__content-area strong {
	color: #18212b;
}

.tnm-qr-code-reader__content-empathy-title {
	margin-top: 34px;
}

.tnm-qr-code-reader__content-area .tnm-qr-code-reader__content-empathy-lead {
	margin-bottom: 16px;
	padding: 0;
	border-radius: 0;
	background: none;
	color: #143038;
	font-size: clamp(1.05rem, 2.2vw, 1.24rem);
	font-weight: 700;
	line-height: 1.9;
}

.tnm-qr-code-reader__content-area .tnm-qr-code-reader__content-empathy-copy {
	margin-bottom: 14px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

.tnm-qr-code-reader__content-area .tnm-qr-code-reader__content-empathy-copy--accent {
	border-color: transparent;
	background: none;
}

.tnm-qr-code-reader__content-area .tnm-qr-code-reader__content-empathy-copy--accent strong {
	color: var(--tnm-qr-color-accent-strong);
}

@keyframes tnm-qr-code-reader-scan {
	0% {
		transform: translateY(-115px);
	}
	100% {
		transform: translateY(115px);
	}
}

@keyframes tnm-qr-code-reader-spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

@media (max-width: 767px) {
	.tnm-qr-code-reader {
		margin: 24px auto;
	}

	.tnm-qr-code-reader__hero,
	.tnm-qr-code-reader__panel,
	.tnm-qr-code-reader__result-area,
	.tnm-qr-code-reader__info-card {
		padding-left: 18px;
		padding-right: 18px;
	}

	.tnm-qr-code-reader__tabs,
	.tnm-qr-code-reader__panels {
		padding-left: 12px;
		padding-right: 12px;
	}

	.tnm-qr-code-reader__tab {
		padding: 12px 10px;
		font-size: 0.95rem;
	}

	.tnm-qr-code-reader__controls {
		justify-content: stretch;
	}

	.tnm-qr-code-reader__camera-select,
	.tnm-qr-code-reader__controls .tnm-qr-code-reader__button {
		width: 100%;
	}

	.tnm-qr-code-reader__result-head {
		align-items: stretch;
	}

	.tnm-qr-code-reader__result-actions {
		width: 100%;
	}

	.tnm-qr-code-reader__result-actions .tnm-qr-code-reader__button {
		flex: 1 1 auto;
	}

	.tnm-qr-code-reader__reselect-button {
		top: 10px;
		right: 10px;
		padding: 9px 12px;
	}

	.tnm-qr-code-reader__preview-canvas {
		width: 100%;
	}

	.tnm-qr-code-reader__modal {
		padding: 16px;
	}

	.tnm-qr-code-reader__modal-dialog {
		padding: 18px;
	}

	.tnm-qr-code-reader__content-area {
		padding: 24px 18px;
	}

	@keyframes tnm-qr-code-reader-scan {
		0% {
			transform: translateY(-88px);
		}
		100% {
			transform: translateY(88px);
		}
	}
}

