/* "/public/alpha/Desert-Storm-WMD-Sweeper/style.css" */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0f0d0a;
    font-family: Arial, Helvetica, sans-serif;
}

canvas {
    display: block;
    width: 100vw;
    height: 100vh;
    image-rendering: auto;
    touch-action: manipulation;
}

#gamepadCursor {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2147483647 !important;
    pointer-events: none !important;
    image-rendering: pixelated;
}

body.gamepad-input-active,
body.gamepad-input-active *,
body.custom-cursor-active,
body.custom-cursor-active * {
    cursor: none !important;
}

#hud {
    min-height: 22px;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 5;
    color: #f1dfaa;
    background: rgba(0, 0, 0, .58);
    border-bottom: 2px solid #8f7442;
    padding: 2px 6px;
    font-size: 12px;
    line-height: 1;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    gap: 8px;
    flex-wrap: wrap;
    pointer-events: none;
}

#hud b {
    color: #fff3c4;
}

#clock {
    line-height: 16px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: .06em;
}

.dsws-compact-hud {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-height: 18px;
    line-height: 18px;
    white-space: nowrap;
    color: #fff3c4;
    font-weight: bold;
}

.dsws-hud-area,
.dsws-hud-grade {
    display: inline-block;
    min-width: 2ch;
    text-align: center;
    color: #ffffff;
}

.dsws-hud-area {
    min-width: 0;
    text-align: left;
}

.dsws-hud-grade {
    min-width: 3ch;
}

.dsws-hud-separator {
    margin: 0 2px;
    color: #d8c38c;
}

.dsws-hud-counter {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-width: 3.5ch;
}

.dsws-hud-slash {
    color: #d8c38c;
}

#hud canvas.dsws-hud-icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    image-rendering: pixelated;
    touch-action: none;
}

#hud canvas.dsws-hud-difficulty-icon {
    width: 18px;
    height: 18px;
}

#status {
    display: inline-block;
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 16px;
    vertical-align: middle;
}

#hud select,
#hud input,
#hud button {
    height: 16px;
    min-height: 16px;
    font: inherit;
    margin-top: 0;
    pointer-events: auto;
    background: #67522d;
    color: #fff3c4;
    border: 1px solid #bca36d;
    padding: 1px 6px;
    cursor: pointer;
    font-weight: bold;
}

#gamepad-config-status {
    color: #ffdf8d;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#gamepad-config-status.config-error {
    color: #ff9d8d;
}

#dsw-gamepad-config-notice {
    position: fixed;
    left: 50%;
    top: 34px;
    transform: translateX(-50%);
    z-index: 40;
    max-width: min(96vw, 1180px);
    padding: 8px 12px;
    border: 2px solid #bca36d;
    background: rgba(29, 22, 10, .94);
    color: #fff3c4;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    white-space: pre-line;
    pointer-events: none;
    opacity: 0;
    transition: opacity .18s ease;
}

#dsw-gamepad-config-notice.active { opacity: 1; }
#dsw-gamepad-config-notice.error { border-color: #ff9d8d; color: #ffd0c7; }


#dsw-mission-banner {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale(.92);
	z-index: 32;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: min(86vw, 860px);
	padding: 14px 26px;
	border: 3px solid #fff3c4;
	border-radius: 10px;
	background: rgba(38, 28, 10, .88);
	color: #ffffff;
	text-align: center;
	text-shadow: 0 3px 0 #6f5729, 0 0 14px rgba(255, 243, 196, .82);
	box-shadow: 0 0 0 4px rgba(0, 0, 0, .34), 0 0 26px rgba(255, 243, 196, .35);
	opacity: 0;
	pointer-events: none;
	user-select: none;
	transition: opacity var(--dsw-mission-banner-fade-out-ms, .75s) ease, transform .16s ease;
}

#dsw-mission-banner .dsw-mission-banner-image {
	display: block;
	max-width: min(70vw, 420px);
	max-height: min(32vh, 240px);
	margin: 0 auto 12px;
	width: auto;
	height: auto;
	object-fit: contain;
}

#dsw-mission-banner .dsw-mission-banner-image[hidden] {
	display: none;
}

#dsw-mission-banner .dsw-mission-banner-title {
	font-size: clamp(30px, 7vw, 72px);
	font-weight: 900;
	letter-spacing: .08em;
	line-height: .95;
	text-transform: uppercase;
}

#dsw-mission-banner .dsw-mission-banner-title[hidden] {
	display: none;
}

#dsw-mission-banner .dsw-mission-banner-sub {
	margin-top: 8px;
	font-size: clamp(13px, 2.35vw, 22px);
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.16;
	text-transform: none;
}

#dsw-mission-banner .dsw-mission-banner-sub:empty,
#dsw-mission-banner .dsw-mission-banner-sub[hidden] {
	display: none;
}

#dsw-mission-banner.complete {
    border-color: #dfffcf;
    background: rgba(20, 46, 16, .88);
    text-shadow: 0 3px 0 #315b25, 0 0 14px rgba(223, 255, 207, .82);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, .34), 0 0 26px rgba(223, 255, 207, .35);
}

#dsw-mission-banner.failure {
    border-color: #ffd0c7;
    background: rgba(56, 16, 10, .9);
    text-shadow: 0 3px 0 #6d1f17, 0 0 14px rgba(255, 208, 199, .84);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, .34), 0 0 26px rgba(255, 208, 199, .35);
}

#dsw-mission-banner.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity var(--dsw-mission-banner-fade-in-ms, .16s) ease, transform .16s ease;
}

#gamepadOverlay {
    position: fixed;
    right: 8px;
    bottom: 8px;
    z-index: 17;
    min-width: 220px;
    max-width: min(360px, 92vw);
    box-sizing: border-box;
    display: none;
    padding: 8px;
    border: 2px solid #bca36d;
    background: rgba(0, 0, 0, .68);
    color: #fff3c4;
    font-size: 12px;
    line-height: 1.25;
    pointer-events: none;
}

#gamepadOverlay.open { display: block; }
#gamepadOverlay b { color: #ffffff; }
#gamepadOverlay .active { color: #ffffff; text-shadow: 0 0 6px #fff3c4; }

#rankingsOverlay {
    position: fixed;
    inset: 0;
    z-index: 18;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, .56);
    color: #fff3c4;
    pointer-events: auto;
}

#rankingsOverlay.open {
    display: flex;
}

#rankingsPanel {
    width: min(96vw, 1180px);
    max-height: min(88vh, 760px);
    overflow: auto;
    box-sizing: border-box;
    border: 2px solid #bca36d;
    background: rgba(40, 30, 12, .95);
    box-shadow: 0 0 24px rgba(0, 0, 0, .75);
    padding: 12px;
    font-size: 14px;
    line-height: 1.35;
}

#rankingsPanel h2 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #ffffff;
}

#rankingsPanel table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    table-layout: fixed;
}

#rankingsPanel th,
#rankingsPanel td {
    border-bottom: 1px solid rgba(188, 163, 109, .45);
    padding: 4px 6px;
    text-align: left;
    white-space: nowrap;
}

#rankingsPanel th:nth-child(1),
#rankingsPanel td:nth-child(1) {
    width: 44px;
}

#rankingsPanel th:nth-child(2),
#rankingsPanel td:nth-child(2) {
    width: 72px;
}

#rankingsPanel th:nth-child(3),
#rankingsPanel td:nth-child(3) {
    width: 84px;
}

#rankingsPanel th:nth-child(4),
#rankingsPanel td:nth-child(4) {
    width: 136px;
}

#rankingsPanel th:nth-child(6),
#rankingsPanel td:nth-child(6) {
    width: 78px;
}

#rankingsPanel .rankings-specs {
    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: anywhere;
}

#rankingsPanel th {
    color: #ffffff;
}

#rankingsPanel .rankings-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

#rankingsPanel button {
    min-height: 24px;
    padding: 2px 10px;
    border: 1px solid #bca36d;
    background: #67522d;
    color: #fff3c4;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}


#osk {
    position: fixed;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    z-index: 20;
    max-width: min(96vw, 720px);
    box-sizing: border-box;
    padding: 6px;
    border: 2px solid #bca36d;
    background: rgba(0, 0, 0, .78);
    color: #fff3c4;
    font-size: 12px;
    font-weight: bold;
    display: none;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

#osk.open {
    display: flex;
}

#osk .osk-title {
    flex: 1 0 100%;
    text-align: center;
    color: #ffffff;
    margin-bottom: 2px;
}

#osk button {
    min-width: 30px;
    min-height: 24px;
    padding: 2px 6px;
    border: 1px solid #bca36d;
    background: #67522d;
    color: #fff3c4;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}

#osk button.osk-wide {
    min-width: 64px;
}

#osk button.osk-key-pressed {
    background: #fff3c4;
    color: #2d210f;
    border-color: #ffffff;
    transform: translateY(1px);
}

/* Universal GE Rankings panel override. */
#rankingsPanel {
	position: relative;
}
#rankingsClose.ge-rankings-close-x {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	min-width: 28px;
	min-height: 28px;
	padding: 2px 8px;
	border: 1px solid #bca36d;
	background: #67522d;
	color: #fff3c4;
	font: 700 14px/1 system-ui, sans-serif;
	cursor: pointer;
}
#rankingsPanel .ge-rankings-heading {
	margin: 0 36px 12px 0;
	font-size: 18px;
	color: #ffffff;
}
#rankingsPanel .ge-rankings-controls {
	margin: 0 0 12px;
}
#rankingsPanel .ge-rankings-table th:nth-child(1),
#rankingsPanel .ge-rankings-table td:nth-child(1) {
	width: 70px;
}
#rankingsPanel .ge-rankings-table th:nth-child(2),
#rankingsPanel .ge-rankings-table td:nth-child(2) {
	width: 110px;
}
#rankingsPanel .ge-rankings-table th:nth-child(3),
#rankingsPanel .ge-rankings-table td:nth-child(3) {
	width: 180px;
}
#rankingsPanel .ge-rankings-table th:nth-child(4),
#rankingsPanel .ge-rankings-table td:nth-child(4) {
	width: auto;
	white-space: normal;
	overflow-wrap: anywhere;
}


/* C2-93C: atlas-backed startup difficulty selector. */
body.difficulty-select-active #hud {
	z-index: 2147483620 !important;
	opacity: 1;
	filter: none;
	pointer-events: auto;
}

body.difficulty-select-active #hud .ge-hud-independent-layer,
body.difficulty-select-active #hud .ge-hud-base {
	z-index: 2147483620 !important;
}

#difficultyScreen {
	position: fixed;
	inset: 0;
	z-index: 2147483600;
	display: none;
	align-items: flex-start;
	justify-content: center;
	overflow-y: auto;
	box-sizing: border-box;
	padding: calc(var(--dsws-hud-bottom, 0px) + 12px) 24px 24px;
	background: radial-gradient(circle at center, rgba(93, 75, 34, .36), rgba(7, 7, 5, .96) 68%);
	color: #fff3c4;
	pointer-events: auto;
}

#difficultyScreen.open {
	display: flex;
}

.difficulty-screen-panel {
	width: min(900px, 96vw);
	max-height: none;
	overflow: visible;
	box-sizing: border-box;
	padding: 24px;
	border: 3px solid #bca36d;
	border-radius: 12px;
	background: rgba(31, 27, 17, .96);
	box-shadow: 0 0 0 4px rgba(0, 0, 0, .52), 0 18px 70px rgba(0, 0, 0, .72);
	text-align: center;
}

.difficulty-screen-panel h1 {
	margin: 0 0 8px;
	font-size: clamp(28px, 5vw, 48px);
	letter-spacing: .08em;
	text-transform: uppercase;
}

.difficulty-screen-panel > p,
#difficultyBriefingView > p {
	margin: 0 0 22px;
	color: #d8c99f;
	font-weight: 700;
}

.difficulty-tiles {
	display: grid;
	grid-template-columns: repeat(5, minmax(112px, 1fr));
	gap: 12px;
	align-items: stretch;
}

.difficulty-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	min-width: 0;
	padding: 12px 8px 10px;
	border: 2px solid #6f613d;
	border-radius: 9px;
	background: linear-gradient(180deg, rgba(83, 75, 48, .82), rgba(37, 34, 23, .94));
	color: #e6d8ad;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.difficulty-tile:hover,
.difficulty-tile:focus-visible {
	border-color: #ffe39a;
	outline: none;
	box-shadow: 0 0 18px rgba(255, 227, 154, .28);
}

.difficulty-tile.selected {
	border-color: #fff3c4;
	background: linear-gradient(180deg, rgba(126, 100, 48, .98), rgba(58, 45, 24, .98));
	color: #ffffff;
	box-shadow: 0 0 0 2px rgba(255, 243, 196, .18), 0 0 24px rgba(255, 213, 105, .32);
}

.difficulty-tile canvas {
	display: block;
	width: 64px;
	height: 64px;
	image-rendering: pixelated;
}

.difficulty-tile-number {
	position: absolute;
	top: 6px;
	left: 7px;
	font-size: 11px;
	color: #fff3c4;
}

.difficulty-tile-name {
	min-height: 2.3em;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	line-height: 1.15;
}

.difficulty-area-size {
	display: grid;
	grid-template-columns: auto minmax(180px, 1fr) var(--dsws-phase-line-width, 17ch);
	align-items: center;
	gap: 12px;
	margin-top: 18px;
	padding: 10px 12px;
	border: 1px solid #6f613d;
	border-radius: 7px;
	background: rgba(13, 12, 8, .58);
	color: #fff3c4;
	font-weight: 900;
	text-align: left;
}

.difficulty-area-size-slider-shell {
	position: relative;
	display: block;
	width: 100%;
	min-width: 180px;
	height: 32px;
}

.difficulty-area-size-slider-rail {
	position: absolute;
	top: 50%;
	left: 11px;
	right: 11px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 6px;
	transform: translateY(-50%);
	border: 1px solid #2c2515;
	border-radius: 999px;
	background: #8f7741;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7);
	pointer-events: none;
}

.difficulty-area-size-bulb {
	position: relative;
	z-index: 1;
	display: block;
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	box-sizing: border-box;
	border: 2px solid #302814;
	border-radius: 50%;
	background: #e2c875;
	box-shadow: 0 0 0 1px rgba(255, 243, 196, .28);
}

.difficulty-area-size-bulb.is-selected {
	background: #ffffff;
	box-shadow: 0 0 0 2px rgba(255, 227, 154, .48), 0 0 8px rgba(255, 227, 154, .85);
}

.difficulty-area-size-slider {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 32px;
	margin: 0;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	cursor: pointer;
}

.difficulty-area-size-slider::-webkit-slider-runnable-track {
	height: 6px;
	border: 0;
	background: transparent;
}

.difficulty-area-size-slider::-webkit-slider-thumb {
	width: 22px;
	height: 22px;
	box-sizing: border-box;
	margin-top: -8px;
	-webkit-appearance: none;
	appearance: none;
	border: 3px solid #fff3c4;
	border-radius: 50%;
	background: #b8943e;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .85);
}

.difficulty-area-size-slider::-moz-range-track {
	height: 6px;
	border: 0;
	background: transparent;
}

.difficulty-area-size-slider::-moz-range-thumb {
	width: 22px;
	height: 22px;
	box-sizing: border-box;
	border: 3px solid #fff3c4;
	border-radius: 50%;
	background: #b8943e;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .85);
}

.difficulty-area-size-slider:focus-visible {
	outline: 2px solid #ffe39a;
	outline-offset: 3px;
}

.difficulty-area-size output {
	display: block;
	width: var(--dsws-phase-line-width, 17ch);
	min-width: var(--dsws-phase-line-width, 17ch);
	max-width: var(--dsws-phase-line-width, 17ch);
	box-sizing: border-box;
	overflow: hidden;
	color: #ffffff;
	font-variant-numeric: tabular-nums;
	text-align: right;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.difficulty-audio-controls {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 18px;
}

.difficulty-audio-control {
	display: grid;
	grid-template-columns: auto minmax(100px, 1fr) 48px;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid #6f613d;
	border-radius: 7px;
	background: rgba(13, 12, 8, .58);
	color: #fff3c4;
	font-size: 13px;
	font-weight: 800;
	text-align: left;
}

.difficulty-audio-control input[type="range"] {
	width: 100%;
	margin: 0;
	accent-color: #d7bd76;
	cursor: pointer;
}

.difficulty-audio-control input[type="range"]:focus-visible {
	outline: 2px solid #ffe39a;
	outline-offset: 3px;
}

.difficulty-audio-control output {
	color: #ffffff;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.difficulty-audio-sample-note {
	grid-column: 1 / -1;
	color: #d9cfae;
	font-size: 11px;
	line-height: 1.25;
	text-align: center;
}

.difficulty-deploy {
	min-width: min(360px, 90%);
	margin-top: 18px;
	padding: 10px 18px;
	border: 2px solid #d7bd76;
	border-radius: 6px;
	background: #67522d;
	color: #fff3c4;
	font: inherit;
	font-size: 17px;
	font-weight: 900;
	cursor: pointer;
}

.difficulty-deploy:disabled {
	opacity: .45;
	cursor: progress;
}

.difficulty-deploy:not(:disabled):hover,
.difficulty-deploy:not(:disabled):focus-visible {
	background: #81683a;
	outline: none;
	box-shadow: 0 0 18px rgba(255, 227, 154, .30);
}

.difficulty-screen-status {
	display: block;
	min-height: 1.2em;
	margin-top: 10px;
	color: #cbbd95;
	font-size: 12px;
}

.difficulty-screen-view[hidden] {
	display: none !important;
}

.instructions-carousel {
	margin-top: 30px;
	padding-top: 24px;
	border-top: 2px solid #6f613d;
}

.instructions-carousel h2 {
	margin: 0 0 8px;
	color: #fff3c4;
	font-size: 22px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.instructions-action-copy {
	margin: 0 0 16px;
	color: #ffe39a;
	font-size: 16px;
	font-weight: 900;
}

.instructions-carousel-example {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.instructions-honeycomb {
	display: block;
	width: min(220px, 100%);
	height: auto;
	image-rendering: auto;
}

.instructions-example-name {
	display: block;
	min-height: 1.3em;
	color: #ffffff;
	font-size: 18px;
	font-weight: 900;
	line-height: 1.2;
}

.instructions-example-slider-shell {
	position: relative;
	width: min(560px, 100%);
	height: 32px;
}

.instructions-example-slider-rail {
	position: absolute;
	top: 50%;
	left: 6px;
	right: 6px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 6px;
	transform: translateY(-50%);
	border: 1px solid #2c2515;
	border-radius: 999px;
	background: #8f7741;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7);
	pointer-events: none;
}

.instructions-example-slider-bulb {
	position: relative;
	z-index: 1;
	display: block;
	width: 10px;
	height: 10px;
	box-sizing: border-box;
	border: 2px solid #302814;
	border-radius: 50%;
	background: #e2c875;
	box-shadow: 0 0 0 1px rgba(255, 243, 196, .28);
}

.instructions-example-slider {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 32px;
	margin: 0;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	cursor: pointer;
}

.instructions-example-slider::-webkit-slider-runnable-track {
	height: 6px;
	border: 0;
	background: transparent;
}

.instructions-example-slider::-webkit-slider-thumb {
	width: 22px;
	height: 22px;
	box-sizing: border-box;
	margin-top: -8px;
	-webkit-appearance: none;
	appearance: none;
	border: 3px solid #fff3c4;
	border-radius: 50%;
	background: #b8943e;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .85);
}

.instructions-example-slider::-moz-range-track {
	height: 6px;
	border: 0;
	background: transparent;
}

.instructions-example-slider::-moz-range-thumb {
	width: 22px;
	height: 22px;
	box-sizing: border-box;
	border: 3px solid #fff3c4;
	border-radius: 50%;
	background: #b8943e;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .85);
}

.instructions-example-slider:focus-visible {
	outline: 2px solid #ffe39a;
	outline-offset: 3px;
}

@media (max-width: 760px) {
	.difficulty-tiles {
		grid-template-columns: repeat(3, minmax(96px, 1fr));
	}
}

@media (max-width: 470px) {
	#difficultyScreen {
		padding: calc(var(--dsws-hud-bottom, 0px) + 8px) 10px 10px;
	}
	.difficulty-screen-panel {
		padding: 16px 10px;
	}
	.difficulty-audio-controls {
		grid-template-columns: 1fr;
	}
	.difficulty-area-size {
		grid-template-columns: 1fr;
		gap: 7px;
	}
	.difficulty-area-size output {
		text-align: left;
	}
	.difficulty-tiles {
		grid-template-columns: repeat(2, minmax(96px, 1fr));
	}
}


/* C2-103G: GE-orchestrated project audio controls. */
.dsws-audio-controls {
	box-sizing: border-box;
}

.dsws-audio-controls-hud {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.dsws-audio-controls-hud .dsws-volume-control {
	display: grid;
	grid-template-columns: auto 72px 42px;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	white-space: nowrap;
}

.dsws-audio-controls-loading {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 18px;
	padding: 10px 12px 12px;
	border: 1px solid #6f613d;
	border-radius: 7px;
	background: rgba(13, 12, 8, .58);
}

.dsws-audio-controls-loading legend {
	padding: 0 6px;
	color: #fff3c4;
	font-weight: 900;
}

.dsws-volume-control {
	min-width: 0;
	color: #fff3c4;
	font-weight: 800;
}

.dsws-audio-controls-loading .dsws-volume-control {
	display: grid;
	grid-template-columns: auto minmax(72px, 1fr) 44px auto;
	align-items: center;
	gap: 7px;
	font-size: 12px;
}

.dsws-volume-control input[type="range"] {
	width: 100%;
	min-width: 48px;
	margin: 0;
	accent-color: #d7bd76;
	cursor: pointer;
}

.dsws-volume-control output {
	color: #ffffff;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.dsws-volume-control button {
	padding: 3px 7px;
	border: 1px solid #d7bd76;
	border-radius: 4px;
	background: #4f4228;
	color: #fff3c4;
	font: inherit;
	font-size: 11px;
	font-weight: 800;
	cursor: pointer;
}

.dsws-volume-control button:hover,
.dsws-volume-control button:focus-visible {
	background: #6d5933;
	outline: none;
}

.dsws-audio-controls-loading .difficulty-audio-sample-note {
	grid-column: 1 / -1;
}

@media (max-width: 900px) {
	.dsws-audio-controls-loading {
		grid-template-columns: 1fr;
	}
}
