.clicky-core-app-shell,
.clicky-core-app-shell .wp-site-blocks {
	background: #020b0e;
}

.clicky-core-campaign-clock {
	align-items: center;
	background: rgba(2, 11, 14, 0.94);
	border: 1px solid #cda766;
	border-radius: 3px;
	box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.38);
	color: #fff2d0;
	display: grid;
	font-family: Georgia, "Times New Roman", serif;
	gap: 0.05rem 0.55rem;
	grid-template-columns: auto auto;
	left: 50%;
	min-width: 8.8rem;
	padding: 0.35rem 0.55rem;
	pointer-events: auto;
	position: fixed;
	top: 0.55rem;
	transform: translateX(-50%);
	transition: background-color 0.8s ease, border-color 0.8s ease, box-shadow 0.8s ease, color 0.8s ease;
	z-index: 2000000;
}

.clicky-core-campaign-clock-drag {
	align-items: center;
	background: #174f57 !important;
	border: 1px solid #cda766 !important;
	border-radius: 50% !important;
	color: #fff2d0 !important;
	cursor: grab;
	display: flex;
	font: 700 0.72rem/1 Arial, sans-serif !important;
	height: 1.35rem;
	justify-content: center;
	left: -0.65rem;
	padding: 0 !important;
	position: absolute;
	top: -0.55rem;
	touch-action: none;
	width: 1.35rem;
	z-index: 2;
}

.clicky-core-campaign-clock-drag:hover,
.clicky-core-campaign-clock-drag:focus-visible {
	background: #0b343a !important;
	border-color: #f0cc86 !important;
	outline: 2px solid rgba(240, 204, 134, 0.35);
	outline-offset: 2px;
}

.clicky-core-campaign-clock.is-dragging,
.clicky-core-campaign-clock.is-dragging .clicky-core-campaign-clock-drag {
	cursor: grabbing;
	transition: none;
	user-select: none;
}

.clicky-core-campaign-clock.is-daytime {
	background: rgba(255, 239, 197, 0.97);
	border-color: #e0ad4f;
	box-shadow: 0 0.35rem 1.15rem rgba(207, 151, 46, 0.34), 0 0 1.4rem rgba(255, 221, 139, 0.24);
	color: #352414;
}

.clicky-core-campaign-clock.is-daytime > span {
	color: #8a5414;
}

.clicky-core-campaign-clock.is-daytime > small {
	color: #6b5637;
}

.clicky-core-campaign-clock.is-daytime.is-running > small {
	color: #236342;
}

.clicky-core-campaign-clock.is-nighttime {
	background: rgba(1, 9, 17, 0.98);
	border-color: #416979;
	box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.62), 0 0 1.15rem rgba(32, 86, 103, 0.18);
	color: #d8e9ec;
}

.clicky-core-campaign-clock.is-nighttime > span {
	color: #75a7b4;
}

.clicky-core-campaign-clock.is-nighttime > small {
	color: #78949d;
}

.clicky-core-campaign-clock > span {
	color: #cda766;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	white-space: nowrap;
	text-transform: uppercase;
}

.clicky-core-campaign-clock > strong {
	font: 700 1.05rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace;
	grid-row: 1 / span 2;
	grid-column: 2;
	letter-spacing: 0.06em;
}

.clicky-core-campaign-clock > small {
	color: #8fb4b5;
	font-size: 0.56rem;
	letter-spacing: 0.04em;
}

.clicky-core-campaign-clock.is-running > small {
	color: #7ed6a4;
}

body:not(:has(.clicky-core-player-display)) .clicky-core-campaign-clock {
	left: auto;
	right: 0.55rem;
	transform: none;
}

.clicky-core-campaign-clock:has(.clicky-core-campaign-clock-rests) {
	grid-template-columns: auto auto auto;
	min-width: 22rem;
}

.clicky-core-campaign-clock-rests {
	display: flex;
	gap: 0.3rem;
	grid-column: 3;
	grid-row: 1 / span 2;
	margin-left: 0.15rem;
	pointer-events: auto;
}

.clicky-core-campaign-clock-rests button {
	background: #174f57 !important;
	border: 1px solid #cda766 !important;
	border-radius: 3px;
	color: #fff2d0 !important;
	cursor: pointer;
	font: 700 0.62rem/1.1 Georgia, "Times New Roman", serif;
	padding: 0.35rem 0.45rem;
	white-space: nowrap;
}

.clicky-core-campaign-clock-rests button:hover,
.clicky-core-campaign-clock-rests button:focus-visible {
	background: #0b343a !important;
	border-color: #e2bd78 !important;
}

.clicky-core-campaign-clock-rests .clicky-core-campaign-clock-pause {
	align-items: center;
	background: #8d2028 !important;
	border-color: #e06a70 !important;
	display: inline-flex;
	font-family: Arial, sans-serif;
	font-size: 0.68rem;
	justify-content: center;
	min-width: 1.9rem;
	padding-inline: 0.38rem;
}

.clicky-core-campaign-clock-rests .clicky-core-campaign-clock-pause:hover,
.clicky-core-campaign-clock-rests .clicky-core-campaign-clock-pause:focus-visible {
	background: #ad2933 !important;
	border-color: #ff969b !important;
}

.clicky-core-campaign-clock-rests .clicky-core-campaign-clock-pause.is-paused {
	background: #1e6748 !important;
	border-color: #72d09d !important;
}

.clicky-core-player-display.is-break-paused .clicky-core-player-display-holding span {
	font-size: clamp(1rem, 2.3vw, 1.55rem);
	max-width: min(44rem, calc(100vw - 4rem));
}

.clicky-core-active-effects {
	background: #082328;
	border: 1px solid #527175;
	border-radius: 4px;
	color: #fff2d0;
	margin: 0.65rem 0;
	padding: 0.55rem 0.65rem;
}

.clicky-core-active-effects[hidden] {
	display: none !important;
}

.clicky-core-active-effects-heading small {
	color: #8fb4b5;
	font-size: 0.55rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.clicky-core-active-effects-heading h3 {
	font-size: 0.82rem;
	margin: 0.05rem 0 0.45rem;
}

.clicky-core-active-effects-list {
	display: grid;
	gap: 0.4rem;
	grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.clicky-core-active-effect {
	align-items: center;
	background: #041416;
	border: 1px solid #48676a;
	border-radius: 3px;
	display: grid;
	gap: 0.4rem;
	grid-template-columns: 2.2rem minmax(0, 1fr) auto auto;
	min-width: 0;
	padding: 0.35rem;
}

.clicky-core-active-effect.is-concentration {
	border-color: #d4ad62;
}

.clicky-core-active-effect-icon {
	align-items: center;
	background: radial-gradient(circle, #276b73, #061a1e);
	border: 1px solid #d4ad62;
	border-radius: 3px;
	display: flex;
	font-size: 1.2rem;
	height: 2.2rem;
	justify-content: center;
	overflow: hidden;
	width: 2.2rem;
}

.clicky-core-active-effect-icon img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-active-effect > div {
	display: grid;
	min-width: 0;
}

.clicky-core-active-effect strong {
	font-size: 0.72rem;
}

.clicky-core-active-effect small {
	color: #9db4b3;
	font-size: 0.54rem;
}

.clicky-core-active-effect time {
	color: #f5c96f;
	font: 800 0.78rem/1 monospace;
	white-space: nowrap;
}

.clicky-core-active-effect button {
	font-size: 0.58rem !important;
	padding: 0.32rem 0.45rem !important;
}

.clicky-core-active-effects.is-player-view {
	margin-inline: 0;
}

.clicky-core-active-effects.is-player-view .clicky-core-active-effect {
	grid-template-columns: 2.2rem minmax(0, 1fr) auto;
}

.clicky-core-clock-editor {
	background: #071b20;
	border: 1px solid #cda766;
	border-radius: 4px;
	box-shadow: 0 1.2rem 3.5rem rgba(0, 0, 0, 0.72);
	color: #fff2d0;
	font-family: Georgia, "Times New Roman", serif;
	max-width: min(30rem, calc(100vw - 2rem));
	padding: 0;
	width: 100%;
	z-index: 2000001;
}

.clicky-core-clock-editor::backdrop {
	background: rgba(0, 6, 8, 0.78);
}

.clicky-core-clock-editor form {
	margin: 0;
	padding: 1rem;
}

.clicky-core-clock-editor__heading,
.clicky-core-clock-editor__actions {
	align-items: center;
	display: flex;
	gap: 0.65rem;
	justify-content: space-between;
}

.clicky-core-clock-editor__heading small {
	color: #8fb4b5;
	display: block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.clicky-core-clock-editor__heading h2 {
	color: #fff2d0;
	font-size: 1.35rem;
	margin: 0.1rem 0 0;
}

.clicky-core-clock-editor button {
	background: #174f57 !important;
	border: 1px solid #cda766 !important;
	border-radius: 3px !important;
	color: #fff2d0 !important;
	cursor: pointer;
	font: 700 0.78rem/1.1 Georgia, "Times New Roman", serif;
	padding: 0.5rem 0.7rem;
}

.clicky-core-clock-editor button.is-primary {
	background: #8a5414 !important;
}

.clicky-core-clock-editor__close {
	font-size: 1.25rem !important;
	line-height: 1 !important;
	min-width: 2rem;
	padding: 0.3rem !important;
}

.clicky-core-clock-editor__fields {
	display: grid;
	gap: 0.65rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 1rem;
}

.clicky-core-clock-editor__fields label {
	color: #d7c49c;
	display: grid;
	font-size: 0.72rem;
	font-weight: 700;
	gap: 0.3rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.clicky-core-clock-editor__fields input {
	background: #020b0e !important;
	border: 1px solid #416979 !important;
	border-radius: 3px !important;
	box-sizing: border-box;
	color: #fff2d0 !important;
	font: 700 0.95rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace;
	min-height: 2.35rem;
	padding: 0.45rem 0.55rem;
	width: 100%;
}

.clicky-core-clock-editor__time {
	grid-column: 1 / -1;
}

.clicky-core-clock-editor form > p {
	color: #8fb4b5;
	font-size: 0.72rem;
	line-height: 1.4;
	margin: 0.7rem 0 1rem;
}

.clicky-core-clock-editor__actions {
	justify-content: flex-end;
}

@media (max-width: 620px) {
	.clicky-core-campaign-clock {
		left: auto;
		right: 0.45rem;
		top: 0.45rem;
		transform: none;
	}

	.clicky-core-campaign-clock:has(.clicky-core-campaign-clock-rests) {
		min-width: 0;
	}

	.clicky-core-campaign-clock-rests button {
		font-size: 0.55rem;
		padding-inline: 0.3rem;
	}
}

html:has(body.clicky-core-app-shell) {
	margin-top: 0 !important;
}

.clicky-core-app-shell #wpadminbar {
	display: none;
}

body.clicky-core-app-shell,
.clicky-core-app-shell .wp-site-blocks,
.clicky-core-app-shell main,
.clicky-core-app-shell main > .wp-block-group {
	margin: 0 !important;
	padding: 0 !important;
}

.clicky-core-app-shell .wp-block-template-part,
.clicky-core-app-shell .wp-block-post-title {
	display: none;
}

.clicky-core-app-shell .elementor-location-header,
.clicky-core-app-shell .elementor-location-footer {
	display: none !important;
}

.clicky-core-app-shell main,
.clicky-core-app-shell main > .wp-block-group,
.clicky-core-app-shell .entry-content {
	margin: 0;
	padding: 0;
}

.clicky-core-app-shell main.site-main {
	max-width: none !important;
	width: 100% !important;
}

.clicky-core-app-shell .wp-site-blocks > main {
	margin-block-start: 0;
}

.clicky-core-room-explorer button,
.clicky-core-room-explorer .clicky-core-room-navigation a,
.clicky-core-room-explorer .clicky-core-war-room-bar a,
.clicky-core-room-explorer .clicky-core-exit-route a,
.clicky-core-campaign-table button,
.clicky-core-campaign-table .clicky-core-war-room-bar a,
.clicky-core-campaign-table .clicky-core-campaign-enter {
	border-radius: 3px;
}

.clicky-core-room-section,
.clicky-core-item-assignment,
.clicky-core-campaign-panel,
.clicky-core-character-card,
.clicky-core-character-portrait,
.clicky-core-portrait-gallery,
.clicky-core-portrait-option,
.clicky-core-custom-item-form,
.clicky-core-inventory-item,
.clicky-core-companion-row {
	border-radius: 3px;
}

.clicky-core-app-shell main > .wp-block-group {
	padding-block: 0;
}

.clicky-core-app-shell .entry-content {
	min-height: 100vh;
	padding: clamp(1rem, 4vw, 3rem) !important;
	padding-block-start: 0 !important;
}

.clicky-core-room-explorer {
	--clicky-core-room-padding: 1.25rem;
	--clicky-core-teal: #174f57;
	--clicky-core-teal-dark: #0b343a;
	--clicky-core-teal-soft: #d4e4df;
	background: #020b0e;
	border: 0;
	box-sizing: border-box;
	box-shadow: none;
	color: #fff2d0;
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.55;
	margin: 0;
	max-width: none;
	padding: var(--clicky-core-room-padding);
	width: 100%;
}

body.clicky-core-location-hydrating .clicky-core-room-explorer {
	opacity: 0;
	pointer-events: none;
}

body.clicky-core-location-hydrating::before {
	content: "Loading campaign\2026";
	position: fixed;
	inset: 50% auto auto 50%;
	z-index: 100000;
	transform: translate(-50%, -50%);
	padding: 0.65rem 0.9rem;
	border: 1px solid rgba(211, 169, 82, 0.65);
	border-radius: 0.35rem;
	background: #071719;
	color: #f0d486;
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	box-shadow: 0 0 1.25rem rgba(0, 0, 0, 0.4);
}

.clicky-core-room-navigation {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: calc(-1 * var(--clicky-core-room-padding)) calc(-1 * var(--clicky-core-room-padding)) 0;
	padding: 0.55rem var(--clicky-core-room-padding);
}

.clicky-core-beta-notice {
	color: #ff7777;
	font: 700 0.72rem/1.2 Georgia, "Times New Roman", serif;
	letter-spacing: 0.015em;
	padding: 0.25rem 0.15rem;
}

.clicky-core-beta-notice strong {
	color: #ff4f54;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.clicky-core-room-navigation a,
.clicky-core-war-room-bar a {
	background: var(--clicky-core-teal, #174f57);
	border: 1px solid var(--clicky-core-teal-dark, #0b343a);
	color: #fff7e2;
	display: inline-flex;
	font: 700 0.78rem/1.2 Georgia, "Times New Roman", serif;
	gap: 0.35rem;
	padding: 0.45rem 0.7rem;
	text-decoration: none;
}

.clicky-core-room-navigation a:hover,
.clicky-core-room-navigation a:focus-visible,
.clicky-core-war-room-bar a:hover,
.clicky-core-war-room-bar a:focus-visible {
	background: var(--clicky-core-teal-dark, #0b343a);
	color: #fff7e2;
}

.clicky-core-room-navigation .clicky-core-war-room-return {
	background: #7a3f25;
	border-color: #c58a4f;
	box-shadow: 0 0 0 1px rgba(255, 219, 145, 0.12), 0 0.25rem 0.7rem rgba(0, 0, 0, 0.28);
	color: #fff2d0;
}

.clicky-core-room-navigation .clicky-core-war-room-return:hover,
.clicky-core-room-navigation .clicky-core-war-room-return:focus-visible {
	background: #94502f;
	border-color: #edbd71;
}

.clicky-core-room-banner {
	border-bottom: 1px solid #8b6f3f;
	margin: 0 calc(-1 * var(--clicky-core-room-padding)) var(--clicky-core-room-padding);
	overflow: hidden;
	position: relative;
	width: calc(100% + (2 * var(--clicky-core-room-padding)));
}

.clicky-core-all-locations.is-collapsed {
	padding-block: 0.65rem;
}

.clicky-core-all-locations-toolbar {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	justify-content: space-between;
	margin: 0.65rem 0 0.35rem;
}

.clicky-core-all-locations-toolbar label {
	display: grid;
	font-size: 0.72rem;
	font-weight: 700;
	gap: 0.25rem;
}

.clicky-core-all-locations-toolbar select {
	background: #071d20;
	border: 1px solid #6b8587;
	color: #fff0ca;
	font: 700 0.75rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.38rem 0.5rem;
}

.clicky-core-all-locations-toolbar p,
.clicky-core-all-locations-help {
	color: #b9cbca;
	font-size: 0.7rem;
	margin: 0;
}

.clicky-core-all-locations-groups {
	display: grid;
	gap: 0.7rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 0.7rem;
}

.clicky-core-all-locations-groups > section {
	background: #071d20;
	border: 1px solid #496568;
	min-width: 0;
	padding: 0.55rem;
}

.clicky-core-all-locations-groups h4 {
	color: #f0cc85;
	font-size: 0.82rem;
	margin: 0 0 0.45rem;
}

.clicky-core-all-locations-list {
	display: grid;
	gap: 0.3rem;
	max-height: 22rem;
	overflow-y: auto;
}

.clicky-core-all-locations-row {
	background: #102f33;
	border: 1px solid #496568;
	color: #fff0ca;
	display: grid;
	gap: 0.12rem;
	padding: 0.4rem 0.5rem;
	text-decoration: none;
}

a.clicky-core-all-locations-row:hover,
a.clicky-core-all-locations-row:focus-visible {
	background: #1b4a4f;
	border-color: #d4ad62;
	color: #fff6df;
}

.clicky-core-all-locations-row strong {
	font-size: 0.75rem;
}

.clicky-core-all-locations-row small {
	color: #aec4c3;
	font-size: 0.64rem;
}

@media (max-width: 760px) {
	.clicky-core-all-locations-groups {
		grid-template-columns: 1fr;
	}
}

.clicky-core-room-banner img {
	display: block;
	height: auto;
	width: 100%;
}

.clicky-core-player-display-show,
.clicky-core-area-map-share {
	background: #174f57;
	border: 1px solid #cda766;
	color: #fff2d0;
	cursor: pointer;
	flex: 0 0 auto;
	font: 700 0.78rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.55rem 0.75rem;
}

.clicky-core-player-display-show:hover,
.clicky-core-player-display-show:focus-visible,
.clicky-core-area-map-share:hover,
.clicky-core-area-map-share:focus-visible {
	background: #0b343a;
}

.clicky-core-room-banner-front-balcony {
	aspect-ratio: 2 / 1;
}

.clicky-core-room-banner-front-balcony img {
	height: 100%;
	object-fit: cover;
	object-position: 50% 44%;
	transform: scale(2);
	transform-origin: 35% 56%;
}

.clicky-core-room-banner-rear-balcony {
	aspect-ratio: 2 / 1;
}

.clicky-core-room-banner-rear-balcony img {
	height: 100%;
	object-fit: cover;
	transform: scale(2.1);
	transform-origin: 37% 44%;
}

.clicky-core-room-explorer-header {
	align-items: center;
	border-bottom: 1px solid rgba(205, 167, 102, 0.4);
	display: flex;
	gap: 0.5rem;
	justify-content: space-between;
	margin-bottom: 0.5rem;
	padding-bottom: 0.5rem;
}

.clicky-core-custom-location-image-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

[data-custom-campaign-location] .clicky-core-room-explorer-header {
	flex-wrap: wrap;
}

.clicky-core-room-explorer-header.has-location-image-actions {
	flex-wrap: wrap;
}

.clicky-core-room-explorer-header.has-location-image-actions .clicky-core-room-explorer-heading {
	flex: 1 1 12rem;
}

.clicky-core-location-status-summary {
	align-self: end;
	display: grid;
	flex: 0 0 auto;
	gap: 0.2rem;
	justify-items: end;
	margin-left: auto;
	max-width: 18rem;
	padding-bottom: 0.15rem;
	text-align: right;
}

.clicky-core-location-status-summary[hidden] {
	display: none;
}

.clicky-core-location-status-summary strong {
	color: #fff2d0;
	font-size: 0.82rem;
	line-height: 1.2;
}

.clicky-core-location-status-summary .clicky-core-opening-hours {
	background: #102528;
	border: 1px solid #48676a;
	border-radius: 3px;
	color: #aebfc0;
	padding: 0.18rem 0.35rem;
}

.clicky-core-location-opening-schedule {
	background: #102528;
	border: 1px solid #48676a;
	border-radius: 3px;
	margin: 0;
	padding: 0.75rem;
}

.clicky-core-location-opening-schedule legend {
	color: #e2bd78;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 0 0.25rem;
	text-transform: uppercase;
}

.clicky-core-location-opening-toggle {
	align-items: center;
	color: #d4e4df;
	display: flex;
	font-size: 0.76rem;
	gap: 0.45rem;
}

.clicky-core-location-opening-toggle input {
	accent-color: #cda766;
	margin: 0;
}

.clicky-core-location-opening-time-fields {
	display: grid;
	gap: 0.65rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 0.7rem;
}

.clicky-core-location-opening-time-fields label {
	color: #b7ceca;
	display: grid;
	font-size: 0.66rem;
	font-weight: 700;
	gap: 0.25rem;
	text-transform: uppercase;
}

.clicky-core-location-opening-time-fields input {
	background: #071619;
	border: 1px solid #48676a;
	border-radius: 3px;
	color: #fff2d0;
	font: 700 0.78rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.45rem 0.5rem;
}

.clicky-core-location-opening-schedule > small {
	color: #8fa8aa;
	display: block;
	font-size: 0.66rem;
	line-height: 1.35;
	margin-top: 0.55rem;
}

[data-custom-campaign-location] .clicky-core-room-explorer-heading {
	flex: 1 1 12rem;
}

.clicky-core-custom-location-image-actions button {
	font-size: 0.72rem !important;
	padding: 0.42rem 0.62rem !important;
}

.clicky-core-inline-edit-button {
	font-size: 0.68rem !important;
	line-height: 1 !important;
	margin-left: 0.55rem !important;
	padding: 0.35rem 0.5rem !important;
	vertical-align: middle;
}

.clicky-core-location-editor {
	background: #071619;
	border: 1px solid #cda766;
	border-radius: 4px;
	box-sizing: border-box;
	color: #fff2d0;
	font-family: Georgia, "Times New Roman", serif;
	max-height: calc(100vh - 2rem);
	max-width: 34rem;
	padding: 1rem;
	width: calc(100% - 2rem);
}

.clicky-core-location-editor::backdrop {
	background: rgba(2, 11, 14, 0.84);
}

.clicky-core-location-editor-header {
	align-items: center;
	border-bottom: 1px solid rgba(205, 167, 102, 0.42);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
}

.clicky-core-location-editor-header h2,
.clicky-core-location-editor-section h3 {
	color: #fff2d0;
	margin: 0;
}

.clicky-core-location-editor-header h2 {
	font-size: 1.25rem;
}

.clicky-core-location-editor-section {
	background: #102528;
	border: 1px solid #48676a;
	display: grid;
	gap: 0.65rem;
	margin-top: 0.75rem;
	padding: 0.8rem;
}

.clicky-core-location-editor-section h3 {
	border-bottom: 1px solid rgba(205, 167, 102, 0.28);
	font-size: 0.9rem;
	padding-bottom: 0.45rem;
}

.clicky-core-location-editor button {
	background: #174f57;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.75rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.5rem 0.7rem;
}

.clicky-core-location-editor button:hover,
.clicky-core-location-editor button:focus-visible {
	background: #0b343a;
	border-color: #f0d18d;
}

.clicky-core-location-editor .clicky-core-custom-location-image-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clicky-core-location-editor .clicky-core-custom-location-image-actions button {
	font-size: 0.72rem !important;
	padding: 0.5rem 0.65rem !important;
}

.clicky-core-location-editor-state-fields {
	align-items: end;
	display: grid;
	gap: 0.65rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clicky-core-location-editor .clicky-core-room-state-field {
	margin: 0;
	opacity: 1;
}

.clicky-core-location-editor .clicky-core-room-state-field label {
	color: #cda766;
}

.clicky-core-location-editor .clicky-core-room-state-field select,
.clicky-core-location-editor .clicky-core-room-state-field input {
	background: #fff8e6;
	border-color: #7c6337;
	color: #2f2418;
	height: 2.1rem;
}

.clicky-core-location-editor .clicky-core-room-reset {
	grid-column: 1 / -1;
	justify-self: end;
	margin: 0;
	opacity: 1;
}

.clicky-core-location-editor .clicky-core-location-editor-danger {
	background: #2f1719;
	border-color: #8d4a4f;
}

.clicky-core-location-editor-danger p {
	color: #e8cccc;
	font-size: 0.74rem;
	line-height: 1.45;
	margin: 0;
}

.clicky-core-location-editor .clicky-core-location-delete-button {
	background: #702b31;
	border-color: #d8878d;
	justify-self: start;
}

.clicky-core-location-editor .clicky-core-location-delete-button:hover,
.clicky-core-location-editor .clicky-core-location-delete-button:focus-visible {
	background: #8b343b;
	border-color: #ffb4ba;
}

.clicky-core-room-top-state-controls[hidden] {
	display: none;
}

@media (max-width: 520px) {
	.clicky-core-location-editor .clicky-core-custom-location-image-actions,
	.clicky-core-location-editor-state-fields {
		grid-template-columns: 1fr;
	}

	.clicky-core-location-status-summary {
		max-width: 11rem;
	}
}

[data-custom-campaign-location] .clicky-core-room-section-read-aloud .clicky-core-room-section-title {
	align-items: center;
	display: flex;
}

.clicky-core-room-section-read-aloud .clicky-core-room-section-title {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.clicky-core-read-aloud-controls {
	align-items: center;
	display: inline-flex;
	gap: 0.3rem;
	margin-left: auto;
}

.clicky-core-read-aloud-period {
	background: rgba( 3, 20, 24, 0.82 ) !important;
	border-color: rgba( 218, 177, 92, 0.58 ) !important;
	color: #f4e9d0 !important;
	font-size: 0.68rem !important;
	line-height: 1 !important;
	padding: 0.35rem 0.5rem !important;
}

.clicky-core-read-aloud-period[aria-pressed="true"] {
	background: #d2a952 !important;
	border-color: #f0d18d !important;
	color: #061417 !important;
}

.clicky-core-read-aloud-controls .clicky-core-inline-edit-button {
	margin-left: 0 !important;
}

.clicky-core-read-aloud-editor {
	background: #071619;
	border: 1px solid #5f7e80;
	border-radius: 3px;
	box-sizing: border-box;
	color: #fff2d0;
	display: block;
	font: 400 1rem/1.6 Georgia, "Times New Roman", serif;
	margin-top: 0.65rem;
	min-height: 9rem;
	padding: 0.75rem;
	resize: vertical;
	width: 100%;
}

.clicky-core-read-aloud-editor:focus {
	border-color: #d2a952;
	box-shadow: 0 0 0 2px rgba( 210, 169, 82, 0.2 );
	outline: none;
}

.clicky-core-read-aloud-editor[hidden] {
	display: none;
}

.clicky-core-custom-location-banner-empty {
	align-items: center;
	background: linear-gradient(135deg, rgba(18, 52, 58, 0.72), rgba(2, 11, 14, 0.96));
	color: #b7ceca;
	display: flex;
	font: 700 0.9rem/1.3 Georgia, "Times New Roman", serif;
	height: 100%;
	justify-content: center;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	width: 100%;
}

.clicky-core-custom-location-banner [hidden] {
	display: none !important;
}

.clicky-core-room-explorer-heading {
	align-items: end;
	display: grid;
	gap: 0.15rem 0.5rem;
	grid-template-columns: auto auto minmax(0, 1fr);
	min-width: 0;
	width: 100%;
}

.clicky-core-room-explorer-heading .clicky-core-room-building {
	grid-column: 1 / -1;
}

.clicky-core-room-explorer-heading .clicky-core-room-title {
	grid-column: 1;
}

.clicky-core-room-explorer-heading > .clicky-core-inline-edit-button {
	grid-column: 2;
	grid-row: 2;
	justify-self: start;
	margin-left: 0 !important;
}

.clicky-core-room-building {
	color: var(--clicky-core-teal, #174f57);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0;
	margin: 0 0 0.15rem;
	text-transform: uppercase;
}

.clicky-core-room-title {
	color: var(--clicky-core-teal-dark, #0b343a);
	font-size: 1.35rem;
	line-height: 1.15;
	margin: 0;
}

.clicky-core-room-state-controls {
	align-items: end;
	border-bottom: 1px solid rgba(205, 167, 102, 0.4);
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
}

.clicky-core-room-state-field {
	display: grid;
	flex: 0 1 13rem;
	gap: 0.25rem;
}

.clicky-core-room-state-field label {
	color: var(--clicky-core-teal, #174f57);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.clicky-core-room-state-field select,
.clicky-core-room-state-field input {
	background: #efe0b8;
	border: 1px solid #7c6337;
	border-radius: 0;
	box-sizing: border-box;
	color: #3a2a18;
	font-family: inherit;
	font-size: 0.85rem;
	line-height: 1.2;
	margin: 0;
	height: 2.1rem;
	padding: 0.4rem 0.55rem;
	width: 100%;
}

.clicky-core-room-state-field input {
	background: #fbf1d6;
}

.clicky-core-room-reset {
	background: #0b343a;
	border: 1px solid #48676a;
	color: #d4e4df;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.78rem;
	margin: 0 0 0 auto;
	padding: 0.45rem 0.65rem;
}

.clicky-core-room-reset:hover,
.clicky-core-room-reset:focus-visible {
	background: #174f57;
	color: #fff2d0;
}

.clicky-core-campaign-table-link {
	color: var(--clicky-core-teal, #174f57);
	font-size: 0.78rem;
	font-weight: 700;
	justify-self: end;
	text-underline-offset: 0.15em;
}

.clicky-core-room-section {
	background: #29484a;
	border: 1px solid #48676a;
	margin: 0 0 1rem;
	padding: 1rem;
}

.clicky-core-room-section-read-aloud {
	background: #29484a;
}

.clicky-core-room-section-dm-notes {
	background: #203c3f;
}

.clicky-core-dm-notes-layout {
	display: grid;
	gap: 0.8rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 0 1rem;
}

.clicky-core-dm-notes-layout .clicky-core-room-section {
	margin: 0;
}

.clicky-core-room-section-dm-notes .clicky-core-room-text,
.clicky-core-room-section-ongoing-notes {
	font-size: 0.82rem;
	line-height: 1.45;
}

.clicky-core-room-section-ongoing-notes {
	background: #203c3f;
}

.clicky-core-room-section-secrets [data-treasure-result] {
	font-size: 0.75rem;
	line-height: 1.4;
	list-style: none;
	padding-left: 0;
}

.clicky-core-room-section-secrets [data-treasure-result] li {
	margin: 0;
}

.clicky-core-room-section-secrets.is-secrets-panel-collapsed .clicky-core-area-map-heading {
	margin-bottom: 0;
}

.clicky-core-battle-loot {
	border-top: 1px solid #48676a;
	margin-top: 0.9rem;
	padding-top: 0.8rem;
}

.clicky-core-battle-loot h4,
.clicky-core-battle-loot p {
	margin: 0 0 0.45rem;
}

.clicky-core-battle-loot > p {
	color: #c8d6d5;
	font-size: 0.74rem;
}

.clicky-core-battle-loot ul {
	display: grid;
	gap: 0.55rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.clicky-core-battle-loot li {
	background: #102a2e;
	border: 1px solid #48676a;
	border-radius: 3px;
	display: grid;
	font-size: 0.76rem;
	gap: 0.25rem;
	line-height: 1.4;
	padding: 0.6rem;
}

.clicky-core-battle-loot li strong {
	color: #f1c878;
}

.clicky-core-battle-loot li small {
	color: #aebfbd;
	font-size: 0.66rem;
}

.clicky-core-battle-loot-claim {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.35rem;
}

.clicky-core-battle-loot-claim select,
.clicky-core-battle-loot-claim button {
	background: #071b1f;
	border: 1px solid #c49a55;
	border-radius: 3px;
	color: #fff2d0;
	font: 700 0.7rem/1.2 Georgia, "Times New Roman", serif;
	min-height: 2rem;
	padding: 0.4rem 0.55rem;
}

.clicky-core-battle-loot-claim select {
	min-width: min(100%, 13rem);
}

.clicky-core-battle-loot-claim button:not(:disabled) {
	background: #174f57;
	cursor: pointer;
}

.clicky-core-battle-loot-claim :disabled {
	opacity: 0.6;
}

.clicky-core-battle-loot-claim > span {
	color: #b9d7c7;
	font-size: 0.68rem;
}

.clicky-core-feature-ideas {
	display: grid;
	gap: 0.55rem;
	list-style: none;
	padding-left: 0;
}

.clicky-core-room-section-features.is-feature-ideas-collapsed .clicky-core-area-map-heading {
	margin-bottom: 0;
}

.clicky-core-feature-ideas li {
	align-items: start;
	display: grid;
	font-size: 0.76rem;
	gap: 0.45rem;
	grid-template-columns: minmax(0, 1fr) auto;
	line-height: 1.4;
	margin: 0;
}

.clicky-core-feature-ideas button {
	background: #174f57;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.68rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.28rem 0.42rem;
}

.clicky-core-feature-ideas button:disabled {
	background: #263438;
	border-color: #68787b;
	color: #aeb9ba;
	cursor: default;
}

.clicky-core-location-notes-heading {
	align-items: start;
	display: flex;
	gap: 0.5rem;
	justify-content: space-between;
}

.clicky-core-location-notes-heading > span {
	display: flex;
	flex: 0 0 auto;
	gap: 0.35rem;
}

.clicky-core-location-notes-heading .clicky-core-room-section-title {
	flex: 1;
}

.clicky-core-location-notes-heading button {
	background: #174f57;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.72rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.35rem 0.5rem;
}

.clicky-core-location-notes-heading .clicky-core-room-reset {
	margin: 0;
}

.clicky-core-room-condition-control {
	border: 0;
	margin: 0 0 0.7rem;
	padding: 0;
}

.clicky-core-room-condition-control .clicky-core-room-state-field {
	flex-basis: 100%;
}

.clicky-core-opening-hours {
	color: #aebfc0;
	font-size: 0.68rem;
}

.clicky-core-room-top-state-controls .clicky-core-room-condition-field {
	flex: 0 1 9.5rem;
	margin-left: auto;
	opacity: 0.72;
}

.clicky-core-room-top-state-controls .clicky-core-room-condition-field label {
	color: #8fa8aa;
	font-size: 0.6rem;
}

.clicky-core-room-top-state-controls .clicky-core-room-condition-field select,
.clicky-core-room-top-state-controls .clicky-core-room-condition-field input {
	background: #102528;
	border-color: #48676a;
	color: #d4e4df;
	font-size: 0.72rem;
	height: 1.8rem;
	padding: 0.28rem 0.42rem;
}

.clicky-core-room-top-state-controls > .clicky-core-room-reset {
	font-size: 0.68rem;
	margin-left: 0.2rem;
	opacity: 0.72;
	padding: 0.35rem 0.48rem;
}

.clicky-core-location-notes-list {
	display: grid;
	gap: 0.55rem;
}

.clicky-core-location-note {
	display: grid;
	gap: 0.35rem;
}

.clicky-core-location-note textarea {
	background: #071619;
	border: 1px solid #48676a;
	border-radius: 3px;
	box-sizing: border-box;
	color: #fff2d0;
	font: 400 0.8rem/1.4 Georgia, "Times New Roman", serif;
	min-height: 4.5rem;
	padding: 0.5rem;
	resize: vertical;
	width: 100%;
}

.clicky-core-location-note .clicky-core-room-reset {
	font-size: 0.68rem;
	justify-self: end;
	margin: 0;
	padding: 0.28rem 0.45rem;
}

.clicky-core-location-note-actions {
	display: flex;
	gap: 0.35rem;
	justify-content: flex-end;
}

.clicky-core-location-note-actions button {
	background: #174f57;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.68rem/1.2 Georgia, "Times New Roman", serif;
	margin: 0;
	padding: 0.28rem 0.45rem;
}

.clicky-core-prepared-dm-note .clicky-core-room-text {
	margin: 0;
}

.clicky-core-location-notes-empty {
	color: #aebfc0;
	font-size: 0.78rem;
	margin: 0;
}

@media (max-width: 700px) {
	.clicky-core-dm-notes-layout {
		grid-template-columns: 1fr;
	}
}

.clicky-core-room-section-buy-panel {
	background: #3a3028;
	border-color: #665343;
}

.clicky-core-room-section-buy-panel > p:not(.clicky-core-room-section-kicker) {
	color: #d4e4df;
	font-size: 0.82rem;
	line-height: 1.45;
	margin: 0.7rem 0;
}

.clicky-core-buy-panel-image {
	background: #020b0e;
	border: 1px solid rgba(205, 167, 102, 0.5);
	display: block;
	overflow: hidden;
}

.clicky-core-buy-panel-image img {
	display: block;
	height: auto;
	transition: transform 180ms ease;
	width: 100%;
}

.clicky-core-buy-panel-image:hover img,
.clicky-core-buy-panel-image:focus-visible img {
	transform: scale(1.025);
}

.clicky-core-buy-panel-button {
	background: #174f57;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0 !important;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 0.5rem 0.7rem;
	text-decoration: none;
}

.clicky-core-buy-panel-button:hover,
.clicky-core-buy-panel-button:focus-visible {
	background: #0b343a;
}

.clicky-core-room-section-title {
	border-bottom: 1px solid rgba(229, 211, 173, 0.28);
	color: #fff2d0;
	font-size: 1.05rem;
	line-height: 1.25;
	margin: 0 0 0.65rem;
	padding-bottom: 0.4rem;
}

.clicky-core-room-explorer .clicky-core-room-building,
.clicky-core-room-explorer .clicky-core-room-state-field label {
	color: #cda766;
}

.clicky-core-room-explorer .clicky-core-room-title {
	color: #fff2d0;
}

.clicky-core-room-explorer-header .clicky-core-room-reset,
.clicky-core-room-explorer .clicky-core-room-list a {
	color: #d4e4df;
}

.clicky-core-room-explorer-header .clicky-core-room-reset:hover,
.clicky-core-room-explorer-header .clicky-core-room-reset:focus-visible,
.clicky-core-room-explorer .clicky-core-room-list a:hover,
.clicky-core-room-explorer .clicky-core-room-list a:focus-visible {
	color: #fff2d0;
}

.clicky-core-room-explorer .clicky-core-identity-toggle,
.clicky-core-room-explorer .clicky-core-checkpoint-route button {
	border-color: #cda766;
	color: #fff2d0;
}

.clicky-core-checkpoint-actions {
	display: block;
	flex: 1 1 auto;
	min-width: 6.5rem;
}

.clicky-core-checkpoint-actions > button {
	white-space: nowrap;
	width: 100%;
}

.clicky-core-checkpoint-guidance {
	align-items: center;
	display: flex;
	flex: 0 0 5.4rem;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.clicky-core-help-tooltip {
	display: inline-flex;
	position: static;
}

.clicky-core-room-explorer .clicky-core-help-tooltip-trigger {
	align-items: center;
	background: #0b343a;
	border: 1px solid #cda766;
	border-radius: 50%;
	color: #fff2d0;
	cursor: help;
	display: inline-flex;
	font: 700 0.72rem/1 Georgia, "Times New Roman", serif;
	height: 1.45rem;
	justify-content: center;
	padding: 0;
	width: 1.45rem;
}

.clicky-core-help-tooltip-content {
	background: #071619;
	border: 1px solid #cda766;
	border-radius: 3px;
	bottom: auto;
	box-shadow: 0 0.65rem 1.5rem rgba(0, 0, 0, 0.45);
	color: #fff2d0;
	font: 400 0.78rem/1.45 Georgia, "Times New Roman", serif;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: calc(100% + 0.55rem);
	transform: translateY(0.3rem);
	transition: opacity 120ms ease, transform 120ms ease;
	visibility: hidden;
	width: auto;
	right: 0;
	z-index: 20;
}

.clicky-core-help-tooltip-content::after {
	border-bottom: 0.4rem solid #cda766;
	border-left: 0.35rem solid transparent;
	border-right: 0.35rem solid transparent;
	border-top: 0;
	bottom: 100%;
	content: "";
	left: 50%;
	position: absolute;
	top: auto;
	transform: translateX(-50%);
}

.clicky-core-help-tooltip:hover .clicky-core-help-tooltip-content,
.clicky-core-help-tooltip:focus-within .clicky-core-help-tooltip-content {
	opacity: 1;
	padding: 0.7rem 0.8rem;
	transform: translateY(0);
	visibility: visible;
}

.clicky-core-room-explorer .clicky-core-identity-toggle[aria-pressed="true"],
.clicky-core-room-explorer .clicky-core-checkpoint-route button:hover,
.clicky-core-room-explorer .clicky-core-checkpoint-route button:focus-visible,
.clicky-core-room-explorer .clicky-core-checkpoint-route button:disabled {
	background: #174f57;
	color: #fff2d0;
}

.clicky-core-room-text {
	margin: 0;
}

.clicky-core-dm-party-overview {
	background: #203c3f;
}

.clicky-core-dm-party-list {
	display: grid;
	gap: 0.55rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.clicky-core-dm-party-card {
	align-items: start;
	background: #071619;
	border: 1px solid #48676a;
	border-radius: 3px;
	display: grid;
	gap: 0.6rem;
	grid-template-columns: clamp(4.75rem, 30%, 6rem) minmax(0, 1fr);
	padding: 0.5rem;
}

.clicky-core-dm-party-card.is-downed,
.clicky-core-dm-party-card.is-dead {
	background: #4a151b;
	border-color: #a84d55;
}

.clicky-core-dm-party-card.is-bloodied {
	border-color: #9d4b53;
}

.clicky-core-dm-party-card.is-dead {
	background: #26090d;
}

.clicky-core-dm-party-card.is-level-up-ready:not(.is-downed):not(.is-dead) {
	background: #0c3827;
	border-color: #67dc99;
	box-shadow: 0 0 0 2px rgba(103, 220, 153, 0.2), 0 0 1rem rgba(54, 196, 119, 0.22);
}

.clicky-core-dm-party-card.is-level-up-ready:not(.is-downed):not(.is-dead) .clicky-core-dm-party-portrait {
	border-color: #78efa8;
	box-shadow: 0 0 0 2px rgba(120, 239, 168, 0.3);
}

.clicky-core-dm-party-level-up,
.clicky-core-encounter-level-up,
.clicky-core-player-display-level-up {
	color: #9bf3bb !important;
	font-size: 0.68rem !important;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.clicky-core-dm-party-level-up[hidden] {
	display: none;
}

.clicky-core-dm-party-portrait {
	appearance: none;
	align-items: center;
	aspect-ratio: 1;
	background: #0b343a;
	border: 1px solid rgba(205, 167, 102, 0.65);
	border-radius: 2px;
	color: #fff2d0;
	cursor: pointer;
	display: flex;
	font-size: 1rem;
	font-weight: 700;
	justify-content: center;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

.clicky-core-dm-party-portrait:hover,
.clicky-core-dm-party-portrait:focus-visible {
	border-color: #f3cc78;
	box-shadow: 0 0 0 2px rgba(243, 204, 120, 0.28);
	outline: none;
}

.clicky-core-dm-party-card.is-downed .clicky-core-dm-party-portrait {
	box-shadow: inset 0 0 0 2rem rgba(122, 21, 31, 0.52);
}

.clicky-core-dm-party-death-mark {
	align-items: center;
	background: rgba(25, 0, 4, 0.76);
	color: #fff;
	display: flex;
	font-size: 2rem;
	inset: 0;
	justify-content: center;
	position: absolute;
}

.clicky-core-dm-party-portrait img {
	height: 100%;
	object-fit: contain;
	object-position: center top;
	width: 100%;
}

.clicky-core-dm-party-details {
	display: grid;
	gap: 0.12rem;
	min-width: 0;
}

.clicky-core-dm-party-details strong {
	color: #fff2d0;
	font-size: 0.78rem;
	line-height: 1.15;
}

.clicky-core-dm-party-details span {
	color: #e2bd78;
	font-size: 0.68rem;
	font-weight: 700;
}

.clicky-core-dm-party-details small {
	color: #b9cbca;
	font-size: 0.62rem;
	line-height: 1.25;
}

.clicky-core-dm-party-details .clicky-core-dm-party-hp {
	color: #8fd3aa;
}

.clicky-core-dm-party-health {
	background: #671720;
	border: 1px solid rgba(255, 242, 208, 0.28);
	border-radius: 999px;
	display: block;
	height: 0.38rem;
	overflow: hidden;
	width: 100%;
}

.clicky-core-dm-party-health > i {
	background: linear-gradient(90deg, #d7a93c, #4fb978);
	display: block;
	height: 100%;
	transition: width 280ms ease;
}

.clicky-core-dm-party-card.is-bloodied .clicky-core-dm-party-health > i,
.clicky-core-dm-party-card.is-downed .clicky-core-dm-party-health > i,
.clicky-core-dm-party-card.is-dead .clicky-core-dm-party-health > i {
	background: #b8444f;
}

.clicky-core-dm-party-empty {
	color: #b9cbca;
	font-size: 0.72rem;
}

.clicky-core-dm-party-sheet-button {
	background: #d7ad4f !important;
	border: 1px solid #f1d78e !important;
	border-radius: 3px !important;
	box-shadow: 0 0 8px rgba(215, 173, 79, 0.24);
	color: #102326 !important;
	cursor: pointer;
	font-size: 0.62rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	grid-column: 1 / -1;
	padding: 0.35rem 0.55rem !important;
	text-align: center;
	width: 100%;
}

.clicky-core-dm-party-sheet-button:hover,
.clicky-core-dm-party-sheet-button:focus-visible {
	background: #efd078 !important;
	border-color: #fff0b8 !important;
}

.clicky-core-dm-party-companions {
	border-top: 1px solid rgba(111, 150, 153, 0.45);
	display: grid;
	gap: 0.38rem;
	grid-column: 1 / -1;
	padding-top: 0.48rem;
}

.clicky-core-dm-party-companions-heading {
	color: #e2bd78;
	font-size: 0.67rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.clicky-core-dm-party-companion-list {
	display: grid;
	gap: 0.38rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.clicky-core-dm-party-companion {
	align-items: center;
	background: #0b2427;
	border: 1px solid #3f6265;
	border-radius: 3px;
	display: grid;
	gap: 0.48rem;
	grid-template-columns: 2.65rem minmax(0, 1fr);
	padding: 0.38rem;
}

.clicky-core-dm-party-companion.is-dead {
	background: #26090d;
	border-color: #a84d55;
}

.clicky-core-dm-party-companion-portrait {
	align-items: center;
	aspect-ratio: 1;
	background: #071619;
	border: 1px solid rgba(205, 167, 102, 0.65);
	border-radius: 2px;
	color: #fff2d0;
	display: flex;
	font-size: 0.85rem;
	font-weight: 700;
	justify-content: center;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.clicky-core-dm-party-companion-portrait img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-dm-party-companion-death-mark {
	align-items: center;
	background: rgba(25, 0, 4, 0.76);
	color: #fff;
	display: flex;
	font-size: 1.35rem;
	inset: 0;
	justify-content: center;
	position: absolute;
}

.clicky-core-dm-party-companion-details {
	display: grid;
	gap: 0.08rem;
	min-width: 0;
}

.clicky-core-dm-party-companion-details strong {
	color: #fff2d0;
	font-size: 0.7rem;
}

.clicky-core-dm-party-companion-details small {
	color: #b9cbca;
	font-size: 0.59rem;
	line-height: 1.2;
}

.clicky-core-dm-party-companion-health {
	background: #671720;
	border: 1px solid rgba(255, 242, 208, 0.22);
	border-radius: 999px;
	display: block;
	height: 0.32rem;
	overflow: hidden;
	width: 100%;
}

.clicky-core-dm-party-companion-health > i {
	background: linear-gradient(90deg, #d7a93c, #4fb978);
	display: block;
	height: 100%;
}

.clicky-core-dm-party-companion.is-dead .clicky-core-dm-party-companion-health > i {
	background: #b8444f;
}

.clicky-core-dm-party-companion-sheet-button {
	background: #183f43 !important;
	border: 1px solid #cda766 !important;
	border-radius: 3px !important;
	color: #fff2d0 !important;
	cursor: pointer;
	font-size: 0.58rem !important;
	font-weight: 700 !important;
	grid-column: 1 / -1;
	padding: 0.3rem 0.45rem !important;
	width: 100%;
}

.clicky-core-dm-party-companion-sheet-button:hover,
.clicky-core-dm-party-companion-sheet-button:focus-visible {
	background: #275b60 !important;
}

.clicky-core-player-sheet-dialog {
	background: #061316;
	border: 1px solid #cda766;
	border-radius: 5px;
	box-sizing: border-box;
	box-shadow: 0 1.2rem 4rem rgba(0, 0, 0, 0.78);
	color: #f7ebce;
	max-height: 94vh;
	max-width: 96vw;
	padding: 0;
	width: min(1440px, 96vw);
}

.clicky-core-player-sheet-dialog::backdrop {
	background: rgba(0, 8, 10, 0.84);
}

.clicky-core-player-sheet {
	background: #061316;
	box-sizing: border-box;
	color: #f7ebce;
	margin: 0;
	max-width: 100%;
	overflow: hidden;
	width: 100%;
}

.clicky-core-player-sheet > header {
	align-items: center;
	background: #0b2529;
	border-bottom: 1px solid #755d37;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 0.8rem;
	padding: 0.55rem 0.75rem;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 5;
}

.clicky-core-player-sheet-title {
	min-width: 0;
}

.clicky-core-player-sheet-header-actions {
	align-items: flex-start;
	display: flex;
	gap: 0.65rem;
}

.clicky-core-player-sheet-portrait-editor {
	align-items: center;
	display: grid;
	gap: 0.3rem;
	justify-items: center;
}

.clicky-core-player-sheet-portrait-frame {
	align-items: center;
	background: #041114;
	border: 1px solid #cda766;
	border-radius: 4px;
	display: flex;
	height: 7.5rem;
	justify-content: center;
	overflow: hidden;
	width: 7.5rem;
}

.clicky-core-player-sheet-portrait-frame img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	width: 100%;
}

.clicky-core-player-sheet-portrait-frame img[hidden],
.clicky-core-player-sheet-portrait-frame span[hidden] {
	display: none !important;
}

.clicky-core-player-sheet-portrait-frame span {
	color: #91aaa8;
	font-size: 0.64rem;
	text-align: center;
}

.clicky-core-player-sheet-portrait-editor > button {
	font-size: 0.64rem !important;
	line-height: 1.1 !important;
	padding: 0.3rem 0.45rem !important;
	width: 100%;
}

.clicky-core-player-sheet > header p,
.clicky-core-player-sheet > header h2,
.clicky-core-player-sheet > header span {
	margin: 0;
}

.clicky-core-player-sheet > header p {
	color: #e2bd78;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.clicky-core-player-sheet > header h2 {
	color: #fff1cc;
	font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.clicky-core-sheet-standard-array {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.28rem;
	margin: 0.28rem 0 0.32rem;
}

.clicky-core-player-sheet > header .clicky-core-sheet-standard-array > span {
	color: #e2bd78;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	margin-right: 0.12rem;
	text-transform: uppercase;
}

.clicky-core-sheet-standard-array strong {
	align-items: center;
	background: #061719;
	border: 1px solid #60787a;
	border-radius: 3px;
	color: #fff1cc;
	display: inline-flex;
	font-size: 0.68rem;
	height: 1.35rem;
	justify-content: center;
	line-height: 1;
	width: 1.55rem;
}

.clicky-core-player-sheet > header span {
	color: #b9cbca;
	font-size: 0.7rem;
}

.clicky-core-player-sheet button,
.clicky-core-player-sheet-dialog button {
	background: #143b40 !important;
	border: 1px solid #cda766 !important;
	border-radius: 3px !important;
	color: #fff2d0 !important;
	cursor: pointer;
	font-weight: 700 !important;
	padding: 0.38rem 0.58rem !important;
}

.clicky-core-player-sheet button:hover,
.clicky-core-player-sheet button:focus-visible {
	background: #24555a !important;
}

.clicky-core-player-sheet-body {
	box-sizing: border-box;
	display: grid;
	gap: 0.55rem;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	max-height: calc(94vh - 8.9rem);
	overflow-x: hidden;
	overflow-y: auto;
	padding: 0.6rem;
	width: 100%;
}

.clicky-core-sheet-panel {
	background: #102f33;
	border: 1px solid #496568;
	border-radius: 4px;
	min-width: 0;
	padding: 0.55rem;
}

.clicky-core-sheet-panel h3,
.clicky-core-sheet-panel h4 {
	color: #f0cc85;
	margin: 0 0 0.4rem;
}

.clicky-core-sheet-panel h3 {
	font-size: 0.88rem;
}

.clicky-core-sheet-panel h4 {
	font-size: 0.8rem;
	margin-top: 0.9rem;
}

.clicky-core-sheet-span {
	grid-column: 1 / -1;
}

.clicky-core-sheet-combat-summary {
	grid-column: span 5;
}

.clicky-core-sheet-identity {
	grid-column: span 7;
}

.clicky-core-sheet-combat-summary .clicky-core-sheet-fields,
.clicky-core-sheet-identity .clicky-core-sheet-fields {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.clicky-core-sheet-equipment {
	grid-column: span 7;
}

.clicky-core-sheet-proficiencies {
	grid-column: span 5;
}

.clicky-core-sheet-proficiency-notes {
	display: grid;
	gap: 0.35rem;
	grid-template-columns: minmax(0, 1fr);
	margin-top: 0.45rem;
}

.clicky-core-sheet-proficiency-notes textarea {
	min-height: 2.65rem;
}

.clicky-core-sheet-secondary {
	grid-column: span 4;
}

.clicky-core-sheet-slot-tracker {
	background: #071b1d;
	border: 1px solid #48676a;
	border-radius: 4px;
	margin-bottom: 0.75rem;
	padding: 0.65rem;
}

.clicky-core-sheet-slot-heading {
	align-items: baseline;
	display: flex;
	gap: 0.65rem;
	justify-content: space-between;
	margin-bottom: 0.55rem;
}

.clicky-core-sheet-slot-heading strong {
	color: #f3c96f;
}

.clicky-core-sheet-slot-heading small,
.clicky-core-sheet-slot-pool > small {
	color: #a9bcbb;
	font-size: 0.58rem;
}

.clicky-core-sheet-slot-pools {
	display: grid;
	gap: 0.45rem;
	grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}

.clicky-core-sheet-slot-pool {
	background: #102f32;
	border: 1px solid #31585b;
	border-radius: 3px;
	padding: 0.45rem;
}

.clicky-core-sheet-slot-pool > div:first-child {
	align-items: baseline;
	display: flex;
	gap: 0.45rem;
	justify-content: space-between;
}

.clicky-core-sheet-slot-pool strong,
.clicky-core-sheet-slot-pool span {
	font-size: 0.68rem;
}

.clicky-core-sheet-slot-pool span {
	color: #d8e7e5;
}

.clicky-core-sheet-slot-pips {
	display: flex;
	gap: 0.35rem;
	margin: 0.4rem 0 0.3rem;
}

.clicky-core-sheet-slot-guidance {
	color: #c4d4d2;
	font-size: 0.62rem;
	margin: 0.55rem 0 0;
}

.clicky-core-player-sheet .clicky-core-sheet-slot-pips button {
	background: #4ab783 !important;
	border: 1px solid #b4f1cf !important;
	border-radius: 50% !important;
	box-shadow: 0 0 0.35rem rgba(74, 183, 131, 0.45);
	height: 1.05rem;
	min-height: 0;
	padding: 0 !important;
	width: 1.05rem;
}

.clicky-core-player-sheet .clicky-core-sheet-slot-pips button.is-used {
	background: #381d20 !important;
	border-color: #875052 !important;
	box-shadow: none;
}

.clicky-core-sheet-fields,
.clicky-core-sheet-story {
	display: grid;
	gap: 0.35rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clicky-core-sheet-story {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clicky-core-player-sheet label {
	color: #d7e4e2;
	display: grid;
	font-size: 0.61rem;
	font-weight: 700;
	gap: 0.2rem;
	min-width: 0;
}

.clicky-core-player-sheet input,
.clicky-core-player-sheet select,
.clicky-core-player-sheet textarea {
	background: #051719 !important;
	border: 1px solid #527175 !important;
	border-radius: 3px !important;
	box-sizing: border-box;
	color: #fff5df !important;
	font-size: 0.68rem !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	min-width: 0;
	padding: 0.27rem 0.35rem !important;
	width: 100%;
}

.clicky-core-player-sheet textarea {
	min-height: 3.5rem;
	resize: vertical;
}

.clicky-core-player-sheet input[type="checkbox"] {
	accent-color: #d4ad62;
	height: 1rem;
	width: 1rem;
}

.clicky-core-sheet-wide {
	display: grid !important;
	margin-top: 0.55rem;
}

.clicky-core-sheet-xp-award > span {
	display: grid;
	gap: 0.3rem;
	grid-template-columns: minmax(0, 1fr) auto;
}

.clicky-core-sheet-xp-progress {
	background: #071c1f;
	border: 1px solid #48676a;
	border-radius: 4px;
	display: grid;
	gap: 0.4rem;
	margin-top: 0.65rem;
	padding: 0.55rem 0.65rem;
}

.clicky-core-sheet-xp-progress > div:first-child {
	align-items: baseline;
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
}

.clicky-core-sheet-xp-progress strong { color: #ffe2a8; font-size: 0.76rem; }
.clicky-core-sheet-xp-progress span { color: #b8d0cc; font-size: 0.66rem; }
.clicky-core-sheet-xp-track { background: #031012; border: 1px solid #35575a; border-radius: 999px; height: 0.55rem; overflow: hidden; }
.clicky-core-sheet-xp-track > span { background: linear-gradient(90deg, #b57a2f, #66d694); display: block; height: 100%; transition: width 180ms ease; width: 0; }

.clicky-core-sheet-print-notes {
	display: none;
}

.clicky-core-spell-reference-dialog {
	background: #06191c;
	border: 1px solid #b88a49;
	border-radius: 6px;
	box-sizing: border-box;
	color: #f7ead0;
	max-height: min(88vh, 880px);
	max-width: 780px;
	overflow: hidden;
	padding: 0;
	width: min(92vw, 780px);
}

.clicky-core-spell-reference-dialog::backdrop { background: rgba(0, 8, 10, 0.82); }
.clicky-core-spell-reference-dialog > form { min-width: 0; width: 100%; }
.clicky-core-spell-reference-dialog > form > header { align-items: center; background: #0c3035; border-bottom: 1px solid #4a676a; display: flex; justify-content: space-between; padding: 0.8rem 1rem; }
.clicky-core-spell-reference-dialog header p { color: #9dc0bd; font-size: 0.7rem; letter-spacing: 0.12em; margin: 0; text-transform: uppercase; }
.clicky-core-spell-reference-dialog header h2 { color: #ffe0a0; margin: 0.1rem 0 0; }
.clicky-core-spell-reference-body { box-sizing: border-box; display: grid; gap: 0.85rem; max-height: calc(88vh - 75px); min-width: 0; overflow-x: hidden; overflow-y: auto; padding: 1rem; width: 100%; }
.clicky-core-spell-reference-body > img { border: 1px solid #6d7d79; border-radius: 4px; max-height: 240px; object-fit: cover; width: 100%; }
.clicky-core-spell-reference-body dl { display: grid; gap: 0.45rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.clicky-core-spell-reference-body dl > div { background: #0e2b2f; border: 1px solid #3e5d60; border-radius: 4px; min-width: 0; padding: 0.5rem; }
.clicky-core-spell-reference-body dt { color: #9fb9b6; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; }
.clicky-core-spell-reference-body dd { color: #fff0d5; font-size: 0.8rem; margin: 0.2rem 0 0; overflow-wrap: anywhere; }
.clicky-core-spell-reference-body section { background: #0b2529; border-left: 3px solid #b88a49; min-width: 0; padding: 0.7rem 0.8rem; }
.clicky-core-spell-reference-body section h3 { color: #f2c976; margin: 0 0 0.35rem; }
.clicky-core-spell-reference-body section p { font-size: 0.9rem; line-height: 1.6; margin: 0; max-width: 100%; overflow-wrap: anywhere; white-space: normal; word-break: break-word; }
.clicky-core-spell-reference-status { background: #17383d; border-radius: 4px; color: #c7dddd; font-size: 0.72rem; margin: 0; padding: 0.55rem; }
.clicky-core-spell-reference-body > footer { border-top: 1px solid #3d585b; color: #a9bfbc; display: flex; flex-wrap: wrap; font-size: 0.65rem; gap: 0.35rem 1rem; justify-content: space-between; padding-top: 0.7rem; }
.clicky-core-level-feature-details { background: #0b2529; border: 1px solid #456568; border-radius: 4px; margin: 0.75rem 0; overflow: hidden; }
.clicky-core-level-feature-details > summary { color: #f2c976; cursor: pointer; font-size: 0.82rem; font-weight: 700; padding: 0.65rem 0.8rem; }
.clicky-core-level-feature-details article { border-top: 1px solid #354f52; padding: 0.65rem 0.8rem; }
.clicky-core-level-feature-details article h4 { color: #ffe0a0; font-size: 0.9rem; margin: 0; }
.clicky-core-level-feature-details article small { color: #9dc0bd; }
.clicky-core-level-feature-details article p { color: #f4eee2; font-size: 0.82rem; line-height: 1.55; margin: 0.35rem 0 0; max-height: 18rem; overflow: auto; overflow-wrap: anywhere; white-space: normal; }
.clicky-core-spell-reference-edit { background: #0b2529; border: 1px solid #3f5d60; border-radius: 4px; padding: 0.65rem; }
.clicky-core-spell-reference-edit summary { color: #efcb83; cursor: pointer; font-weight: 700; }
.clicky-core-spell-reference-edit label { display: grid; font-size: 0.7rem; gap: 0.25rem; margin-top: 0.65rem; }
.clicky-core-spell-reference-edit textarea { box-sizing: border-box; font-size: 0.85rem; line-height: 1.5; max-width: 100%; min-height: 8rem; overflow-wrap: anywhere; resize: vertical; white-space: pre-wrap; width: 100%; }

@media (max-width: 700px) {
	.clicky-core-spell-reference-body dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.clicky-core-player-sheet .clicky-core-sheet-xp-award button {
	padding-inline: 0.65rem !important;
}

@media print {
	body.clicky-core-printing-character-sheet {
		background: #fff !important;
		color: #000 !important;
		margin: 0 !important;
	}

	body.clicky-core-printing-character-sheet > *:not(.clicky-core-player-sheet-dialog) {
		display: none !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-player-sheet-dialog {
		background: #fff !important;
		border: 0 !important;
		box-shadow: none !important;
		color: #000 !important;
		display: block !important;
		inset: auto !important;
		height: auto !important;
		margin: 0 !important;
		max-height: none !important;
		max-width: none !important;
		overflow: visible !important;
		padding: 0 !important;
		position: static !important;
		width: 100% !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-player-sheet {
		background: #fff !important;
		border: 0 !important;
		box-shadow: none !important;
		color: #000 !important;
		display: block !important;
		inset: auto !important;
		height: auto !important;
		margin: 0 !important;
		max-height: none !important;
		max-width: none !important;
		overflow: visible !important;
		padding: 0 !important;
		position: static !important;
		width: 100% !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-player-sheet::backdrop { display: none !important; }
	body.clicky-core-printing-character-sheet .clicky-core-player-sheet > header {
		background: #fff !important;
		border-bottom: 2px solid #000 !important;
		color: #000 !important;
		padding: 0 0 3mm !important;
	}
	body.clicky-core-printing-character-sheet .clicky-core-player-sheet-title p,
	body.clicky-core-printing-character-sheet .clicky-core-player-sheet-title h2,
	body.clicky-core-printing-character-sheet .clicky-core-player-sheet-title span,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-standard-array span,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-standard-array strong { color: #000 !important; }
	body.clicky-core-printing-character-sheet .clicky-core-player-sheet-title > span,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-standard-array { display: none !important; }
	body.clicky-core-printing-character-sheet .clicky-core-player-sheet-header-actions,
	body.clicky-core-printing-character-sheet .clicky-core-player-sheet-portrait-editor button,
	body.clicky-core-printing-character-sheet button,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-attack-filters,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-level-up,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-roll-result,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-heading-actions { display: none !important; }
	body.clicky-core-printing-character-sheet .clicky-core-sheet-panel-toggle,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-collapsed-summary { display: none !important; }
	body.clicky-core-printing-character-sheet .clicky-core-player-sheet-portrait-frame {
		background: #fff !important;
		border: 1px solid #000 !important;
		height: 25mm !important;
		width: 25mm !important;
	}
	body.clicky-core-printing-character-sheet .clicky-core-player-sheet-portrait-frame img { filter: grayscale(1) contrast(1.08); }
	body.clicky-core-printing-character-sheet .clicky-core-player-sheet-body {
		background: #fff !important;
		color: #000 !important;
		gap: 2.5mm !important;
		grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
		overflow: visible !important;
		padding: 3mm 0 0 !important;
	}
	body.clicky-core-printing-character-sheet .clicky-core-sheet-panel {
		background: #fff !important;
		border: 1px solid #000 !important;
		box-shadow: none !important;
		break-inside: avoid;
		color: #000 !important;
		padding: 2mm !important;
	}
	body.clicky-core-printing-character-sheet .clicky-core-sheet-panel h3,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-panel h4,
	body.clicky-core-printing-character-sheet .clicky-core-player-sheet label,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-xp-progress strong,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-xp-progress span { color: #000 !important; }
	body.clicky-core-printing-character-sheet input,
	body.clicky-core-printing-character-sheet select,
	body.clicky-core-printing-character-sheet textarea,
	body.clicky-core-printing-character-sheet output {
		appearance: none !important;
		background: #fff !important;
		border: 0 !important;
		border-bottom: 1px solid #777 !important;
		border-radius: 0 !important;
		color: #000 !important;
		min-height: 0 !important;
		padding: 0.4mm 0 !important;
		resize: none !important;
	}
	body.clicky-core-printing-character-sheet input[type="checkbox"] {
		appearance: auto !important;
		border: 1px solid #000 !important;
	}
	body.clicky-core-printing-character-sheet .clicky-core-sheet-xp-progress,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-xp-track,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-target-ac,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-weight-summary,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-slot-tracker,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-slot-pool,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-proficiency-builder > div > span {
		background: #fff !important;
		border-color: #000 !important;
		box-shadow: none !important;
		color: #000 !important;
	}
	body.clicky-core-printing-character-sheet .clicky-core-sheet-xp-track > span,
	body.clicky-core-printing-character-sheet .clicky-core-character-xp-track > i { background: #555 !important; }
	body.clicky-core-printing-character-sheet .clicky-core-sheet-print-notes {
		display: block !important;
		break-before: page;
		min-height: 120mm;
	}
	body.clicky-core-printing-character-sheet .clicky-core-sheet-print-notes > div {
		display: grid;
		gap: 12mm;
		padding-top: 8mm;
	}
	body.clicky-core-printing-character-sheet .clicky-core-sheet-print-notes > div > span { border-bottom: 1px solid #777; }
	body.clicky-core-printing-character-sheet .clicky-core-sheet-item-row,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-attack-card,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-other-spell-row { break-inside: avoid; }
}

.clicky-core-sheet-level-up {
	background: #0c382c;
	border: 1px solid #55c788;
	border-radius: 4px;
	box-shadow: 0 0 1rem rgba(61, 211, 126, 0.2);
	color: #eaffef;
	margin-top: 0.7rem;
	padding: 0.7rem;
}

.clicky-core-sheet-level-up[hidden] {
	display: none;
}

.clicky-core-sheet-level-up > strong {
	color: #9ff0bd;
	display: block;
	font-size: 0.82rem;
}

.clicky-core-sheet-level-up > p {
	font-size: 0.66rem;
	margin: 0.25rem 0 0.55rem;
}

.clicky-core-sheet-level-up label {
	align-items: center;
	display: flex;
	font-size: 0.65rem;
	gap: 0.35rem;
	margin-top: 0.35rem;
}

.clicky-core-sheet-level-up-button,
.clicky-core-sheet-level-up > button,
.clicky-core-character-level-up-action,
.clicky-core-character-level-up-badge {
	background: #17653f !important;
	border-color: #67dc99 !important;
	color: #effff4 !important;
	font-weight: 800 !important;
}

.clicky-core-sheet-level-up-button:not(.is-ready) {
	background: #12454a !important;
	border-color: #b98b45 !important;
	color: #fff0cc !important;
}

.clicky-core-sheet-level-up-button:disabled {
	opacity: 0.55;
}

.clicky-core-player-sheet.is-level-up-ready > header,
.clicky-core-player-sheet.is-level-up-ready .clicky-core-sheet-identity {
	border-color: #55c788;
	box-shadow: inset 0 0 0 1px rgba(85, 199, 136, 0.28), 0 0 1.15rem rgba(61, 211, 126, 0.2);
}

.clicky-core-player-sheet.is-level-up-ready .clicky-core-player-sheet-portrait-frame {
	border: 2px solid #67dc99;
	box-shadow: 0 0 1rem rgba(61, 211, 126, 0.55);
}

.clicky-core-sheet-abilities {
	display: grid;
	gap: 0.35rem;
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.clicky-core-sheet-ability {
	align-items: center;
	background: #071c1f;
	border: 1px solid #48676a;
	border-radius: 4px;
	display: grid;
	gap: 0.18rem;
	justify-items: center;
	padding: 0.32rem;
}

.clicky-core-sheet-ability strong {
	color: #f6d99e;
	font-size: 0.72rem;
}

.clicky-core-sheet-ability output {
	color: #fff;
	font-size: 0.9rem;
	font-weight: 800;
}

.clicky-core-sheet-ability label {
	align-items: center;
	display: flex;
	font-size: 0.57rem;
	font-weight: 500;
}

.clicky-core-sheet-ability > small {
	color: #b9cbca;
	font-size: 0.58rem;
}

.clicky-core-sheet-ability > label,
.clicky-core-sheet-ability > small {
	line-height: 1.05;
}

.clicky-core-sheet-ability > div {
	display: flex;
	gap: 0.25rem;
}

.clicky-core-sheet-ability > input[type="number"] {
	max-width: 3.8rem;
	text-align: center;
}

.clicky-core-sheet-ability > div button {
	font-size: 0.62rem !important;
	padding: 0.25rem 0.35rem !important;
}

.clicky-core-sheet-skills {
	display: grid;
	gap: 0.08rem;
}

.clicky-core-sheet-combat-grid {
	display: grid;
	gap: 0.55rem;
	grid-column: 1 / -1;
	grid-template-columns: minmax(15.5rem, 1fr) minmax(0, 3fr);
}

.clicky-core-sheet-skill {
	align-items: center;
	border-bottom: 1px solid rgba(118, 151, 153, 0.25);
	display: grid;
	gap: 0.2rem;
	grid-template-columns: 4.8rem minmax(0, 1fr) 1.35rem 1.5rem 2.45rem;
	padding: 0.16rem 0;
}

.clicky-core-sheet-skill span {
	font-size: 0.61rem;
	line-height: 1.1;
	min-width: 0;
}

.clicky-core-sheet-skill > select {
	font-size: 0.62rem !important;
	padding: 0.25rem 0.3rem !important;
}

.clicky-core-sheet-skill-mod {
	font-size: 0.68rem;
	font-weight: 800;
	text-align: center;
}

.clicky-core-player-sheet .clicky-core-sheet-skill-die {
	align-items: center;
	background: transparent !important;
	border: 1px solid #638083 !important;
	color: #fff !important;
	display: inline-flex;
	font-size: 1rem !important;
	height: 1.5rem;
	justify-content: center;
	line-height: 1 !important;
	padding: 0 !important;
	width: 1.5rem;
}

.clicky-core-player-sheet .clicky-core-sheet-skill-die:hover,
.clicky-core-player-sheet .clicky-core-sheet-skill-die:focus-visible {
	background: #24555a !important;
}

.clicky-core-sheet-skill-result {
	align-items: center;
	background: #061719;
	border: 1px solid #527175;
	border-radius: 3px;
	display: grid;
	height: 1.5rem;
	justify-items: center;
	line-height: 1;
	padding: 0.08rem 0.12rem;
}

.clicky-core-sheet-skill-result strong {
	color: #fff5df;
	font-size: 0.7rem;
}

.clicky-core-sheet-skill-result small {
	color: #9db4b3;
	font-size: 0.46rem;
	min-height: 0.46rem;
}

.clicky-core-sheet-heading {
	align-items: center;
	display: flex;
	gap: 0.4rem;
	justify-content: space-between;
}

.clicky-core-sheet-panel-toggle {
	flex: 0 0 auto;
	font-size: 0.72rem !important;
	line-height: 1 !important;
	margin-left: auto;
	min-width: 1.8rem;
	padding: 0.3rem 0.4rem !important;
}

.clicky-core-sheet-panel.is-collapsed {
	align-self: start;
}

.clicky-core-sheet-panel.is-collapsed > :not(.clicky-core-sheet-heading):not(.clicky-core-sheet-collapsed-summary) {
	display: none !important;
}

.clicky-core-sheet-collapsed-summary {
	color: #d6e4e1;
	font-size: 0.7rem;
	line-height: 1.3;
	margin: 0.2rem 0 0;
}

.clicky-core-sheet-panel:not(.is-collapsed) > .clicky-core-sheet-collapsed-summary {
	display: none;
}

.clicky-core-sheet-quest-items {
	grid-column: 1 / -1;
}

.clicky-core-sheet-heading-actions {
	display: flex;
	gap: 0.35rem;
}

.clicky-core-sheet-attack-filters {
	display: flex;
	gap: 0.75rem;
	margin: -0.2rem 0 0.55rem;
}

.clicky-core-sheet-attack-filters label {
	align-items: center;
	display: flex;
	font-size: 0.62rem;
	font-weight: 500;
	gap: 0.25rem;
}

.clicky-core-sheet-section-note {
	color: #9db4b3;
	font-size: 0.66rem;
	margin: -0.15rem 0 0.6rem;
}

.clicky-core-sheet-spell-subsection {
	border-top: 1px solid #48676a;
	margin-top: 0.9rem;
	padding-top: 0.75rem;
}

.clicky-core-sheet-inspiration > span {
	align-items: center;
	display: flex;
	gap: 0.3rem;
}

.clicky-core-player-sheet .clicky-core-sheet-help {
	align-items: center;
	border-radius: 50% !important;
	display: inline-flex;
	font-size: 0.62rem !important;
	height: 1.2rem;
	justify-content: center;
	padding: 0 !important;
	position: relative;
	width: 1.2rem;
}

.clicky-core-sheet-help:hover::after,
.clicky-core-sheet-help:focus-visible::after {
	background: #020c0e;
	border: 1px solid #cda766;
	border-radius: 3px;
	bottom: calc(100% + 0.45rem);
	color: #fff2d0;
	content: attr(data-tooltip);
	font-size: 0.67rem;
	font-weight: 500;
	left: 50%;
	line-height: 1.35;
	padding: 0.5rem;
	position: absolute;
	text-align: left;
	transform: translateX(-50%);
	width: 15rem;
	z-index: 10;
}

.clicky-core-sheet-proficiency-builder {
	align-items: end;
	display: grid;
	gap: 0.4rem;
	grid-template-columns: minmax(0, 1fr) auto;
}

.clicky-core-sheet-proficiency-builder > div {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	grid-column: 1 / -1;
}

.clicky-core-sheet-proficiency-builder > div > span {
	align-items: center;
	background: #061719;
	border: 1px solid #527175;
	border-radius: 3px;
	color: #f6d99e;
	display: inline-flex;
	font-size: 0.65rem;
	gap: 0.25rem;
	padding: 0.2rem 0.25rem 0.2rem 0.45rem;
}

.clicky-core-sheet-proficiency-builder > div > span button {
	border: 0 !important;
	font-size: 0.8rem !important;
	line-height: 1 !important;
	padding: 0.1rem 0.2rem !important;
}

.clicky-core-sheet-proficiency-builder > div > small {
	color: #91aaa8;
	font-size: 0.65rem;
}

.clicky-core-sheet-derived {
	display: flex;
	gap: 0.75rem;
}

.clicky-core-sheet-derived span {
	color: #b9cbca;
	font-size: 0.65rem;
}

.clicky-core-sheet-derived strong {
	color: #f6d99e;
	font-size: 0.8rem;
}

.clicky-core-sheet-table-head,
.clicky-core-sheet-weapon-row {
	display: grid;
	gap: 0.4rem;
	grid-template-columns: 1.3fr 0.6fr 0.85fr 1fr 0.55fr auto;
	margin-bottom: 0.4rem;
}

.clicky-core-sheet-table-head,
.clicky-core-sheet-item-head {
	color: #b9cbca;
	font-size: 0.61rem;
	font-weight: 800;
}

.clicky-core-sheet-weapon-row > div {
	display: flex;
	gap: 0.25rem;
}

.clicky-core-sheet-attack-card {
	background: #071c1f;
	border: 1px solid #48676a;
	border-radius: 4px;
	margin-bottom: 0.65rem;
	padding: 0.65rem;
}

.clicky-core-sheet-attack-card-header {
	align-items: end;
	display: grid;
	gap: 0.55rem;
	grid-template-columns: minmax(12rem, 1.5fr) minmax(8rem, 0.8fr) auto;
	margin-bottom: 0.6rem;
}

.clicky-core-sheet-attack-card-header label,
.clicky-core-sheet-attack-details label,
.clicky-core-sheet-spell-details label {
	display: grid;
	gap: 0.2rem;
	min-width: 0;
}

.clicky-core-sheet-attack-card-header label > span,
.clicky-core-sheet-attack-details label > span,
.clicky-core-sheet-spell-details label > span {
	color: #b9cbca;
	font-size: 0.59rem;
	font-weight: 800;
	letter-spacing: 0.025em;
	line-height: 1.2;
	text-transform: uppercase;
}

.clicky-core-sheet-attack-card-header strong {
	color: #f6d99e;
	font-size: 0.68rem;
	padding-bottom: 0.55rem;
}

.clicky-core-sheet-attack-card-header > div {
	display: flex;
	gap: 0.3rem;
}

.clicky-core-player-sheet .clicky-core-sheet-collapse-button {
	align-items: center;
	background: transparent !important;
	border: 1px solid #638083 !important;
	color: #f6d99e !important;
	display: inline-flex;
	font-size: 0.85rem !important;
	height: 1.8rem;
	justify-content: center;
	line-height: 1 !important;
	padding: 0 !important;
	width: 1.8rem;
}

.clicky-core-sheet-attack-card.is-collapsed .clicky-core-sheet-attack-details,
.clicky-core-sheet-attack-card.is-collapsed .clicky-core-sheet-spell-details {
	display: none;
}

.clicky-core-sheet-attack-card.is-collapsed {
	align-items: end;
	display: grid;
	gap: 0.55rem;
	grid-template-columns: minmax(13rem, 1fr) minmax(13rem, 0.9fr);
	padding: 0.45rem 0.55rem;
}

.clicky-core-sheet-attack-card.is-collapsed .clicky-core-sheet-attack-card-header {
	margin-bottom: 0;
}

.clicky-core-sheet-attack-card.is-collapsed .clicky-core-sheet-attack-card-header {
	grid-template-columns: minmax(8rem, 1fr) auto;
}

.clicky-core-sheet-attack-card.is-collapsed .clicky-core-sheet-attack-card-header > strong {
	display: none;
}

.clicky-core-sheet-attack-card.is-collapsed .clicky-core-sheet-attack-roll {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}

.clicky-core-sheet-attack-card.is-collapsed .clicky-core-sheet-attack-remove {
	display: none;
}

.clicky-core-sheet-attack-details,
.clicky-core-sheet-spell-details {
	display: grid;
	gap: 0.45rem;
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.clicky-core-sheet-spell-details {
	border-top: 1px solid #27474a;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 0.55rem;
	padding-top: 0.55rem;
}

.clicky-core-sheet-attack-wide {
	grid-column: span 2;
}

.clicky-core-sheet-attack-roll {
	align-items: stretch;
	border-top: 1px solid #27474a;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.55rem;
	padding-top: 0.55rem;
}

.clicky-core-sheet-target-ac {
	align-items: center;
	background: #0b2b2f;
	border: 1px solid #48676a;
	border-radius: 3px;
	color: #d8e5df;
	display: inline-flex;
	font-size: 0.62rem;
	gap: 0.35rem;
	padding: 0.25rem 0.4rem;
}

.clicky-core-sheet-target-ac input {
	font-size: 0.72rem;
	min-width: 6rem;
	padding: 0.25rem;
	width: 6rem;
}

.clicky-core-player-sheet .clicky-core-sheet-attack-roll > button {
	align-items: center;
	background: #24555a !important;
	border: 1px solid #d4ad62 !important;
	color: #fff5df !important;
	display: inline-flex;
	font-size: 1.15rem !important;
	height: 2.35rem;
	justify-content: center;
	line-height: 1 !important;
	padding: 0 !important;
	width: 2.35rem;
}

.clicky-core-player-sheet .clicky-core-sheet-attack-roll > .clicky-core-sheet-d20-button {
	background: #d7ad4f !important;
	border: 0 !important;
	clip-path: polygon(50% 0, 91% 18%, 100% 60%, 72% 94%, 28% 94%, 0 60%, 9% 18%);
	color: #102326 !important;
	filter: drop-shadow(0 0 4px rgba(215, 173, 79, 0.48));
	font-family: Georgia, serif;
	font-size: 0.84rem !important;
	font-weight: 800;
	height: 2.85rem;
	position: relative;
	width: 2.85rem;
}

.clicky-core-player-sheet .clicky-core-sheet-attack-roll > .clicky-core-sheet-d20-button::before {
	border: 1px solid rgba(16, 35, 38, 0.72);
	clip-path: polygon(50% 6%, 92% 58%, 70% 90%, 30% 90%, 8% 58%);
	content: "";
	inset: 0.34rem;
	position: absolute;
}

.clicky-core-player-sheet .clicky-core-sheet-attack-roll > .clicky-core-sheet-d20-button span {
	position: relative;
	z-index: 1;
}

.clicky-core-player-sheet .clicky-core-sheet-attack-roll > .clicky-core-sheet-d20-button:hover,
.clicky-core-player-sheet .clicky-core-sheet-attack-roll > .clicky-core-sheet-d20-button:focus-visible {
	background: #f0d078 !important;
}

.clicky-core-player-sheet .clicky-core-sheet-attack-roll > .clicky-core-sheet-cast-button {
	font-size: 0.66rem !important;
	padding: 0 0.65rem !important;
	width: auto;
}

.clicky-core-player-sheet .clicky-core-sheet-attack-roll > .clicky-core-sheet-attack-remove {
	background: #572b29 !important;
	font-size: 0.62rem !important;
	height: auto;
	padding: 0.35rem 0.6rem !important;
	width: auto;
}

.clicky-core-sheet-attack-roll output {
	align-content: center;
	background: #041416;
	border: 1px solid #48676a;
	border-radius: 3px;
	display: grid;
	flex: 1;
	min-width: 14rem;
	min-height: 2.35rem;
	padding: 0.3rem 0.55rem;
}

.clicky-core-sheet-attack-roll output strong {
	color: #fff5df;
	font-size: 0.72rem;
	line-height: 1.35;
}

.clicky-core-sheet-attack-roll output small {
	color: #9db4b3;
	font-size: 0.53rem;
}

.clicky-core-sheet-other-spell-head,
.clicky-core-sheet-other-spell-row {
	display: grid;
	gap: 0.4rem;
	grid-template-columns: auto 1.1fr 0.65fr 0.72fr auto 1.2fr auto;
	margin-bottom: 0.4rem;
}

.clicky-core-sheet-other-spell-row.is-collapsed {
	grid-template-columns: auto minmax(0, 1fr) auto;
}

.clicky-core-sheet-other-spell-row.is-collapsed [data-other-spell-key="purpose"],
.clicky-core-sheet-other-spell-row.is-collapsed [data-other-spell-key="duration"],
.clicky-core-sheet-other-spell-row.is-collapsed .clicky-core-sheet-spell-concentration,
.clicky-core-sheet-other-spell-row.is-collapsed [data-other-spell-key="notes"] {
	display: none;
}

.clicky-core-sheet-spell-concentration {
	align-items: center;
	display: flex !important;
	font-size: 0.58rem !important;
	gap: 0.25rem !important;
	justify-content: center;
}

.clicky-core-sheet-spell-concentration input {
	flex: 0 0 auto;
}

.clicky-core-sheet-other-spell-actions {
	display: flex;
	gap: 0.25rem;
}

.clicky-core-sheet-other-spell-head {
	color: #b9cbca;
	font-size: 0.61rem;
	font-weight: 800;
}

.clicky-core-sheet-item-head,
.clicky-core-sheet-item-row {
	display: grid;
	gap: 0.4rem;
	grid-template-columns: 1.35fr 0.45fr 0.55fr 1.6fr 5rem auto;
	margin-bottom: 0.4rem;
}

.clicky-core-sheet-equipped {
	align-items: center;
	display: flex !important;
	font-size: 0.62rem !important;
	gap: 0.25rem !important;
}

.clicky-core-sheet-equipped input {
	flex: 0 0 auto;
}

.clicky-core-sheet-weight-summary {
	align-items: end;
	background: #071c1f;
	border: 1px solid #48676a;
	display: grid;
	gap: 0.45rem;
	grid-template-columns: auto minmax(0, 1fr) 11rem;
	margin-bottom: 0.65rem;
	padding: 0.55rem;
}

.clicky-core-sheet-weight-summary strong {
	color: #94d8ad;
}

.clicky-core-sheet-weight-summary strong.is-overloaded {
	color: #ff7c80;
}

.clicky-core-sheet-weight-summary span {
	color: #b9cbca;
	font-size: 0.7rem;
}

.clicky-core-sheet-coins {
	display: grid;
	gap: 0.3rem;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-bottom: 0.45rem;
}

.clicky-core-sheet-roll-result {
	background: #061719;
	border-left: 3px solid #d4ad62;
	color: #f5db9e;
	font-size: 0.72rem;
	margin-top: 0.7rem;
	padding: 0.5rem;
}

.clicky-core-sheet-empty {
	color: #a9bfbd;
	font-size: 0.7rem;
	margin: 0.4rem 0;
}

@media (max-width: 1100px) {
	.clicky-core-sheet-combat-summary,
	.clicky-core-sheet-identity,
	.clicky-core-sheet-equipment,
	.clicky-core-sheet-proficiencies {
		grid-column: span 6;
	}

	.clicky-core-sheet-secondary {
		grid-column: span 6;
	}
}

@media (max-width: 860px) {
	.clicky-core-player-sheet > header {
		align-items: flex-start;
	}

	.clicky-core-player-sheet-portrait-frame {
		height: 4.5rem;
		width: 4.5rem;
	}

	.clicky-core-player-sheet-body,
	.clicky-core-sheet-fields,
	.clicky-core-sheet-story {
		grid-template-columns: 1fr;
	}

	.clicky-core-sheet-combat-grid {
		grid-template-columns: 1fr;
	}

	.clicky-core-sheet-span,
	.clicky-core-sheet-combat-summary,
	.clicky-core-sheet-identity,
	.clicky-core-sheet-equipment,
	.clicky-core-sheet-proficiencies,
	.clicky-core-sheet-secondary {
		grid-column: auto;
	}

	.clicky-core-sheet-abilities {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.clicky-core-sheet-table-head,
	.clicky-core-sheet-other-spell-head {
		display: none;
	}

	.clicky-core-sheet-attack-card-header {
		align-items: stretch;
		grid-template-columns: 1fr;
	}

	.clicky-core-sheet-attack-card-header strong {
		padding-bottom: 0;
	}

	.clicky-core-sheet-attack-card.is-collapsed {
		grid-template-columns: 1fr;
	}

	.clicky-core-sheet-attack-details,
	.clicky-core-sheet-spell-details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.clicky-core-sheet-weapon-row,
	.clicky-core-sheet-other-spell-row,
	.clicky-core-sheet-item-row,
	.clicky-core-sheet-item-head {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.clicky-core-sheet-other-spell-row.is-collapsed {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.clicky-core-sheet-weight-summary {
		grid-template-columns: 1fr;
	}
}

/*
 * The character sheet is much wider than a printed page. Keep print as its own
 * document layout instead of allowing the desktop and responsive grids to
 * compete at A4/Letter widths.
 */
@media print {
	body.clicky-core-printing-character-sheet,
	body.clicky-core-printing-character-sheet .clicky-core-player-sheet {
		font-family: Arial, Helvetica, sans-serif !important;
		font-size: 8pt !important;
		line-height: 1.25 !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-player-sheet > header {
		align-items: center !important;
		display: grid !important;
		gap: 4mm !important;
		grid-template-columns: 25mm minmax(0, 1fr) !important;
		position: static !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-player-sheet-portrait-editor {
		display: block !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-player-sheet-title h2 {
		font-size: 18pt !important;
		line-height: 1.05 !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-player-sheet-body {
		display: block !important;
		max-height: none !important;
		width: 100% !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-panel,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-combat-grid {
		box-sizing: border-box !important;
		break-inside: auto !important;
		display: block !important;
		margin: 0 0 3mm !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-combat-summary,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-identity,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-equipment,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-proficiencies,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-secondary,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-span {
		grid-column: auto !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-panel h3,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-panel h4,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-heading {
		break-after: avoid;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-panel h3 {
		font-size: 11pt !important;
		margin-bottom: 2mm !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-panel h4 {
		font-size: 9pt !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-fields,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-combat-summary .clicky-core-sheet-fields,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-identity .clicky-core-sheet-fields {
		display: grid !important;
		gap: 2mm 3mm !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-story {
		display: grid !important;
		gap: 3mm !important;
		grid-template-columns: 1fr !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-player-sheet label {
		font-size: 7pt !important;
		line-height: 1.2 !important;
	}

	body.clicky-core-printing-character-sheet input,
	body.clicky-core-printing-character-sheet select,
	body.clicky-core-printing-character-sheet textarea,
	body.clicky-core-printing-character-sheet output {
		box-sizing: border-box !important;
		font-family: Arial, Helvetica, sans-serif !important;
		font-size: 8pt !important;
		line-height: 1.25 !important;
		max-width: 100% !important;
		overflow: visible !important;
		white-space: normal !important;
	}

	body.clicky-core-printing-character-sheet textarea {
		height: auto !important;
		min-height: 12mm !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-xp-award,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-inspiration {
		display: none !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-xp-progress {
		break-inside: avoid;
		margin-top: 2mm !important;
		padding: 2mm !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-abilities {
		display: grid !important;
		gap: 2mm !important;
		grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-ability {
		background: #fff !important;
		border-color: #000 !important;
		break-inside: avoid;
		color: #000 !important;
		gap: 0.8mm !important;
		padding: 1.5mm !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-ability strong,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-ability output,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-ability small {
		color: #000 !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-ability > div,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-skill-die,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-skill-result {
		display: none !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-skills-panel {
		break-before: page;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-skill {
		break-inside: avoid;
		gap: 2mm !important;
		grid-template-columns: 30mm minmax(0, 1fr) 10mm !important;
		padding: 1mm 0 !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-skill > select {
		font-size: 7pt !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-skill span,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-skill-mod {
		color: #000 !important;
		font-size: 8pt !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-attack-card,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-other-spell-row,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-item-row {
		background: #fff !important;
		border-color: #777 !important;
		break-inside: avoid;
		color: #000 !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-attack-card.is-collapsed {
		display: block !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-attack-card.is-collapsed .clicky-core-sheet-attack-details,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-attack-card.is-collapsed .clicky-core-sheet-spell-details {
		display: grid !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-attack-card-header {
		display: grid !important;
		gap: 2mm !important;
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important;
		margin-bottom: 2mm !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-attack-card-header > div,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-attack-roll,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-other-spell-actions {
		display: none !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-attack-details,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-spell-details {
		display: grid !important;
		gap: 2mm !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-attack-wide {
		grid-column: span 1 !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-other-spell-head {
		display: none !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-other-spell-row,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-other-spell-row.is-collapsed {
		display: grid !important;
		gap: 2mm !important;
		grid-template-columns: minmax(28mm, 1fr) minmax(0, 1.2fr) minmax(22mm, 0.7fr) 24mm !important;
		padding: 1.5mm 0 !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-other-spell-row.is-collapsed [data-other-spell-key="purpose"],
	body.clicky-core-printing-character-sheet .clicky-core-sheet-other-spell-row.is-collapsed [data-other-spell-key="duration"],
	body.clicky-core-printing-character-sheet .clicky-core-sheet-other-spell-row.is-collapsed .clicky-core-sheet-spell-concentration,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-other-spell-row.is-collapsed [data-other-spell-key="notes"] {
		display: grid !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-spell-concentration {
		display: flex !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-weight-summary {
		background: #fff !important;
		border-color: #000 !important;
		display: grid !important;
		gap: 2mm !important;
		grid-template-columns: auto minmax(0, 1fr) 38mm !important;
		padding: 2mm !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-weight-summary strong,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-weight-summary span {
		color: #000 !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-coins {
		gap: 2mm !important;
		grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-item-head,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-item-row {
		display: grid !important;
		gap: 2mm !important;
		grid-template-columns: minmax(28mm, 1.3fr) 13mm 17mm minmax(35mm, 1.6fr) 18mm !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-proficiency-builder {
		display: block !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-proficiency-builder > label,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-proficiency-builder > select {
		display: none !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-proficiency-builder > div {
		border-bottom: 1px solid #aaa;
		color: #000 !important;
		display: flex !important;
		margin-bottom: 2mm;
		min-height: 6mm;
		padding-bottom: 1mm;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-proficiency-builder > div > span,
	body.clicky-core-printing-character-sheet .clicky-core-sheet-proficiency-builder > div > small {
		background: #fff !important;
		border: 0 !important;
		color: #000 !important;
	}

	body.clicky-core-printing-character-sheet .clicky-core-sheet-print-notes {
		box-sizing: border-box !important;
		break-before: page;
		min-height: 245mm !important;
	}

body.clicky-core-printing-character-sheet section:has(> .clicky-core-sheet-story) {
		break-inside: avoid;
	}
}

/* Printable character sheets have their own paper workspace. The campaign
 * sheet remains optimised for play while each character can save a different
 * arrangement for A4 or Letter printing. */
.clicky-core-print-layout-dialog {
	background: #172f33;
	border: 1px solid #587277;
	border-radius: 6px;
	box-shadow: 0 1.25rem 4rem rgba(0, 0, 0, 0.65);
	box-sizing: border-box;
	color: #f7ead1;
	height: min(96vh, 1100px);
	max-height: 96vh;
	max-width: 1500px;
	padding: 0;
	width: min(96vw, 1500px);
}

.clicky-core-print-layout-dialog::backdrop { background: rgba(0, 10, 12, 0.9); }
.clicky-core-print-layout-editor { min-height: 100%; }
.clicky-core-print-layout-toolbar {
	align-items: center;
	background: #071b1e;
	border-bottom: 1px solid #49666a;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: 0.85rem 1rem;
	position: sticky;
	top: 0;
	z-index: 20;
}
.clicky-core-print-layout-toolbar p { color: #e7b75d; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; margin: 0; text-transform: uppercase; }
.clicky-core-print-layout-toolbar h2 { color: #fff3dc; font-size: 1.25rem; margin: 0.1rem 0; }
.clicky-core-print-layout-toolbar span { color: #a9c1c0; display: block; font-size: 0.72rem; }
.clicky-core-print-layout-toolbar > div:last-child { align-items: end; display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: flex-end; }
.clicky-core-print-layout-toolbar label { color: #c9dbd8; display: grid; font-size: 0.62rem; gap: 0.12rem; }
.clicky-core-print-layout-toolbar select,
.clicky-core-print-layout-toolbar button,
.clicky-core-print-layout-block-controls input,
.clicky-core-print-layout-block-controls select,
.clicky-core-print-layout-block-controls button,
.clicky-core-print-layout-hidden button {
	background: #153d42 !important;
	border: 1px solid #b88a49 !important;
	border-radius: 3px !important;
	color: #fff0d5 !important;
	font-size: 0.68rem !important;
	line-height: 1.2 !important;
	min-height: 2rem;
	padding: 0.4rem 0.55rem !important;
}
.clicky-core-print-layout-toolbar [data-print-layout-print] { background: #9a5b27 !important; font-weight: 800; }
.clicky-core-print-layout-help {
	align-items: center;
	background: #24494e;
	border-bottom: 1px solid #668184;
	display: flex;
	font-size: 0.72rem;
	gap: 0.8rem;
	padding: 0.6rem 1rem;
}
.clicky-core-print-layout-help strong { color: #f1c875; }
.clicky-core-print-layout-help span { color: #d2dfdc; }
.clicky-core-print-layout-pages { display: grid; gap: 1.5rem; justify-content: center; overflow: auto; padding: 1.5rem; }
.clicky-core-print-layout-page {
	background: #fff;
	box-shadow: 0 0.35rem 1.3rem rgba(0, 0, 0, 0.5);
	box-sizing: border-box;
	color: #111;
	min-height: 1123px;
	padding: 30px;
	position: relative;
	width: 794px;
}
.clicky-core-print-layout-pages.is-letter .clicky-core-print-layout-page { min-height: 1056px; width: 816px; }
.clicky-core-print-layout-page-number { color: #777; font: 10px/1 Arial, sans-serif; position: absolute; right: 12px; top: 10px; }
.clicky-core-print-layout-character-header {
	align-items: center;
	border-bottom: 2px solid #111;
	display: grid;
	gap: 14px;
	grid-template-columns: 74px 1fr;
	margin-bottom: 12px;
	padding-bottom: 10px;
}
.clicky-core-print-layout-portrait { align-items: center; border: 1px solid #222; display: flex; height: 70px; justify-content: center; overflow: hidden; width: 70px; }
.clicky-core-print-layout-portrait img { filter: grayscale(1) contrast(1.05); height: 100%; object-fit: cover; width: 100%; }
.clicky-core-print-layout-portrait span { color: #777; font: 10px Arial, sans-serif; }
.clicky-core-print-layout-character-header span { font: 700 9px/1.2 Arial, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.clicky-core-print-layout-character-header h1 { color: #000; font: 700 25px/1.05 Georgia, serif; margin: 2px 0 4px; }
.clicky-core-print-layout-character-header p { color: #222; font: 11px/1.3 Arial, sans-serif; margin: 0; }
.clicky-core-print-layout-grid { box-sizing: border-box; min-height: var(--print-canvas-height); position: relative; width: 100%; }
.clicky-core-print-layout-grid.is-grid-migration { align-items: start; display: grid; gap: 10px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.clicky-core-print-layout-grid.is-freeform { height: var(--print-canvas-height); }
.clicky-core-print-layout-block {
	border: 1px dashed #a47d3d;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	position: relative;
}
.clicky-core-print-layout-grid.is-grid-migration .clicky-core-print-layout-block { grid-column: span var(--print-span, 12); }
.clicky-core-print-layout-grid.is-freeform .clicky-core-print-layout-block { position: absolute; }
.clicky-core-print-layout-block.is-positioning { box-shadow: 0 0 0 2px #d6a84e, 0 8px 20px rgba(0, 0, 0, 0.3); z-index: 10; }
.clicky-core-print-layout-block.is-height-compact .clicky-core-print-layout-content { max-height: 170px; overflow: hidden; }
.clicky-core-print-layout-block.is-height-tall .clicky-core-print-layout-content { min-height: 320px; }
.clicky-core-print-layout-block-controls {
	align-items: end;
	background: #e9e2d4;
	border-bottom: 1px dashed #a47d3d;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 5px;
}
.clicky-core-print-layout-block-controls label { color: #333; display: grid; font: 8px/1 Arial, sans-serif; gap: 2px; }
.clicky-core-print-layout-block-controls select,
.clicky-core-print-layout-block-controls input,
.clicky-core-print-layout-block-controls button { font-size: 10px !important; min-height: 25px; padding: 3px 5px !important; }
.clicky-core-print-layout-block-controls input { box-sizing: border-box; width: 58px; }
.clicky-core-print-layout-drag { color: #222; cursor: grab; font: 700 11px/25px Arial, sans-serif; margin-right: auto; }
.clicky-core-print-layout-block:active .clicky-core-print-layout-drag { cursor: grabbing; }
.clicky-core-print-layout-content-viewport { flex: 1 1 auto; min-height: 0; overflow: auto; }
.clicky-core-print-layout-resize { background: linear-gradient(135deg, transparent 0 45%, #8a642c 46% 55%, transparent 56% 66%, #8a642c 67% 76%, transparent 77%); bottom: 1px; cursor: nwse-resize; height: 18px; position: absolute; right: 1px; width: 18px; z-index: 4; }
.clicky-core-print-layout-drop-zone {
	border: 1px dashed #aaa;
	color: #777;
	font: 11px/34px Arial, sans-serif;
	grid-column: 1 / -1;
	height: 34px;
	text-align: center;
}
.clicky-core-print-layout-grid.is-freeform .clicky-core-print-layout-drop-zone { display: none; }
.clicky-core-print-layout-content {
	background: #fff !important;
	box-sizing: border-box;
	color: #111 !important;
	font: 10px/1.25 Arial, Helvetica, sans-serif !important;
	min-width: 0;
	padding: 9px;
}
.clicky-core-print-layout-content h3 { border-bottom: 1px solid #444; color: #000 !important; font: 700 14px/1.2 Georgia, serif !important; margin: 0 0 7px; padding-bottom: 4px; }
.clicky-core-print-layout-content h4 { color: #000 !important; font: 700 11px/1.2 Arial, sans-serif !important; margin: 7px 0 3px; }
.clicky-core-print-layout-content label,
.clicky-core-print-layout-content span,
.clicky-core-print-layout-content strong,
.clicky-core-print-layout-content small,
.clicky-core-print-layout-content p,
.clicky-core-print-layout-content output { color: #111 !important; }
.clicky-core-print-layout-content label { display: grid; font-size: 8px; gap: 2px; }
.clicky-core-print-value { border-bottom: 1px solid #aaa; display: block; font-size: 10px; min-height: 13px; padding: 1px 0; white-space: pre-wrap; }
.clicky-core-print-layout-content .clicky-core-sheet-fields { display: grid !important; gap: 5px 8px !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.clicky-core-print-layout-content .clicky-core-sheet-heading { align-items: start; display: flex; gap: 5px; justify-content: space-between; }
.clicky-core-print-layout-content .clicky-core-sheet-derived { display: flex; font-size: 8px; gap: 6px; }
.clicky-core-print-layout-content .clicky-core-sheet-abilities { display: grid !important; gap: 5px !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.clicky-core-print-layout-content.is-abilities-vertical .clicky-core-sheet-abilities { grid-template-columns: 1fr !important; }
.clicky-core-print-layout-content .clicky-core-sheet-ability { background: #fff !important; border: 1px solid #555 !important; color: #111 !important; display: grid !important; gap: 2px !important; grid-template-columns: minmax(0, 1fr) auto auto !important; padding: 4px !important; }
.clicky-core-print-layout-content .clicky-core-sheet-xp-progress,
.clicky-core-print-layout-content .clicky-core-sheet-target-ac,
.clicky-core-print-layout-content .clicky-core-sheet-weight-summary,
.clicky-core-print-layout-content .clicky-core-sheet-slot-tracker,
.clicky-core-print-layout-content .clicky-core-sheet-slot-pool,
.clicky-core-print-layout-content .clicky-core-sheet-proficiency-builder > div > span {
	background: #fff !important;
	background-image: none !important;
	border-color: #777 !important;
	box-shadow: none !important;
	color: #111 !important;
}
.clicky-core-print-layout-content .clicky-core-sheet-xp-track {
	background: #fff !important;
	border-color: #777 !important;
	box-shadow: none !important;
}
.clicky-core-print-layout-content .clicky-core-sheet-xp-track > span { background: #777 !important; }
.clicky-core-print-layout-content .clicky-core-sheet-slot-heading strong,
.clicky-core-print-layout-content .clicky-core-sheet-slot-heading small,
.clicky-core-print-layout-content .clicky-core-sheet-slot-pool span,
.clicky-core-print-layout-content .clicky-core-sheet-slot-pool small,
.clicky-core-print-layout-content .clicky-core-sheet-weight-summary strong,
.clicky-core-print-layout-content .clicky-core-sheet-weight-summary span { color: #111 !important; }
.clicky-core-print-layout-content .clicky-core-sheet-ability label { grid-column: 1 / -1; }
.clicky-core-print-layout-content .clicky-core-sheet-ability > div { display: none !important; }
.clicky-core-print-layout-content .clicky-core-sheet-skills { display: grid; gap: 1px; }
.clicky-core-print-layout-content .clicky-core-sheet-skill { display: grid !important; gap: 4px !important; grid-template-columns: 32px 1fr 24px !important; padding: 2px 0 !important; }
.clicky-core-print-layout-content .clicky-core-sheet-skill-result { display: none; }
.clicky-core-print-layout-content .clicky-core-sheet-attack-card,
.clicky-core-print-layout-content .clicky-core-sheet-other-spell-row,
.clicky-core-print-layout-content .clicky-core-sheet-item-row { background: #fff !important; border-color: #999 !important; color: #111 !important; font-size: 9px !important; }
.clicky-core-print-layout-content .clicky-core-sheet-attack-details,
.clicky-core-print-layout-content .clicky-core-sheet-spell-details { display: grid !important; gap: 4px !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.clicky-core-print-layout-content .clicky-core-sheet-attack-card-header > div,
.clicky-core-print-layout-content .clicky-core-sheet-attack-roll,
.clicky-core-print-layout-content .clicky-core-sheet-other-spell-actions { display: none !important; }
.clicky-core-print-layout-content .clicky-core-sheet-item-head,
.clicky-core-print-layout-content .clicky-core-sheet-item-row { display: grid !important; gap: 4px !important; grid-template-columns: 1.4fr 35px 45px 1.5fr 35px !important; }
.clicky-core-print-layout-content .clicky-core-sheet-proficiency-builder { display: block !important; }
.clicky-core-print-layout-content .clicky-core-sheet-proficiency-builder > button,
.clicky-core-print-layout-content .clicky-core-sheet-proficiency-builder > label { display: none !important; }
.clicky-core-print-layout-content .clicky-core-sheet-story { display: grid !important; gap: 8px !important; grid-template-columns: 1fr !important; }
.clicky-core-print-layout-content .clicky-core-sheet-print-notes > div,
.clicky-core-print-layout-content > div:has(> span:empty) { display: grid; gap: 28px; padding-top: 12px; }
.clicky-core-print-layout-content > div:has(> span:empty) > span { border-bottom: 1px solid #777; }
.clicky-core-print-layout-hidden { align-items: center; background: #0b2326; border: 1px solid #4b6669; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.7rem; }
.clicky-core-print-layout-hidden strong { color: #efc574; margin-right: 0.3rem; }

@media (max-width: 900px) {
	.clicky-core-print-layout-toolbar { align-items: stretch; flex-direction: column; position: static; }
	.clicky-core-print-layout-toolbar > div:last-child { justify-content: flex-start; }
	.clicky-core-print-layout-pages { justify-content: start; }
}

@media print {
	body.clicky-core-printing-layout { background: #fff !important; margin: 0 !important; }
	body.clicky-core-printing-layout > *:not(.clicky-core-print-layout-dialog) { display: none !important; }
	body.clicky-core-printing-layout .clicky-core-print-layout-dialog {
		background: #fff !important;
		border: 0 !important;
		box-shadow: none !important;
		display: block !important;
		height: auto !important;
		inset: auto !important;
		margin: 0 !important;
		max-height: none !important;
		max-width: none !important;
		overflow: visible !important;
		padding: 0 !important;
		position: static !important;
		width: 100% !important;
	}
	body.clicky-core-printing-layout .clicky-core-print-layout-dialog::backdrop,
	body.clicky-core-printing-layout .clicky-core-print-layout-toolbar,
	body.clicky-core-printing-layout .clicky-core-print-layout-help,
	body.clicky-core-printing-layout .clicky-core-print-layout-block-controls,
	body.clicky-core-printing-layout .clicky-core-print-layout-resize,
	body.clicky-core-printing-layout .clicky-core-print-layout-drop-zone,
	body.clicky-core-printing-layout .clicky-core-print-layout-hidden,
	body.clicky-core-printing-layout .clicky-core-print-layout-page-number { display: none !important; }
	body.clicky-core-printing-layout .clicky-core-print-layout-pages { display: block !important; overflow: visible !important; padding: 0 !important; }
	body.clicky-core-printing-layout .clicky-core-print-layout-page {
		box-shadow: none !important;
		break-after: page;
		min-height: 0 !important;
		padding: 0 !important;
		width: 100% !important;
	}
	body.clicky-core-printing-layout .clicky-core-print-layout-page:last-child { break-after: auto; }
	body.clicky-core-printing-layout .clicky-core-print-layout-grid { display: block !important; height: var(--print-canvas-height) !important; min-height: var(--print-canvas-height) !important; position: relative !important; }
	body.clicky-core-printing-layout .clicky-core-print-layout-block { border: 1px solid #333 !important; break-inside: avoid; }
	body.clicky-core-printing-layout .clicky-core-print-layout-content-viewport { height: 100% !important; overflow: hidden !important; }
	body.clicky-core-printing-layout .clicky-core-print-layout-content { font-size: 7.5pt !important; padding: 2mm !important; }
}

.clicky-core-room-detail-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clicky-core-room-section-secrets {
	grid-column: 1 / -1;
}

@media (min-width: 1000px) {
	body.clicky-core-app-shell:has(.clicky-core-room-explorer) .entry-content {
		padding-inline: 0 !important;
	}

	.clicky-core-room-explorer {
		display: grid;
		gap: 1rem;
		grid-template-columns: minmax(14rem, 22vw) minmax(28rem, 1fr) minmax(14rem, 20vw);
	}

	.clicky-core-room-navigation {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.clicky-core-room-banner {
		aspect-ratio: 2 / 1;
		background: #020b0e;
		grid-column: 2;
		grid-row: 2;
		margin: 0;
		width: 100%;
	}

	.clicky-core-room-banner img {
		height: 100%;
		object-fit: contain;
	}

	.clicky-core-room-explorer-header {
		grid-column: 2;
		grid-row: 3;
		margin-bottom: 0;
	}

	.clicky-core-room-section-read-aloud {
		grid-column: 2;
		grid-row: 4;
		margin: 0;
	}

	.clicky-core-room-section-dm-notes {
		grid-column: 2;
		grid-row: 5;
		margin: 0;
	}

	.clicky-core-room-detail-grid {
		display: contents;
	}

	.clicky-core-room-section-occupants {
		grid-column: 1;
		grid-row: 2;
		margin: 0;
	}

	.clicky-core-room-section-features {
		grid-column: 1;
		grid-row: 3 / span 2;
		margin: 0;
	}

	.clicky-core-room-section-exits {
		grid-column: 3;
		grid-row: 2;
		margin: 0;
	}

	.clicky-core-room-section-secrets {
		grid-column: 3;
		grid-row: 3 / span 2;
		margin: 0;
	}
}

@media (min-width: 1000px) {
	body.clicky-core-app-shell:has(.clicky-core-room-explorer-column-layout) {
		overflow: hidden;
	}

	.clicky-core-room-explorer-column-layout {
		display: grid;
		gap: 0;
		grid-template-columns: 1fr;
		grid-template-rows: auto minmax(0, 1fr);
		height: 100vh;
		height: 100dvh;
		inset: 0;
		overflow: hidden;
		position: fixed;
		z-index: 10;
	}

	.clicky-core-room-explorer-column-layout .clicky-core-room-navigation {
		grid-column: 1;
		grid-row: 1;
		min-height: 0;
		position: relative;
		z-index: 3;
	}

	.clicky-core-dm-workspace {
		display: grid;
		gap: 1rem;
		grid-column: 1;
		grid-row: 2;
		grid-template-columns: minmax(14rem, 22vw) minmax(24rem, 1fr) minmax(14rem, 20vw);
		min-height: 0;
		overflow: hidden;
		padding-top: 1rem;
	}

	.clicky-core-dm-column {
		box-sizing: border-box;
		min-width: 0;
		min-height: 0;
		overscroll-behavior: contain;
		overflow-x: hidden;
		overflow-y: auto;
		scrollbar-color: #48676a #020b0e;
		scrollbar-gutter: stable;
		scrollbar-width: thin;
	}

	.clicky-core-dm-column-left,
	.clicky-core-dm-column-right {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}

	.clicky-core-dm-column-centre {
		padding-bottom: 1rem;
	}

	.clicky-core-dm-column-centre .clicky-core-room-banner,
	.clicky-core-dm-column-centre .clicky-core-initiative-launch,
	.clicky-core-dm-column-centre .clicky-core-room-explorer-header,
	.clicky-core-dm-column-centre .clicky-core-room-state-controls,
	.clicky-core-dm-column-centre .clicky-core-room-section,
	.clicky-core-dm-column-left .clicky-core-room-section,
	.clicky-core-dm-column-right .clicky-core-room-section {
		grid-column: auto;
		grid-row: auto;
		margin: 0 0 1rem;
		width: 100%;
	}

	.clicky-core-dm-column-centre .clicky-core-dm-notes-layout .clicky-core-room-section {
		margin: 0;
	}

	.clicky-core-dm-column-centre .clicky-core-dm-notes-layout .clicky-core-room-condition-control {
		margin: 0 0 0.7rem;
	}

	.clicky-core-dm-column *,
	.clicky-core-dm-column *::before,
	.clicky-core-dm-column *::after {
		box-sizing: border-box;
		max-width: 100%;
	}

	.clicky-core-dm-column :is(p, li, a, button, label, strong, span) {
		overflow-wrap: anywhere;
	}

	.clicky-core-dm-column-centre .clicky-core-room-banner {
		aspect-ratio: 2 / 1;
	}

	.clicky-core-dm-column-centre .clicky-core-room-explorer-header {
		margin-bottom: 0.45rem;
		padding-bottom: 0.5rem;
	}

	.clicky-core-dm-column-right .clicky-core-dm-party-overview {
		position: static;
	}

	.clicky-core-dm-column-right .clicky-core-dm-party-list {
		max-height: none;
		overflow: visible;
		padding-right: 0;
	}

	.clicky-core-dm-column-centre .clicky-core-room-section-exits {
		padding: 0.75rem 1rem;
	}

	.clicky-core-dm-column-centre .clicky-core-room-section-exits .clicky-core-room-list {
		align-items: center;
		display: flex;
		flex-wrap: wrap;
		gap: 0.45rem;
		padding: 0;
	}

	.clicky-core-dm-column-centre .clicky-core-room-section-exits .clicky-core-room-list > li {
		margin: 0;
	}

	.clicky-core-dm-column-centre .clicky-core-room-section-exits .clicky-core-checkpoint-route,
	.clicky-core-dm-column-centre .clicky-core-room-section-exits .clicky-core-exit-route,
	.clicky-core-dm-column-centre .clicky-core-room-section-exits .clicky-core-route-option {
		margin: 0;
	}

	.clicky-core-room-explorer.is-dm-map-editor-open .clicky-core-dm-workspace {
		grid-template-columns: minmax(0, 1fr);
	}

	.clicky-core-room-explorer.is-dm-map-editor-open :is(.clicky-core-dm-column-left, .clicky-core-dm-column-right) {
		display: none;
	}

	.clicky-core-room-explorer.is-dm-map-editor-open .clicky-core-dm-column-centre {
		overflow: hidden;
	}

	.clicky-core-room-explorer.is-dm-map-editor-open .clicky-core-dm-column-centre > :not(.is-map-editing) {
		display: none;
	}

	.clicky-core-room-explorer.is-dm-map-editor-open .clicky-core-room-section.is-map-editing {
		display: flex;
		flex-direction: column;
		height: 100%;
		margin: 0;
		padding: 1rem;
	}

	.clicky-core-room-explorer.is-dm-map-editor-open .is-map-editing [data-map-panel-content] {
		flex: 1;
		min-height: 0;
	}

	.clicky-core-room-explorer.is-dm-map-editor-open .is-map-editing.clicky-core-room-section-local-map .clicky-core-local-map-shell {
		display: flex;
		flex-direction: column;
	}

	.clicky-core-room-explorer.is-dm-map-editor-open .is-map-editing .clicky-core-local-map-viewport {
		flex: 1;
		height: auto;
	}

	.clicky-core-room-explorer.is-dm-map-editor-open .is-map-editing.clicky-core-room-section-area-map .clicky-core-area-map,
	.clicky-core-room-explorer.is-dm-map-editor-open .is-map-editing.clicky-core-room-section-world-map .clicky-core-area-map {
		align-self: center;
		aspect-ratio: var(--clicky-core-map-aspect, 4 / 3);
		flex: 0 0 auto;
		height: auto;
		max-height: calc(100vh - 11rem);
		width: min(100%, var(--clicky-core-map-editor-max-width, 100%));
	}
}

.clicky-core-initiative-launch {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: center;
	margin: -0.35rem 0 1rem;
}

.clicky-core-room-explorer .clicky-core-initiative-launch [data-dm-encounter-open] {
	background: #6b242c !important;
	border: 1px solid #e0a066 !important;
	box-shadow: 0 0.2rem 0.55rem rgba(48, 5, 10, 0.28);
	color: #fff2d0 !important;
	font-size: 0.82rem;
	letter-spacing: 0;
	min-width: min(100%, 10rem);
	padding: 0.68rem 1rem;
	text-transform: none;
}

.clicky-core-room-explorer .clicky-core-initiative-launch [data-dm-encounter-open]:hover,
.clicky-core-room-explorer .clicky-core-initiative-launch [data-dm-encounter-open]:focus-visible {
	background: #842f38 !important;
	border-color: #f0c27e !important;
}

.clicky-core-room-explorer .clicky-core-initiative-launch .clicky-core-player-display-show {
	align-self: stretch;
	font-size: 0.82rem;
	min-width: min(100%, 10rem);
	padding: 0.68rem 1rem;
}

.clicky-core-room-explorer .clicky-core-initiative-launch .clicky-core-player-display-open {
	align-items: center;
	align-self: stretch;
	background: #5a412d !important;
	border: 1px solid #cda766 !important;
	border-radius: 3px;
	box-sizing: border-box;
	color: #fff2d0 !important;
	display: inline-flex;
	font: 700 0.82rem/1.2 Georgia, "Times New Roman", serif;
	justify-content: center;
	min-width: min(100%, 10rem);
	padding: 0.68rem 1rem;
	text-decoration: none !important;
}

.clicky-core-room-explorer .clicky-core-initiative-launch .clicky-core-player-display-open:hover,
.clicky-core-room-explorer .clicky-core-initiative-launch .clicky-core-player-display-open:focus-visible {
	background: #3f2d20 !important;
	border-color: #e2bd78 !important;
}

.clicky-core-room-explorer.is-dm-encounter-screen .clicky-core-initiative-launch {
	display: none;
}

.clicky-core-room-section-area-map,
.clicky-core-room-section-local-map,
.clicky-core-room-section-world-map,
.clicky-core-room-section-encounter {
	background: #142c30;
}

.clicky-core-room-section-willy-well {
	border-color: rgba(211, 170, 83, .62);
	background: linear-gradient(145deg, rgba(72, 54, 32, .92), rgba(35, 43, 38, .96));
}

.clicky-core-room-section-willy-well details > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	cursor: pointer;
	color: #f4d790;
	font-family: Georgia, serif;
	font-size: clamp(1rem, 1.5vw, 1.3rem);
	font-weight: 700;
	list-style: none;
}

.clicky-core-room-section-willy-well details > summary::-webkit-details-marker {
	display: none;
}

.clicky-core-willy-well-arrow {
	transition: transform .18s ease;
}

.clicky-core-room-section-willy-well details[open] .clicky-core-willy-well-arrow {
	transform: rotate(180deg);
}

.clicky-core-willy-well-content {
	margin-top: .8rem;
	padding-top: .8rem;
	border-top: 1px solid rgba(244, 215, 144, .28);
}

.clicky-core-willy-well-roll {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: .7rem;
	margin: .8rem 0 1rem;
}

.clicky-core-willy-well-roll output {
	min-width: 0;
	padding: .55rem .7rem;
	border: 1px solid rgba(244, 215, 144, .35);
	border-radius: 3px;
	background: rgba(5, 21, 22, .72);
	color: #fff4d4;
	font-weight: 700;
}

.clicky-core-willy-well-payment {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(11rem, 1fr) auto auto minmax(10rem, 1.25fr);
	align-items: center;
	gap: .55rem;
	padding: .65rem;
	border: 1px solid rgba(227, 189, 104, .35);
	border-radius: 3px;
	background: rgba(35, 27, 13, .42);
}

.clicky-core-willy-well-payment span {
	grid-column: 1 / -1;
	color: #f0dfb7;
	font-size: .72rem;
}

.clicky-core-willy-well-payment output {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #d8cba9;
	font-size: .72rem;
	font-weight: 500;
	line-height: 1.25;
}

.clicky-core-willy-well-award {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(12rem, 1fr) auto minmax(8rem, 1fr);
	align-items: center;
	gap: .55rem;
	padding: .65rem;
	border: 1px solid rgba(244, 215, 144, .25);
	border-radius: 3px;
	background: rgba(7, 32, 34, .7);
}

.clicky-core-willy-well-award[hidden] {
	display: none;
}

.clicky-core-willy-well-award span {
	color: #d9ebdd;
	font-size: .82rem;
}

.clicky-core-willy-well-table {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .5rem 1.8rem;
	margin: .4rem 0 1rem;
	padding-left: 2.2rem;
}

.clicky-core-willy-well-table li {
	padding: 0 .25rem;
	color: #f7ead0;
	font-size: .88rem;
}

.clicky-core-willy-well-table li::marker {
	color: #e3bd68;
	font-weight: 700;
}

.clicky-core-willy-well-item {
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr) auto;
	align-items: center;
	gap: .55rem;
	min-height: 3.5rem;
	padding: .35rem;
	border: 1px solid rgba(244, 215, 144, .18);
	border-radius: 3px;
	background: rgba(5, 21, 22, .52);
}

.clicky-core-willy-well-item-image {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin: 0;
	border: 1px solid rgba(244, 215, 144, .28);
	border-radius: 2px;
	background: #071d1e;
	color: #ab9f86;
	font-size: .62rem;
	line-height: 1.1;
	text-align: center;
	object-fit: cover;
}

.clicky-core-willy-well-item-copy {
	display: grid;
	gap: .18rem;
	min-width: 0;
}

.clicky-core-willy-well-item-copy strong {
	font-size: .84rem;
	line-height: 1.2;
}

.clicky-core-willy-well-item-copy small {
	color: #c9bda5;
	font-size: .7rem;
}

.clicky-core-willy-well-item-tags {
	width: max-content;
	max-width: 100%;
	padding: .12rem .35rem;
	border: 1px solid rgba(118, 205, 158, .42);
	border-radius: 999px;
	color: #bce5ce;
	font-size: .64rem;
	line-height: 1.2;
}

.clicky-core-willy-well-image-button {
	padding: .35rem .48rem;
	font-size: .7rem;
	white-space: nowrap;
}

.clicky-core-willy-well-source {
	margin-bottom: 0;
	font-size: .78rem;
	color: #c9bda5;
}

.clicky-core-willy-well-source a {
	color: #f4d790;
}

@media (max-width: 720px) {
	.clicky-core-willy-well-roll {
		grid-template-columns: 1fr;
	}

	.clicky-core-willy-well-table {
		grid-template-columns: 1fr;
	}

	.clicky-core-willy-well-award {
		grid-template-columns: 1fr;
	}

	.clicky-core-willy-well-payment {
		grid-template-columns: 1fr;
	}

	.clicky-core-willy-well-item {
		grid-template-columns: 3rem minmax(0, 1fr);
	}

	.clicky-core-willy-well-image-button {
		grid-column: 1 / -1;
	}
}

.clicky-core-encounter-screen-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	justify-content: flex-end;
}

.clicky-core-room-explorer:not(.is-dm-encounter-screen) .clicky-core-room-section-encounter :is(.clicky-core-battle-controls, .clicky-core-encounter-initiative-setup, .clicky-core-encounter-supporting, [data-player-display-encounter-share]) {
	display: none;
}

.clicky-core-room-explorer:not(.is-dm-encounter-screen) .clicky-core-room-section-encounter {
	padding: 0.75rem;
}

.clicky-core-encounter-compact {
	background: #0b2327;
	border: 1px solid #48676a;
	border-radius: 3px;
	padding: 0.65rem;
}

.clicky-core-encounter-compact > p {
	color: #d4e4df;
	font-size: 0.74rem;
	margin: 0 0 0.45rem;
}

.clicky-core-encounter-compact ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.clicky-core-encounter-compact li {
	align-items: center;
	background: #071619;
	border: 1px solid rgba(205, 167, 102, 0.35);
	border-radius: 3px;
	display: inline-flex;
	font-size: 0.72rem;
	gap: 0.45rem;
	padding: 0.35rem 0.5rem;
}

.clicky-core-encounter-compact li span {
	color: #cda766;
	font-size: 0.62rem;
	font-weight: 700;
	text-transform: uppercase;
}

[data-custom-campaign-location] .clicky-core-encounter-compact li {
	align-items: center;
	display: flex;
	justify-content: space-between;
	width: 100%;
}

[data-custom-campaign-location] .clicky-core-encounter-compact li > span {
	display: grid;
	gap: 0.1rem;
	text-transform: none;
}

[data-custom-campaign-location] .clicky-core-encounter-compact li strong {
	color: #fff2d0;
	font-size: 0.78rem;
}

[data-custom-campaign-location] .clicky-core-encounter-compact li small {
	color: #b7ceca;
	font-size: 0.65rem;
}

[data-custom-campaign-location] .clicky-core-encounter-compact li > .clicky-core-possible-encounter-actions,
.clicky-core-possible-encounter-actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: flex-end;
	text-transform: none;
}

.clicky-core-room-explorer .clicky-core-possible-encounter-delete {
	background: transparent !important;
	border-color: #9e6464 !important;
	color: #f0c5c0 !important;
	font-size: 0.66rem;
	padding: 0.35rem 0.48rem;
}

.clicky-core-room-explorer .clicky-core-possible-encounter-delete:hover,
.clicky-core-room-explorer .clicky-core-possible-encounter-delete:focus-visible {
	background: #57282b !important;
	border-color: #d78680 !important;
	color: #fff2d0 !important;
}

.clicky-core-add-possible-encounter {
	font-size: 0.72rem !important;
	margin-top: 0.55rem !important;
	padding: 0.42rem 0.62rem !important;
}

.clicky-core-possible-encounter-add-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.clicky-core-encounter-add-menu {
	background: #071619;
	border: 1px solid #48676a;
	border-radius: 3px;
	display: grid;
	gap: 0.4rem;
	grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
	margin-top: 0.45rem;
	padding: 0.5rem;
}

.clicky-core-encounter-add-menu[hidden] {
	display: none;
}

.clicky-core-encounter-json-importer {
	background: #071619;
	border: 1px solid #cda766;
	border-radius: 4px;
	box-sizing: border-box;
	color: #fff2d0;
	font-family: Georgia, "Times New Roman", serif;
	max-height: calc(100vh - 2rem);
	max-width: 44rem;
	padding: 1rem;
	width: calc(100% - 2rem);
}

.clicky-core-encounter-json-importer::backdrop {
	background: rgba(0, 7, 9, 0.86);
}

.clicky-core-encounter-json-heading {
	align-items: center;
	border-bottom: 1px solid rgba(205, 167, 102, 0.38);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 0.8rem;
	padding-bottom: 0.7rem;
}

.clicky-core-encounter-json-heading :is(p, h3) {
	margin: 0;
}

.clicky-core-encounter-json-heading p {
	color: #e2bd78;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.clicky-core-encounter-json-heading h3 {
	color: #fff2d0;
	font-size: 1.2rem;
}

.clicky-core-encounter-json-importer > p {
	color: #c8d7d4;
	font-size: 0.8rem;
	line-height: 1.45;
}

.clicky-core-encounter-json-importer button {
	background: #174f57;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.76rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.5rem 0.7rem;
}

.clicky-core-encounter-json-importer button:hover,
.clicky-core-encounter-json-importer button:focus-visible {
	background: #0b343a;
}

.clicky-core-encounter-json-importer button:disabled {
	background: #263438;
	border-color: #68787b;
	color: #aeb9ba;
	cursor: default;
}

.clicky-core-encounter-json-importer textarea {
	background: #020b0e;
	border: 1px solid #48676a;
	border-radius: 3px;
	box-sizing: border-box;
	color: #e7f1ec;
	display: block;
	font: 0.76rem/1.45 Consolas, "Courier New", monospace;
	margin-top: 0.65rem;
	max-height: 48vh;
	padding: 0.75rem;
	resize: vertical;
	width: 100%;
}

.clicky-core-encounter-json-preview {
	background: #102528;
	border: 1px solid #6c9594;
	border-radius: 3px;
	color: #fff2d0;
	font-size: 0.82rem;
	font-weight: 700;
	margin-top: 0.65rem;
	padding: 0.65rem;
}

.clicky-core-encounter-json-preview[hidden] {
	display: none;
}

.clicky-core-encounter-json-status {
	margin: 0.55rem 0 !important;
}

.clicky-core-encounter-json-status.is-error {
	color: #f1a7a7 !important;
}

.clicky-core-encounter-json-actions {
	display: flex;
	gap: 0.5rem;
	justify-content: flex-end;
}

.clicky-core-existing-character-picker {
	background: #071619;
	border: 1px solid #cda766;
	border-radius: 4px;
	color: #fff2d0;
	max-height: min(80vh, 44rem);
	max-width: min(92vw, 38rem);
	padding: 1rem;
	width: 100%;
}

.clicky-core-existing-character-picker::backdrop {
	background: rgba(0, 7, 9, 0.82);
}

.clicky-core-existing-character-picker-heading {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.clicky-core-existing-character-picker-heading :is(p, h3) {
	margin: 0;
}

.clicky-core-existing-character-picker-heading p {
	color: #e2bd78;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.clicky-core-existing-character-picker-heading button,
.clicky-core-existing-character-list button {
	background: #174f57;
	border: 1px solid #6c9594;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
}

.clicky-core-existing-character-picker-heading button {
	padding: 0.45rem 0.7rem;
}

.clicky-core-existing-character-picker > input[type="search"] {
	background: #020b0e;
	border: 1px solid #48676a;
	border-radius: 3px;
	box-sizing: border-box;
	color: #fff2d0;
	margin: 0.8rem 0;
	padding: 0.65rem 0.75rem;
	width: 100%;
}

.clicky-core-existing-character-list {
	display: grid;
	gap: 0.5rem;
	max-height: 28rem;
	overflow-y: auto;
}

.clicky-core-existing-character-list > button {
	align-items: center;
	display: grid;
	gap: 0.7rem;
	grid-template-columns: 3rem minmax(0, 1fr);
	padding: 0.5rem;
	text-align: left;
}

.clicky-core-existing-character-list > button:hover,
.clicky-core-existing-character-list > button:focus-visible {
	background: #24636a;
}

.clicky-core-existing-character-list strong,
.clicky-core-existing-character-list small {
	display: block;
}

.clicky-core-existing-character-list small {
	color: #b7ceca;
	font-size: 0.68rem;
	margin-top: 0.15rem;
}

.clicky-core-existing-character-portrait {
	align-items: center;
	background: #020b0e;
	border: 1px solid #48676a;
	border-radius: 3px;
	display: flex;
	height: 3rem;
	justify-content: center;
	overflow: hidden;
	width: 3rem;
}

.clicky-core-existing-character-portrait img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-room-explorer .clicky-core-add-encounter-primary {
	background: #174f57 !important;
	border-color: #6c9594 !important;
	color: #fff2d0 !important;
}

.clicky-core-room-explorer.is-dm-encounter-screen .clicky-core-encounter-compact {
	display: none;
}

.clicky-core-room-explorer.is-dm-encounter-screen [data-possible-encounters-toggle] {
	display: none;
}

.clicky-core-room-explorer .clicky-core-identity-attack {
	border-color: #b67a62;
	color: #ffe3d0;
}

.clicky-core-room-explorer .clicky-core-identity-attack[aria-pressed="true"] {
	background: #492328;
	border-color: #d88972;
}

.clicky-core-dm-encounter-close {
	background: #492328;
}

body.clicky-core-dm-encounter-open {
	overflow: hidden !important;
}

.clicky-core-room-explorer.is-dm-encounter-screen .clicky-core-room-section-encounter {
	background: #071619;
	border: 0;
	box-sizing: border-box;
	height: 100vh;
	inset: 0;
	margin: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding: clamp(0.8rem, 2vw, 1.5rem);
	position: fixed;
	width: 100vw;
	z-index: 1000000;
}

.clicky-core-room-explorer.is-dm-encounter-screen .clicky-core-room-section-encounter > .clicky-core-area-map-heading {
	background: rgba(7, 22, 25, 0.96);
	position: sticky;
	top: 0;
	z-index: 8;
}

.clicky-core-room-explorer.is-dm-encounter-screen .clicky-core-encounter-initiative-setup,
.clicky-core-room-explorer.is-dm-encounter-screen .clicky-core-battle-controls,
.clicky-core-room-explorer.is-dm-encounter-screen .clicky-core-encounter-supporting {
	margin-inline: auto;
	max-width: 96rem;
	width: 100%;
}

.clicky-core-room-explorer.is-dm-encounter-screen .clicky-core-encounter-initiative-row {
	grid-template-columns: 1.2rem minmax(10rem, 1fr) minmax(18rem, 32rem);
}

.clicky-core-encounter-supporting:empty {
	display: none;
}

.clicky-core-encounter-supporting .clicky-core-room-section-occupants {
	margin: 1rem 0 0;
	width: 100%;
}

.clicky-core-room-explorer.is-dm-encounter-screen .clicky-core-encounter-supporting .clicky-core-room-list {
	display: grid;
	gap: 0.65rem;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.clicky-core-encounter-preview,
.clicky-core-player-display-encounter {
	align-content: center;
	aspect-ratio: 2 / 1;
	background:
		radial-gradient(circle at 50% 48%, rgba(195, 138, 56, 0.2), transparent 31%),
		linear-gradient(135deg, #071619 0%, #102f33 48%, #020b0e 100%);
	border: 1px solid rgba(205, 167, 102, 0.55);
	box-sizing: border-box;
	color: #fff2d0;
	display: grid;
	justify-items: center;
	min-height: 0;
	overflow: hidden;
	padding: clamp(1rem, 4vw, 3rem);
	position: relative;
	text-align: center;
}

.clicky-core-encounter-emblem {
	align-items: center;
	background: #0b343a;
	border: 2px solid #cda766;
	clip-path: polygon(50% 0%, 96% 25%, 85% 78%, 50% 100%, 15% 78%, 4% 25%);
	color: #fff2d0;
	display: flex;
	font-size: clamp(1rem, 2.4vw, 1.8rem);
	font-weight: 700;
	height: clamp(3.5rem, 7vw, 5.5rem);
	justify-content: center;
	margin-bottom: 0.65rem;
	width: clamp(3.5rem, 7vw, 5.5rem);
}

.clicky-core-encounter-preview p,
.clicky-core-player-display-encounter p {
	color: #cda766;
	font-size: clamp(0.7rem, 1.2vw, 0.9rem);
	font-weight: 700;
	letter-spacing: 0.2em;
	margin: 0 0 0.35rem;
	text-transform: uppercase;
}

.clicky-core-encounter-preview h3,
.clicky-core-player-display-encounter h2 {
	font-size: clamp(1.7rem, 4.6vw, 3.8rem);
	line-height: 1;
	margin: 0 0 0.55rem;
	text-transform: uppercase;
}

.clicky-core-encounter-preview span,
.clicky-core-player-display-encounter span {
	color: #d4e4df;
	font-size: clamp(0.8rem, 1.4vw, 1rem);
}

.clicky-core-player-display-encounter {
	border: 0;
	height: 100%;
	width: 100%;
}

.clicky-core-encounter-initiative-setup {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: minmax(0, 1fr);
	margin-top: 0.85rem;
}

.clicky-core-encounter-initiative-setup > section {
	background: #0b2327;
	border: 1px solid #48676a;
	padding: 0.75rem;
}

.clicky-core-encounter-initiative-setup h4,
.clicky-core-encounter-initiative-setup p {
	margin: 0;
}

.clicky-core-encounter-list-heading {
	align-items: start;
	display: flex;
	gap: 0.65rem;
	justify-content: space-between;
}

.clicky-core-encounter-heading-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	justify-content: flex-end;
}

.clicky-core-encounter-list-heading button {
	background: #174f57;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.68rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.48rem 0.6rem;
	white-space: nowrap;
}

.clicky-core-encounter-list-heading button:hover,
.clicky-core-encounter-list-heading button:focus-visible {
	background: #0b343a;
}

.clicky-core-encounter-initiative-setup h4 {
	color: #fff2d0;
	font-size: 0.92rem;
}

.clicky-core-encounter-initiative-setup p {
	color: #d4e4df;
	font-size: 0.72rem;
	margin-bottom: 0.55rem;
}

.clicky-core-encounter-order-list {
	display: grid;
	gap: 0.4rem;
}

.clicky-core-encounter-safety-warning {
	padding: 0.7rem 0.85rem;
	border: 1px solid #d7aa4b;
	border-radius: 0.35rem;
	background: #4b251f;
	color: #ffe3a3;
	font-size: 0.9rem;
}

.clicky-core-encounter-neutral-heading,
.clicky-core-encounter-unavailable-heading,
.clicky-core-encounter-companion-heading {
	align-items: baseline;
	border-top: 1px solid #48676a;
	color: #fff2d0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.65rem;
	margin-top: 0.45rem;
	padding: 0.75rem 0.15rem 0.15rem;
}

.clicky-core-encounter-neutral-heading strong,
.clicky-core-encounter-unavailable-heading strong,
.clicky-core-encounter-companion-heading strong {
	font-size: 0.78rem;
}

.clicky-core-encounter-neutral-heading span,
.clicky-core-encounter-unavailable-heading span,
.clicky-core-encounter-companion-heading span {
	color: #b9cfca;
	font-size: 0.66rem;
}

.clicky-core-encounter-unavailable-heading {
	border-top-color: rgba(219, 176, 85, 0.55);
}

.clicky-core-encounter-availability-override {
	font-size: 0.68rem;
	padding: 0.38rem 0.55rem;
}

.clicky-core-encounter-stat-field[hidden] {
	display: none !important;
}

.clicky-core-encounter-defeated-heading,
.clicky-core-encounter-dead-heading {
	align-items: baseline;
	border-top: 1px solid rgba(201, 91, 91, 0.58);
	color: #ffd2c7;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.65rem;
	margin-top: 0.45rem;
	padding: 0.75rem 0.15rem 0.15rem;
}

.clicky-core-encounter-defeated-heading strong,
.clicky-core-encounter-dead-heading strong {
	font-size: 0.78rem;
}

.clicky-core-encounter-defeated-heading span,
.clicky-core-encounter-dead-heading span {
	color: #cfaaa3;
	font-size: 0.66rem;
}

.clicky-core-encounter-initiative-row[data-encounter-allegiance="neutral"] {
	border-left-color: #8b9998;
	opacity: 0.82;
}

.clicky-core-encounter-initiative-row {
	align-items: center;
	background: #071619;
	border: 1px solid #48676a;
	border-left-width: 4px;
	border-radius: 3px;
	display: grid;
	gap: 0.7rem;
	grid-template-columns: 1.2rem minmax(7rem, 1fr) minmax(13.5rem, 22rem);
	padding: 0.5rem 0.65rem;
	transition: border-color 120ms ease, background 120ms ease, opacity 120ms ease;
	position: relative;
}

.clicky-core-encounter-initiative-row.is-ally {
	border-left-color: #56c989;
}

.clicky-core-encounter-initiative-row.is-enemy {
	border-left-color: #c95b5b;
}

.clicky-core-encounter-initiative-row.is-defeated-enemy {
	background: #210a0d;
	border-color: #83383d;
	opacity: 0.7;
}

.clicky-core-encounter-initiative-row.is-downed-player {
	background: #4a151b;
	border-color: #a84d55;
}

.clicky-core-encounter-initiative-row.is-dead-player {
	background: #26090d;
	border-color: #83383d;
	opacity: 0.76;
}

.clicky-core-encounter-initiative-row.is-level-up-ready:not(.is-downed-player):not(.is-dead-player) {
	background: #0c3827;
	border-color: #67dc99;
	box-shadow: 0 0 0 1px rgba(103, 220, 153, 0.26);
}

.clicky-core-encounter-initiative-row.is-defeated-enemy .clicky-core-encounter-drag-handle {
	color: #ffb7a9 !important;
	cursor: default;
	font-size: 1.15rem !important;
	letter-spacing: 0;
}

.clicky-core-encounter-initiative-row.is-active-turn.is-ally {
	background: rgba(43, 121, 83, 0.18);
	border-color: #56c989;
	box-shadow: 0 0 0 1px rgba(86, 201, 137, 0.25);
}

.clicky-core-encounter-initiative-row.is-active-turn.is-enemy {
	background: rgba(133, 38, 45, 0.2);
	border-color: #dc6b6b;
	box-shadow: 0 0 0 1px rgba(220, 107, 107, 0.24);
}

.clicky-core-encounter-initiative-row.is-dragging {
	opacity: 0.45;
}

.clicky-core-encounter-initiative-row > span {
	color: #fff2d0;
	display: grid;
	font-size: 0.78rem;
	gap: 0.08rem;
	overflow-wrap: anywhere;
}

.clicky-core-encounter-initiative-row > span strong {
	color: #fff2d0;
	font-size: 0.8rem;
}

.clicky-core-encounter-initiative-row > span small {
	color: #cda766;
	font-size: 0.58rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.clicky-core-encounter-combatant {
	align-items: center;
	display: grid !important;
	gap: 0.45rem !important;
	grid-template-columns: 2.6rem minmax(5.5rem, 1fr) auto;
	min-width: 0;
}

.clicky-core-encounter-combatant-portrait {
	align-items: center;
	background: #102f33;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	display: flex !important;
	font-size: 0.9rem !important;
	font-weight: 700;
	height: 2.6rem;
	justify-content: center;
	overflow: hidden;
	position: relative;
	width: 2.6rem;
}

.clicky-core-encounter-combatant-portrait img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-tabletop-marker-dot {
	background: var(--clicky-core-tabletop-marker);
	border: 1px solid rgba(255, 255, 255, 0.88);
	border-radius: 999px;
	bottom: 0.14rem;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8);
	height: 0.62rem;
	position: absolute;
	right: 0.14rem;
	width: 0.62rem;
}

.clicky-core-encounter-initiative-row.has-tabletop-marker {
	box-shadow: inset 0 -2px 0 var(--clicky-core-tabletop-marker);
}

.clicky-core-encounter-combatant-copy {
	display: grid !important;
	gap: 0.08rem !important;
	min-width: 0;
}

.clicky-core-encounter-character-sheet {
	background: #174f57 !important;
	border: 1px solid #cda766 !important;
	border-radius: 3px !important;
	color: #fff2d0 !important;
	cursor: pointer;
	font: 700 0.62rem/1.15 Georgia, "Times New Roman", serif !important;
	padding: 0.42rem 0.5rem !important;
	white-space: nowrap;
}

.clicky-core-encounter-character-sheet:hover,
.clicky-core-encounter-character-sheet:focus-visible {
	background: #0b343a !important;
	border-color: #f0cc86 !important;
}

.clicky-core-encounter-drag-handle {
	color: #cda766 !important;
	cursor: grab;
	display: block !important;
	font-size: 1rem !important;
	letter-spacing: -0.22rem;
	line-height: 1;
	user-select: none;
}

.clicky-core-encounter-initiative-row.is-dragging .clicky-core-encounter-drag-handle {
	cursor: grabbing;
}

.clicky-core-encounter-allegiance {
	background: #102f33;
	border: 1px solid #48676a;
	border-radius: 3px;
	color: #fff2d0;
	font: 700 0.6rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.2rem 0.3rem;
	width: max-content;
}

.clicky-core-encounter-initiative-row input {
	background: #fff8e6 !important;
	border: 1px solid #7c6337;
	border-radius: 3px;
	box-sizing: border-box;
	color: #2f2418 !important;
	font: 700 0.9rem/1 Georgia, "Times New Roman", serif;
	height: 2.25rem;
	padding: 0.5rem 0.35rem;
	text-align: center;
	width: 100%;
}

.clicky-core-encounter-stat-inputs {
	display: grid;
	gap: 0.4rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clicky-core-encounter-stat-inputs.has-player-initiative-roll {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.clicky-core-encounter-character-death {
	align-items: center;
	background: #331014 !important;
	border: 1px solid #a84d55 !important;
	border-radius: 50% !important;
	color: #ffd2c7 !important;
	cursor: pointer;
	display: flex;
	font-size: 1rem !important;
	height: 1.8rem;
	justify-content: center;
	padding: 0 !important;
	position: absolute;
	right: 0.3rem;
	top: 0.3rem;
	width: 1.8rem;
}

.clicky-core-encounter-character-death.is-dead {
	background: #8a1f2a !important;
	box-shadow: 0 0 0 2px rgba(255, 210, 199, 0.2);
}

.clicky-core-encounter-initiative-with-roll {
	grid-template-columns: 2.25rem minmax(0, 1fr);
}

.clicky-core-encounter-initiative-with-roll > span {
	grid-column: 1 / -1;
}

.clicky-core-encounter-roll-initiative {
	align-items: center;
	background: #174f57 !important;
	border: 1px solid #cda766 !important;
	border-radius: 3px !important;
	color: #fff2d0 !important;
	cursor: pointer;
	display: flex;
	font-size: 1rem !important;
	height: 2.25rem;
	justify-content: center;
	min-width: 0;
	padding: 0 !important;
	width: 2.25rem;
}

.clicky-core-encounter-roll-initiative:hover,
.clicky-core-encounter-roll-initiative:focus-visible {
	background: #0b343a !important;
	border-color: #f0cc86 !important;
}

.clicky-core-encounter-stat-field {
	display: grid;
	gap: 0;
	min-width: 0;
}

.clicky-core-encounter-stat-field > span {
	color: #d4e4df;
	display: none;
	font-size: 0.58rem;
	font-weight: 700;
	letter-spacing: 0.035em;
	line-height: 1.15;
	text-align: center;
	text-transform: uppercase;
}

.clicky-core-encounter-order-list > .clicky-core-encounter-initiative-row:first-child .clicky-core-encounter-stat-field {
	gap: 0.25rem;
}

.clicky-core-encounter-order-list > .clicky-core-encounter-initiative-row:first-child .clicky-core-encounter-stat-field > span {
	display: block;
}

.clicky-core-battle-controls {
	background: #071619;
	border: 1px solid #48676a;
	display: grid;
	gap: 0.75rem;
	margin-top: 0.85rem;
	padding: 0.85rem;
}

.clicky-core-battle-active-card {
	background: #102f33;
	border: 1px solid #cda766;
	border-radius: 3px;
	min-height: 4.4rem;
	padding: 0.65rem;
}

.clicky-core-battle-active-card > p {
	color: #d4e4df;
	font-size: 0.76rem;
	margin: 0;
}

.clicky-core-battle-active-card .clicky-core-encounter-initiative-row {
	background: #0b2327;
	grid-template-columns: 1.2rem minmax(10rem, 1fr) minmax(18rem, 32rem);
	margin: 0;
}

.clicky-core-battle-active-card .clicky-core-encounter-stat-field {
	gap: 0.25rem;
}

.clicky-core-battle-active-card .clicky-core-encounter-stat-field > span {
	display: block;
}

.clicky-core-battle-turn-controls,
.clicky-core-battle-damage-controls,
.clicky-core-battle-dice-controls {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.clicky-core-battle-turn-controls {
	align-items: center;
	justify-content: space-between;
}

.clicky-core-battle-turn-controls h4,
.clicky-core-battle-turn-controls p,
.clicky-core-battle-turn-controls span,
.clicky-core-battle-dice-controls p {
	margin: 0;
}

.clicky-core-battle-turn-controls h4 {
	color: #fff2d0;
	font-size: 1rem;
}

.clicky-core-battle-turn-controls span,
.clicky-core-battle-dice-controls p {
	color: #d4e4df;
	font-size: 0.72rem;
}

.clicky-core-battle-controls label {
	color: #d4e4df;
	display: grid;
	font-size: 0.62rem;
	font-weight: 700;
	gap: 0.25rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.clicky-core-battle-controls input,
.clicky-core-battle-controls select {
	background: #fff8e6;
	border: 1px solid #7c6337;
	border-radius: 3px;
	box-sizing: border-box;
	color: #2f2418;
	font: 700 0.82rem/1 Georgia, "Times New Roman", serif;
	height: 2.25rem;
	min-width: 5.5rem;
	padding: 0.45rem 0.55rem;
}

.clicky-core-battle-controls [data-battle-target] {
	min-width: 13rem;
}

.clicky-core-battle-controls [data-battle-action] {
	min-width: 15rem;
}

.clicky-core-battle-controls [data-battle-damage-type] {
	min-width: 8.5rem;
}

.clicky-core-battle-controls [data-battle-action-save] {
	background: #102f34;
	font-size: 0.66rem;
}

.clicky-core-battle-controls .clicky-core-battle-undo {
	background: #674027;
	border-color: #e0b46e;
}

.clicky-core-battle-controls .clicky-core-battle-undo:not(:disabled):hover,
.clicky-core-battle-controls .clicky-core-battle-undo:not(:disabled):focus-visible {
	background: #815033;
}

.clicky-core-battle-controls .clicky-core-battle-undo:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.clicky-core-battle-controls button {
	background: #174f57;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.72rem/1.2 Georgia, "Times New Roman", serif;
	min-height: 2.25rem;
	padding: 0.48rem 0.65rem;
}

.clicky-core-battle-controls button:hover,
.clicky-core-battle-controls button:focus-visible {
	background: #0b343a;
}

.clicky-core-battle-dice-controls p {
	flex-basis: 100%;
}

.clicky-core-player-display-initiative-row {
	align-items: center;
	background: #020b0e;
	border: 1px solid rgba(229, 211, 173, 0.32);
	border-radius: 3px;
	display: grid;
	gap: 0.55rem;
	grid-template-columns: 3rem 1.6rem minmax(0, 1fr) 2rem;
	padding: 0.6rem 0.65rem;
}

.clicky-core-player-display-initiative-row > small {
	color: #d4e4df;
	font-size: 0.72rem;
	grid-column: 3 / 5;
	line-height: 1.2;
}

.clicky-core-player-display-initiative-row > small:empty {
	display: none;
}

.clicky-core-player-display-initiative-row > small.is-bloodied {
	color: #ffaaa0;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.clicky-core-player-display.is-encounter-active {
	background: #160608;
}

.clicky-core-player-display-initiative-row.is-bloodied {
	background: #4a151b;
	border-color: #9a4a4f;
}

.clicky-core-player-display-initiative-row.is-downed,
.clicky-core-player-display-initiative-row.is-dead {
	background: #64151e;
	border-color: #c65d64;
}

.clicky-core-player-display-initiative-row.is-dead {
	background: #26090d;
	opacity: 0.8;
}

.clicky-core-player-display-initiative-row.is-level-up-ready:not(.is-downed):not(.is-dead),
.clicky-core-player-display-party-card.is-level-up-ready:not(.is-downed):not(.is-dead) {
	background: #0c3827;
	border-color: #67dc99;
	box-shadow: 0 0 0 2px rgba(103, 220, 153, 0.24), 0 0 1rem rgba(54, 196, 119, 0.2);
}

.clicky-core-player-display-initiative-row.is-level-up-ready:not(.is-downed):not(.is-dead) .clicky-core-player-display-combatant-portrait,
.clicky-core-player-display-party-card.is-level-up-ready:not(.is-downed):not(.is-dead) .clicky-core-player-display-combatant-portrait {
	border-color: #78efa8;
	box-shadow: 0 0 0 2px rgba(120, 239, 168, 0.3);
}

.clicky-core-player-display-level-up {
	grid-column: 1 / -1;
}

.clicky-core-player-display-initiative-row.is-active-turn {
	border-color: #56c989;
	box-shadow: 0 0 0 2px rgba(86, 201, 137, 0.28), inset 3px 0 #56c989;
}

.clicky-core-player-display-combatant-portrait {
	align-items: center;
	background: #0b343a;
	border: 1px solid rgba(205, 167, 102, 0.55);
	border-radius: 3px;
	color: #fff2d0;
	display: flex;
	font-size: 1.15rem;
	font-weight: 700;
	grid-row: 1 / span 2;
	height: 3rem;
	justify-content: center;
	overflow: hidden;
	position: relative;
	width: 3rem;
}

.clicky-core-player-display-combatant-portrait img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-player-display-initiative-row:is(.is-bloodied, .is-downed) .clicky-core-player-display-combatant-portrait {
	box-shadow: inset 0 0 0 1.5rem rgba(122, 21, 31, 0.48);
}

.clicky-core-player-display-combatant-portrait > span {
	align-items: center;
	background: rgba(20, 0, 3, 0.75);
	color: #fff;
	display: flex;
	font-size: 2rem;
	inset: 0;
	justify-content: center;
	position: absolute;
}

.clicky-core-player-display-health {
	background: #671720;
	border: 1px solid rgba(255, 242, 208, 0.28);
	border-radius: 999px;
	display: block;
	height: 0.42rem;
	margin-top: 0.35rem;
	overflow: hidden;
	width: 100%;
}

.clicky-core-player-display-health > i {
	background: linear-gradient(90deg, #d7a93c, #4fb978);
	display: block;
	height: 100%;
	transition: width 280ms ease;
}

.clicky-core-player-display-turn-order {
	display: grid;
	gap: 0.35rem;
	grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
	max-height: none;
	width: min(90%, 34rem);
}

.clicky-core-player-display-turn {
	align-items: center;
	background: #071619;
	border: 1px solid rgba(229, 211, 173, 0.25);
	border-radius: 3px;
	display: grid;
	gap: 0.65rem;
	grid-template-columns: 1.5rem minmax(0, 1fr) 2rem;
	padding: 0.48rem 0.65rem;
	text-align: left;
}

.clicky-core-player-display-turn.is-active {
	background: #123b2b;
	border-color: #56c989;
	box-shadow: 0 0 0 2px rgba(86, 201, 137, 0.23);
}

.clicky-core-player-display-turn.is-defeated {
	opacity: 0.48;
	text-decoration: line-through;
}

.clicky-core-player-display-turn.is-downed {
	background: #64151e;
	border-color: #c65d64;
}

.clicky-core-player-display-turn.is-dead {
	background: #26090d;
	opacity: 0.55;
	text-decoration: line-through;
}

.clicky-core-player-display-turn span,
.clicky-core-player-display-turn b {
	color: #cda766;
}

.clicky-core-player-display-turn strong {
	color: #fff2d0;
}

/* Keep the complete battle overview visible on a projector without scrolling. */
.clicky-core-player-display.is-encounter-active .clicky-core-player-display-workspace {
	gap: 0.75rem;
	grid-template-columns: minmax(18rem, 30vw) minmax(22rem, 1fr) minmax(18rem, 30vw);
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-media {
	aspect-ratio: auto;
	height: clamp(14rem, 44vh, 22rem);
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-card {
	min-height: 0;
	padding: 0.65rem;
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-card h2 {
	font-size: 0.9rem;
	margin-bottom: 0.45rem;
}

.clicky-core-player-display.is-encounter-active :is(.clicky-core-player-display-identities, .clicky-core-player-display-party) {
	display: grid;
	gap: 0.45rem;
	align-content: start;
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-identities {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-party {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clicky-core-player-display:is(.is-encounter-active, .is-encounter-summary-active, .is-shop-active) .clicky-core-player-display-location-routes {
	display: none;
}

.clicky-core-player-display.is-encounter-summary-active {
	background: #06171a;
}

.clicky-core-player-display.is-encounter-summary-active .clicky-core-player-display-workspace {
	gap: 1rem;
	grid-template-columns: minmax(16rem, 24vw) minmax(28rem, 1fr) minmax(16rem, 24vw);
}

.clicky-core-player-display.is-encounter-summary-active .clicky-core-player-display-media {
	aspect-ratio: auto;
	background:
		radial-gradient(circle at 50% 15%, rgba(205, 167, 102, 0.12), transparent 38%),
		linear-gradient(145deg, #0a292e, #06171a);
	border-color: rgba(205, 167, 102, 0.55);
	height: min(62vh, 37rem);
}

.clicky-core-player-display.is-encounter-summary-active .clicky-core-player-display-expand {
	display: none;
}

.clicky-core-player-display.is-encounter-summary-active .clicky-core-player-display-encounter {
	align-content: center;
	display: grid;
	gap: 0.8rem;
	height: 100%;
	overflow: auto;
	padding: clamp(1.25rem, 3vw, 3rem);
	text-align: left;
}

.clicky-core-player-display.is-encounter-summary-active .clicky-core-player-display-encounter > p:first-child {
	color: #cda766;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	margin: 0;
	text-transform: uppercase;
}

.clicky-core-player-display.is-encounter-summary-active .clicky-core-player-display-encounter h2 {
	color: #fff2d0;
	font-size: clamp(1.8rem, 4vw, 3.4rem);
	line-height: 1;
	margin: 0;
}

.clicky-core-player-display.is-encounter-summary-active .clicky-core-player-display-encounter h3 {
	border-top: 1px solid rgba(205, 167, 102, 0.3);
	color: #cda766;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	margin: 0.5rem 0 0;
	padding-top: 1rem;
	text-transform: uppercase;
}

.clicky-core-player-display-summary-overview {
	color: #e5d3ad;
	font-size: clamp(0.95rem, 1.4vw, 1.2rem);
	line-height: 1.55;
	margin: 0;
}

.clicky-core-player-display-summary-loot {
	display: grid;
	gap: 0.5rem;
}

.clicky-core-player-display-summary-loot article {
	background: rgba(5, 21, 24, 0.76);
	border: 1px solid rgba(205, 167, 102, 0.28);
	border-radius: 4px;
	display: grid;
	gap: 0.2rem;
	padding: 0.65rem 0.75rem;
}

.clicky-core-player-display-summary-loot strong {
	color: #fff2d0;
}

.clicky-core-player-display-summary-loot span {
	color: #c8d7d4;
	font-size: 0.78rem;
	line-height: 1.4;
}

.clicky-core-player-display.is-encounter-summary-active :is(.clicky-core-player-display-identities, .clicky-core-player-display-party) {
	display: grid;
	gap: 0.55rem;
}

.clicky-core-player-display-summary-combatant {
	align-items: center;
	background: #071619;
	border: 1px solid rgba(205, 167, 102, 0.3);
	border-radius: 4px;
	display: grid;
	gap: 0.65rem;
	grid-template-columns: 3.25rem minmax(0, 1fr);
	padding: 0.55rem;
}

.clicky-core-player-display-summary-combatant .clicky-core-player-display-combatant-portrait {
	grid-row: auto;
	height: 3.25rem;
	width: 3.25rem;
}

.clicky-core-player-display-summary-combatant > div:last-child {
	display: grid;
	gap: 0.18rem;
	min-width: 0;
}

.clicky-core-player-display-summary-combatant strong {
	color: #fff2d0;
	overflow-wrap: anywhere;
}

.clicky-core-player-display-summary-combatant small {
	color: #b8cfcb;
	line-height: 1.25;
}

.clicky-core-player-display-summary-combatant.is-bloodied {
	background: #381418;
	border-color: #874149;
}

.clicky-core-player-display-summary-combatant.is-defeated {
	background: #210a0d;
	opacity: 0.72;
}

.clicky-core-player-display-summary-combatant.is-downed,
.clicky-core-player-display-summary-combatant.is-dead {
	background: #64151e;
	border-color: #c65d64;
}

.clicky-core-player-display-summary-combatant.is-dead {
	background: #26090d;
	opacity: 0.78;
}

@media (max-width: 1050px) {
	.clicky-core-player-display.is-encounter-summary-active .clicky-core-player-display-workspace {
		grid-template-columns: minmax(12rem, 23vw) minmax(22rem, 1fr) minmax(12rem, 23vw);
	}
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-initiative-row {
	align-content: start;
	display: grid;
	gap: 0.25rem 0.4rem;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 0.42rem;
	position: relative;
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-combatant-portrait {
	aspect-ratio: 1 / 1;
	font-size: 1.25rem;
	grid-column: 1 / -1;
	grid-row: 1;
	height: auto;
	justify-self: center;
	width: min(100%, 7rem);
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-combatant-portrait img {
	object-fit: contain;
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-combatant-portrait > span {
	font-size: 1.4rem;
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-initiative-row > strong {
	font-size: 0.76rem;
	grid-column: 1;
	grid-row: 2;
	line-height: 1.05;
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-initiative-row > b {
	font-size: 0.85rem;
	grid-column: 2;
	grid-row: 2;
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-initiative-row > small {
	font-size: 0.62rem;
	grid-column: 1 / -1;
	grid-row: 3;
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-initiative-row > span:not(.clicky-core-player-display-combatant-portrait):not(.clicky-core-player-display-level-up) {
	left: 0.65rem;
	position: absolute;
	top: 0.65rem;
	z-index: 2;
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-level-up {
	grid-column: 1 / -1;
	grid-row: 4;
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-health {
	height: 0.3rem;
	margin-top: 0.2rem;
	width: 82%;
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-encounter {
	align-content: center;
	gap: 0.35rem;
	padding: 0.75rem;
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-encounter h2 {
	font-size: clamp(1.15rem, 2vw, 1.65rem);
	line-height: 1.05;
	margin: 0;
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-encounter p {
	font-size: 0.65rem;
	margin: 0;
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-turn-order {
	gap: 0.25rem;
	width: min(96%, 38rem);
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-turn {
	font-size: 0.72rem;
	gap: 0.35rem;
	grid-template-columns: 1.25rem minmax(0, 1fr) 1.5rem;
	line-height: 1.05;
	min-width: 0;
	padding: 0.3rem 0.4rem;
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-turn strong {
	min-width: 0;
	overflow-wrap: anywhere;
}

.clicky-core-player-display.is-encounter-active .clicky-core-player-display-location h1 {
	font-size: clamp(1.15rem, 2vw, 1.65rem);
	line-height: 1.12;
}

@media (max-width: 1180px) {
	.clicky-core-player-display.is-encounter-active .clicky-core-player-display-dashboard {
		padding-inline: 0.75rem;
	}

	.clicky-core-player-display.is-encounter-active .clicky-core-player-display-workspace {
		gap: 0.55rem;
		grid-template-columns: minmax(12rem, 29vw) minmax(18rem, 1fr) minmax(12rem, 29vw);
	}

	.clicky-core-player-display.is-encounter-active .clicky-core-player-display-turn-order {
		gap: 0.2rem;
		grid-template-columns: repeat(auto-fit, minmax(8.25rem, 1fr));
		width: 98%;
	}

	.clicky-core-player-display.is-encounter-active .clicky-core-player-display-turn {
		padding-block: 0.24rem;
	}
}

@media (max-width: 850px) {
	.clicky-core-player-display.is-encounter-active .clicky-core-player-display-workspace {
		grid-template-columns: minmax(10rem, 28vw) minmax(15rem, 1fr) minmax(10rem, 28vw);
	}

	.clicky-core-player-display.is-encounter-active .clicky-core-player-display-card {
		padding: 0.45rem;
	}

	.clicky-core-player-display.is-encounter-active .clicky-core-player-display-identities {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.clicky-core-player-display.is-encounter-active .clicky-core-player-display-media {
		height: clamp(13rem, 48vh, 20rem);
	}

	.clicky-core-player-display.is-encounter-active .clicky-core-player-display-turn-order {
		grid-template-columns: repeat(auto-fit, minmax(7.25rem, 1fr));
	}
}

@media (max-height: 620px) {
	.clicky-core-player-display.is-encounter-active .clicky-core-player-display-media {
		height: 50vh;
		min-height: 12rem;
	}

	.clicky-core-player-display.is-encounter-active .clicky-core-player-display-turn {
		font-size: 0.66rem;
		padding-block: 0.18rem;
	}

	.clicky-core-player-display.is-encounter-active .clicky-core-player-display-encounter h2 {
		font-size: 1.1rem;
	}
}

.clicky-core-player-display-initiative-row > span {
	align-items: center;
	background: #174f57;
	border-radius: 50%;
	color: #fff2d0;
	display: inline-flex;
	font-size: 0.72rem;
	height: 1.55rem;
	justify-content: center;
	width: 1.55rem;
}

.clicky-core-player-display-initiative-row > strong {
	color: #fff2d0;
	overflow-wrap: anywhere;
}

.clicky-core-player-display-initiative-row > b {
	color: #cda766;
	font-size: 1.05rem;
	text-align: right;
}

@media (max-width: 700px) {
	.clicky-core-encounter-initiative-setup {
		grid-template-columns: 1fr;
	}
}

.clicky-core-area-map-heading {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 0.75rem;
}

.clicky-core-area-map-heading .clicky-core-room-section-title {
	margin-bottom: 0;
}

.clicky-core-room-section-area-map.is-map-panel-collapsed .clicky-core-area-map-heading,
.clicky-core-room-section-local-map.is-map-panel-collapsed .clicky-core-area-map-heading,
.clicky-core-room-section-world-map.is-map-panel-collapsed .clicky-core-area-map-heading {
	margin-bottom: 0;
}

.clicky-core-room-section.is-map-panel-collapsed .clicky-core-map-heading-actions > :not(.clicky-core-map-toggle) {
	display: none;
}

.clicky-core-room-section-area-map.is-map-panel-collapsed > .clicky-core-local-map-help,
.clicky-core-room-section-local-map.is-map-panel-collapsed .clicky-core-local-map-help,
.clicky-core-room-section-world-map.is-map-panel-collapsed > .clicky-core-local-map-help {
	display: none;
}

.clicky-core-map-heading-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: flex-end;
}

.clicky-core-room-section-local-map .clicky-core-map-heading-actions [data-dm-map-close] {
	margin-left: auto;
	order: 100;
}

.clicky-core-room-section-local-map .clicky-core-map-heading-actions :is([data-local-map-labels], [data-local-map-connections])[aria-pressed="true"] {
	background: #cda766 !important;
	border-color: #f2d28f !important;
	box-shadow: 0 0 0 1px rgba(242, 210, 143, 0.2), 0 0 0.7rem rgba(205, 167, 102, 0.18);
	color: #071619 !important;
}

.clicky-core-room-section-local-map .clicky-core-map-heading-actions :is([data-local-map-labels], [data-local-map-connections])[aria-pressed="false"] {
	background: #061619 !important;
	border-color: #39565a !important;
	box-shadow: none;
	color: #82999a !important;
}

.clicky-core-map-toggle {
	align-items: center;
	background: #174f57;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	display: inline-flex;
	font: 700 1rem/1 Georgia, "Times New Roman", serif;
	height: 2rem;
	justify-content: center;
	padding: 0;
	width: 2rem;
}

.clicky-core-map-toggle:hover,
.clicky-core-map-toggle:focus-visible {
	background: #0b343a;
}

.clicky-core-map-toggle[hidden] {
	display: none !important;
}

.clicky-core-map-fullscreen {
	align-items: center;
	background: #174f57;
	border: 1px solid rgba(205, 167, 102, 0.8);
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	display: inline-flex;
	font: 700 0.9rem/1 Georgia, "Times New Roman", serif;
	height: 2rem;
	justify-content: center;
	padding: 0;
	width: 2rem;
}

.clicky-core-map-fullscreen:hover,
.clicky-core-map-fullscreen:focus-visible {
	background: #0b343a;
	border-color: #fff2d0;
}

.clicky-core-map-fullscreen[hidden] {
	display: none !important;
}

.clicky-core-room-section-kicker {
	color: #cda766;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0 0 0.1rem;
	text-transform: uppercase;
}

.clicky-core-area-map {
	background: #020b0e;
	border: 1px solid rgba(205, 167, 102, 0.5);
	margin: 0;
	overflow: hidden;
	position: relative;
}

.clicky-core-area-map img {
	display: block;
	height: auto;
	transform-origin: 0 0;
	width: 100%;
}

[data-dm-map-viewport] {
	cursor: default;
	touch-action: auto;
}

[data-dm-map-viewport] img {
	-webkit-user-drag: none;
	user-select: none;
}

.is-map-editing [data-dm-map-viewport] {
	cursor: grab;
	touch-action: none;
}

.is-map-editing [data-dm-map-viewport].is-map-dragging {
	cursor: grabbing;
}

.is-map-editing [data-dm-map-viewport] img {
	max-width: none;
}

.clicky-core-area-location-layer,
.clicky-core-player-map-location-layer {
	height: 100%;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	transform-origin: 0 0;
	width: 100%;
	z-index: 3;
}

.is-map-editing .clicky-core-area-location-layer {
	pointer-events: auto;
}

.clicky-core-area-location-connections {
	height: 100%;
	inset: 0;
	overflow: visible;
	pointer-events: none;
	position: absolute;
	width: 100%;
}

.clicky-core-area-location-connections line {
	stroke: #f0c56f;
	stroke-dasharray: 1.25 0.4;
	stroke-linecap: round;
	stroke-width: 0.68;
	filter: drop-shadow(0 0 0.35px #24170c);
	vector-effect: non-scaling-stroke;
}

.clicky-core-area-location-connections line.is-preview {
	stroke: #65d6bb;
	stroke-dasharray: 0.45 0.3;
	stroke-width: 0.45;
}

.clicky-core-area-location-connections line.is-label-connector {
	stroke: #c7ded9;
	stroke-dasharray: none;
	stroke-width: 0.34;
}

.clicky-core-area-location-marker {
	appearance: none;
	background: rgba(5, 25, 29, 0.12) !important;
	border: 1.5px solid #c7ded9 !important;
	border-radius: 4px !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
	color: #fff2d0 !important;
	display: block;
	font-family: Georgia, "Times New Roman", serif !important;
	font-size: clamp(0.4rem, 0.62vw, 0.62rem) !important;
	line-height: 1.05 !important;
	min-height: 0;
	min-width: 0;
	padding: 0 !important;
	position: absolute;
	text-align: left;
	transform: translate(-50%, -50%) rotate(var(--clicky-core-area-location-rotation, 0deg));
	z-index: 2;
}

.clicky-core-area-location-marker.is-circle {
	border-radius: 50% !important;
}

.clicky-core-area-location-label {
	align-items: center;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	overflow: hidden;
	padding: 0.18rem;
	text-align: center;
	transform: rotate(var(--clicky-core-area-location-inverse-rotation, 0deg));
	width: 100%;
}

.clicky-core-area-location-external-label {
	background: rgba(2, 11, 14, 0.92);
	border: 1px solid rgba(199, 222, 217, 0.7);
	border-radius: 3px;
	color: #fff2d0;
	font: 700 clamp(0.4rem, 0.62vw, 0.62rem)/1.08 Georgia, "Times New Roman", serif;
	min-width: 6rem;
	padding: 0.24rem 0.38rem;
	position: absolute;
	text-align: center;
	transform: translate(-50%, -50%);
	width: max-content;
	z-index: 3;
}

.clicky-core-area-location-external-label .clicky-core-area-location-label {
	height: auto;
	overflow: visible;
	padding: 0;
}

.is-map-editing .clicky-core-area-location-external-label {
	cursor: move;
}

.clicky-core-area-location-external-label.is-selected {
	box-shadow: 0 0 0 2px #65d6bb;
}

.clicky-core-area-location-external-label.is-hidden-location {
	display: none;
}

.is-map-editing .clicky-core-area-location-marker {
	cursor: move;
}

.clicky-core-area-location-marker.is-selected {
	box-shadow: 0 0 0 2px #65d6bb, 0 2px 8px rgba(0, 0, 0, 0.65);
}

.clicky-core-area-location-marker.is-hidden-location {
	background: rgba(5, 25, 29, 0.08) !important;
}

.clicky-core-area-location-marker small {
	color: #b7ceca;
	font-size: 0.78em;
	margin-top: 0.15rem;
}

.clicky-core-area-location-marker.is-current {
	background: rgba(90, 65, 45, 0.13) !important;
	border-color: #f0c56f !important;
	box-shadow: 0 0 0 1.5px rgba(240, 197, 111, 0.42), 0 2px 8px rgba(0, 0, 0, 0.65);
}

.clicky-core-area-location-marker.is-connecting {
	box-shadow: 0 0 0 2px #65d6bb;
}

.clicky-core-area-location-port,
.clicky-core-area-location-resize {
	appearance: none;
	background: #65d6bb !important;
	border: 1px solid #062126 !important;
	border-radius: 50% !important;
	height: 0.48rem !important;
	margin: 0 !important;
	min-height: 0 !important;
	min-width: 0 !important;
	padding: 0 !important;
	position: absolute;
	width: 0.48rem !important;
	z-index: 5;
}

.clicky-core-area-location-port {
	cursor: crosshair;
}

.clicky-core-area-location-port.is-top { left: 50%; top: 0; transform: translate(-50%, -50%); }
.clicky-core-area-location-port.is-right { right: 0; top: 50%; transform: translate(50%, -50%); }
.clicky-core-area-location-port.is-bottom { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.clicky-core-area-location-port.is-left { left: 0; top: 50%; transform: translate(-50%, -50%); }

.clicky-core-area-location-resize {
	background: #f0c56f !important;
	border-radius: 2px !important;
	bottom: 0;
	cursor: nwse-resize;
	right: 0;
	transform: translate(55%, 55%);
}

.clicky-core-area-location-inspector {
	background: rgba(5, 25, 29, 0.96);
	border: 1px solid #d7b774;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.48);
	color: #fff2d0;
	display: grid;
	font: 700 0.68rem/1.2 Georgia, "Times New Roman", serif;
	gap: 0.45rem;
	left: 0.75rem;
	max-height: calc(100% - 1.5rem);
	max-width: 15rem;
	overflow-y: auto;
	padding: 0.65rem;
	position: absolute;
	top: 0.75rem;
	z-index: 8;
}

.clicky-core-area-location-inspector[hidden] { display: none; }
.clicky-core-area-location-inspector label { display: grid; gap: 0.18rem; }
.clicky-core-area-location-inspector select,
.clicky-core-area-location-inspector input,
.clicky-core-area-location-inspector button {
	background: #12343a !important;
	border: 1px solid #8db1ad !important;
	border-radius: 3px !important;
	color: #fff2d0 !important;
	font: inherit !important;
	padding: 0.35rem 0.45rem !important;
}

.clicky-core-area-location-inspector input {
	min-width: 0;
	width: 100%;
}

.clicky-core-area-location-rotation-control {
	align-items: center;
	display: grid;
	gap: 0.45rem;
	grid-template-columns: minmax(0, 1fr) 2.8rem;
}

.clicky-core-area-location-rotation-control input[type="range"] {
	accent-color: #e2bd78;
	padding: 0 !important;
}

.clicky-core-area-location-rotation-control output {
	color: #fff2d0;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.clicky-core-location-draft-actions {
	display: grid;
	gap: 0.35rem;
	grid-template-columns: 1fr 1fr;
}

.clicky-core-location-draft-actions[hidden],
.clicky-core-area-location-inspector [hidden] {
	display: none;
}

.clicky-core-area-location-inspector button.is-danger {
	background: #4c2021 !important;
	border-color: #bd7773 !important;
}

.clicky-core-location-plan-note {
	color: #b7ceca;
	font-size: 0.7rem;
	font-weight: 400;
	line-height: 1.35;
	margin: 0;
}

.clicky-core-area-location-marker.is-draft {
	border-style: dashed;
	opacity: 0.85;
}

.clicky-core-area-location-inspector small {
	color: #b7ceca;
	font-weight: 400;
	line-height: 1.35;
}

.clicky-core-area-location-time {
	background: rgba(2, 11, 14, 0.86);
	border: 1px solid rgba(240, 197, 111, 0.65);
	border-radius: 999px;
	color: #fff2d0;
	font: 700 clamp(0.42rem, 0.62vw, 0.62rem)/1 Georgia, "Times New Roman", serif;
	padding: 0.18rem 0.3rem;
	pointer-events: none;
	position: absolute;
	transform: translate(-50%, -50%);
	z-index: 1;
}

.is-map-editing .clicky-core-area-location-time {
	cursor: pointer;
	pointer-events: auto;
}

button.clicky-core-area-location-time {
	appearance: none;
	margin: 0;
	min-height: 0;
	min-width: 0;
}

.is-map-editing button.clicky-core-area-location-time:hover,
.is-map-editing button.clicky-core-area-location-time:focus-visible,
.clicky-core-area-location-time.is-manual {
	background: #12343a;
	border-color: #65d6bb;
}

[data-area-map-connect].is-active,
[data-local-map-connect].is-active {
	background: #276a66 !important;
	border-color: #65d6bb !important;
}

.clicky-core-local-map-node.is-selected .clicky-core-local-map-node-outline {
	stroke: #65d6bb;
	stroke-width: 3;
}

.clicky-core-local-map-shell {
	background: #020b0e;
	border: 1px solid rgba(205, 167, 102, 0.5);
	color: #fff2d0;
	min-width: 0;
}

.clicky-core-local-map-shell:fullscreen {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1rem;
	width: 100%;
}

.clicky-core-local-map-toolbar {
	align-items: center;
	background: #0a2429;
	border-bottom: 1px solid rgba(205, 167, 102, 0.35);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: 0.65rem 0.75rem;
}

.clicky-core-local-map-toolbar p,
.clicky-core-local-map-help {
	color: #b7ceca;
	font-size: 0.75rem;
	margin: 0;
}

.clicky-core-local-map-levels {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.clicky-core-local-map-toolbar > div {
	display: grid;
	gap: 0.35rem;
}

.clicky-core-local-map-view-controls {
	align-items: center;
	background: #081f24;
	border-bottom: 1px solid rgba(205, 167, 102, 0.28);
	display: flex;
	gap: 0.35rem;
	justify-content: flex-end;
	padding: 0.42rem 0.7rem;
}

.clicky-core-local-map-view-controls button {
	background: #12343a !important;
	border: 1px solid #8db1ad !important;
	border-radius: 3px !important;
	color: #fff2d0 !important;
	cursor: pointer;
	font: 700 0.7rem/1.1 Georgia, "Times New Roman", serif !important;
	min-width: 2rem;
	padding: 0.38rem 0.52rem !important;
}

.clicky-core-local-map-view-controls [data-local-map-fit] {
	border-color: #e2bd78 !important;
	min-width: auto;
}

.clicky-core-local-map-current-level {
	color: #e2bd78;
	font: 700 0.72rem/1.2 Georgia, "Times New Roman", serif;
}

.clicky-core-local-map-room-form {
	align-items: end;
	background: #0d292e;
	border-bottom: 1px solid rgba(205, 167, 102, 0.35);
	display: grid;
	gap: 0.55rem;
	grid-template-columns: minmax(150px, 1.4fr) minmax(90px, 0.45fr) minmax(150px, 1fr) minmax(150px, 1fr) auto;
	padding: 0.7rem 0.75rem;
}

.clicky-core-local-map-room-form[hidden] {
	display: none;
}

.clicky-core-local-map-room-form label {
	color: #dce8e5;
	display: grid;
	font-size: 0.7rem;
	gap: 0.2rem;
}

.clicky-core-local-map-room-form input {
	background: #06171b;
	border: 1px solid #617f7d;
	border-radius: 3px;
	color: #fff2d0;
	font: inherit;
	min-width: 0;
	padding: 0.48rem 0.55rem;
}

.clicky-core-local-map-room-form button {
	background: #173f44;
	border: 1px solid #e2bd78;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.72rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.52rem 0.65rem;
}

.clicky-core-local-map-room-form > div {
	display: flex;
	gap: 0.35rem;
}

.clicky-core-map-transition-editor {
	align-items: end;
	background: #081f24;
	border-bottom: 1px solid rgba(205, 167, 102, 0.35);
	display: grid;
	gap: 0.55rem;
	grid-template-columns: minmax(180px, 1.2fr) minmax(170px, 1fr) minmax(170px, 1fr) auto;
	padding: 0.7rem 0.75rem;
}

.clicky-core-map-transition-editor[hidden] { display: none; }
.clicky-core-map-transition-editor > div:first-child { display: grid; gap: 0.18rem; }
.clicky-core-map-transition-editor strong { color: #e2bd78; font-size: 0.78rem; }
.clicky-core-map-transition-editor small { color: #b7ceca; font-size: 0.68rem; font-weight: 400; line-height: 1.35; }
.clicky-core-map-transition-editor label { color: #dce8e5; display: grid; font-size: 0.7rem; gap: 0.2rem; }
.clicky-core-map-transition-editor select,
.clicky-core-map-transition-editor button {
	background: #12343a !important;
	border: 1px solid #8db1ad !important;
	border-radius: 3px !important;
	color: #fff2d0 !important;
	font: 700 0.72rem/1.2 Georgia, "Times New Roman", serif !important;
	min-width: 0;
	padding: 0.48rem 0.55rem !important;
}

.clicky-core-map-transition-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	grid-column: 1 / -1;
}

.clicky-core-map-transition-links:empty { display: none; }
.clicky-core-map-transition-links span { align-items: center; background: #102f34; border: 1px solid #617f7d; border-radius: 3px; color: #dce8e5; display: inline-flex; font-size: 0.68rem; gap: 0.35rem; padding: 0.25rem 0.3rem 0.25rem 0.45rem; }
.clicky-core-map-transition-links button { min-height: 0 !important; padding: 0.18rem 0.32rem !important; }

.clicky-core-area-location-inspector .clicky-core-map-transition-editor {
	align-items: stretch;
	background: rgba(18, 52, 58, 0.55);
	border: 1px solid rgba(141, 177, 173, 0.55);
	border-radius: 3px;
	display: grid;
	grid-template-columns: 1fr;
	padding: 0.5rem;
}

.clicky-core-area-location-inspector .clicky-core-map-transition-links { grid-column: auto; }

@media (max-width: 760px) {
	.clicky-core-local-map-room-form,
	.clicky-core-map-transition-editor {
		grid-template-columns: 1fr;
	}
}

.clicky-core-local-map-levels button {
	background: #102f34;
	border: 1px solid #617f7d;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.72rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.42rem 0.58rem;
}

.clicky-core-room-explorer .clicky-core-local-map-levels button.is-active,
.clicky-core-room-explorer .clicky-core-local-map-levels button[aria-current="true"] {
	background: #e2bd78 !important;
	border-color: #fff2d0 !important;
	box-shadow: 0 0 0 2px rgba(226, 189, 120, 0.28), 0 0 0.65rem rgba(226, 189, 120, 0.22) !important;
	color: #071619 !important;
}

.clicky-core-local-map-viewport {
	background-color: #06171b;
	background-image: linear-gradient(rgba(125, 167, 167, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(125, 167, 167, 0.08) 1px, transparent 1px);
	background-size: 28px 28px;
	cursor: default;
	height: clamp(320px, 52vw, 620px);
	overflow: hidden;
	position: relative;
	touch-action: auto;
	user-select: none;
}

.clicky-core-room-section-local-map.is-map-editing .clicky-core-local-map-viewport {
	cursor: grab;
	touch-action: none;
}

.clicky-core-local-map-shell:fullscreen .clicky-core-local-map-viewport {
	flex: 1;
	height: auto;
}

.clicky-core-local-map-viewport.is-dragging {
	cursor: grabbing;
}

.clicky-core-local-map-viewport svg {
	display: block;
	height: 100%;
	overflow: visible;
	width: 100%;
}

.clicky-core-local-map-background {
	fill: #06171b;
}

.clicky-core-local-map-workspace {
	fill: #0a2227;
	stroke: rgba(226, 189, 120, 0.72);
	stroke-width: 5;
}

.clicky-core-local-map-axis {
	pointer-events: none;
	stroke: rgba(125, 167, 167, 0.18);
	stroke-dasharray: 18 12;
	stroke-width: 2;
}

.clicky-core-local-map-workspace-label {
	fill: rgba(226, 189, 120, 0.62);
	font: 700 17px/1 Georgia, "Times New Roman", serif;
	letter-spacing: 2px;
	pointer-events: none;
}

.clicky-core-local-map-minimap {
	background: rgba(4, 16, 19, 0.95);
	border: 1px solid #8db1ad;
	border-radius: 4px;
	bottom: 0.7rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
	cursor: crosshair;
	display: grid;
	grid-template-rows: auto 1fr;
	height: 138px;
	overflow: hidden;
	position: absolute;
	right: 0.7rem;
	width: 195px;
	z-index: 3;
}

.clicky-core-local-map-minimap > span {
	background: #12343a;
	border-bottom: 1px solid rgba(141, 177, 173, 0.55);
	color: #fff2d0;
	font: 700 0.66rem/1.1 Georgia, "Times New Roman", serif;
	letter-spacing: 0.04em;
	padding: 0.3rem 0.42rem;
	text-transform: uppercase;
}

.clicky-core-local-map-minimap svg {
	display: block;
	height: 100%;
	width: 100%;
}

.clicky-core-local-map-minimap-boundary {
	fill: #071b20;
	stroke: #617f7d;
	stroke-width: 12;
}

.clicky-core-local-map-minimap-room {
	fill: #8db1ad;
	stroke: #dce8e5;
	stroke-width: 7;
}

.clicky-core-local-map-minimap-room.is-selected {
	fill: #e2bd78;
	stroke: #fff2d0;
}

.clicky-core-local-map-minimap-view {
	fill: rgba(101, 214, 187, 0.08);
	pointer-events: none;
	stroke: #65d6bb;
	stroke-width: 12;
}

.clicky-core-room-section-local-map:not(.is-map-editing) .clicky-core-local-map-minimap {
	display: none;
}

.clicky-core-local-map-route {
	fill: none;
	stroke: #7da7a7;
	stroke-dasharray: 14 8;
	stroke-linecap: round;
	stroke-width: 8;
}

.clicky-core-local-map-route.is-preview {
	stroke: #65d6bb;
	stroke-dasharray: 5 5;
}

.clicky-core-local-map-label-connector {
	pointer-events: none;
	stroke: #e2bd78;
	stroke-width: 2;
	opacity: 0.9;
}

.clicky-core-local-map-node .clicky-core-local-map-node-surface {
	fill: #173f44;
	stroke: none;
}

.clicky-core-local-map-node .clicky-core-local-map-node-hitbox {
	fill: rgba(255, 255, 255, 0.001);
	pointer-events: all;
}

.clicky-core-local-map-node .clicky-core-local-map-node-outline {
	fill: none;
	stroke: transparent;
	stroke-width: 0;
}

.clicky-core-room-section-local-map.is-map-editing .clicky-core-local-map-node.is-selected .clicky-core-local-map-node-outline {
	stroke: #65d6bb;
	stroke-dasharray: 6 4;
	stroke-width: 2;
}

.clicky-core-local-map-node-image {
	pointer-events: none;
}

.clicky-core-local-map-node-label-backdrop {
	fill: rgba(2, 11, 14, 0.88);
	pointer-events: all;
	stroke: #627f7d;
	stroke-width: 1;
}

.clicky-core-room-section-local-map.is-map-editing .clicky-core-local-map-node {
	cursor: move;
}

.clicky-core-local-map-node text,
.clicky-core-local-map-external-label text {
	fill: #fff2d0;
	font: 700 15px Georgia, "Times New Roman", serif;
	pointer-events: none;
}

.clicky-core-local-map-node .clicky-core-local-map-node-place,
.clicky-core-local-map-external-label .clicky-core-local-map-node-place {
	fill: #b7ceca;
	font-size: 12px;
	font-weight: 400;
}

.clicky-core-room-section-local-map.is-map-editing .clicky-core-local-map-external-label {
	cursor: move;
}

.clicky-core-local-map-external-label.is-selected .clicky-core-local-map-node-label-backdrop {
	stroke: #65d6bb;
	stroke-width: 2;
}

.clicky-core-local-map-node.is-current .clicky-core-local-map-node-surface {
	fill: #5a412d;
}

.clicky-core-local-map-node.is-current .clicky-core-local-map-node-outline {
	stroke: transparent;
	stroke-width: 0;
}

.clicky-core-room-section-local-map .clicky-core-local-map-node.has-outside-connection .clicky-core-local-map-node-outline {
	filter: drop-shadow(0 0 2px rgba(86, 201, 137, 0.48));
	stroke: #56c989;
	stroke-dasharray: none;
	stroke-width: 1.5;
}

.clicky-core-local-map-minimap-room.has-outside-connection {
	stroke: #56c989;
	stroke-width: 4;
}

.clicky-core-local-map-current-marker {
	fill: #e2bd78;
	pointer-events: none;
}

.clicky-core-local-map-node.is-connecting .clicky-core-local-map-node-outline {
	stroke: #65d6bb;
	stroke-width: 5;
}

.clicky-core-local-map-node-label circle {
	fill: #e2bd78;
}

.clicky-core-local-map-node .clicky-core-local-map-node-port {
	fill: #0a2429;
	pointer-events: all;
	stroke: #65d6bb;
	stroke-width: 3;
}

.clicky-core-local-map-node.is-hidden-from-players {
	opacity: 0.42;
}

.clicky-core-local-map-hidden-marker {
	fill: #ffb4ad;
	font: 700 12px Georgia, "Times New Roman", serif;
	pointer-events: none;
}

.clicky-core-local-map-node .clicky-core-local-map-node-port:hover {
	fill: #65d6bb;
}

.clicky-core-local-map-node .clicky-core-local-map-node-resize {
	cursor: nwse-resize;
	fill: #e2bd78;
	stroke: #06171b;
	stroke-width: 2;
}

.clicky-core-local-map-room-inspector {
	background: rgba(6, 23, 27, 0.96);
	border: 1px solid #8db1ad;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	display: grid;
	gap: 0.55rem;
	left: 0.7rem;
	max-width: min(250px, calc(100% - 1.4rem));
	padding: 0.7rem;
	position: absolute;
	top: 0.7rem;
	z-index: 4;
}

.clicky-core-local-map-room-inspector[hidden] { display: none; }
.clicky-core-local-map-room-inspector > strong { color: #e2bd78; font: 700 0.85rem/1.2 Georgia, "Times New Roman", serif; }
.clicky-core-local-map-room-inspector label { color: #dce8e5; display: grid; font-size: 0.7rem; gap: 0.25rem; }
.clicky-core-local-map-room-inspector select,
.clicky-core-local-map-room-inspector input[type="text"],
.clicky-core-local-map-room-inspector button {
	background: #12343a !important;
	border: 1px solid #8db1ad !important;
	border-radius: 3px !important;
	color: #fff2d0 !important;
	font: 700 0.72rem/1.2 Georgia, "Times New Roman", serif !important;
	padding: 0.45rem 0.55rem !important;
}

.clicky-core-local-map-room-inspector input[type="text"] {
	box-sizing: border-box;
	width: 100%;
}
.clicky-core-local-map-room-inspector [data-local-map-room-player-visibility].is-hidden {
	background: #5e2428 !important;
	border-color: #e09891 !important;
}
.clicky-core-local-map-room-inspector .clicky-core-local-map-room-delete {
	background: #5e2428 !important;
	border-color: #e09891 !important;
	color: #fff5e8 !important;
}
.clicky-core-local-map-room-image-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.clicky-core-local-map-room-inspector small { color: #b7ceca; font-size: 0.67rem; line-height: 1.4; }

.clicky-core-local-map-node .clicky-core-local-map-level-link {
	fill: #e2bd78;
	font-size: 21px;
}

.clicky-core-local-map-help {
	border-top: 1px solid rgba(205, 167, 102, 0.22);
	padding: 0.55rem 0.75rem;
}

.clicky-core-player-display-media.clicky-core-player-display-area-map img,
.clicky-core-player-display-media.clicky-core-player-display-local-map img,
.clicky-core-player-display-media.clicky-core-player-display-world-map img {
	-webkit-user-drag: none;
	cursor: grab;
	object-fit: contain;
	transform-origin: 0 0;
	transform: none;
	user-select: none;
}

.clicky-core-player-display-media.clicky-core-player-display-area-map,
.clicky-core-player-display-media.clicky-core-player-display-world-map {
	aspect-ratio: 4 / 3;
	touch-action: none;
}

.clicky-core-player-display-media.clicky-core-player-display-local-map {
	aspect-ratio: 2 / 1;
	touch-action: none;
}

.clicky-core-player-display-media.is-map-dragging img {
	cursor: grabbing;
}

.clicky-core-player-display-map-reset {
	background: rgba(2, 11, 14, 0.9);
	border: 1px solid rgba(255, 242, 208, 0.7);
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.75rem/1.2 Georgia, "Times New Roman", serif;
	left: 0.75rem;
	padding: 0.45rem 0.65rem;
	position: absolute;
	top: 0.75rem;
	z-index: 4;
}

.clicky-core-monster-library {
	margin-top: 1rem;
}

.clicky-core-monster-library-heading,
.clicky-core-imported-monster-heading {
	align-items: flex-start;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.clicky-core-monster-library-heading h2,
.clicky-core-monster-library-heading h3,
.clicky-core-imported-monster-heading h4 {
	margin: 0.1rem 0 0.3rem;
}

.clicky-core-monster-library-heading p,
.clicky-core-imported-monster-heading p,
.clicky-core-imported-monster-heading span {
	margin: 0;
}

.clicky-core-monster-library button,
.clicky-core-statblock-editor button,
.clicky-core-monster-search button {
	background: #174f57;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.76rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.55rem 0.7rem;
}

.clicky-core-monster-library button:hover,
.clicky-core-monster-library button:focus-visible,
.clicky-core-statblock-editor button:hover,
.clicky-core-statblock-editor button:focus-visible {
	background: #0b343a;
}

.clicky-core-monster-library button:disabled {
	cursor: default;
	opacity: 0.58;
}

.clicky-core-monster-search {
	align-items: end;
	background: #102f33;
	border: 1px solid #48676a;
	display: grid;
	gap: 0.65rem;
	grid-template-columns: 1.4fr repeat(4, minmax(8rem, 1fr)) auto;
	margin-top: 1rem;
	padding: 0.8rem;
}

.clicky-core-monster-search label,
.clicky-core-statblock-fields label {
	color: #d4e4df;
	display: grid;
	font-size: 0.68rem;
	font-weight: 700;
	gap: 0.28rem;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.clicky-core-monster-search input,
.clicky-core-monster-search select,
.clicky-core-statblock-fields input,
.clicky-core-statblock-fields select,
.clicky-core-statblock-fields textarea {
	background: #fff8e6;
	border: 1px solid #7c6337;
	border-radius: 3px;
	box-sizing: border-box;
	color: #2f2418;
	font: 400 0.82rem/1.35 Georgia, "Times New Roman", serif;
	min-height: 2.35rem;
	padding: 0.5rem 0.55rem;
	width: 100%;
}

.clicky-core-statblock-fields textarea {
	resize: vertical;
	text-transform: none;
}

.clicky-core-monster-state {
	color: #d4e4df;
	font-size: 0.76rem;
	margin: 0.75rem 0;
}

.clicky-core-monster-results {
	display: grid;
	gap: 0.6rem;
	grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.clicky-core-monster-result,
.clicky-core-imported-monster {
	background: #071619;
	border: 1px solid #48676a;
	border-radius: 3px;
	color: #fff2d0;
	padding: 0.75rem;
}

.clicky-core-imported-monster-image {
	aspect-ratio: 16 / 9;
	border: 1px solid #48676a;
	border-radius: 3px;
	display: block;
	margin-bottom: 0.75rem;
	object-fit: contain;
	width: 100%;
}

.clicky-core-monster-result {
	align-items: center;
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
}

.clicky-core-monster-result h4,
.clicky-core-monster-result p,
.clicky-core-monster-result span {
	margin: 0;
}

.clicky-core-monster-result h4 {
	font-size: 0.95rem;
}

.clicky-core-monster-result p,
.clicky-core-imported-monster-heading span {
	color: #fff2d0;
	font-size: 0.76rem;
}

.clicky-core-monster-result span,
.clicky-core-imported-monster-heading p,
.clicky-core-monster-provenance {
	color: #cda766;
	font-size: 0.66rem;
}

.clicky-core-monster-pagination {
	align-items: center;
	display: flex;
	gap: 0.65rem;
	justify-content: center;
	margin-top: 0.8rem;
}

.clicky-core-imported-heading {
	border-top: 1px solid rgba(205, 167, 102, 0.35);
	margin-top: 1.2rem;
	padding-top: 1rem;
}

.clicky-core-imported-monsters {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
	margin-top: 0.75rem;
}

.clicky-core-imported-monster-heading > div:last-child {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: flex-end;
}

.clicky-core-imported-monster dl {
	display: grid;
	font-size: 0.64rem;
	gap: 0.25rem 0.6rem;
	grid-template-columns: auto 1fr auto 1fr;
	margin: 0.75rem 0;
}

.clicky-core-imported-monster dt {
	color: #cda766;
	font-weight: 700;
}

.clicky-core-imported-monster dd {
	margin: 0;
}

.clicky-core-imported-monster details {
	border-top: 1px solid rgba(205, 167, 102, 0.25);
	padding-top: 0.6rem;
}

.clicky-core-imported-monster summary {
	color: #fff2d0;
	cursor: pointer;
	font-size: 0.75rem;
	font-weight: 700;
}

.clicky-core-statblock-detail {
	color: #d4e4df;
	font-size: 0.73rem;
	line-height: 1.45;
}

.clicky-core-statblock-detail h5 {
	color: #cda766;
	font-size: 0.76rem;
	margin: 0.8rem 0 0.3rem;
}

.clicky-core-statblock-detail p {
	margin: 0.3rem 0;
}

.clicky-core-monster-empty,
.clicky-core-monster-error {
	background: #102f33;
	border: 1px dashed #48676a;
	color: #d4e4df;
	grid-column: 1 / -1;
	margin: 0;
	padding: 0.9rem;
}

.clicky-core-monster-error {
	border-color: #a95959;
	color: #ffcbc3;
}

.clicky-core-statblock-editor {
	background: #071619;
	border: 1px solid #cda766;
	border-radius: 3px;
	box-sizing: border-box;
	color: #fff2d0;
	max-height: 92vh;
	max-width: 58rem;
	padding: 1rem;
	width: calc(100% - 2rem);
}

.clicky-core-statblock-editor::backdrop {
	background: rgba(1, 6, 8, 0.84);
}

.clicky-core-statblock-header-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	justify-content: flex-end;
}

.clicky-core-statblock-reset-actions {
	justify-content: flex-end;
	margin-top: 0.8rem;
}

.clicky-core-statblock-image-editor {
	align-items: center;
	background: #102f33;
	border: 1px solid #48676a;
	border-radius: 3px;
	display: grid;
	gap: 0.85rem;
	grid-template-columns: 8rem minmax(0, 1fr);
	margin-top: 1rem;
	padding: 0.75rem;
}

.clicky-core-statblock-image-editor p {
	color: #b7ceca;
	font-size: 0.72rem;
	margin: 0.25rem 0 0.6rem;
}

.clicky-core-statblock-image-preview {
	align-items: center;
	aspect-ratio: 1 / 1;
	background: #020b0e;
	border: 1px solid #48676a;
	color: #8aa5a1;
	display: flex;
	font-size: 0.68rem;
	justify-content: center;
	overflow: hidden;
}

.clicky-core-statblock-image-preview img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.clicky-core-statblock-fields {
	display: grid;
	gap: 0.7rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 1rem 0;
}

.clicky-core-statblock-fields .clicky-core-field-wide {
	grid-column: 1 / -1;
}

.clicky-core-statblock-fields fieldset {
	border: 1px solid #48676a;
	margin: 0;
	padding: 0.65rem;
}

.clicky-core-statblock-fields legend {
	color: #cda766;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
}

.clicky-core-statblock-abilities {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.clicky-core-open5e-credits {
	border-top: 1px solid rgba(205, 167, 102, 0.38);
	color: #d4e4df;
	font-size: 0.72rem;
	line-height: 1.45;
	margin-top: 1.5rem;
	padding-top: 1rem;
}

.clicky-core-open5e-credits h2 {
	color: #cda766;
	font-size: 0.85rem;
	margin: 0 0 0.4rem;
}

.clicky-core-open5e-credits a {
	color: #fff2d0;
}

@media (max-width: 1050px) {
	.clicky-core-monster-search {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 650px) {
	.clicky-core-monster-search,
	.clicky-core-statblock-fields,
	.clicky-core-statblock-abilities {
		grid-template-columns: 1fr;
	}

	.clicky-core-imported-monsters {
		grid-template-columns: 1fr;
	}
}

.clicky-core-treasure-generate {
	background: var(--clicky-core-teal, #174f57);
	border: 1px solid var(--clicky-core-teal-dark, #0b343a);
	color: #fff7e2;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 700;
	margin: 0.8rem 0 0;
	padding: 0.55rem 0.8rem;
}

.clicky-core-fixed-quest-items {
	background: #0b2327;
	border: 1px solid rgba(205, 167, 102, 0.42);
	margin-top: 0.8rem;
	padding: 0.7rem;
}

.clicky-core-fixed-quest-items h4 {
	color: #cda766;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	margin: 0 0 0.55rem;
	text-transform: uppercase;
}

.clicky-core-fixed-quest-items ul {
	display: grid;
	gap: 0.55rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.clicky-core-fixed-quest-items li {
	display: grid;
	font-size: 0.78rem;
	gap: 0.55rem;
	grid-template-columns: minmax(0, 1fr);
	line-height: 1.4;
}

.clicky-core-fixed-quest-items button {
	background: #174f57;
	border: 1px solid #cda766;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.7rem/1.2 Georgia, "Times New Roman", serif;
	justify-self: start;
	padding: 0.35rem 0.5rem;
}

.clicky-core-treasure-level {
	color: #d4e4df;
	font-size: 0.72rem;
	margin: 0.45rem 0 0;
}

.clicky-core-item-assignment {
	background: #071619;
	border: 1px solid rgba(205, 167, 102, 0.5);
	border-radius: 3px;
	color: #fff2d0;
	display: grid;
	gap: 0.6rem;
	grid-template-columns: minmax(0, 1fr);
	margin-top: 0.8rem;
	padding: 0.7rem;
}

.clicky-core-item-assignment[hidden] {
	display: none;
}

.clicky-core-item-assignment p {
	margin: 0;
}

.clicky-core-item-assignment-heading {
	align-items: start;
	display: flex;
	gap: 0.5rem;
	justify-content: space-between;
}

.clicky-core-item-assignment-heading > div {
	display: grid;
	gap: 0.08rem;
}

.clicky-core-item-assignment-heading small {
	color: #cda766;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.clicky-core-item-assignment-heading strong {
	color: #fff2d0;
	font-size: 0.82rem;
	line-height: 1.25;
}

.clicky-core-item-assignment-heading button {
	background: transparent !important;
	border: 1px solid #48676a !important;
	color: #d4e4df !important;
	cursor: pointer;
	font: 700 0.9rem/1 Georgia, "Times New Roman", serif;
	padding: 0.22rem 0.35rem;
}

.clicky-core-item-assignment-help {
	color: #b9cbcc;
	font-size: 0.72rem;
	line-height: 1.35;
}

.clicky-core-item-assignment label {
	color: #cda766;
	display: grid;
	font-size: 0.68rem;
	font-weight: 700;
	gap: 0.2rem;
	text-transform: uppercase;
}

.clicky-core-item-assignment select {
	background: #102b2f;
	border: 1px solid #48676a;
	border-radius: 3px;
	color: #fff2d0;
	font: 400 0.76rem/1.2 Georgia, "Times New Roman", serif;
	min-width: 0;
	padding: 0.4rem;
	width: 100%;
}

.clicky-core-item-assignment [data-item-add] {
	background: #174f57 !important;
	border: 1px solid #cda766 !important;
	color: #fff2d0 !important;
	cursor: pointer;
	font: 700 0.72rem/1.2 Georgia, "Times New Roman", serif;
	justify-self: start;
	padding: 0.4rem 0.55rem;
}

.clicky-core-item-assignment [data-item-add]:disabled {
	background: #263438 !important;
	border-color: #68787b !important;
	color: #aeb9ba !important;
	cursor: default;
}

.clicky-core-item-assignment [data-item-status] {
	color: #8fd3aa;
	font-size: 0.72rem;
}

.clicky-core-treasure-generate:hover,
.clicky-core-treasure-generate:focus-visible {
	background: var(--clicky-core-teal-dark, #0b343a);
}

.clicky-core-treasure-generate:focus-visible {
	outline: 2px solid #8f5e31;
	outline-offset: 2px;
}

.clicky-core-room-list {
	margin: 0;
	padding-left: 1.2rem;
}

.clicky-core-room-list li {
	margin: 0.2rem 0;
}

.clicky-core-room-list .clicky-core-exit-route {
	list-style: none;
	margin: 0 0 0.55rem -1.2rem;
}

.clicky-core-room-list .clicky-core-exit-route a {
	background: var(--clicky-core-teal, #174f57);
	border: 1px solid var(--clicky-core-teal-dark, #0b343a);
	color: #fff7e2;
	display: inline-block;
	font-size: 0.7rem;
	padding: 0.4rem 0.65rem;
	text-decoration: none;
}

.clicky-core-room-list .clicky-core-exit-route a:hover,
.clicky-core-room-list .clicky-core-exit-route a:focus-visible {
	background: var(--clicky-core-teal-dark, #0b343a);
	color: #fff7e2;
}

.clicky-core-room-list .clicky-core-checkpoint-route {
	align-items: center;
	display: flex;
	gap: 0.45rem;
	list-style: none;
	margin: 0 0 0.55rem -1.2rem;
	position: relative;
}

.clicky-core-checkpoint-route button {
	background: transparent;
	border: 1px solid var(--clicky-core-teal, #174f57);
	color: var(--clicky-core-teal-dark, #0b343a);
	cursor: pointer;
	font: 700 0.75rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.35rem 0.55rem;
}

.clicky-core-checkpoint-route button:hover,
.clicky-core-checkpoint-route button:focus-visible {
	background: var(--clicky-core-teal-soft, #d4e4df);
}

.clicky-core-checkpoint-route button:disabled {
	background: var(--clicky-core-teal-soft, #d4e4df);
	cursor: default;
}

.clicky-core-checkpoint-route [data-checkpoint-status] {
	color: #fff2d0;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
}

.clicky-core-room-section-shop {
	background: #102f33;
	border-color: #48676a;
}

.clicky-core-location-shop-panel[hidden] {
	display: none;
}

.clicky-core-location-shop-panel {
	border-top: 1px solid rgba(205, 167, 102, 0.28);
	margin-top: 0.7rem;
	padding-top: 0.8rem;
}

.clicky-core-location-shop-controls {
	align-items: end;
	display: grid;
	gap: 0.75rem;
	grid-template-columns: minmax(12rem, 1fr) minmax(12rem, 0.8fr) auto;
	margin-bottom: 0.8rem;
}

.clicky-core-location-shop-controls p {
	grid-column: 1 / -1;
}

.clicky-core-location-shop-controls label,
.clicky-core-shop-library-filters label {
	color: #fff2d0;
	display: grid;
	font-size: 0.74rem;
	font-weight: 700;
	gap: 0.3rem;
}

.clicky-core-location-shop-controls :is(select, input[type="text"]),
.clicky-core-shop-library-filters :is(select, input[type="search"]) {
	background: #071619;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	font: 700 0.78rem/1.2 Georgia, "Times New Roman", serif;
	min-height: 2.25rem;
	padding: 0.4rem 0.55rem;
	width: 100%;
}

.clicky-core-location-shop-controls > button {
	min-height: 2.25rem;
	padding-inline: 1rem;
}

.clicky-core-location-shop-inventory {
	background: rgba(7, 22, 25, 0.7);
	border: 1px solid #cda766;
	border-radius: 3px;
	margin: 0.8rem 0;
	padding: 0.75rem;
}

.clicky-core-location-shop-inventory[hidden] {
	display: none;
}

.clicky-core-location-shop-subheading {
	align-items: end;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 0.6rem;
}

.clicky-core-location-shop-subheading :is(p, h4) {
	margin: 0;
}

.clicky-core-location-shop-subheading span {
	color: #b7ceca;
	font-size: 0.7rem;
	font-weight: 700;
}

[data-location-shop-inventory] {
	display: grid;
	gap: 0.5rem;
}

.clicky-core-location-shop-catalogue-title {
	color: #fff2d0;
	font-size: 0.86rem;
	margin: 0.9rem 0 0.55rem;
}

.clicky-core-location-shop-catalogue-title[hidden] {
	display: none;
}

.clicky-core-location-shop-controls p,
.clicky-core-location-shop-empty {
	color: #b7ceca;
	font-size: 0.74rem;
	margin: 0;
}

.clicky-core-location-shop-stock {
	display: grid;
	gap: 0.5rem;
}

.clicky-core-location-shop-item {
	align-items: center;
	background: #071619;
	border: 1px solid #48676a;
	border-radius: 3px;
	display: grid;
	gap: 0.8rem;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 0.65rem 0.75rem;
}

.clicky-core-location-shop-item-copy {
	align-items: center;
	display: grid;
	gap: 0.65rem;
	grid-template-columns: auto minmax(0, 1fr);
}

.clicky-core-shop-stock-image {
	aspect-ratio: 1 / 1;
	border: 1px solid #48676a;
	border-radius: 3px;
	height: 3.4rem;
	object-fit: contain;
	width: 3.4rem;
}

.clicky-core-shop-item-media {
	display: grid;
	gap: 0.28rem;
	justify-items: center;
	width: 5.5rem;
}

.clicky-core-shop-item-media__preview {
	align-items: center;
	aspect-ratio: 1 / 1;
	background: #020b0e;
	border: 1px solid #48676a;
	border-radius: 3px;
	color: #8fb5b3;
	display: flex;
	font-size: 0.6rem;
	justify-content: center;
	overflow: hidden;
	text-align: center;
	width: 3.4rem;
}

.clicky-core-shop-item-media__preview .clicky-core-shop-stock-image {
	border: 0;
	height: 100%;
	width: 100%;
}

.clicky-core-shop-item-media__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.22rem;
	justify-content: center;
}

.clicky-core-shop-item-media__actions button {
	font-size: 0.58rem;
	padding: 0.25rem 0.32rem;
}

.clicky-core-shop-item-media__actions .clicky-core-shop-item-image-remove {
	background: #492328;
	border-color: #a9645e;
}

.clicky-core-location-shop-item h4,
.clicky-core-location-shop-item p {
	margin: 0;
}

.clicky-core-location-shop-item h4 {
	color: #fff2d0;
	font-size: 0.84rem;
}

.clicky-core-location-shop-item p {
	color: #b7ceca;
	font-size: 0.7rem;
	line-height: 1.35;
	margin-top: 0.18rem;
}

.clicky-core-location-shop-item > div:last-child {
	align-items: flex-end;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.clicky-core-location-shop-item strong {
	color: #e2bd78;
	font-size: 0.78rem;
}

.clicky-core-location-shop-item button {
	background: #174f57;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.68rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.35rem 0.5rem;
}

.clicky-core-location-shop-item button:disabled {
	cursor: default;
	opacity: 0.65;
}

.clicky-core-location-shop-item .clicky-core-shop-remove {
	background: #492328;
	border-color: #a9645e;
}

.clicky-core-shop-restock-controls {
	align-items: center;
	background: rgba(23, 79, 87, 0.2);
	border: 1px solid #48676a;
	border-radius: 3px;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 0.8rem;
	margin-bottom: 0.65rem;
	padding: 0.55rem 0.65rem;
}

.clicky-core-shop-opening-schedule {
	margin-bottom: 0.65rem;
}

.clicky-core-shop-opening-status {
	border: 1px solid #48676a;
	border-radius: 3px;
	color: #b7ceca;
	display: inline-block;
	font-size: 0.68rem;
	margin-top: 0.65rem;
	padding: 0.28rem 0.45rem;
}

.clicky-core-shop-opening-status.is-open {
	background: rgba(40, 104, 70, 0.28);
	border-color: #5f9c73;
	color: #a9e0b9;
}

.clicky-core-shop-opening-status.is-closed {
	background: rgba(111, 42, 46, 0.28);
	border-color: #a9645e;
	color: #efb1ab;
}

.clicky-core-shop-restock-controls label {
	align-items: center;
	color: #fff2d0;
	display: flex;
	font-size: 0.7rem;
	font-weight: 700;
	gap: 0.35rem;
}

.clicky-core-shop-restock-controls input[type="number"],
.clicky-core-shop-stock-controls input[type="number"] {
	background: #020b0e;
	border: 1px solid #6f8f90;
	border-radius: 3px;
	color: #fff2d0;
	font: inherit;
	padding: 0.3rem 0.35rem;
	width: 4.25rem;
}

.clicky-core-shop-restock-controls input[type="checkbox"] {
	accent-color: #cda766;
	margin: 0;
}

.clicky-core-shop-restock-controls button {
	background: #174f57;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.68rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.42rem 0.6rem;
}

.clicky-core-shop-restock-status {
	color: #b7ceca;
	font-size: 0.68rem;
	margin-left: auto;
}

.clicky-core-shop-stock-controls {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	justify-content: flex-end;
}

.clicky-core-shop-stock-controls label {
	color: #b7ceca;
	display: grid;
	font-size: 0.62rem;
	gap: 0.18rem;
	text-align: left;
}

.clicky-core-shop-stock-controls small {
	color: #8fb5b3;
	font-size: 0.62rem;
	width: 100%;
}

.clicky-core-shop-buying {
	background: rgba(2, 11, 14, 0.48);
	border: 1px solid #48676a;
	border-radius: 3px;
	margin: 0.9rem 0;
	padding: 0.75rem;
}

.clicky-core-shop-cash {
	align-items: center;
	color: #fff2d0;
	display: flex;
	font-size: 0.68rem;
	font-weight: 700;
	gap: 0.3rem;
}

.clicky-core-shop-cash span {
	color: #e2bd78;
}

.clicky-core-shop-cash input {
	background: #020b0e;
	border: 1px solid #6f8f90;
	border-radius: 3px;
	color: #fff2d0;
	font: inherit;
	padding: 0.3rem 0.35rem;
	width: 5.5rem;
}

.clicky-core-shop-buying-help {
	color: #b7ceca;
	font-size: 0.68rem;
	line-height: 1.45;
	margin: 0.45rem 0 0.7rem;
}

.clicky-core-shop-buying [data-location-shop-party-items] {
	display: grid;
	gap: 0.45rem;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.clicky-core-shop-party-item {
	align-items: center;
	background: #071619;
	border: 1px solid #385b5e;
	border-radius: 3px;
	display: grid;
	gap: 0.65rem;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 0.55rem;
}

.clicky-core-shop-party-item :is(h5, p, small) {
	margin: 0;
}

.clicky-core-shop-party-item h5 {
	color: #fff2d0;
	font-size: 0.76rem;
}

.clicky-core-shop-party-item p,
.clicky-core-shop-party-item small {
	color: #b7ceca;
	display: block;
	font-size: 0.62rem;
	line-height: 1.35;
	margin-top: 0.15rem;
}

.clicky-core-shop-party-item button {
	background: #174f57;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.66rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.42rem 0.55rem;
}

.clicky-core-shop-party-item button:disabled {
	border-color: #48676a;
	color: #76908f;
	cursor: not-allowed;
	opacity: 0.7;
}

.clicky-core-player-display.is-shop-active {
	background: #020b0e;
}

body:has(.clicky-core-player-display.is-shop-active) .clicky-core-campaign-clock {
	left: 1.25rem;
	right: auto;
	top: 1.15rem;
	transform: none;
}

.clicky-core-shopkeeper-controls {
	align-items: center;
	background: #071619;
	border: 1px solid #48676a;
	border-radius: 3px;
	display: grid;
	gap: 0.75rem;
	grid-template-columns: 4.5rem minmax(0, 1fr) auto;
	margin: 0.8rem 0;
	padding: 0.65rem;
}

.clicky-core-shopkeeper-preview {
	align-items: center;
	aspect-ratio: 1 / 1;
	background: #020b0e;
	border: 1px solid #48676a;
	border-radius: 3px;
	color: #8fb5b3;
	display: flex;
	font-size: 0.65rem;
	justify-content: center;
	overflow: hidden;
	text-align: center;
}

.clicky-core-shopkeeper-preview img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-shopkeeper-controls > div:nth-child(2) {
	display: grid;
	gap: 0.2rem;
}

.clicky-core-shopkeeper-controls small {
	color: #b7ceca;
	font-size: 0.68rem;
}

.clicky-core-shopkeeper-controls > div:last-child {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	justify-content: flex-end;
}

.clicky-core-shopkeeper-remove {
	background: #4c2525 !important;
}

.clicky-core-player-display-shop-surface .clicky-core-player-display-expand,
.clicky-core-player-display.is-shop-active .clicky-core-player-display-expand {
	display: none;
}

.clicky-core-player-display.is-shop-active .clicky-core-player-display-encounter {
	align-content: start;
	background: linear-gradient(145deg, #102f33, #071619);
	box-sizing: border-box;
	display: block;
	height: 100%;
	overflow-y: auto;
	padding: clamp(0.8rem, 1.6vw, 1.4rem);
	position: static;
	width: 100%;
}

.clicky-core-player-display.is-shop-active .clicky-core-player-display-dashboard {
	padding: 0.75rem;
}

.clicky-core-player-display.is-shop-active .clicky-core-player-display-workspace {
	display: block;
	height: calc(100vh - 1.5rem);
}

.clicky-core-player-display.is-shop-active :is(.clicky-core-player-display-sidebar, .clicky-core-player-display-future, .clicky-core-player-display-location-routes, .clicky-core-player-display-location) {
	display: none;
}

.clicky-core-player-display.is-shop-active .clicky-core-player-display-centre,
.clicky-core-player-display.is-shop-active .clicky-core-player-display-media {
	aspect-ratio: auto;
	height: 100%;
	width: 100%;
}

.clicky-core-player-display-shop-header {
	align-items: center;
	border-bottom: 1px solid rgba(205, 167, 102, 0.45);
	display: flex;
	gap: 0.85rem;
	min-height: 4.5rem;
	padding-bottom: 0.65rem;
}

.clicky-core-player-display-shop-header :is(p, h2) {
	margin: 0;
}

.clicky-core-player-display-shop-header p {
	color: #cda766;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.clicky-core-player-display-shop-header h2 {
	font-size: clamp(1.45rem, 3vw, 2.3rem);
	line-height: 1;
	margin-top: 0.2rem;
}

.clicky-core-player-display-shop-status {
	border: 1px solid #48676a;
	border-radius: 3px;
	display: inline-block;
	font-size: 0.64rem;
	margin-top: 0.45rem;
	padding: 0.24rem 0.42rem;
	text-transform: uppercase;
}

.clicky-core-player-display-shop-status.is-open {
	background: rgba(40, 104, 70, 0.3);
	border-color: #5f9c73;
	color: #a9e0b9;
}

.clicky-core-player-display-shop-status.is-closed {
	background: rgba(111, 42, 46, 0.3);
	border-color: #a9645e;
	color: #efb1ab;
}

.clicky-core-player-display-shopkeeper {
	align-self: center;
	aspect-ratio: 1 / 1;
	border: 1px solid #cda766;
	border-radius: 3px;
	height: clamp(3.5rem, 8vh, 5.5rem) !important;
	object-fit: contain !important;
	width: clamp(3.5rem, 8vh, 5.5rem) !important;
}

.clicky-core-player-display-shop-list {
	display: grid;
	gap: clamp(0.35rem, 0.8vw, 0.65rem);
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	margin-top: 0.75rem;
	width: 100%;
}

.clicky-core-player-display-shop-list article {
	align-items: center;
	background: rgba(2, 11, 14, 0.82);
	border: 1px solid #48676a;
	border-radius: 3px;
	display: grid;
	gap: 0.55rem;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 0.55rem 0.65rem;
	text-align: left;
}

.clicky-core-player-display-shop-item-image {
	aspect-ratio: 1 / 1;
	border: 1px solid #48676a;
	border-radius: 3px;
	height: clamp(2.8rem, 6vh, 4rem) !important;
	object-fit: contain !important;
	width: clamp(2.8rem, 6vh, 4rem) !important;
}

.clicky-core-player-display-shop-list article:has(.clicky-core-player-display-shop-item-image) {
	grid-template-columns: auto minmax(0, 1fr) auto;
}

.clicky-core-player-display-shop-list :is(h3, p) {
	margin: 0;
}

.clicky-core-player-display-shop-list h3 {
	color: #fff2d0;
	font-size: clamp(0.72rem, 1vw, 0.88rem);
}

.clicky-core-player-display-shop-list p {
	color: #b7ceca;
	font-size: clamp(0.6rem, 0.8vw, 0.7rem);
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.35;
	margin-top: 0.2rem;
	text-transform: none;
}

.clicky-core-player-display-shop-list small {
	color: #e2bd78;
	display: block;
	font-size: 0.62rem;
	font-weight: 700;
	margin-top: 0.35rem;
}

.clicky-core-player-display-shop-list strong {
	color: #e2bd78;
	font-size: clamp(0.72rem, 1vw, 0.84rem);
}

@media (max-width: 700px) {
	.clicky-core-shopkeeper-controls {
		grid-template-columns: 3.75rem minmax(0, 1fr);
	}

	.clicky-core-shopkeeper-controls > div:last-child {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
}

.clicky-core-shop-library {
	background: #102f33;
	border-color: #48676a;
}

.clicky-core-shop-library-level {
	background: #071619;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	font-size: 0.75rem;
	font-weight: 700;
	margin: 0;
	padding: 0.45rem 0.65rem;
}

.clicky-core-shop-library-filters {
	align-items: end;
	display: grid;
	gap: 0.75rem;
	grid-template-columns: minmax(12rem, 0.75fr) minmax(16rem, 1.25fr) auto;
	margin: 1rem 0;
}

.clicky-core-shop-library-filters .clicky-core-shop-library-locked {
	align-items: center;
	display: flex;
	gap: 0.4rem;
	min-height: 2.25rem;
}

.clicky-core-shop-library-filters .clicky-core-shop-library-locked input {
	flex: 0 0 1rem;
	height: 1rem;
	margin: 0;
	width: 1rem;
}

.clicky-core-shop-library [data-item-library-add] {
	white-space: nowrap;
}

.clicky-core-shop-library-results {
	display: grid;
	gap: 0.65rem;
	grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.clicky-core-shop-library-item {
	background: #071619;
	border: 1px solid #48676a;
	border-radius: 3px;
	display: grid;
	gap: 0.75rem;
	grid-template-columns: 5rem minmax(0, 1fr);
	min-width: 0;
	padding: 0.75rem;
}

.clicky-core-shop-library-item.is-locked {
	border-style: dashed;
	opacity: 0.68;
}

.clicky-core-shop-library-item-content > div:first-child,
.clicky-core-shop-library-item-details {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	justify-content: space-between;
}

.clicky-core-shop-library-item h3,
.clicky-core-shop-library-item p {
	margin: 0;
}

.clicky-core-shop-library-item h3 {
	color: #fff2d0;
	font-size: 0.9rem;
}

.clicky-core-shop-library-item-content > div:first-child span,
.clicky-core-shop-library-item small {
	color: #b7ceca;
	font-size: 0.68rem;
}

.clicky-core-shop-library-item-content > div:first-child span {
	background: #174f57;
	border-radius: 999px;
	padding: 0.2rem 0.45rem;
	text-align: right;
}

.clicky-core-shop-library-item-media {
	align-items: center;
	aspect-ratio: 1 / 1;
	background: #020b0e;
	border: 1px solid #48676a;
	color: #8aa5a1;
	display: flex;
	font-size: 0.64rem;
	justify-content: center;
	overflow: hidden;
}

.clicky-core-shop-library-item-media img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.clicky-core-shop-library-item-content {
	min-width: 0;
}

.clicky-core-shop-library-image-actions {
	background: none !important;
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	padding: 0 !important;
}

.clicky-core-shop-library-image-actions button {
	font-size: 0.64rem;
	padding: 0.35rem 0.45rem;
}

.clicky-core-shop-library-item p {
	color: #d4e4df;
	font-size: 0.74rem;
	line-height: 1.4;
	margin: 0.55rem 0 0.75rem;
}

.clicky-core-shop-library-item strong {
	color: #e2bd78;
	margin-right: 0.25rem;
}

.clicky-core-shop-library-item-details small {
	flex: 1 1 8rem;
}

.clicky-core-item-availability-editor {
	border-top: 1px solid #294b4e;
	margin-top: 0.65rem;
	padding-top: 0.55rem;
}

.clicky-core-item-availability-editor summary {
	color: #e2bd78;
	cursor: pointer;
	font-size: 0.72rem;
	font-weight: 700;
}

.clicky-core-item-availability-editor > div,
.clicky-core-item-library-availability {
	display: grid;
	gap: 0.3rem 0.75rem;
	grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
	margin-top: 0.55rem;
}

.clicky-core-item-availability-editor label,
.clicky-core-item-library-availability label {
	align-items: center;
	color: #d4e4df;
	display: flex !important;
	font-size: 0.7rem;
	gap: 0.35rem;
}

.clicky-core-item-availability-editor input[type="checkbox"],
.clicky-core-item-library-editor .clicky-core-item-library-availability input[type="checkbox"] {
	flex: 0 0 0.9rem !important;
	height: 0.9rem !important;
	margin: 0;
	max-width: 0.9rem !important;
	min-width: 0.9rem !important;
	width: 0.9rem !important;
}

.clicky-core-item-library-editor {
	background: #102f33;
	border: 1px solid #cda766;
	color: #fff2d0;
	max-height: min(48rem, 90vh);
	max-width: min(44rem, 92vw);
	padding: 1rem;
	width: 100%;
}

.clicky-core-item-library-editor::backdrop {
	background: rgba(0, 0, 0, 0.72);
}

.clicky-core-campaign-table dialog.clicky-core-item-library-editor .clicky-core-portrait-gallery-header h2 {
	color: #fff2d0 !important;
}

.clicky-core-item-library-fields {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 1rem;
}

.clicky-core-item-library-fields > label {
	color: #fff2d0;
	display: grid;
	font-size: 0.75rem;
	gap: 0.3rem;
}

.clicky-core-item-library-fields > label:nth-child(1),
.clicky-core-item-library-fields > label:nth-child(2),
.clicky-core-item-library-fields > fieldset {
	grid-column: 1 / -1;
}

.clicky-core-item-library-fields fieldset {
	border: 1px solid #48676a;
	margin: 0;
	padding: 0.6rem;
}

.clicky-core-item-library-fields legend {
	color: #fff2d0;
	font-size: 0.75rem;
	padding: 0 0.3rem;
}

.clicky-core-item-library-fields :is(input, select, textarea) {
	background: #071619;
	border: 1px solid #48676a;
	color: #fff2d0;
	font: inherit;
	padding: 0.55rem;
}

.clicky-core-item-library-editor-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 1rem;
}

@media (max-width: 760px) {
	.clicky-core-location-shop-controls,
	.clicky-core-shop-library-filters {
		grid-template-columns: 1fr;
	}

	.clicky-core-location-shop-item {
		grid-template-columns: 1fr;
	}

	.clicky-core-shop-library-item {
		grid-template-columns: 4rem minmax(0, 1fr);
	}

	.clicky-core-item-library-fields {
		grid-template-columns: 1fr;
	}

	.clicky-core-item-library-fields > label {
		grid-column: 1 !important;
	}

	.clicky-core-item-library-fields > fieldset {
		grid-column: 1;
	}

	.clicky-core-location-shop-item > div:last-child {
		align-items: flex-start;
	}
}

.clicky-core-room-list a {
	color: var(--clicky-core-teal, #174f57);
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

.clicky-core-room-list a:hover,
.clicky-core-room-list a:focus-visible {
	color: #2b1b10;
}

.clicky-core-room-list .clicky-core-route-option {
	align-items: center;
	display: flex;
	gap: 0.38rem;
	list-style: none;
	margin: 0.38rem 0 0.38rem -1.2rem;
}

.clicky-core-room-list .clicky-core-route-option a {
	background: var(--clicky-core-teal, #174f57);
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	display: inline-block;
	font: 700 0.68rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.35rem 0.55rem;
	text-decoration: none;
	transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.clicky-core-room-list .clicky-core-route-option a:hover,
.clicky-core-room-list .clicky-core-route-option a:focus-visible {
	background: var(--clicky-core-teal-dark, #0b343a);
	border-color: #e2bd78;
	color: #fff2d0;
}

.clicky-core-room-list .clicky-core-route-option.is-route-disabled a,
.clicky-core-room-list .clicky-core-route-option.is-route-disabled a:hover,
.clicky-core-room-list .clicky-core-route-option.is-route-disabled a:focus-visible {
	background: #263438;
	border-color: #68787b;
	color: #aeb9ba;
	cursor: not-allowed;
	opacity: 0.62;
	pointer-events: none;
}

.clicky-core-route-availability-toggle {
	background: #263438 !important;
	border: 1px solid #718184 !important;
	border-radius: 50% !important;
	box-shadow: none;
	box-sizing: border-box;
	flex: 0 0 0.8rem;
	height: 0.8rem;
	min-height: 0;
	min-width: 0;
	padding: 0 !important;
	width: 0.8rem;
}

.clicky-core-route-availability-toggle.is-active {
	background: #59d27d !important;
	border-color: #b9f6c9 !important;
	box-shadow: 0 0 0.35rem rgba(89, 210, 125, 0.85);
}

.clicky-core-route-availability-toggle:hover,
.clicky-core-route-availability-toggle:focus-visible {
	border-color: #fff2d0 !important;
	transform: scale(1.12);
}

.clicky-core-room-list .clicky-core-route-placeholder,
.clicky-core-room-list .clicky-core-route-placeholder:disabled {
	background: #263438 !important;
	border: 1px solid #68787b !important;
	border-radius: 3px;
	color: #aeb9ba !important;
	cursor: not-allowed;
	font: 700 0.68rem/1.2 Georgia, "Times New Roman", serif;
	opacity: 0.72;
	padding: 0.35rem 0.55rem;
	text-align: left;
}

.clicky-core-routes-heading {
	align-items: center;
	border-bottom: 1px solid rgba(229, 211, 173, 0.28);
	display: flex;
	gap: 0.65rem;
	justify-content: space-between;
	margin-bottom: 0.65rem;
	padding-bottom: 0.48rem;
}

.clicky-core-routes-heading .clicky-core-room-section-title {
	border: 0;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}

.clicky-core-checkpoint-controls {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	justify-content: flex-end;
	min-width: 0;
	position: relative;
}

.clicky-core-checkpoint-controls > :is(a, button),
.clicky-core-room-explorer .clicky-core-checkpoint-controls .clicky-core-help-tooltip-trigger {
	align-items: center;
	background: #173f44 !important;
	border: 1px solid #5f7e80 !important;
	border-radius: 3px;
	box-sizing: border-box;
	color: #d4e4df !important;
	cursor: pointer;
	display: inline-flex;
	font: 700 0.64rem/1.1 Georgia, "Times New Roman", serif;
	justify-content: center;
	min-height: 1.75rem;
	padding: 0.32rem 0.5rem;
	text-decoration: none;
	white-space: nowrap;
}

.clicky-core-room-explorer .clicky-core-checkpoint-controls .clicky-core-help-tooltip-trigger {
	border-radius: 50%;
	height: 1.75rem;
	padding: 0;
	width: 1.75rem;
}

.clicky-core-checkpoint-controls > :is(a, button):hover,
.clicky-core-checkpoint-controls > :is(a, button):focus-visible,
.clicky-core-room-explorer .clicky-core-checkpoint-controls .clicky-core-help-tooltip-trigger:hover,
.clicky-core-room-explorer .clicky-core-checkpoint-controls .clicky-core-help-tooltip-trigger:focus-visible {
	background: #0b343a !important;
	border-color: #8fb4b5 !important;
	color: #fff2d0 !important;
}

.clicky-core-checkpoint-controls > button:disabled {
	background: #173f44 !important;
	color: #d4e4df !important;
	cursor: default;
	opacity: 0.78;
}

.clicky-core-checkpoint-controls > a[aria-disabled="true"] {
	background: #173f44 !important;
	color: #d4e4df !important;
	cursor: default;
	opacity: 0.78;
	pointer-events: none;
}

.clicky-core-checkpoint-controls [data-checkpoint-status] {
	color: #d4e4df;
	font-size: 0.61rem;
	font-weight: 700;
	line-height: 1.1;
	white-space: nowrap;
}

.clicky-core-room-section-exits > .clicky-core-room-list {
	list-style: none;
	padding-left: 0;
}

.clicky-core-room-list .clicky-core-route-option {
	margin-left: 0;
}

.clicky-core-room-list .clicky-core-route-option a {
	background: #d2a952;
	border-color: #f0d18d;
	color: #061417;
	box-shadow: 0 0.16rem 0.45rem rgba(210, 169, 82, 0.2);
}

.clicky-core-room-list .clicky-core-route-option a:hover,
.clicky-core-room-list .clicky-core-route-option a:focus-visible {
	background: #e2bd78;
	border-color: #ffe2a3;
	color: #061417;
	box-shadow: 0 0 0 2px rgba(226, 189, 120, 0.2);
}

.clicky-core-room-list .clicky-core-route-option.is-map-transition a {
	background: #b88d43;
	border-color: #56c989;
	box-shadow: 0 0 0.28rem rgba(86, 201, 137, 0.34), 0 0.16rem 0.45rem rgba(184, 141, 67, 0.2);
}

.clicky-core-room-list .clicky-core-route-option.is-map-transition a:hover,
.clicky-core-room-list .clicky-core-route-option.is-map-transition a:focus-visible {
	background: #cda45a;
	border-color: #56c989;
}

.clicky-core-room-list .clicky-core-route-option.is-route-disabled a,
.clicky-core-room-list .clicky-core-route-option.is-route-disabled a:hover,
.clicky-core-room-list .clicky-core-route-option.is-route-disabled a:focus-visible {
	background: #263438;
	border-color: #68787b;
	box-shadow: none;
	color: #aeb9ba;
}

@media (max-width: 720px) {
	.clicky-core-routes-heading {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.clicky-core-checkpoint-controls {
		justify-content: flex-start;
		width: 100%;
	}
}

.clicky-core-room-list [data-player-identity] {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	justify-content: space-between;
}

.clicky-core-room-section-occupants .clicky-core-room-list {
	display: grid;
	gap: 0.65rem;
}

.clicky-core-room-list .clicky-core-identity-card {
	background: #071619;
	border: 1px solid #48676a;
	border-radius: 3px;
	box-sizing: border-box;
	color: #fff2d0;
	display: block;
	padding: 0.65rem;
}

.clicky-core-room-list .clicky-core-identity-card[hidden] {
	display: none !important;
}

.clicky-core-room-list .clicky-core-identity-card.has-tabletop-marker {
	border-bottom-color: var(--clicky-core-tabletop-marker);
	border-bottom-width: 3px;
}

.clicky-core-identity-card-summary {
	align-items: center;
	display: grid;
	gap: 0.65rem;
	grid-template-columns: 4rem minmax(0, 1fr);
}

.clicky-core-identity-card-summary > div:last-child {
	min-width: 0;
}

.clicky-core-identity-card-portrait {
	align-items: center;
	background: #020b0e;
	border: 1px solid #48676a;
	border-radius: 3px;
	color: #e2bd78;
	display: flex;
	font: 700 1.25rem/1 Georgia, "Times New Roman", serif;
	height: 4rem;
	justify-content: center;
	overflow: hidden;
	position: relative;
	width: 4rem;
}

.clicky-core-identity-card-portrait img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-identity-card.is-defeated {
	border-color: #8b3438;
}

.clicky-core-identity-card.is-defeated .clicky-core-identity-card-portrait img {
	filter: grayscale(0.9) brightness(0.48);
}

.clicky-core-identity-card.is-unavailable {
	background: #182629;
	border-color: #53676a;
}

.clicky-core-identity-card.is-unavailable .clicky-core-identity-card-portrait img {
	filter: grayscale(1) brightness(0.58);
}

.clicky-core-identity-card.is-unavailable .clicky-core-identity-card-summary > div:last-child {
	opacity: 0.68;
}

.clicky-core-identity-defeated-mark {
	align-items: center;
	background: rgba(35, 4, 7, 0.78);
	color: #f4dfbd;
	display: flex;
	font-size: 2rem;
	inset: 0;
	justify-content: center;
	position: absolute;
}

.clicky-core-identity-card .clicky-core-identity-name {
	color: #fff2d0;
	display: block;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.clicky-core-identity-profession {
	color: #e2bd78;
	display: block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-top: 0.22rem;
	text-transform: uppercase;
}

.clicky-core-identity-species {
	display: block;
	margin-top: 0.12rem;
	color: #d5e7e3;
	font-size: 0.76rem;
	font-weight: 650;
	letter-spacing: 0.035em;
}

.clicky-core-identity-roleplay {
	display: flex;
	flex-wrap: wrap;
	gap: 0.18rem 0.45rem;
	margin-top: 0.38rem;
}

.clicky-core-identity-roleplay > span {
	color: #d5e7e3;
	font-size: 0.65rem;
	line-height: 1.3;
}

.clicky-core-identity-roleplay strong {
	color: #e2bd78;
	font-weight: 700;
}

.clicky-core-identity-card .clicky-core-identity-actions {
	gap: 0.3rem;
	justify-content: flex-start;
	margin-top: 0.55rem;
}

.clicky-core-room-explorer .clicky-core-identity-card .clicky-core-identity-toggle {
	border-color: #6f9699;
	color: #d4e4df;
	font-size: 0.62rem;
	padding: 0.32rem 0.42rem;
}

.clicky-core-room-explorer .clicky-core-identity-card .clicky-core-identity-toggle:hover,
.clicky-core-room-explorer .clicky-core-identity-card .clicky-core-identity-toggle:focus-visible {
	background: #0b343a;
	border-color: #cda766;
	color: #fff2d0;
}

.clicky-core-identity-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.clicky-core-identity-allegiance {
	display: flex;
	flex-basis: 100%;
	gap: 0.3rem;
}

.clicky-core-identity-schedule {
	align-items: center;
	display: flex;
	flex-basis: 100%;
	gap: 0.3rem;
}

.clicky-core-identity-schedule::before {
	color: #9fb8b7;
	content: "Present:";
	font-size: 0.6rem;
	font-weight: 700;
	margin-right: 0.1rem;
}

.clicky-core-room-explorer .clicky-core-identity-schedule-toggle {
	background: #263438;
	border-color: #61777a;
	color: #aeb9ba;
	min-width: 3.25rem;
}

.clicky-core-room-explorer .clicky-core-identity-schedule-toggle.is-selected {
	background: #174f57;
	border-color: #e2bd78;
	box-shadow: inset 0 0 0 1px rgba(226, 189, 120, 0.18);
	color: #fff2d0;
}

.clicky-core-room-explorer .clicky-core-identity-card .clicky-core-identity-allegiance .is-selected {
	background: #cda766;
	border-color: #f3d89b;
	color: #071619;
}

.clicky-core-room-explorer .clicky-core-identity-card [data-player-identity-allegiance="enemy"].is-selected {
	background: #7d2930;
	border-color: #dc6b6b;
	color: #fff2d0;
}

.clicky-core-room-explorer .clicky-core-identity-card [data-player-identity-allegiance="ally"].is-selected {
	background: #205f48;
	border-color: #56c989;
	color: #fff2d0;
}

.clicky-core-identity-name em {
	color: #e2bd78;
	font-size: 0.72rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.clicky-core-identity-members {
	display: grid;
	flex-basis: 100%;
	gap: 0.35rem;
}

.clicky-core-tabletop-marker-picker {
	align-items: center;
	border-top: 1px solid rgba(111, 150, 153, 0.42);
	display: flex;
	flex-wrap: wrap;
	gap: 0.28rem;
	margin-top: 0.55rem;
	padding-top: 0.5rem;
}

.clicky-core-tabletop-marker-picker > span {
	color: #b9cfca;
	flex-basis: 100%;
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.clicky-core-room-explorer .clicky-core-tabletop-marker-swatch,
.clicky-core-room-explorer .clicky-core-tabletop-marker-clear {
	background: var(--clicky-core-tabletop-marker-choice, transparent) !important;
	border: 1px solid rgba(255, 242, 208, 0.55) !important;
	border-radius: 999px !important;
	box-sizing: border-box;
	color: #fff2d0 !important;
	cursor: pointer;
	height: 1rem;
	min-height: 1rem;
	min-width: 1rem;
	padding: 0 !important;
	width: 1rem;
}

.clicky-core-room-explorer .clicky-core-tabletop-marker-swatch.is-selected {
	box-shadow: 0 0 0 2px #071619, 0 0 0 4px #fff2d0;
}

.clicky-core-room-explorer .clicky-core-tabletop-marker-clear {
	align-items: center;
	background: #263438 !important;
	display: inline-flex;
	font: 700 0.72rem/1 Arial, sans-serif;
	justify-content: center;
}

.clicky-core-identity-member-control {
	align-items: center;
	background: #ead8ad;
	border-left: 2px solid var(--clicky-core-teal, #174f57);
	color: #2f2418;
	display: flex;
	font-size: 0.82rem;
	gap: 0.5rem;
	justify-content: space-between;
	padding: 0.4rem 0.5rem;
}

.clicky-core-room-explorer .clicky-core-identity-member-control .clicky-core-identity-toggle {
	border-color: #7c6337;
	color: #2f2418;
}

.clicky-core-room-explorer .clicky-core-identity-member-control .clicky-core-identity-toggle[aria-pressed="true"] {
	border-color: #cda766;
	color: #fff2d0;
}

.clicky-core-identity-toggle {
	background: transparent;
	border: 1px solid var(--clicky-core-teal, #174f57);
	color: var(--clicky-core-teal-dark, #0b343a);
	cursor: pointer;
	font: 700 0.7rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.35rem 0.5rem;
}

.clicky-core-identity-toggle[aria-pressed="true"] {
	background: var(--clicky-core-teal, #174f57);
	color: #fff2d0;
}

.clicky-core-entity-editor {
	background: #d6c39a;
	border: 1px solid #6e461e;
	color: #2f2418;
	font-family: Georgia, "Times New Roman", serif;
	max-height: calc(100vh - 2rem);
	max-width: 42rem;
	padding: 1rem;
	width: calc(100% - 2rem);
}

.clicky-core-entity-editor::backdrop {
	background: rgba(2, 11, 14, 0.82);
}

.clicky-core-npc-sheet {
	background: #071619;
	border: 1px solid #cda766;
	border-radius: 3px;
	box-sizing: border-box;
	color: #fff2d0;
	max-height: 92vh;
	max-width: 52rem;
	padding: 1rem;
	width: calc(100% - 2rem);
}

.clicky-core-npc-sheet::backdrop {
	background: rgba(2, 11, 14, 0.84);
}

.clicky-core-roleplay-dialog,
.clicky-core-merchant-dialog {
	background: #071619;
	border: 1px solid #cda766;
	border-radius: 5px;
	box-sizing: border-box;
	color: #d4e4df;
	max-height: calc(100vh - 2rem);
	max-width: 1200px;
	padding: 1rem;
	width: calc(100% - 2rem);
}

.clicky-core-roleplay-dialog::backdrop,
.clicky-core-merchant-dialog::backdrop {
	background: rgba(2, 11, 14, 0.86);
}

.clicky-core-roleplay-dialog > form {
	display: grid;
	gap: 1rem;
}

.clicky-core-roleplay-dialog .clicky-core-entity-editor-header p,
.clicky-core-merchant-dialog .clicky-core-entity-editor-header p {
	color: #b7ceca;
	font-size: 0.75rem;
	margin: 0.2rem 0 0;
}

.clicky-core-roleplay-dialog-header {
	align-items: flex-start;
}

.clicky-core-dialog-switch-actions {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 0.45rem;
	justify-content: flex-end;
}

.clicky-core-roleplay-dialog-identity {
	align-items: center;
	display: flex;
	gap: 0.85rem;
	min-width: 0;
}

.clicky-core-roleplay-dialog-portrait {
	appearance: none;
	align-items: center;
	aspect-ratio: 1 / 1;
	background: #020b0e;
	border: 1px solid #cda766;
	border-radius: 4px;
	color: #e2bd78;
	display: flex;
	flex: 0 0 5rem;
	font: 700 1.5rem/1 Georgia, "Times New Roman", serif;
	height: 5rem;
	justify-content: center;
	overflow: hidden;
	padding: 0;
	width: 5rem;
}

.clicky-core-roleplay-dialog-portrait:not(:disabled) {
	cursor: zoom-in;
}

.clicky-core-roleplay-dialog-portrait:not(:disabled):hover,
.clicky-core-roleplay-dialog-portrait:not(:disabled):focus-visible {
	border-color: #f0c97d;
	box-shadow: 0 0 0 2px rgba(240, 201, 125, 0.2), 0 0 0.8rem rgba(240, 201, 125, 0.3);
}

.clicky-core-roleplay-dialog-portrait img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-roleplay-portrait-preview {
	background: #041013;
	border: 1px solid #cda766;
	border-radius: 6px;
	box-sizing: border-box;
	color: #fff3d8;
	max-height: calc(100vh - 2rem);
	max-width: min(900px, calc(100vw - 2rem));
	padding: 0.8rem;
	width: max-content;
}

.clicky-core-roleplay-portrait-preview::backdrop {
	background: rgba(1, 7, 9, 0.92);
}

.clicky-core-roleplay-portrait-preview-header {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 0.65rem;
}

.clicky-core-roleplay-portrait-preview-header h2 {
	font-size: clamp(1rem, 2vw, 1.45rem);
	margin: 0;
}

.clicky-core-roleplay-portrait-preview > img {
	display: block;
	max-height: calc(100vh - 7rem);
	max-width: min(850px, calc(100vw - 3.6rem));
	object-fit: contain;
	width: auto;
}

.clicky-core-roleplay-grid {
	display: grid;
	gap: 0.8rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-height: calc(100vh - 12rem);
	overflow-x: hidden;
	overflow-y: auto;
}

.clicky-core-roleplay-grid > section {
	background: #0b292e;
	border: 1px solid #48676a;
	border-radius: 4px;
	min-width: 0;
	padding: 0.8rem;
}

.clicky-core-roleplay-grid > section:last-child {
	grid-column: 1 / -1;
}

.clicky-core-roleplay-grid h3 {
	color: #fff2d0;
	font-size: 1rem;
	margin: 0 0 0.65rem;
}

.clicky-core-roleplay-fields {
	display: grid;
	gap: 0.55rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clicky-core-roleplay-fields label {
	color: #cda766;
	display: grid;
	font-size: 0.68rem;
	font-weight: 700;
	gap: 0.25rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.clicky-core-roleplay-fields label.is-wide {
	grid-column: 1 / -1;
}

.clicky-core-roleplay-fields input,
.clicky-core-roleplay-fields select,
.clicky-core-roleplay-fields textarea,
.clicky-core-npc-relationship-row input,
.clicky-core-npc-relationship-row select {
	background: #020b0e;
	border: 1px solid #48676a;
	border-radius: 3px;
	box-sizing: border-box;
	color: #f4eee0;
	font: 400 0.78rem/1.4 Georgia, "Times New Roman", serif;
	padding: 0.45rem 0.55rem;
	resize: vertical;
	text-transform: none;
	width: 100%;
}

.clicky-core-roleplay-section-heading {
	align-items: center;
	display: flex;
	gap: 0.6rem;
	justify-content: space-between;
}

.clicky-core-npc-relationship-row {
	background: #071619;
	border: 1px solid #48676a;
	border-radius: 3px;
	margin-bottom: 0.45rem;
	padding: 0.5rem 0.6rem;
}

.clicky-core-npc-relationship-summary {
	align-items: center;
	display: flex;
	gap: 0.6rem;
	justify-content: space-between;
}

.clicky-core-npc-relationship-portrait {
	align-items: center;
	background: #020b0e;
	border: 1px solid #48676a;
	border-radius: 3px;
	color: #e2bd78;
	display: flex;
	flex: 0 0 2.25rem;
	font-size: 0.72rem;
	font-weight: 700;
	height: 2.25rem;
	justify-content: center;
	overflow: hidden;
	width: 2.25rem;
}

.clicky-core-npc-relationship-portrait img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-npc-relationship-summary > div {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	min-width: 0;
}

.clicky-core-npc-relationship-summary strong {
	color: #cda766;
	font-size: 0.7rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.clicky-core-npc-relationship-summary span {
	color: #fff2d0;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.25;
}

.clicky-core-npc-relationship-summary small {
	color: #a9c0bc;
	flex-basis: 100%;
}

.clicky-core-npc-relationship-fields {
	display: none;
	gap: 0.4rem;
	grid-template-columns: minmax(6rem, 0.7fr) minmax(9rem, 1fr) minmax(8rem, 1.2fr) auto;
	margin-top: 0.5rem;
}

.clicky-core-npc-relationship-row.is-editing .clicky-core-npc-relationship-fields {
	display: grid;
}

.clicky-core-npc-relationship-row.is-editing .clicky-core-npc-relationship-summary > div {
	display: none;
}

.clicky-core-npc-relationship-row.is-editing .clicky-core-npc-relationship-portrait {
	display: none;
}

.clicky-core-npc-incoming-relationships {
	background: #071619;
	border-left: 3px solid #56c989;
	font-size: 0.75rem;
	margin-top: 0.7rem;
	padding: 0.55rem 0.7rem;
}

.clicky-core-npc-incoming-relationships ul {
	margin: 0.35rem 0 0;
}

.clicky-core-merchant-dialog-body {
	max-height: calc(100vh - 12rem);
	overflow-y: auto;
	padding: 0.8rem 0;
}

.clicky-core-merchant-dialog-body [data-npc-shop-items] {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clicky-core-merchant-dialog .clicky-core-npc-shop-item {
	align-items: center;
	grid-template-columns: 4.5rem minmax(0, 1fr) auto;
}

.clicky-core-npc-shop-item-image {
	align-items: center;
	aspect-ratio: 1 / 1;
	background: #020b0e;
	border: 1px solid #48676a;
	border-radius: 3px;
	display: flex;
	height: 4.5rem;
	justify-content: center;
	overflow: hidden;
	width: 4.5rem;
}

.clicky-core-npc-shop-item-image img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.clicky-core-npc-shop-item-image.is-placeholder {
	color: #78918d;
	font-size: 0.58rem;
	letter-spacing: 0.04em;
	text-align: center;
	text-transform: uppercase;
}

.clicky-core-identity-actions .clicky-core-identity-shop {
	border-color: #56c989;
	box-shadow: 0 0 0.25rem rgba(86, 201, 137, 0.24);
}

.clicky-core-npc-sheet-edit-grid label > small {
	color: #a9c0bc;
	font-size: 0.65rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.35;
	text-transform: none;
}

@media (max-width: 760px) {
	.clicky-core-roleplay-grid,
	.clicky-core-roleplay-fields,
	.clicky-core-merchant-dialog-body [data-npc-shop-items] {
		grid-template-columns: 1fr;
	}

	.clicky-core-roleplay-grid > section:last-child,
	.clicky-core-roleplay-fields label.is-wide {
		grid-column: 1;
	}

	.clicky-core-npc-relationship-fields {
		grid-template-columns: 1fr;
	}

	.clicky-core-merchant-dialog .clicky-core-npc-shop-item {
		grid-template-columns: 3.75rem minmax(0, 1fr);
	}

	.clicky-core-npc-shop-item-image {
		height: 3.75rem;
		width: 3.75rem;
	}

	.clicky-core-npc-shop-item > div:last-child {
		grid-column: 2;
	}
}

.clicky-core-npc-sheet .clicky-core-entity-editor-header p {
	color: #d4e4df;
	font-size: 0.76rem;
	margin: 0.2rem 0 0;
}

.clicky-core-npc-sheet .clicky-core-entity-editor-header h2 {
	color: #fff2d0;
}

.clicky-core-npc-sheet .clicky-core-room-building {
	color: #cda766;
}

.clicky-core-npc-sheet-layout {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr);
	margin-top: 1rem;
}

.clicky-core-npc-sheet-portrait {
	align-items: center;
	aspect-ratio: 4 / 5;
	background: #0b343a;
	border: 1px solid #48676a;
	color: #d4e4df;
	display: flex;
	font-size: 0.78rem;
	justify-content: center;
	overflow: hidden;
	text-align: center;
}

.clicky-core-npc-sheet-portrait img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-npc-sheet-main {
	min-width: 0;
}

.clicky-core-npc-sheet-edit-grid {
	display: grid;
	gap: 0.55rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 0.85rem;
}

.clicky-core-npc-sheet-edit-grid label,
.clicky-core-npc-cr-field,
.clicky-core-npc-sheet-main section > label {
	color: #cda766;
	display: grid;
	font-size: 0.68rem;
	font-weight: 700;
	gap: 0.22rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.clicky-core-npc-cr-control {
	align-items: stretch;
	display: grid;
	grid-template-columns: 2.35rem minmax(5.5rem, 1fr) 2.35rem;
}

.clicky-core-npc-cr-control button {
	align-items: center;
	background: #183f43;
	border: 1px solid #cda766;
	color: #fff2d0;
	cursor: pointer;
	display: flex;
	font-size: 0.72rem;
	justify-content: center;
	padding: 0.35rem;
}

.clicky-core-npc-cr-control button:first-child {
	border-radius: 3px 0 0 3px;
}

.clicky-core-npc-cr-control button:last-of-type {
	border-radius: 0 3px 3px 0;
}

.clicky-core-npc-cr-control button:hover,
.clicky-core-npc-cr-control button:focus-visible {
	background: #286268;
}

.clicky-core-npc-cr-control button:disabled {
	cursor: not-allowed;
	opacity: 0.38;
}

.clicky-core-npc-cr-control output {
	align-items: center;
	background: #020b0e;
	border-bottom: 1px solid #48676a;
	border-top: 1px solid #48676a;
	color: #fff2d0;
	display: flex;
	font: 700 0.9rem/1 Georgia, "Times New Roman", serif;
	justify-content: center;
	min-width: 0;
	padding: 0.45rem 0.35rem;
	text-align: center;
}

.clicky-core-npc-cr-field > small {
	color: #a9c0bc;
	font-size: 0.62rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.3;
	text-transform: none;
}

.clicky-core-npc-sheet-edit-grid input,
.clicky-core-npc-sheet-edit-grid select,
.clicky-core-npc-sheet-abilities input,
.clicky-core-npc-sheet-main textarea {
	background: #020b0e;
	border: 1px solid #48676a;
	border-radius: 3px;
	box-sizing: border-box;
	color: #fff2d0;
	font: 400 0.78rem/1.3 Georgia, "Times New Roman", serif;
	min-width: 0;
	padding: 0.42rem 0.5rem;
	width: 100%;
}

.clicky-core-npc-creature-combobox {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 4.5rem;
}

.clicky-core-npc-creature-combobox input {
	border-bottom-right-radius: 0;
	border-right: 0;
	border-top-right-radius: 0;
}

.clicky-core-npc-creature-combobox select {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
	cursor: pointer;
	font-size: 0.68rem;
	padding-left: 0.25rem;
	padding-right: 0.15rem;
}

.clicky-core-npc-template-chooser {
	background: #0b2327;
	border: 1px solid #48676a;
	border-radius: 3px;
	padding: 0.65rem;
}

.clicky-core-npc-template-chooser > h3 {
	margin: 0 0 0.55rem;
}

.clicky-core-npc-template-options {
	display: grid;
	gap: 0.55rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clicky-core-npc-template-options section {
	background: #071619;
	border: 1px solid rgba(205, 167, 102, 0.45);
	border-radius: 3px;
	display: grid;
	gap: 0.35rem;
	padding: 0.55rem;
}

.clicky-core-npc-template-options strong {
	color: #fff2d0;
	font-size: 0.78rem;
}

.clicky-core-npc-template-options small,
.clicky-core-npc-template-chooser > small {
	color: #b9cbca;
	font-size: 0.64rem;
	line-height: 1.3;
	text-transform: none;
}

.clicky-core-npc-template-chooser > small {
	display: block;
	margin-top: 0.5rem;
}

.clicky-core-npc-template-options button {
	align-self: end;
	background: #174f57;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.72rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.48rem 0.55rem;
}

@media (max-width: 720px) {
	.clicky-core-npc-template-options {
		grid-template-columns: 1fr;
	}
}

.clicky-core-npc-sheet-biography {
	color: #cda766;
	display: grid;
	font-size: 0.68rem;
	font-weight: 700;
	gap: 0.3rem;
	letter-spacing: 0.04em;
	margin-top: 0.8rem;
	text-transform: uppercase;
}

.clicky-core-npc-sheet-biography textarea {
	background: #020b0e;
	border: 1px solid #48676a;
	border-radius: 3px;
	box-sizing: border-box;
	color: #fff2d0;
	font: 400 0.78rem/1.45 Georgia, "Times New Roman", serif;
	min-height: 9rem;
	padding: 0.55rem;
	resize: vertical;
	text-transform: none;
	width: 100%;
}

.clicky-core-npc-sheet-wide {
	grid-column: 1 / -1;
}

.clicky-core-npc-sheet-reveal-field {
	align-items: stretch;
	display: grid;
	gap: 0.35rem;
	grid-template-columns: minmax(0, 1fr) auto;
}

.clicky-core-npc-sheet-reveal-field button {
	font-size: 0.66rem;
	padding: 0.4rem 0.5rem;
	white-space: nowrap;
}

.clicky-core-npc-sheet .clicky-core-entity-editor-actions > span {
	color: #b9cfca;
	font-size: 0.72rem;
	margin-right: auto;
}

.clicky-core-npc-sheet-image-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.55rem;
}

.clicky-core-npc-sheet-image-actions button {
	font-size: 0.68rem;
	padding: 0.4rem 0.55rem;
}

.clicky-core-npc-monster-grid {
	display: grid;
	gap: 0.55rem;
	margin-top: 0.8rem;
}

.clicky-core-npc-monster-option {
	align-items: center;
	background: #102f33;
	border: 1px solid #48676a;
	border-radius: 0.2rem;
	color: #fff2d0;
	display: grid;
	gap: 0.8rem;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 0.7rem 0.8rem;
}

.clicky-core-npc-monster-option:has(.clicky-core-npc-monster-option-image) {
	grid-template-columns: 4.5rem minmax(0, 1fr) auto;
}

.clicky-core-npc-monster-option-image {
	aspect-ratio: 1 / 1;
	border: 1px solid #48676a;
	border-radius: 3px;
	height: 4.5rem;
	object-fit: contain;
	width: 4.5rem;
}

.clicky-core-npc-monster-option h3,
.clicky-core-npc-monster-option p {
	margin: 0;
}

.clicky-core-npc-monster-option p,
.clicky-core-npc-monster-option small {
	color: #b9cfca;
}

.clicky-core-npc-monster-option button {
	white-space: nowrap;
}

.clicky-core-npc-monster-help {
	background: #102f33;
	border: 1px solid #48676a;
	color: #d8e8e4;
	margin-top: 0.8rem;
	padding: 0.8rem;
}

.clicky-core-npc-sheet-vitals {
	display: grid;
	font-size: 0.78rem;
	gap: 0.3rem 0.65rem;
	grid-template-columns: auto minmax(0, 1fr);
	margin: 0 0 0.8rem;
}

.clicky-core-npc-sheet-vitals dt {
	color: #cda766;
	font-weight: 700;
}

.clicky-core-npc-sheet-vitals dd {
	margin: 0;
}

.clicky-core-npc-sheet-abilities {
	display: grid;
	gap: 0.35rem;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin-bottom: 1rem;
}

.clicky-core-npc-sheet-abilities > div,
.clicky-core-npc-sheet-abilities > label {
	background: #102f33;
	border: 1px solid #48676a;
	display: grid;
	font-size: 0.72rem;
	gap: 0.18rem;
	padding: 0.45rem 0.25rem;
	text-align: center;
}

.clicky-core-npc-sheet-abilities input {
	padding: 0.28rem 0.2rem;
	text-align: center;
}

.clicky-core-npc-sheet-abilities strong,
.clicky-core-npc-sheet-main h3 {
	color: #cda766;
}

@media (max-width: 700px) {
	.clicky-core-npc-sheet-layout,
	.clicky-core-npc-sheet-edit-grid {
		grid-template-columns: 1fr;
	}

	.clicky-core-npc-sheet-wide {
		grid-column: auto;
	}
}

.clicky-core-npc-sheet-main section {
	border-top: 1px solid rgba(205, 167, 102, 0.3);
	margin-top: 0.7rem;
	padding-top: 0.65rem;
}

.clicky-core-npc-sheet-main h3 {
	font-size: 0.82rem;
	margin: 0 0 0.4rem;
	text-transform: uppercase;
}

.clicky-core-npc-sheet-main p {
	color: #d4e4df;
	font-size: 0.76rem;
	line-height: 1.45;
	margin: 0.35rem 0;
}

.clicky-core-npc-actions-heading {
	align-items: center;
	display: flex;
	gap: 0.65rem;
	justify-content: space-between;
}

.clicky-core-npc-actions-heading h3 { margin: 0; }

.clicky-core-npc-actions-heading small {
	color: #a9c0bc;
	display: block;
	font-size: 0.64rem;
	margin-top: 0.18rem;
}

.clicky-core-npc-actions-heading button,
.clicky-core-npc-action-row button {
	background: #174f57;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.68rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.38rem 0.5rem;
}

.clicky-core-npc-actions-editor {
	display: grid;
	gap: 0.55rem;
	margin-top: 0.55rem;
}

.clicky-core-npc-action-row {
	align-items: start;
	background: #071619;
	border: 1px solid #48676a;
	border-radius: 3px;
	display: grid;
	gap: 0.45rem;
	grid-template-columns: minmax(9rem, 0.38fr) minmax(0, 1fr) auto;
	padding: 0.55rem;
}

.clicky-core-npc-action-row label {
	color: #cda766;
	display: grid;
	font-size: 0.64rem;
	font-weight: 700;
	gap: 0.2rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.clicky-core-npc-action-row input,
.clicky-core-npc-action-row textarea {
	background: #020b0e;
	border: 1px solid #48676a;
	border-radius: 3px;
	box-sizing: border-box;
	color: #fff2d0;
	font: 400 0.76rem/1.35 Georgia, "Times New Roman", serif;
	min-width: 0;
	padding: 0.42rem 0.5rem;
	resize: vertical;
	width: 100%;
}

.clicky-core-npc-action-row button {
	background: #4c2021;
	border-color: #bd7773;
	margin-top: 1.05rem;
}

.clicky-core-npc-actions-empty {
	color: #b9cbca !important;
	font-style: italic;
}

.clicky-core-npc-possessions-section {
	display: grid;
	gap: 0.6rem;
}

.clicky-core-npc-coin-grid {
	display: grid;
	gap: 0.4rem;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.clicky-core-npc-coin-grid label {
	color: #cda766;
	display: grid;
	font-size: 0.62rem;
	font-weight: 700;
	gap: 0.2rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.clicky-core-npc-coin-grid input,
.clicky-core-npc-personal-item input,
.clicky-core-npc-personal-item select,
.clicky-core-npc-personal-item textarea {
	background: #020b0e;
	border: 1px solid #48676a;
	border-radius: 3px;
	box-sizing: border-box;
	color: #fff2d0;
	font: 400 0.76rem/1.35 Georgia, "Times New Roman", serif;
	min-width: 0;
	padding: 0.42rem 0.5rem;
	width: 100%;
}

[data-player-statblock-personal-items] {
	display: grid;
	gap: 0.45rem;
}

.clicky-core-npc-personal-item {
	background: #071619;
	border: 1px solid #48676a;
	border-radius: 3px;
	overflow: hidden;
}

.clicky-core-npc-personal-item summary {
	align-items: center;
	cursor: pointer;
	display: grid;
	gap: 0.55rem;
	grid-template-columns: 2.5rem minmax(0, 1fr) auto auto;
	list-style: none;
	padding: 0.5rem;
}

.clicky-core-npc-personal-item summary::-webkit-details-marker {
	display: none;
}

.clicky-core-npc-personal-item summary::after {
	color: #e2bd78;
	content: "▾";
	font-size: 0.8rem;
	grid-column: 4;
}

.clicky-core-npc-personal-item[open] summary::after {
	content: "▴";
}

.clicky-core-npc-personal-item summary strong {
	color: #fff2d0;
	font-size: 0.78rem;
}

.clicky-core-npc-personal-item summary small {
	color: #b9cbca;
	font-size: 0.65rem;
}

.clicky-core-npc-personal-item-thumbnail {
	align-items: center;
	background: #020b0e;
	border: 1px solid #48676a;
	border-radius: 3px;
	color: #cda766;
	display: flex;
	height: 2.5rem;
	justify-content: center;
	overflow: hidden;
	width: 2.5rem;
}

.clicky-core-npc-personal-item-thumbnail img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-npc-personal-item-fields {
	border-top: 1px solid #29484c;
	display: grid;
	gap: 0.5rem;
	grid-template-columns: minmax(10rem, 1.4fr) repeat(3, minmax(5rem, 0.55fr));
	padding: 0.6rem;
}

.clicky-core-npc-personal-item-fields label {
	color: #cda766;
	display: grid;
	font-size: 0.62rem;
	font-weight: 700;
	gap: 0.2rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.clicky-core-npc-personal-item-fields .is-wide {
	grid-column: 1 / -1;
}

.clicky-core-npc-personal-item-value {
	display: grid;
	gap: 0.25rem;
	grid-template-columns: minmax(0, 1fr) 3.6rem;
}

.clicky-core-npc-personal-item-image-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	grid-column: 1 / -1;
}

.clicky-core-npc-personal-item-fields > .clicky-core-room-reset {
	background: #4c2021;
	border-color: #bd7773;
	justify-self: start;
}

.clicky-core-npc-personal-items-empty {
	color: #b9cbca;
	font-size: 0.72rem;
	font-style: italic;
	margin: 0;
}

@media (max-width: 780px) {
	.clicky-core-npc-action-row { grid-template-columns: 1fr; }
	.clicky-core-npc-action-row button { justify-self: start; margin-top: 0; }
	.clicky-core-npc-coin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.clicky-core-npc-personal-item-fields { grid-template-columns: 1fr; }
	.clicky-core-npc-personal-item-fields .is-wide,
	.clicky-core-npc-personal-item-image-actions { grid-column: 1; }
	.clicky-core-npc-personal-item summary { grid-template-columns: 2.5rem minmax(0, 1fr) auto auto; }
	.clicky-core-npc-personal-item summary small { display: none; }
	.clicky-core-npc-personal-item button { justify-self: start; }
}

@media (max-width: 650px) {
	.clicky-core-npc-sheet-layout {
		grid-template-columns: 1fr;
	}

	.clicky-core-npc-sheet-portrait {
		max-height: 18rem;
	}

	.clicky-core-npc-sheet-abilities {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.clicky-core-entity-editor [hidden] {
	display: none;
}

.clicky-core-entity-editor form,
.clicky-core-entity-editor label {
	display: grid;
	gap: 0.35rem;
}

.clicky-core-entity-editor form {
	gap: 0.8rem;
}

.clicky-core-entity-editor label {
	color: #0b343a;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.clicky-core-entity-editor label > span {
	color: #685235;
	font-size: 0.72rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.clicky-core-entity-editor input[type="text"],
.clicky-core-entity-editor input[type="number"],
.clicky-core-entity-editor textarea {
	-webkit-text-fill-color: #2f2418 !important;
	background: #fff8e6 !important;
	border: 1px solid #7c6337;
	border-radius: 3px;
	box-sizing: border-box;
	caret-color: #174f57;
	color: #2f2418 !important;
	font: 400 0.95rem/1.35 Georgia, "Times New Roman", serif;
	padding: 0.55rem 0.65rem;
	resize: vertical;
	text-transform: none;
	width: 100%;
}

.clicky-core-entity-editor input::placeholder,
.clicky-core-entity-editor textarea::placeholder {
	-webkit-text-fill-color: #76684f !important;
	color: #76684f !important;
	opacity: 1;
}

.clicky-core-entity-editor input:-webkit-autofill,
.clicky-core-entity-editor input:-webkit-autofill:hover,
.clicky-core-entity-editor input:-webkit-autofill:focus,
.clicky-core-entity-editor textarea:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px #fff8e6 inset !important;
	-webkit-text-fill-color: #2f2418 !important;
}

.clicky-core-entity-editor-header,
.clicky-core-entity-image-editor,
.clicky-core-entity-editor-actions {
	align-items: center;
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
}

.clicky-core-entity-editor-header h2 {
	color: #0b343a;
	margin: 0;
}

.clicky-core-entity-image-preview {
	align-items: center;
	background: #020b0e;
	color: #e5d3ad;
	display: flex;
	height: 8rem;
	justify-content: center;
	overflow: hidden;
	width: 8rem;
}

.clicky-core-entity-image-preview img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-entity-image-editor > div:last-child,
.clicky-core-entity-editor-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.clicky-core-entity-editor button:not(.clicky-core-room-reset) {
	background: #174f57;
	border: 1px solid #0b343a;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.78rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.5rem 0.65rem;
}

.clicky-core-campaign-table {
	--clicky-core-campaign-padding: clamp(1rem, 3vw, 2rem);
	--clicky-core-teal: #174f57;
	--clicky-core-teal-dark: #0b343a;
	--clicky-core-teal-soft: #d4e4df;
	background: #d6c39a;
	border: 1px solid #8b6f3f;
	box-sizing: border-box;
	color: #2f2418;
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.45;
	margin: 0 auto;
	max-width: 1100px;
	padding: var(--clicky-core-campaign-padding);
	width: calc(100% - 2rem);
}

.clicky-core-app-shell main.clicky-core-campaign-table {
	margin: 0 auto !important;
	padding: var(--clicky-core-campaign-padding) !important;
}

.clicky-core-war-room-bar {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	justify-content: space-between;
	margin: calc(-1 * var(--clicky-core-campaign-padding)) calc(-1 * var(--clicky-core-campaign-padding)) 0;
	padding: 0.55rem var(--clicky-core-campaign-padding);
	width: calc(100% + (2 * var(--clicky-core-campaign-padding)));
}

.clicky-core-war-room-bar a {
	box-sizing: border-box;
}

.clicky-core-war-room-primary {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.clicky-core-war-room-actions {
	align-items: center;
	display: flex;
	gap: 0.4rem;
}

.clicky-core-war-room-actions button {
	font-size: 0.78rem;
	padding: 0.55rem 0.65rem;
}

.clicky-core-player-display {
	--clicky-core-player-advert-height: 3.5rem;
	background: #020b0e;
	box-sizing: border-box;
	color: #fff2d0;
	font-family: Georgia, "Times New Roman", serif;
	height: 100vh;
	inset: 0;
	margin: 0;
	max-width: none;
	overflow: hidden;
	padding-bottom: var(--clicky-core-player-advert-height);
	position: fixed;
	width: 100vw;
	z-index: 999999;
}

html:has(.clicky-core-player-display),
body:has(.clicky-core-player-display),
.clicky-core-player-display-dashboard,
.clicky-core-player-display-workspace,
.clicky-core-player-display-sidebar,
.clicky-core-player-display-centre,
.clicky-core-player-display-future {
	overflow: hidden;
	scrollbar-width: none;
}

html:has(.clicky-core-player-display)::-webkit-scrollbar,
body:has(.clicky-core-player-display)::-webkit-scrollbar,
.clicky-core-player-display *::-webkit-scrollbar {
	display: none;
}

.clicky-core-player-display-dashboard {
	box-sizing: border-box;
	margin: 0;
	max-width: none;
	min-height: calc(100vh - var(--clicky-core-player-advert-height));
	padding: 1rem clamp(1rem, 3vw, 2rem) 2rem;
}

.clicky-core-player-display-workspace {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(14rem, 22vw) minmax(24rem, 1fr) minmax(14rem, 22vw);
	grid-template-rows: minmax(0, 1fr);
	height: calc(100vh - var(--clicky-core-player-advert-height) - 3rem);
	min-height: 0;
}

.clicky-core-player-display-sidebar {
	grid-column: 1;
	grid-row: 1;
}

.clicky-core-player-display-centre {
	display: flex;
	flex-direction: column;
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
}

.clicky-core-player-display-future {
	grid-column: 3;
	grid-row: 1;
}

.clicky-core-player-display-media {
	aspect-ratio: 2 / 1;
	background: #010608;
	border: 1px solid rgba(205, 167, 102, 0.5);
	margin: 0;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.clicky-core-player-display-media img,
.clicky-core-player-display-media video {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.clicky-core-player-display [hidden] {
	display: none;
}

.clicky-core-player-display-media.clicky-core-room-banner-front-balcony,
.clicky-core-player-display-media.clicky-core-room-banner-rear-balcony {
	aspect-ratio: 2 / 1;
}

.clicky-core-player-display-media.clicky-core-room-banner-front-balcony img {
	object-fit: cover;
	object-position: 50% 44%;
	transform: scale(2);
	transform-origin: 35% 56%;
}

.clicky-core-player-display-media.clicky-core-room-banner-rear-balcony img {
	object-fit: cover;
	transform: scale(2.1);
	transform-origin: 37% 44%;
}

.clicky-core-player-display-holding {
	display: grid;
	height: 100%;
	place-content: center;
	text-align: center;
}

.clicky-core-player-advert {
	background:
		linear-gradient(90deg, rgba(114, 72, 36, 0.98), rgba(70, 43, 25, 0.98)),
		repeating-linear-gradient(135deg, transparent 0 9px, rgba(255, 255, 255, 0.025) 9px 10px);
	border-top: 1px solid rgba(226, 189, 120, 0.72);
	bottom: 0;
	box-shadow: 0 -5px 18px rgba(0, 0, 0, 0.34);
	box-sizing: border-box;
	height: var(--clicky-core-player-advert-height);
	left: 0;
	position: absolute;
	width: 100%;
	z-index: 40;
}

.clicky-core-player-advert a {
	align-items: center;
	box-sizing: border-box;
	color: #fff2d0;
	display: flex;
	gap: clamp(0.65rem, 2vw, 1.5rem);
	height: 100%;
	justify-content: center;
	padding: 0.45rem clamp(0.8rem, 3vw, 2rem);
	text-decoration: none;
}

.clicky-core-player-advert-kicker {
	color: #e7c98d;
	font: 700 clamp(0.55rem, 1vw, 0.7rem)/1.15 Arial, sans-serif;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.clicky-core-player-advert strong {
	color: #fff7df;
	font-size: clamp(1.05rem, 2vw, 1.4rem);
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.clicky-core-player-advert-copy {
	color: #f0dfba;
	font: 600 clamp(0.66rem, 1.1vw, 0.82rem)/1.2 Arial, sans-serif;
}

.clicky-core-player-advert-action {
	background: #173f43;
	border: 1px solid rgba(231, 201, 141, 0.75);
	border-radius: 3px;
	color: #fff2d0;
	font: 700 clamp(0.65rem, 1.1vw, 0.8rem)/1.1 Arial, sans-serif;
	padding: 0.42rem 0.65rem;
	white-space: nowrap;
}

.clicky-core-player-advert a:hover .clicky-core-player-advert-action,
.clicky-core-player-advert a:focus-visible .clicky-core-player-advert-action {
	background: #1e5a5d;
	border-color: #ffe09a;
}

.clicky-core-player-advert a:focus-visible {
	outline: 2px solid #ffe09a;
	outline-offset: -3px;
}

.clicky-core-player-display-holding p {
	color: #cda766;
	font-size: clamp(0.8rem, 1.5vw, 1rem);
	font-weight: 700;
	letter-spacing: 0.18em;
	margin: 0 0 0.65rem;
	text-transform: uppercase;
}

.clicky-core-player-display-holding h1 {
	font-size: clamp(2.2rem, 7vw, 5rem);
	margin: 0 0 0.6rem;
}

.clicky-core-player-display-holding span {
	color: #d4e4df;
}

.clicky-core-player-display-holding strong {
	color: #cda766;
	font-size: clamp(1rem, 2vw, 1.35rem);
	margin-top: 0.85rem;
}

.clicky-core-player-display-location {
	border-bottom: 1px solid rgba(205, 167, 102, 0.38);
	padding: 0.85rem 0 0.75rem;
}

.clicky-core-player-display-location-routes {
	background: #29484a;
	border: 1px solid #48676a;
	border-radius: 3px;
	margin-top: 0.6rem;
	padding: 0.5rem 0.6rem;
}

.clicky-core-player-display-location-routes h2 {
	color: #fff2d0;
	font-size: 0.76rem;
	letter-spacing: 0.08em;
	margin: 0 0 0.4rem;
	text-transform: uppercase;
}

.clicky-core-player-display-location p {
	color: #cda766;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	margin: 0 0 0.25rem;
	text-transform: uppercase;
}

.clicky-core-player-display-location h1 {
	font-size: clamp(1.45rem, 3vw, 2.35rem);
	margin: 0;
}

.clicky-core-player-display-card {
	background: #29484a;
	border: 1px solid #48676a;
	border-radius: 3px;
	min-height: 7rem;
	padding: 1rem;
}

.clicky-core-player-display-card h2 {
	color: #fff2d0;
	font-size: 1.1rem;
	margin: 0 0 0.75rem;
}

.clicky-core-player-display-routes,
.clicky-core-player-display-identities {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.clicky-core-player-display-location-routes .clicky-core-player-display-routes {
	display: grid;
	gap: 0.35rem;
	grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
}

.clicky-core-player-display-routes > span {
	background: #d6c39a;
	border: 1px solid #8b6f3f;
	border-radius: 3px;
	color: #17383b;
	font-size: 0.64rem;
	font-weight: 700;
	line-height: 1.15;
	padding: 0.38rem 0.5rem;
	text-align: center;
}

.clicky-core-player-display-party {
	align-content: start;
	display: grid;
	gap: 0.45rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clicky-core-player-display-party-card {
	align-content: start;
	display: grid;
	gap: 0.25rem;
	grid-template-columns: minmax(0, 1fr);
	padding: 0.42rem;
}

.clicky-core-player-display-party-card .clicky-core-player-display-combatant-portrait {
	aspect-ratio: 1 / 1;
	font-size: 1.25rem;
	grid-column: 1;
	grid-row: 1;
	height: auto;
	justify-self: center;
	width: min(100%, 7rem);
}

.clicky-core-player-display-party-card .clicky-core-player-display-combatant-portrait img {
	object-fit: contain;
}

.clicky-core-player-display-party-card > strong {
	font-size: 0.76rem;
	line-height: 1.05;
	min-width: 0;
	overflow-wrap: anywhere;
}

.clicky-core-player-display-party-card > small {
	font-size: 0.62rem;
	grid-column: 1;
}

.clicky-core-player-display-party-card .clicky-core-player-display-health {
	height: 0.3rem;
	margin-top: 0.22rem;
}

.clicky-core-player-display-initiative-row.is-companion {
	border-color: rgba(205, 167, 102, 0.72);
}

.clicky-core-player-display-companion-owner {
	color: #e5bd73;
	display: block;
	font-weight: 700;
	margin-bottom: 0.18rem;
}

.clicky-core-player-display-identity {
	background: #020b0e;
	border: 1px solid rgba(229, 211, 173, 0.32);
	border-radius: 3px;
	padding: 0;
}

.clicky-core-player-display-identity-heading {
	align-items: center;
	display: flex;
	gap: 0.55rem;
	list-style: none;
	padding: 0.55rem 0.7rem;
}

.clicky-core-player-display-identity-heading::-webkit-details-marker {
	display: none;
}

.clicky-core-player-display-identity-portrait {
	align-items: center;
	background: #07171a;
	border: 1px solid rgba(229, 211, 173, 0.36);
	border-radius: 3px;
	display: inline-flex;
	height: 4rem;
	justify-content: center;
	overflow: hidden;
	position: relative;
	width: 4rem;
	flex: 0 0 4rem;
}

.clicky-core-player-display-identity-portrait > img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-player-display-identity-defeated-mark {
	align-items: center;
	background: rgba(31, 4, 7, 0.72);
	color: #fff2d0;
	display: flex;
	font-size: 2.1rem;
	inset: 0;
	justify-content: center;
	position: absolute;
	text-shadow: 0 2px 5px #000;
}

.clicky-core-player-display-identity.is-defeated {
	background: #21080c;
	border-color: rgba(184, 57, 59, 0.78);
}

.clicky-core-player-display-identity.is-defeated .clicky-core-player-display-identity-heading > span[aria-hidden] {
	background: #731c25;
	color: #fff2d0;
}

.clicky-core-player-display-defeated-text,
.clicky-core-player-display-identity-heading .clicky-core-player-display-defeated-text {
	color: #ffb7a9;
	font-weight: 700;
	text-transform: uppercase;
}

.clicky-core-player-display-identity-heading > span:last-child {
	display: grid;
	gap: 0.2rem;
}

.clicky-core-player-display-identity-heading small {
	color: #d4e4df;
	line-height: 1.35;
}

.clicky-core-player-display-identity-heading > span[aria-hidden] {
	align-items: center;
	background: #174f57;
	border-radius: 50%;
	display: inline-flex;
	height: 1.5rem;
	justify-content: center;
	width: 1.5rem;
}

.clicky-core-player-display-identity.is-revealed .clicky-core-player-display-identity-heading > span[aria-hidden] {
	background: #c38a38;
	color: #24150c;
}

.clicky-core-player-display-identity.is-defeated .clicky-core-player-display-identity-heading > span[aria-hidden] {
	background: #731c25;
	color: #fff2d0;
}

.clicky-core-player-display-expand {
	background: rgba(2, 11, 14, 0.86);
	border: 1px solid rgba(255, 242, 208, 0.62);
	border-radius: 3px;
	bottom: 0.65rem;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.78rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.5rem 0.65rem;
	position: absolute;
	right: 0.65rem;
	z-index: 3;
}

.clicky-core-player-display.is-media-expanded {
	overflow: hidden;
}

.clicky-core-player-display.is-media-expanded .clicky-core-player-display-media {
	aspect-ratio: auto;
	border: 0;
	height: calc(100vh - var(--clicky-core-player-advert-height));
	inset: 0;
	max-height: none;
	position: fixed;
	width: 100vw;
	z-index: 10;
}

.clicky-core-player-display.is-media-expanded .clicky-core-player-display-expand {
	bottom: auto;
	position: fixed;
	right: 0.75rem;
	top: 0.75rem;
	z-index: 12;
}

.clicky-core-player-display-fullscreen {
	background: rgba(2, 11, 14, 0.78);
	border: 1px solid rgba(255, 242, 208, 0.55);
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.78rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.5rem 0.65rem;
	position: absolute;
	right: 0.75rem;
	top: 0.75rem;
	z-index: 3;
}

/* Isolate player controls from public WordPress and Elementor button styles. */
.clicky-core-player-display .clicky-core-player-display-expand,
.clicky-core-player-display .clicky-core-player-display-fullscreen {
	-webkit-appearance: none !important;
	appearance: none !important;
	background: rgba(2, 11, 14, 0.86) !important;
	border: 1px solid rgba(255, 242, 208, 0.62) !important;
	border-radius: 3px !important;
	box-shadow: none !important;
	color: #fff2d0 !important;
	font: 700 0.78rem/1.2 Georgia, "Times New Roman", serif !important;
	letter-spacing: normal !important;
	margin: 0 !important;
	min-height: 0 !important;
	opacity: 1 !important;
	padding: 0.5rem 0.65rem !important;
	text-decoration: none !important;
	text-transform: none !important;
	width: auto !important;
}

.clicky-core-player-display .clicky-core-player-display-expand:hover,
.clicky-core-player-display .clicky-core-player-display-expand:focus-visible,
.clicky-core-player-display .clicky-core-player-display-fullscreen:hover,
.clicky-core-player-display .clicky-core-player-display-fullscreen:focus-visible {
	background: #174f57 !important;
	border-color: #e2bd78 !important;
	color: #fff2d0 !important;
}

.clicky-core-player-display:fullscreen .clicky-core-player-display-fullscreen {
	display: none;
}

.clicky-core-player-display.is-media-expanded .clicky-core-player-display-fullscreen {
	display: none;
}

.clicky-core-campaign-table .clicky-core-video-randomize {
	background: transparent;
	border: 1px solid #7c6337;
	box-shadow: none;
	color: var(--clicky-core-teal, #174f57);
	font: 700 1.15rem/1 Georgia, "Times New Roman", serif;
	height: 2rem;
	padding: 0;
	width: 2rem;
}

.clicky-core-campaign-table .clicky-core-video-randomize:hover,
.clicky-core-campaign-table .clicky-core-video-randomize:focus-visible {
	background: var(--clicky-core-teal, #174f57);
	color: #fff7e2;
}

.clicky-core-campaign-table .clicky-core-video-randomize-overlay {
	background: rgba(16, 12, 8, 0.78);
	border-color: rgba(255, 247, 226, 0.75);
	color: #fff7e2;
}

.clicky-core-backdrop-overlay-controls {
	display: flex;
	gap: 0.4rem;
	left: 0.75rem;
	position: absolute;
	top: 0.75rem;
	z-index: 2;
}

.clicky-core-war-room-bar a span {
	display: inline-block;
	font-size: 1.2em;
	margin-right: 0.35rem;
	transition: transform 150ms ease;
}

.clicky-core-war-room-bar a:hover span,
.clicky-core-war-room-bar a:focus-visible span {
	transform: translateX(-0.15rem);
}

.clicky-core-campaign-banner {
	border-bottom: 1px solid #8b6f3f;
	margin: 0 calc(-1 * var(--clicky-core-campaign-padding)) 1.5rem;
	overflow: hidden;
	position: relative;
	width: calc(100% + (2 * var(--clicky-core-campaign-padding)));
}

.clicky-core-campaign-banner img,
.clicky-core-campaign-banner video {
	display: block;
	height: auto;
	width: 100%;
}

.clicky-core-campaign-banner [hidden] {
	display: none;
}

.clicky-core-campaign-banner [data-campaign-custom-image] {
	max-height: 34rem;
	object-fit: cover;
}

.clicky-core-campaign-table h1,
.clicky-core-campaign-table h2,
.clicky-core-campaign-table h3,
.clicky-core-campaign-table p {
	margin-top: 0;
}

.clicky-core-campaign-table h1 {
	color: var(--clicky-core-teal-dark, #0b343a);
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1;
	margin-bottom: 0.65rem;
}

.clicky-core-campaign-table h2 {
	color: var(--clicky-core-teal-dark, #0b343a);
	font-size: 1.7rem;
	margin-bottom: 0.15rem;
}

.clicky-core-campaign-table h3 {
	color: var(--clicky-core-teal-dark, #0b343a);
}

.clicky-core-campaign-header {
	align-items: start;
	border-bottom: 1px solid #9f8351;
	display: grid;
	gap: 2rem;
	grid-template-columns: minmax(0, 1fr) minmax(15rem, 21rem);
	margin-bottom: 1.25rem;
	padding-bottom: 1.25rem;
}

.clicky-core-campaign-header > div:first-child > p:last-child {
	margin-bottom: 0;
	max-width: 44rem;
}

.clicky-core-campaign-header .clicky-core-campaign-introduction {
	color: #685235;
	font-size: 0.85rem;
	line-height: 1.45;
}

.clicky-core-campaign-switcher,
.clicky-core-campaign-panel,
.clicky-core-character-fields {
	display: grid;
	gap: 0.45rem;
}

.clicky-core-campaign-table label {
	color: var(--clicky-core-teal, #174f57);
	display: grid;
	font-size: 0.72rem;
	font-weight: 700;
	gap: 0.25rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.clicky-core-campaign-table input,
.clicky-core-campaign-table select {
	background: #fff8e6;
	border: 1px solid #7c6337;
	border-radius: 0;
	box-sizing: border-box;
	color: #2f2418;
	font: 400 0.95rem/1.2 Georgia, "Times New Roman", serif;
	height: 2.55rem;
	padding: 0.55rem 0.65rem;
	text-transform: none;
	width: 100%;
}

.clicky-core-campaign-table [data-character-custom][hidden] {
	display: none;
}

.clicky-core-campaign-table button,
.clicky-core-campaign-enter {
	align-items: center;
	background: var(--clicky-core-teal, #174f57);
	border: 1px solid var(--clicky-core-teal-dark, #0b343a);
	color: #fff7e2;
	cursor: pointer;
	display: inline-flex;
	font: 700 0.85rem/1.2 Georgia, "Times New Roman", serif;
	justify-content: center;
	padding: 0.6rem 0.85rem;
	text-decoration: none;
}

.clicky-core-campaign-table button:hover,
.clicky-core-campaign-table button:focus-visible,
.clicky-core-campaign-enter:hover,
.clicky-core-campaign-enter:focus-visible {
	background: var(--clicky-core-teal-dark, #0b343a);
	color: #fff7e2;
}

.clicky-core-campaign-table button[data-campaign-load],
.clicky-core-campaign-table button[data-campaign-load]:hover,
.clicky-core-campaign-table button[data-campaign-load]:focus,
.clicky-core-campaign-table button[data-campaign-load]:active {
	appearance: none;
	background: var(--clicky-core-teal, #174f57) !important;
	border-color: var(--clicky-core-teal-dark, #0b343a) !important;
	color: #fff7e2 !important;
}

.clicky-core-campaign-table button:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.clicky-core-campaign-table .clicky-core-campaign-enter {
	background: #c38a38;
	border-color: #6e461e;
	box-shadow: 0 2px 0 rgba(60, 34, 13, 0.35);
	color: #24150c;
	font-size: 0.78rem;
	margin: 0;
	padding: 0.45rem 0.75rem;
}

.clicky-core-campaign-table .clicky-core-campaign-enter:hover,
.clicky-core-campaign-table .clicky-core-campaign-enter:focus-visible {
	background: #e0ad55;
	color: #1d1008;
	transform: translateY(-1px);
}

.clicky-core-campaign-table .clicky-core-button-subtle,
.clicky-core-campaign-table .clicky-core-character-remove {
	background: transparent;
	border-color: var(--clicky-core-teal, #174f57);
	color: var(--clicky-core-teal-dark, #0b343a);
}

.clicky-core-campaign-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.clicky-core-campaign-action-status {
	color: #685235;
	font-size: 0.75rem;
	margin: 0.1rem 0 0 !important;
}

.clicky-core-campaign-panel {
	background: #ead8ad;
	border: 1px solid rgba(124, 99, 55, 0.55);
	margin-bottom: 1.5rem;
	padding: 1rem;
}

.clicky-core-campaign-panel input {
	font-size: 1.2rem;
}

.clicky-core-campaign-name-row {
	align-items: stretch;
	display: grid;
	gap: 0.65rem;
	grid-template-columns: minmax(0, 1fr);
}

.clicky-core-campaign-name-row .clicky-core-campaign-enter {
	font-size: 0.9rem;
	justify-content: center;
	min-width: 9.5rem;
	padding-inline: 1rem;
}

.clicky-core-campaign-header .clicky-core-campaign-identity {
	gap: 0.3rem;
	margin: 0.8rem 0 0;
	max-width: 44rem;
	padding: 0.65rem 0.75rem;
}

.clicky-core-campaign-header .clicky-core-campaign-identity label {
	font-size: 0.66rem;
}

.clicky-core-campaign-header .clicky-core-campaign-identity input,
.clicky-core-campaign-header .clicky-core-campaign-identity select {
	font-size: 1rem;
	height: 2.25rem;
	padding-block: 0.4rem;
}

.clicky-core-campaign-rules-note {
	color: #c9d9d2;
	font-size: 0.72rem;
	line-height: 1.35;
	margin: 0.15rem 0 0;
}

.clicky-core-campaign-header .clicky-core-campaign-identity .clicky-core-campaign-enter {
	font-size: 0.78rem;
	min-width: 8.5rem;
	padding: 0.4rem 0.7rem;
}

.clicky-core-party-heading {
	align-items: end;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 0.8rem;
}

.clicky-core-party-heading p {
	margin-bottom: 0;
}

.clicky-core-character-grid {
	align-items: start;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clicky-core-character-card {
	background: #29484a;
	border: 1px solid #132f32;
	box-shadow: 0 3px 0 rgba(8, 30, 33, 0.28);
	color: #fff2d0;
	padding: 1rem;
}

.clicky-core-character-card.is-downed,
.clicky-core-character-card.is-dead {
	background: #4a151b;
	border-color: #a84d55;
}

.clicky-core-character-card.is-dead {
	background: #26090d;
}

.clicky-core-character-card.is-level-up-ready:not(.is-downed, .is-dead) {
	border-color: #55c788;
	box-shadow: 0 0 1.2rem rgba(61, 211, 126, 0.35);
}

.clicky-core-character-card.is-level-up-ready:not(.is-downed, .is-dead) .clicky-core-character-portrait {
	border-color: #67dc99;
	box-shadow: inset 0 0 0 1px rgba(85, 199, 136, 0.25), 0 0 0.8rem rgba(61, 211, 126, 0.28);
}

.clicky-core-character-card.is-level-up-ready:not(.is-downed, .is-dead) .clicky-core-character-card-compact-portrait {
	border-color: #67dc99;
	box-shadow: 0 0 0.8rem rgba(61, 211, 126, 0.45);
}

.clicky-core-character-card-header {
	align-items: center;
	border-bottom: 1px solid rgba(229, 211, 173, 0.3);
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.8rem;
	padding-bottom: 0.55rem;
}

.clicky-core-rules-badge {
	display: inline-flex;
	align-items: center;
	align-self: center;
	padding: 0.2rem 0.5rem;
	border: 1px solid rgba(226, 186, 91, 0.7);
	border-radius: 999px;
	color: #f3d98e;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.clicky-core-war-room-rules-empty {
	margin: 0;
	padding: 1rem;
	border: 1px dashed rgba(226, 186, 91, 0.45);
	color: #d8e8e5;
}

.clicky-core-character-card-actions {
	align-items: center;
	display: flex;
	gap: 0.45rem;
}

.clicky-core-character-owner-badge {
	background: rgba(68, 130, 91, 0.24);
	border: 1px solid #69aa7d;
	border-radius: 3px;
	color: #bce8c8;
	font-size: 0.64rem;
	font-weight: 700;
	padding: 0.38rem 0.5rem;
}

.clicky-core-character-drag-handle {
	align-items: center;
	cursor: grab;
	display: inline-flex;
	font-size: 1.05rem;
	height: 2rem;
	justify-content: center;
	letter-spacing: -0.25rem;
	min-width: 2rem;
	padding: 0 0.35rem 0 0.1rem;
	touch-action: none;
}

.clicky-core-character-drag-handle:active {
	cursor: grabbing;
}

.clicky-core-character-card.is-dragging {
	opacity: 0.45;
}

.clicky-core-character-card.is-drop-before {
	box-shadow: inset 0 4px 0 #e2bd78, 0 3px 0 rgba(8, 30, 33, 0.28);
}

.clicky-core-character-card.is-drop-after {
	box-shadow: inset 0 -4px 0 #e2bd78, 0 3px 0 rgba(8, 30, 33, 0.28);
}

.clicky-core-character-card-compact {
	align-items: center;
	display: none;
	gap: 0.7rem;
	line-height: 1.25;
	min-width: 0;
}

.clicky-core-character-card-compact-details,
.clicky-core-character-card-compact-details strong,
.clicky-core-character-card-compact-details > span {
	display: block;
}

.clicky-core-character-level-up-badge {
	font-size: 0.72rem !important;
	margin-top: 0.35rem;
	min-height: 1.65rem !important;
	padding: 0.18rem 0.55rem !important;
}

.clicky-core-character-card-compact-details {
	min-width: 0;
}

.clicky-core-character-card-compact-details > span {
	color: #e5d3ad;
	font-size: 0.9rem;
}

.clicky-core-character-card-compact-portrait {
	align-items: center;
	background: #020b0e;
	border: 1px solid rgba(229, 211, 173, 0.35);
	display: flex;
	flex: 0 0 3.5rem;
	height: 3.5rem;
	justify-content: center;
	overflow: hidden;
}

.clicky-core-character-card-compact-portrait img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-character-card-compact-portrait > span {
	color: #cda766;
	font-size: 1.4rem;
}

.clicky-core-character-card-toggle {
	align-items: center;
	display: inline-flex;
	font-size: 1.1rem;
	height: 2rem;
	justify-content: center;
	min-width: 2rem;
	order: 99;
	padding: 0;
}

.clicky-core-character-card.is-collapsed {
	padding-bottom: 0.6rem;
}

.clicky-core-character-card.is-collapsed .clicky-core-character-card-header {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.clicky-core-character-card.is-collapsed .clicky-core-player-contact,
.clicky-core-character-card.is-collapsed > .clicky-core-character-portrait,
.clicky-core-character-card.is-collapsed > .clicky-core-character-fields,
.clicky-core-character-card.is-collapsed > .clicky-core-character-xp-progress,
.clicky-core-character-card.is-collapsed > .clicky-core-companions,
.clicky-core-character-card.is-collapsed > .clicky-core-character-items,
.clicky-core-character-card.is-collapsed .clicky-core-character-card-actions > :not([data-character-card-toggle]):not([data-character-drag-handle]) {
	display: none;
}

.clicky-core-character-xp-progress {
	background: #071c1f;
	border: 1px solid #48676a;
	border-radius: 4px;
	display: grid;
	gap: 0.4rem;
	margin: 0.7rem 0;
	padding: 0.55rem 0.65rem;
}

.clicky-core-character-xp-progress > div { display: flex; gap: 0.75rem; justify-content: space-between; }
.clicky-core-character-xp-progress strong { color: #ffe2a8; font-size: 0.78rem; }
.clicky-core-character-xp-progress span { color: #b8d0cc; font-size: 0.7rem; }
.clicky-core-character-xp-track { background: #031012; border: 1px solid #35575a; border-radius: 999px; display: block; height: 0.55rem; overflow: hidden; }
.clicky-core-character-xp-track i { background: linear-gradient(90deg, #b57a2f, #66d694); display: block; height: 100%; }

.clicky-core-character-card.is-collapsed .clicky-core-character-card-compact {
	display: flex;
}

.clicky-core-character-death {
	align-items: center;
	background: #331014;
	border: 1px solid #a84d55;
	border-radius: 50%;
	color: #ffd2c7;
	cursor: pointer;
	display: inline-flex;
	font-size: 1.1rem;
	height: 2rem;
	justify-content: center;
	padding: 0;
	width: 2rem;
}

.clicky-core-character-death.is-dead {
	background: #8a1f2a;
	box-shadow: 0 0 0 2px rgba(255, 210, 199, 0.2);
}

.clicky-core-character-card-header h3 {
	font-size: 1.1rem;
	margin: 0;
}

.clicky-core-player-name {
	flex: 1;
	max-width: 15rem;
}

.clicky-core-player-name input {
	font-size: 1.05rem;
	font-weight: 700;
}

.clicky-core-character-card-header label,
.clicky-core-character-card > .clicky-core-character-fields label,
.clicky-core-character-card .clicky-core-companions-heading h4 {
	color: #fff2d0;
}

.clicky-core-character-card .clicky-core-companions-heading p,
.clicky-core-character-card .clicky-core-companion-empty {
	color: #e5d3ad;
}

.clicky-core-character-card-header .clicky-core-character-remove {
	border-color: #cda766;
	color: #fff2d0;
}

.clicky-core-character-portrait {
	align-items: center;
	background: #020b0e;
	border: 1px solid rgba(229, 211, 173, 0.3);
	display: flex;
	gap: 0.75rem;
	margin-bottom: 0.8rem;
	padding: 0.65rem;
}

.clicky-core-character-portrait-frame {
	align-items: center;
	background: #2b2118;
	color: #d8c49b;
	display: flex;
	flex: 0 0 10rem;
	height: 10rem;
	justify-content: center;
	overflow: hidden;
	position: relative;
	text-align: center;
}

.clicky-core-character-portrait-frame img {
	filter: saturate(0.92) contrast(1.08) sepia(0.08);
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-character-portrait-frame:has(img:not([hidden]))::after,
.clicky-core-portrait-option-image::after {
	background:
		linear-gradient(145deg, rgba(8, 72, 78, 0.52), transparent 52%),
		linear-gradient(325deg, rgba(217, 111, 39, 0.48), transparent 56%);
	content: "";
	inset: 0;
	mix-blend-mode: color;
	pointer-events: none;
	position: absolute;
}

.clicky-core-character-portrait-frame [hidden] {
	display: none;
}

.clicky-core-character-death-mark {
	align-items: center;
	background: rgba(25, 0, 4, 0.76);
	color: #fff;
	display: flex;
	font-size: 4rem;
	inset: 0;
	justify-content: center;
	position: absolute;
	z-index: 2;
}

.clicky-core-character-portrait-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.clicky-core-campaign-table .clicky-core-character-portrait-actions button {
	font-size: 0.68rem;
	padding: 0.32rem 0.45rem;
}

.clicky-core-campaign-table [data-character-image-remove][hidden] {
	display: none;
}

.clicky-core-party-inventory {
	margin-top: 1.5rem;
}

.clicky-core-player-contact {
	display: grid;
	gap: 0.45rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-width: 0;
}

.clicky-core-session-journal {
	margin-top: 1.5rem;
}

.clicky-core-session-journal [data-session-summary] {
	color: #d4e4df;
	font-size: 0.78rem;
	margin: 0;
}

.clicky-core-session-entry {
	background: #071619;
	border: 1px solid #48676a;
	border-radius: 3px;
	margin-top: 0.75rem;
	padding: 0.8rem;
}

.clicky-core-session-entry-heading {
	align-items: start;
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
}

.clicky-core-session-entry-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: flex-end;
}

.clicky-core-campaign-table .clicky-core-session-entry-actions button {
	font-size: 0.7rem;
	padding: 0.38rem 0.5rem;
}

.clicky-core-campaign-table .clicky-core-session-entry-actions .clicky-core-session-delete {
	background: #5b2025;
	border-color: #a65d62;
}

.clicky-core-campaign-table .clicky-core-session-entry-actions .clicky-core-session-delete:hover,
.clicky-core-campaign-table .clicky-core-session-entry-actions .clicky-core-session-delete:focus-visible {
	background: #7a292f;
	border-color: #d58b90;
}

.clicky-core-session-entry.is-collapsed {
	padding-block: 0.55rem;
}

.clicky-core-session-entry.is-collapsed .clicky-core-session-entry-body {
	display: none;
}

.clicky-core-session-entry h3,
.clicky-core-session-entry p {
	margin: 0;
}

.clicky-core-session-entry-heading p,
.clicky-core-session-entry-players {
	color: #aebfc0;
	font-size: 0.75rem;
}

.clicky-core-session-entry-recap {
	font-size: 0.82rem;
	line-height: 1.5;
	margin-top: 0.65rem;
	white-space: pre-wrap;
}

.clicky-core-session-dialog {
	background: #0b2428;
	border: 1px solid #cda766;
	border-radius: 3px;
	color: #fff2d0;
	font-family: Georgia, "Times New Roman", serif;
	max-height: 88vh;
	max-width: 42rem;
	padding: 1rem;
	width: calc(100% - 2rem);
}

.clicky-core-session-dialog::backdrop {
	background: rgba(0, 0, 0, 0.78);
}

.clicky-core-session-dialog form,
.clicky-core-session-dialog label,
.clicky-core-session-dialog [data-session-attendees] {
	display: grid;
	gap: 0.55rem;
}

.clicky-core-session-dialog input[type="number"],
.clicky-core-session-dialog textarea {
	background: #071619;
	border: 1px solid #48676a;
	border-radius: 3px;
	box-sizing: border-box;
	color: #fff2d0;
	font: inherit;
	padding: 0.55rem;
	width: 100%;
}

.clicky-core-session-dialog fieldset {
	border: 1px solid #48676a;
	margin: 0;
	padding: 0.7rem;
}

.clicky-core-session-dialog [data-session-attendees] label {
	align-items: center;
	display: flex;
	font-size: 0.8rem;
}

.clicky-core-master-backups {
	background: #0b2428;
	border: 1px solid #cda766;
	border-radius: 3px;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.65);
	color: #fff2d0;
	font-family: Georgia, "Times New Roman", serif;
	max-height: 88vh;
	max-width: 46rem;
	padding: 1rem;
	width: calc(100% - 2rem);
}

.clicky-core-master-backups::backdrop {
	background: rgba(0, 0, 0, 0.8);
}

.clicky-core-master-backups-header,
.clicky-core-master-backup-item,
.clicky-core-master-backup-actions {
	align-items: center;
	display: flex;
	gap: 0.65rem;
}

.clicky-core-master-backups-header,
.clicky-core-master-backup-item {
	justify-content: space-between;
}

.clicky-core-master-backups-header {
	border-bottom: 1px solid rgba(205, 167, 102, 0.38);
	margin-bottom: 0.8rem;
	padding-bottom: 0.7rem;
}

.clicky-core-master-backups-header h2,
.clicky-core-master-backup-item h3,
.clicky-core-master-backup-item p {
	margin: 0;
}

.clicky-core-master-backups-list {
	display: grid;
	gap: 0.55rem;
	margin-top: 0.8rem;
}

.clicky-core-master-backup-item {
	background: #071619;
	border: 1px solid #48676a;
	border-radius: 3px;
	padding: 0.7rem;
}

.clicky-core-master-backup-item h3 {
	color: #fff2d0;
	font-size: 0.95rem;
}

.clicky-core-master-backup-item p {
	color: #b9cccd;
	font-size: 0.76rem;
	line-height: 1.45;
}

.clicky-core-master-backups button {
	background: var(--clicky-core-teal, #174f57);
	border: 1px solid #6f9699;
	border-radius: 3px;
	color: #fff2d0;
	cursor: pointer;
	font: 700 0.78rem/1.2 Georgia, "Times New Roman", serif;
	padding: 0.5rem 0.7rem;
}

.clicky-core-master-backups .clicky-core-backup-restore {
	background: #8a5a2b;
	border-color: #cda766;
}

.clicky-core-campaign-invite {
	background: #0b2428;
	border: 1px solid #cda766;
	border-radius: 4px;
	color: #fff2d0;
	max-width: 680px;
	padding: 1.2rem;
	width: calc(100% - 2rem);
}

.clicky-core-campaign-invite::backdrop { background: rgba(0, 0, 0, .82); }
.clicky-core-campaign-invite-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; margin: 1rem 0; }
.clicky-core-campaign-invite-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0; }
.clicky-core-campaign-invite-actions a { align-items: center; display: inline-flex; text-decoration: none; }
.clicky-core-campaign-invite-link input { min-width: 0; padding: .65rem; border: 1px solid #55797b; border-radius: 3px; background: #06171b; color: #fff; }
.clicky-core-campaign-invite [data-campaign-invite-members] { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid rgba(205, 167, 102, .35); }
.clicky-core-campaign-invite [data-campaign-invite-members] h3,
.clicky-core-campaign-invite [data-campaign-invite-members] p { margin: .35rem 0; }
.clicky-core-campaign-member { align-items: center; background: #071619; border: 1px solid #48676a; border-radius: 3px; display: flex; gap: .75rem; justify-content: space-between; margin-top: .45rem; padding: .5rem .6rem; }
.clicky-core-campaign-member span { color: #fff2d0; font-size: .74rem; }

.clicky-core-player-join {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: grid;
	place-items: center;
	padding: 1rem;
	background: #031216;
}

.clicky-core-player-join[hidden] { display: none; }
.clicky-core-player-join-card { width: min(560px, 100%); padding: clamp(1.25rem, 5vw, 2.5rem); border: 1px solid #cda766; border-radius: 5px; background: #12383d; color: #fff2d0; box-shadow: 0 22px 70px rgba(0, 0, 0, .65); }
.clicky-core-player-join-card h1 { margin: .25rem 0 .7rem; }
.clicky-core-player-join-card label { display: grid; gap: .4rem; margin: 1rem 0; color: #f2d59d; }
.clicky-core-player-join-card select { width: 100%; padding: .7rem; border: 1px solid #66898b; border-radius: 3px; background: #061b1f; color: #fff; }
.clicky-core-player-phone-actions { position: fixed; z-index: 30; top: 24px; right: 18px; display: flex; gap: .45rem; }
.clicky-core-player-phone-actions .clicky-core-player-display-fullscreen { position: static; }
.clicky-core-player-phone-actions [data-player-own-character] { border: 1px solid #68b69d; border-radius: 3px; background: #15564d; color: #fff; padding: .65rem .85rem; font-weight: 700; }

@media (max-width: 760px) {
	.clicky-core-player-phone-actions { top: 8px; right: 8px; }
	.clicky-core-player-display-fullscreen { display: none; }
	.clicky-core-player-display { --clicky-core-player-advert-height: 4.15rem; }
	.clicky-core-player-display-dashboard { min-height: calc(100dvh - var(--clicky-core-player-advert-height)); }
	.clicky-core-player-advert a { gap: 0.55rem; justify-content: space-between; }
	.clicky-core-player-advert-kicker,
	.clicky-core-player-advert-copy { display: none; }
	.clicky-core-player-advert strong { font-size: 1.05rem; }
	.clicky-core-player-advert-action { font-size: 0.66rem; }
	.clicky-core-campaign-invite-link { grid-template-columns: 1fr; }
}

.clicky-core-campaign-home,
.clicky-core-hall-of-fame {
	min-height: 100vh;
	background: radial-gradient(circle at 50% -20%, #214c50 0, #071a1e 45%, #020c0f 100%);
	color: #fff2d0;
}

.clicky-core-app-shell main.clicky-core-campaign-home { display: grid; align-content: center; gap: clamp(2rem, 6vw, 4.5rem); box-sizing: border-box; width: 100% !important; max-width: none !important; margin: 0 auto !important; padding: clamp(2rem, 7vw, 6rem) !important; }
.clicky-core-campaign-home > header { max-width: 850px; margin: 0 auto; text-align: center; }
.clicky-core-campaign-home > header h1 { margin: .2rem 0 .7rem; font-size: clamp(3rem, 9vw, 7rem); line-height: .95; }
.clicky-core-campaign-home > header > p:last-child { max-width: 680px; margin: 0 auto; color: #c1d6d2; font-size: clamp(1rem, 2vw, 1.25rem); }
.clicky-core-campaign-doorways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); width: min(1120px, 100%); margin: 0 auto; }
.clicky-core-campaign-doorway { display: grid; align-content: end; min-height: 330px; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid rgba(226, 189, 120, .7); border-radius: 6px; color: #fff2d0; text-decoration: none; box-shadow: inset 0 -150px 180px rgba(1, 9, 11, .88), 0 24px 70px rgba(0, 0, 0, .35); transition: transform .18s ease, border-color .18s ease; }
.clicky-core-campaign-doorway:hover { transform: translateY(-4px); border-color: #ffe099; color: #fff; }
.clicky-core-campaign-doorway.is-war-room { background: linear-gradient(rgba(5, 27, 31, .25), rgba(5, 27, 31, .25)), url('../images/war-room-campaign-banner.png') center/cover; }
.clicky-core-campaign-doorway.is-hall { background: linear-gradient(135deg, rgba(5, 29, 33, .52), rgba(34, 20, 14, .5)), url('../images/hall-of-fame-banner.png') center/cover; }
.clicky-core-campaign-doorway span { color: #8fd1c5; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.clicky-core-campaign-doorway h2 { margin: .25rem 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.clicky-core-campaign-doorway p { color: #d5e3df; line-height: 1.55; }
.clicky-core-campaign-doorway strong { color: #ffd47d; }

.clicky-core-app-shell main.clicky-core-hall-of-fame { box-sizing: border-box; isolation: isolate; overflow: hidden; position: relative; width: 100% !important; max-width: none !important; margin: 0 auto !important; padding: 0 clamp(1rem, 4vw, 4rem) 4rem !important; }
.clicky-core-app-shell main.clicky-core-hall-of-fame::before { background: linear-gradient(90deg, rgba(2, 12, 15, .88) 0%, rgba(2, 12, 15, .46) 48%, rgba(2, 12, 15, .32) 70%, rgba(2, 12, 15, .76) 100%), linear-gradient(180deg, rgba(2, 12, 15, .12) 42%, #071a1e 96%), url('../images/hall-of-fame-banner.png') center top/cover no-repeat; content: ''; height: clamp(30rem, 57vw, 58rem); inset: 0 0 auto; pointer-events: none; position: absolute; z-index: -1; }
.clicky-core-hall-header { align-items: end; border-bottom: 1px solid rgba(226, 189, 120, .58); display: flex; gap: 2rem; justify-content: space-between; margin: 0 auto; max-width: 1300px; min-height: clamp(24rem, 45vw, 42rem); padding: clamp(2.5rem, 7vw, 6rem) 0 2rem; }
.clicky-core-hall-header > div { max-width: 760px; }
.clicky-core-hall-header h1 { margin: .2rem 0 .7rem; font-size: clamp(2.7rem, 7vw, 5.6rem); line-height: 1; text-shadow: 0 3px 18px #000; }
.clicky-core-hall-header p:last-child { color: #e2eee9; line-height: 1.55; max-width: 620px; text-shadow: 0 2px 10px #000; }
.clicky-core-hall-header button { flex: none; padding: .8rem 1.1rem; border: 1px solid #e2bd78; border-radius: 4px; background: #8b5b2b; color: #fff; font-weight: 800; }
.clicky-core-hall-of-fame > [data-campaign-save-status] { max-width: 1300px; margin: 1rem auto; }
.clicky-core-hall-claim { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 1rem; max-width: 1300px; margin: 1rem auto 1.5rem; padding: 1rem; border: 1px solid #d4ab65; border-radius: 5px; background: #183f43; box-shadow: 0 12px 35px rgba(0, 0, 0, .25); }
.clicky-core-hall-claim[hidden] { display: none; }
.clicky-core-hall-claim h2,
.clicky-core-hall-claim p { margin: 0; }
.clicky-core-hall-claim-portrait { display: grid; place-items: center; width: 72px; aspect-ratio: 1; overflow: hidden; border: 1px solid #d4ab65; border-radius: 4px; background: #06171b; color: #ffd47d; font: 700 2rem Georgia, serif; }
.clicky-core-hall-claim-portrait img { width: 100%; height: 100%; object-fit: cover; }
.clicky-core-hall-claim > button { padding: .75rem 1rem; border: 1px solid #e2bd78; border-radius: 4px; background: #8b5b2b; color: #fff; font-weight: 800; }
.clicky-core-hall-character-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; max-width: 1300px; margin: 0 auto; }
.clicky-core-hall-character { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1rem; padding: 1rem; border: 1px solid #496d6e; border-radius: 5px; background: #12363a; box-shadow: 0 12px 35px rgba(0, 0, 0, .25); }
.clicky-core-hall-character-portrait { grid-row: span 2; width: 88px; aspect-ratio: 1; overflow: hidden; padding: 0; border: 1px solid #d4ab65; border-radius: 4px; background: #06171b; color: #ffd47d; font: 700 2rem Georgia, serif; }
.clicky-core-hall-character-portrait img { width: 100%; height: 100%; object-fit: cover; }
.clicky-core-hall-character h2 { margin: .1rem 0 .3rem; font-size: 1.35rem; }
.clicky-core-hall-character p,
.clicky-core-hall-character small { display: block; margin: 0; color: #c4d6d2; }
.clicky-core-hall-character-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: .4rem; }
.clicky-core-hall-character-actions button { padding: .45rem .6rem; border: 1px solid #709495; border-radius: 3px; background: #174f57; color: #fff2d0; font-size: .78rem; }
.clicky-core-hall-empty,
.clicky-core-hall-sign-in { grid-column: 1 / -1; max-width: 700px; margin: 3rem auto; padding: 2rem; border: 1px dashed #6a8c8c; border-radius: 5px; text-align: center; background: rgba(10, 40, 44, .75); }

@media (max-width: 760px) {
	.clicky-core-campaign-doorways { grid-template-columns: 1fr; }
	.clicky-core-campaign-doorway { min-height: 260px; }
	.clicky-core-hall-header { align-items: stretch; flex-direction: column; }
	.clicky-core-hall-header button { width: 100%; }
	.clicky-core-hall-claim { grid-template-columns: 58px minmax(0, 1fr); }
	.clicky-core-hall-claim-portrait { width: 58px; }
	.clicky-core-hall-claim > button { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 620px) {
	.clicky-core-master-backup-item {
		align-items: stretch;
		flex-direction: column;
	}
}

/* Keep the War Room as dark and legible as the campaign workspace. */
.clicky-core-campaign-table {
	background: #020b0e;
	border-color: #29484a;
	color: #fff2d0;
}

.clicky-core-campaign-table h1,
.clicky-core-campaign-table h2,
.clicky-core-campaign-table h3,
.clicky-core-campaign-table h4,
.clicky-core-campaign-table h5 {
	color: #fff2d0;
}

.clicky-core-campaign-table .clicky-core-room-building {
	color: #cda766;
}

.clicky-core-campaign-header {
	border-bottom-color: rgba(205, 167, 102, 0.38);
}

.clicky-core-campaign-header .clicky-core-campaign-introduction,
.clicky-core-campaign-action-status,
.clicky-core-campaign-table .clicky-core-companions-heading p,
.clicky-core-campaign-table .clicky-core-companion-empty {
	color: #c7d7d7;
}

.clicky-core-campaign-panel {
	background: #0b2428;
	border-color: #48676a;
}

.clicky-core-campaign-table label {
	color: #d4e4df;
}

.clicky-core-campaign-table input,
.clicky-core-campaign-table select,
.clicky-core-campaign-table textarea {
	background: #071619;
	border-color: #48676a;
	color: #fff2d0;
}

.clicky-core-campaign-table input::placeholder,
.clicky-core-campaign-table textarea::placeholder {
	color: #91a7a8;
	opacity: 1;
}

.clicky-core-campaign-table .clicky-core-button-subtle,
.clicky-core-campaign-table .clicky-core-character-remove {
	border-color: #6f9699;
	color: #d4e4df;
}

.clicky-core-session-journal [data-session-summary] {
	color: #c7d7d7;
}

.clicky-core-session-journal [data-session-list] > p,
.clicky-core-session-entry-recap {
	color: #fff2d0;
}

.clicky-core-session-entry-heading p,
.clicky-core-session-entry-players {
	color: #b9cccd;
}

.clicky-core-custom-item-form,
.clicky-core-inventory-item {
	background: #071619;
	border-color: #48676a;
	color: #fff2d0;
}

.clicky-core-inventory-item h5,
.clicky-core-campaign-table .clicky-core-companions-heading h4 {
	color: #fff2d0;
}

.clicky-core-portrait-gallery {
	background: #0b2428;
	border-color: #cda766;
	color: #fff2d0;
}

.clicky-core-campaign-table .clicky-core-portrait-option {
	background: #071619;
	border-color: #48676a;
	color: #fff2d0;
}

@media (max-width: 700px) {
	.clicky-core-player-contact {
		grid-template-columns: 1fr;
	}
}

.clicky-core-portrait-gallery {
	background: #f3e4c3;
	border: 1px solid #7c6337;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5);
	color: #2f2418;
	font-family: Georgia, "Times New Roman", serif;
	max-height: min(48rem, 88vh);
	max-width: 62rem;
	padding: 1rem;
	width: calc(100% - 2rem);
}

.clicky-core-portrait-gallery::backdrop {
	background: rgba(0, 0, 0, 0.78);
}

.clicky-core-portrait-gallery-header {
	align-items: start;
	border-bottom: 1px solid rgba(124, 99, 55, 0.45);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 0.8rem;
	padding-bottom: 0.7rem;
}

.clicky-core-portrait-gallery-header h2 {
	color: #2f2418 !important;
	margin: 0;
}

.clicky-core-portrait-gallery-header .clicky-core-room-building {
	color: #6b4c22 !important;
}

.clicky-core-campaign-table .clicky-core-portrait-gallery-header [data-character-gallery-close],
.clicky-core-room-explorer .clicky-core-portrait-gallery-header [data-player-statblock-gallery-close],
.clicky-core-room-explorer .clicky-core-portrait-gallery-header [data-player-statblock-monster-close] {
	background: #174f57 !important;
	border: 1px solid #0b343a !important;
	color: #fff7e2 !important;
}

.clicky-core-campaign-table .clicky-core-portrait-gallery-header [data-character-gallery-close]:hover,
.clicky-core-campaign-table .clicky-core-portrait-gallery-header [data-character-gallery-close]:focus-visible,
.clicky-core-room-explorer .clicky-core-portrait-gallery-header [data-player-statblock-gallery-close]:hover,
.clicky-core-room-explorer .clicky-core-portrait-gallery-header [data-player-statblock-gallery-close]:focus-visible,
.clicky-core-room-explorer .clicky-core-portrait-gallery-header [data-player-statblock-monster-close]:hover,
.clicky-core-room-explorer .clicky-core-portrait-gallery-header [data-player-statblock-monster-close]:focus-visible {
	background: #0b343a !important;
	border-color: #cda766 !important;
	color: #fff7e2 !important;
}

.clicky-core-portrait-gallery-grid {
	display: grid;
	gap: 0.65rem;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-top: 0.8rem;
}

.clicky-core-campaign-table .clicky-core-portrait-option,
.clicky-core-npc-portrait-gallery .clicky-core-portrait-option {
	background: #ead8ad;
	border: 1px solid rgba(124, 99, 55, 0.6);
	color: #3a2a18;
	display: grid;
	font-size: 0.72rem;
	gap: 0.35rem;
	padding: 0.35rem;
	text-align: left;
}

.clicky-core-campaign-table .clicky-core-portrait-option:hover,
.clicky-core-campaign-table .clicky-core-portrait-option:focus-visible,
.clicky-core-npc-portrait-gallery .clicky-core-portrait-option:hover,
.clicky-core-npc-portrait-gallery .clicky-core-portrait-option:focus-visible {
	background: var(--clicky-core-teal-soft, #d4e4df);
	border-color: var(--clicky-core-teal, #174f57);
	color: var(--clicky-core-teal-dark, #0b343a);
}

.clicky-core-portrait-option-image {
	display: block;
	overflow: hidden;
	position: relative;
}

.clicky-core-portrait-option img {
	aspect-ratio: 1;
	display: block;
	filter: saturate(0.92) contrast(1.08) sepia(0.08);
	object-fit: cover;
	width: 100%;
}

.clicky-core-campaign-table .clicky-core-character-remove {
	font-size: 0.75rem;
	padding: 0.35rem 0.5rem;
}

.clicky-core-character-fields {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clicky-core-character-fields .clicky-core-field-wide {
	grid-column: 1 / -1;
}

.clicky-core-companions {
	border-top: 1px solid rgba(229, 211, 173, 0.3);
	margin-top: 1rem;
	padding-top: 0.8rem;
}

.clicky-core-character-items {
	border-top: 1px solid rgba(229, 211, 173, 0.3);
	margin-top: 1rem;
	padding-top: 0.8rem;
}

.clicky-core-carrier-list,
.clicky-core-unassigned-items [data-unassigned-item-list],
.clicky-core-character-item-list {
	display: grid;
	gap: 0.65rem;
}

.clicky-core-carrier-intro {
	color: #e9dfc8;
	font-size: 0.9rem;
	margin: 0.65rem 0 1rem;
}

.clicky-core-carrier-form {
	align-items: end;
	display: grid;
	gap: 0.75rem;
	grid-template-columns: minmax(12rem, 1fr) minmax(12rem, 1fr) auto;
	margin-bottom: 1rem;
}

.clicky-core-carrier-form[hidden] {
	display: none;
}

.clicky-core-carrier-card {
	background: #102f33;
	border: 1px solid rgba(205, 168, 89, 0.55);
	border-radius: 0.3rem;
	color: #f5ead0;
	padding: 0.9rem;
}

.clicky-core-carrier-card.is-dead {
	border-color: #8c3131;
	opacity: 0.72;
}

.clicky-core-carrier-heading,
.clicky-core-carrier-inventory-heading,
.clicky-core-carrier-options {
	align-items: center;
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
}

.clicky-core-carrier-heading h3,
.clicky-core-carrier-inventory-heading h4 {
	color: #f5ead0;
	margin: 0;
}

.clicky-core-carrier-portrait {
	align-items: center;
	display: flex;
	gap: 0.7rem;
	margin-top: 0.75rem;
}

.clicky-core-carrier-portrait > img,
.clicky-core-carrier-portrait > span {
	align-items: center;
	aspect-ratio: 1;
	background: #061b1e;
	border: 1px solid rgba(205, 168, 89, 0.55);
	border-radius: 0.25rem;
	display: flex;
	font-size: 1.5rem;
	justify-content: center;
	object-fit: cover;
	width: 4rem;
}

.clicky-core-carrier-fields {
	display: grid;
	gap: 0.65rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0.8rem 0;
}

.clicky-core-carrier-options {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1rem;
	justify-content: flex-start;
	margin-bottom: 0.75rem;
}

.clicky-core-carrier-options label {
	align-items: center;
	display: inline-flex;
	flex: 0 1 auto;
	font-size: 0.82rem;
	gap: 0.4rem;
	letter-spacing: 0;
	line-height: 1.25;
	text-transform: none;
}

.clicky-core-campaign-table .clicky-core-carrier-options input[type="checkbox"],
.clicky-core-carrier-options input[type="checkbox"] {
	accent-color: #cda859;
	flex: 0 0 1rem;
	height: 1rem;
	margin: 0;
	min-height: 0;
	padding: 0;
	width: 1rem;
}

.clicky-core-carrier-load {
	background: rgba(0, 0, 0, 0.2);
	border-left: 3px solid #cda859;
	font-size: 0.85rem;
	padding: 0.45rem 0.6rem;
}

.clicky-core-carrier-load.is-over-capacity {
	background: rgba(120, 22, 22, 0.42);
	border-left-color: #e07463;
	color: #ffe4dc;
}

.clicky-core-carrier-card [data-carrier-item-list] {
	display: grid;
	gap: 0.55rem;
	margin-top: 0.55rem;
}

.clicky-core-unassigned-items {
	background: rgba(122, 66, 28, 0.28);
	border: 1px solid rgba(205, 168, 89, 0.55);
	margin-top: 1rem;
	padding: 0.9rem;
}

.clicky-core-unassigned-item {
	align-items: center;
	display: grid;
	gap: 0.65rem;
	grid-template-columns: minmax(10rem, 1fr) minmax(12rem, 1fr) auto;
}

@media (max-width: 780px) {
	.clicky-core-carrier-form,
	.clicky-core-carrier-fields,
	.clicky-core-unassigned-item {
		grid-template-columns: 1fr;
	}
}

.clicky-core-inventory-heading {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.clicky-core-inventory-heading h2 {
	margin-bottom: 0;
}

.clicky-core-war-room-panel-actions {
	align-items: center;
	display: flex;
	gap: 0.45rem;
	justify-content: flex-end;
}

.clicky-core-war-room-panel-toggle {
	align-items: center;
	display: inline-flex;
	font-size: 1.1rem !important;
	height: 2rem;
	justify-content: center;
	min-width: 2rem;
	order: 99;
	padding: 0 !important;
}

.clicky-core-campaign-panel.is-war-room-panel-collapsed {
	padding-bottom: 0.65rem;
}

.clicky-core-campaign-panel.is-war-room-panel-collapsed > :not([data-war-room-panel-heading]) {
	display: none !important;
}

.clicky-core-campaign-panel.is-war-room-panel-collapsed [data-war-room-panel-heading] h2 {
	margin-bottom: 0;
}

.clicky-core-custom-item-form {
	align-items: end;
	background: #ead8ad;
	border: 1px solid rgba(124, 99, 55, 0.55);
	display: grid;
	gap: 0.55rem;
	grid-template-columns: minmax(9rem, 1fr) minmax(12rem, 1.4fr) auto;
	margin: 0.55rem 0;
	padding: 0.65rem;
}

.clicky-core-custom-item-form[hidden] {
	display: none;
}

.clicky-core-custom-item-actions {
	display: flex;
	gap: 0.35rem;
}

.clicky-core-campaign-table .clicky-core-custom-item-form button {
	white-space: nowrap;
}

.clicky-core-inventory-item {
	background: #f3e4c3;
	border: 1px solid rgba(124, 99, 55, 0.45);
	padding: 0.7rem;
}

.clicky-core-inventory-item-heading {
	align-items: center;
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
}

.clicky-core-inventory-item-image {
	background: #020b0e;
	border: 1px solid #48676a;
	border-radius: 3px;
	flex: 0 0 3rem;
	height: 3rem;
	object-fit: cover;
	width: 3rem;
}

.clicky-core-inventory-item-heading h5 {
	flex: 1 1 auto;
}

.clicky-core-inventory-item h5,
.clicky-core-inventory-item p {
	margin: 0 0 0.45rem;
}

.clicky-core-inventory-item h5 {
	color: var(--clicky-core-teal-dark, #0b343a);
}

.clicky-core-inventory-item dl {
	display: grid;
	font-size: 0.78rem;
	gap: 0.2rem 0.55rem;
	grid-template-columns: max-content minmax(0, 1fr);
	margin: 0;
}

.clicky-core-inventory-item dt {
	font-weight: 700;
}

.clicky-core-inventory-item dd {
	margin: 0;
}

.clicky-core-companions-heading {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 0.65rem;
}

.clicky-core-companions-heading h4 {
	color: var(--clicky-core-teal-dark, #0b343a);
	font-size: 1rem;
	margin: 0 0 0.1rem;
}

.clicky-core-room-explorer button:focus-visible,
.clicky-core-room-explorer a:focus-visible,
.clicky-core-campaign-table button:focus-visible,
.clicky-core-campaign-table input:focus-visible,
.clicky-core-campaign-table select:focus-visible,
.clicky-core-campaign-table textarea:focus-visible {
	outline: 2px solid var(--clicky-core-teal, #174f57);
	outline-offset: 2px;
}

.clicky-core-companions-heading p,
.clicky-core-companion-empty {
	color: #685235;
	font-size: 0.78rem;
	margin: 0;
}

.clicky-core-campaign-table .clicky-core-companions-heading button {
	font-size: 0.75rem;
	padding: 0.4rem 0.55rem;
	white-space: nowrap;
}

/* Prevent the public WordPress theme's pink button rules overriding the app. */
.clicky-core-room-explorer button {
	background-color: #174f57 !important;
	border-color: #cda766 !important;
	color: #fff2d0 !important;
}

.clicky-core-room-explorer .clicky-core-identity-toggle:not(.is-selected):not([aria-pressed="true"]),
.clicky-core-room-explorer .clicky-core-room-reset {
	background-color: transparent !important;
	border-color: #6f9699 !important;
	color: #d4e4df !important;
}

.clicky-core-room-explorer .clicky-core-identity-toggle.is-selected,
.clicky-core-room-explorer .clicky-core-identity-toggle[aria-pressed="true"] {
	background-color: #cda766 !important;
	border-color: #f3d89b !important;
	color: #071619 !important;
}

.clicky-core-room-explorer button:hover,
.clicky-core-room-explorer button:focus-visible {
	background-color: #0b343a !important;
	border-color: #e2bd78 !important;
	color: #fff2d0 !important;
}

.clicky-core-room-explorer .clicky-core-identity-remove {
	border-color: #9e6464 !important;
	color: #f0c5c0 !important;
}

.clicky-core-room-explorer .clicky-core-identity-remove:hover,
.clicky-core-room-explorer .clicky-core-identity-remove:focus-visible {
	background-color: #57282b !important;
	border-color: #d78680 !important;
	color: #fff2d0 !important;
}

.clicky-core-companion-list {
	display: grid;
	gap: 0.65rem;
}

.clicky-core-companion-row {
	align-items: end;
	background: #f3e4c3;
	border: 1px solid rgba(124, 99, 55, 0.45);
	display: grid;
	gap: 0.45rem;
	grid-template-columns: 4.5rem minmax(0, 1fr) minmax(7rem, 0.7fr);
	padding: 0.65rem;
}

.clicky-core-companion-row-portrait {
	align-items: center;
	align-self: start;
	aspect-ratio: 1;
	background: #020b0e;
	border: 1px solid #6f9699;
	border-radius: 0.25rem;
	color: #fff2d0;
	display: flex;
	font-size: 1.4rem;
	font-weight: 700;
	grid-column: 1;
	grid-row: 1 / span 4;
	justify-content: center;
	overflow: hidden;
	width: 4.5rem;
}

.clicky-core-companion-row-portrait img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-companion-details {
	grid-column: 2 / -1;
}

.clicky-core-companion-level {
	color: #82d9cc;
	grid-column: 2 / -1;
}

.clicky-core-carrier-level {
	align-items: center;
	background: #020b0e;
	border: 1px solid #6f9699;
	color: #82d9cc;
	display: flex;
	min-height: 2.45rem;
	padding: 0.45rem 0.6rem;
}

.clicky-core-companion-row .clicky-core-character-remove {
	justify-self: end;
}

.clicky-core-companion-sheet {
	background: #071619;
	border: 1px solid #6f9699;
	color: #fff2d0;
	max-height: 90vh;
	max-width: 58rem;
	overflow-y: auto;
	padding: 1.25rem;
	width: min(92vw, 58rem);
}

.clicky-core-companion-sheet::backdrop {
	background: rgba(1, 8, 10, 0.84);
}

.clicky-core-companion-sheet input,
.clicky-core-companion-sheet select {
	background: #020b0e;
	border-color: #6f9699;
	color: #fff2d0;
}

.clicky-core-companion-sheet-grid,
.clicky-core-companion-abilities {
	display: grid;
	gap: 0.7rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clicky-core-companion-sheet-grid label,
.clicky-core-companion-abilities label {
	display: grid;
	gap: 0.3rem;
}

.clicky-core-companion-sheet-portrait {
	align-items: center;
	display: flex;
	gap: 0.8rem;
	margin: 0.8rem 0;
}

.clicky-core-companion-sheet-portrait [data-companion-portrait] {
	align-items: center;
	background: #020b0e;
	border: 1px solid #6f9699;
	display: flex;
	font-size: 2rem;
	height: 6rem;
	justify-content: center;
	overflow: hidden;
	width: 6rem;
}

.clicky-core-companion-sheet-portrait img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.clicky-core-companion-shared-initiative strong {
	color: #82d9cc;
	display: block;
}

.clicky-core-encounter-initiative-row.has-shared-initiative [data-encounter-initiative] {
	border-color: #82d9cc;
	cursor: not-allowed;
}

/* Inventory surfaces must stay on the War Room's dark palette. */
.clicky-core-campaign-table .clicky-core-party-inventory,
.clicky-core-campaign-table .clicky-core-custom-item-form,
.clicky-core-campaign-table .clicky-core-inventory-item,
.clicky-core-campaign-table .clicky-core-companion-row {
	background: #071619;
	border-color: #48676a;
	color: #fff2d0;
}

.clicky-core-campaign-table .clicky-core-inventory-item h5,
.clicky-core-campaign-table .clicky-core-inventory-item p,
.clicky-core-campaign-table .clicky-core-inventory-item dt,
.clicky-core-campaign-table .clicky-core-inventory-item dd,
.clicky-core-campaign-table .clicky-core-custom-item-form label,
.clicky-core-campaign-table .clicky-core-companion-row label {
	color: #fff2d0;
}

.clicky-core-campaign-table .clicky-core-party-inventory input,
.clicky-core-campaign-table .clicky-core-party-inventory select,
.clicky-core-campaign-table .clicky-core-party-inventory textarea,
.clicky-core-campaign-table .clicky-core-character-items input,
.clicky-core-campaign-table .clicky-core-character-items select,
.clicky-core-campaign-table .clicky-core-character-items textarea {
	background: #020b0e;
	border-color: #6f9699;
	color: #fff2d0;
}

@media (max-width: 720px) {
	.clicky-core-campaign-header,
	.clicky-core-character-grid {
		grid-template-columns: 1fr;
	}

	.clicky-core-party-heading {
		align-items: stretch;
		flex-direction: column;
	}

	.clicky-core-player-display-cards {
		grid-template-columns: 1fr;
	}

	.clicky-core-campaign-name-row {
		grid-template-columns: 1fr;
	}

	.clicky-core-companion-row {
		grid-template-columns: 1fr;
	}

	.clicky-core-companion-row-portrait,
	.clicky-core-companion-details,
	.clicky-core-companion-level {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.clicky-core-companion-sheet-grid,
	.clicky-core-companion-abilities {
		grid-template-columns: 1fr 1fr;
	}

	.clicky-core-item-assignment {
		align-items: stretch;
		grid-template-columns: 1fr;
	}

	.clicky-core-custom-item-form {
		align-items: stretch;
		grid-template-columns: 1fr;
	}

	.clicky-core-portrait-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.clicky-core-companion-details {
		grid-column: auto;
	}

	.clicky-core-room-explorer {
		--clicky-core-room-padding: 1rem;
	}

	.clicky-core-room-explorer-header {
		display: block;
	}

	.clicky-core-room-title {
		font-size: 1.2rem;
	}

	.clicky-core-room-state-controls {
		margin-top: 0.75rem;
		max-width: 18rem;
	}

	.clicky-core-room-detail-grid {
		grid-template-columns: 1fr;
	}
}
/* Guided character builder */
.clicky-core-character-builder {
	width: min(1100px, calc(100vw - 32px));
	max-width: 1100px;
	height: min(850px, calc(100vh - 32px));
	max-height: calc(100vh - 32px);
	padding: 0;
	border: 1px solid #b98b45;
	border-radius: 8px;
	background: #06191b;
	color: #f5e9ca;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .75);
}
.clicky-core-character-builder::backdrop { background: rgba(0, 8, 10, .86); }
.clicky-core-character-builder form { min-height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; }
.clicky-core-character-builder header,
.clicky-core-character-builder footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; background: #09272b; }
.clicky-core-character-builder header { border-bottom: 1px solid rgba(218, 166, 83, .45); }
.clicky-core-character-builder header p { margin: 0 0 3px; color: #9fc9c8; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.clicky-core-character-builder h1,
.clicky-core-character-builder h2,
.clicky-core-character-builder h3 { color: #ffe7b2; }
.clicky-core-character-builder h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.15rem); }
.clicky-core-character-builder h2 { margin-top: 0; }
.clicky-core-character-builder nav { display: grid; grid-template-columns: repeat(10, minmax(68px, 1fr)); gap: 5px; overflow-x: auto; padding: 10px 16px; background: #041315; border-bottom: 1px solid #25484a; }
.clicky-core-character-builder nav span { display: grid; justify-items: center; gap: 3px; min-width: 68px; color: #7ea2a1; font-size: .72rem; white-space: nowrap; }
.clicky-core-character-builder nav b { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #426264; border-radius: 50%; }
.clicky-core-character-builder nav .is-current { color: #ffe0a0; }
.clicky-core-character-builder nav .is-current b { background: #c18a35; border-color: #f4c96f; color: #07191a; }
.clicky-core-character-builder nav .is-complete b { background: #27695d; border-color: #68b69d; color: #fff; }
.clicky-core-character-builder main { overflow-y: auto; padding: clamp(20px, 4vw, 40px); }
.clicky-core-character-builder footer { border-top: 1px solid rgba(218, 166, 83, .45); }
.clicky-core-character-builder button,
.clicky-core-character-builder select,
.clicky-core-character-builder input,
.clicky-core-character-builder textarea { font: inherit; }
.clicky-core-character-builder button { min-height: 38px; padding: 8px 14px; border: 1px solid #b98b45; border-radius: 5px; background: #12454a; color: #fff0cc; cursor: pointer; }
.clicky-core-character-builder button:hover { background: #1c5c61; }
.clicky-core-character-builder button:disabled { opacity: .4; cursor: default; }
.clicky-core-character-builder [data-builder-next] { background: #b57a2f; color: #fff; font-weight: 700; }
.clicky-core-level-up-builder [data-level-next] { background: #17653f; border-color: #67dc99; color: #fff; font-weight: 800; }
.clicky-core-level-up-builder nav { grid-template-columns: repeat(21, minmax(68px, 1fr)); }
.clicky-core-level-up-heading > span { color: #78c9b8; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.clicky-core-level-up-heading h2 { margin: .25rem 0 .45rem; }
.clicky-core-level-up-section { background: #09272b; border: 1px solid #355b5d; border-radius: 5px; margin-top: 1rem; padding: 1rem; }
.clicky-core-level-up-section h3 { margin: 0 0 .35rem; }
.clicky-core-level-up-section > p { color: #b9cfcc; font-size: .88rem; margin: 0 0 .75rem; }
.clicky-core-subclass-import { background: #061d21; border: 1px solid #466b69; border-radius: 4px; display: grid; gap: .65rem; margin-top: .8rem; padding: .75rem; }
.clicky-core-subclass-import > div { align-items: center; display: flex; flex-wrap: wrap; gap: .5rem; }
.clicky-core-subclass-import label { display: grid; gap: .3rem; }
.clicky-core-subclass-import textarea { min-height: 7rem; resize: vertical; }
.clicky-core-subclass-import a { border: 1px solid #d6ad55; border-radius: 3px; color: #f3d589; padding: .48rem .65rem; text-decoration: none; }
.clicky-core-subclass-file { background: #25575b; border: 1px solid #d6ad55; border-radius: 3px; color: #fff4cf; cursor: pointer; display: inline-flex !important; padding: .48rem .65rem; }
.clicky-core-subclass-file input { display: none; }
.clicky-core-builder-success { color: #86e7ae !important; margin: 0 !important; }
.clicky-core-builder-error { color: #ff9e9e !important; margin: 0 !important; }
.clicky-core-current-spells { margin: 0 0 .85rem; padding: .75rem; border: 1px solid #355b5d; border-radius: 4px; background: #061c20; }
.clicky-core-current-spells strong { color: #ffd47d; }
.clicky-core-current-spells ul { display: flex; flex-wrap: wrap; gap: 6px; margin: .55rem 0; padding: 0; list-style: none; }
.clicky-core-current-spells li { padding: 4px 8px; border: 1px solid #477173; border-radius: 999px; background: #12383b; color: #eef7f5; font-size: .82rem; }
.clicky-core-current-spells p,
.clicky-core-current-spells small { display: block; margin: .45rem 0 0; color: #b9cfcc; }
.clicky-core-level-up-hp { display: grid; gap: .45rem; grid-template-columns: minmax(0, 1fr) auto; }
.clicky-core-level-up-hp button { white-space: nowrap; }
.clicky-core-builder-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.clicky-core-character-builder label { display: grid; gap: 6px; color: #f3d79e; }
.clicky-core-character-builder input,
.clicky-core-character-builder select,
.clicky-core-character-builder textarea { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #44696a; border-radius: 4px; background: #0a2528; color: #fff8e8; }
.clicky-core-level-choice { align-content: start; }
.clicky-core-choice-description { display: grid; gap: 5px; margin-top: 4px; padding: 11px 12px; border-left: 3px solid #d4a44f; border-radius: 3px; background: #071e21; color: #d9e8e5; font-size: .82rem; font-weight: 400; line-height: 1.45; }
.clicky-core-choice-description strong { color: #ffd47d; font-size: .9rem; }
.clicky-core-choice-description small { color: #83c6bb; font-size: .73rem; font-weight: 700; }
.clicky-core-choice-description p { margin: 0; color: inherit; }
.clicky-core-builder-primary-select { max-width: 520px; }
.clicky-core-builder-advice,
.clicky-core-builder-origin-summary,
.clicky-core-builder-review { margin-top: 20px; padding: 18px; border: 1px solid #4e7473; border-radius: 6px; background: #0d3033; }
.clicky-core-builder-advice { display: grid; gap: 5px; }
.clicky-core-builder-advice strong { color: #ffd47d; font-size: 1.15rem; }
.clicky-core-builder-advice small { color: #a9cfca; }
.clicky-core-builder-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 15px; }
.clicky-core-builder-choice-grid label { grid-template-columns: auto 1fr; align-items: center; padding: 11px; border: 1px solid #35595b; border-radius: 5px; background: #0b292c; cursor: pointer; }
.clicky-core-builder-choice-grid label:has(input:checked) { border-color: #e0ad55; background: #3a3828; color: #ffe3a3; }
.clicky-core-builder-choice-grid input { width: auto; }
.clicky-core-builder-choice-grid label.is-already-known { border-color: #4ea987; background: #12382f; cursor: default; }
.clicky-core-builder-choice-grid [data-choice-known-note] { grid-column: 2; color: #9edfc4; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.clicky-core-builder-spell-choice { min-width: 0; position: relative; }
.clicky-core-builder-spell-choice > label { box-sizing: border-box; min-height: 100%; padding-right: 3rem; width: 100%; }
.clicky-core-builder-spell-choice > [data-builder-spell-info] { align-items: center; background: #174f57; border: 1px solid #83aaa6; border-radius: 50%; color: #fff2d0; display: flex; font-size: .78rem; font-weight: 900; height: 1.75rem; justify-content: center; padding: 0; position: absolute; right: .65rem; top: 50%; transform: translateY(-50%); width: 1.75rem; z-index: 1; }
.clicky-core-builder-spell-choice > [data-builder-spell-info]:hover { background: #266e72; border-color: #f1c976; color: #fff; }
.clicky-core-builder-methods { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0; }
.clicky-core-builder-methods span { color: #a9c1bf; }
.clicky-core-builder-abilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.clicky-core-builder-abilities label { grid-template-columns: minmax(100px, 1fr) 78px 42px 42px; align-items: center; padding: 12px; border: 1px solid #35595b; border-radius: 5px; background: #0b292c; }
.clicky-core-builder-abilities label.is-recommended { border-color: #c7923e; box-shadow: inset 3px 0 #d9a442; }
.clicky-core-builder-abilities label span { display: grid; }
.clicky-core-builder-abilities label small { color: #e7b65e; font-size: .68rem; text-transform: uppercase; }
.clicky-core-builder-abilities button { min-width: 38px; padding: 5px; }
.clicky-core-builder-abilities output { color: #7dd8b2; font-weight: 700; text-align: center; }
.clicky-core-builder-roll-note { color: #afd0cb; }
.clicky-core-builder-personality,
.clicky-core-builder-wide { margin-top: 14px; }
.clicky-core-builder-personality > span { display: flex; align-items: center; justify-content: space-between; }
.clicky-core-builder-personality button { min-height: 30px; padding: 4px 9px; font-size: .78rem; }
.clicky-core-builder-review h3 { margin-top: 0; font-size: 1.5rem; }
.clicky-core-builder-review dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.clicky-core-builder-review dl div { padding: 9px; border: 1px solid #35595b; border-radius: 4px; }
.clicky-core-builder-review dt { color: #8eb8b5; font-size: .72rem; text-transform: uppercase; }
.clicky-core-builder-review dd { margin: 3px 0 0; color: #fff1cf; }
@media (max-width: 760px) {
	.clicky-core-character-builder { width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; }
	.clicky-core-builder-fields,
	.clicky-core-builder-abilities,
	.clicky-core-builder-review dl { grid-template-columns: 1fr; }
	.clicky-core-builder-abilities label { grid-template-columns: minmax(110px, 1fr) 70px 40px 40px; }
	.clicky-core-character-builder header,
	.clicky-core-character-builder footer { padding: 12px; }
	.clicky-core-character-builder main { padding: 18px 14px; }
}

/* Keep the War Room fluid inside both the live WordPress shell and narrow app windows. */
.clicky-core-app-shell:has(.clicky-core-campaign-table) {
	box-sizing: border-box;
	max-width: none;
	overflow-x: clip;
	width: 100%;
}

.clicky-core-app-shell main.clicky-core-campaign-table {
	box-sizing: border-box;
	max-width: none;
	width: calc(100% - 1rem);
}

.clicky-core-character-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clicky-core-character-card {
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
}

.clicky-core-character-card-header {
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.clicky-core-character-card-header .clicky-core-player-contact {
	flex: 1 1 16rem;
	min-width: 0;
}

.clicky-core-character-card-actions {
	flex: 1 1 100%;
	flex-wrap: wrap;
	justify-content: flex-end;
	min-width: 0;
}

.clicky-core-campaign-table .clicky-core-character-card-actions button {
	font-size: 0.72rem;
	min-width: 0;
	padding: 0.42rem 0.55rem;
	white-space: normal;
}

.clicky-core-campaign-table .clicky-core-character-card-actions .clicky-core-character-sheet-primary {
	background: #d7ad4f !important;
	border: 1px solid #f1d78e !important;
	box-shadow: 0 0 8px rgba(215, 173, 79, 0.26);
	color: #102326 !important;
	font-weight: 700;
}

.clicky-core-campaign-table .clicky-core-character-card-actions .clicky-core-character-sheet-primary:hover,
.clicky-core-campaign-table .clicky-core-character-card-actions .clicky-core-character-sheet-primary:focus-visible {
	background: #efd078 !important;
	border-color: #fff0b8 !important;
	color: #081719 !important;
}

@media (max-width: 720px) {
	.clicky-core-app-shell main.clicky-core-campaign-table {
		--clicky-core-campaign-padding: 0.75rem;
		width: calc(100% - 0.5rem);
	}

	.clicky-core-character-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.clicky-core-character-card {
		padding: 0.75rem;
	}

	.clicky-core-character-card-actions {
		justify-content: flex-start;
	}
}
.clicky-core-inventory-item.is-stolen,
.clicky-core-unassigned-item.is-stolen,
.clicky-core-sheet-item-row.is-stolen,
.clicky-core-sheet-attack-card.is-stolen,
.clicky-core-npc-personal-item.is-stolen,
.clicky-core-location-shop-item.is-stolen,
.clicky-core-shop-party-item.is-stolen,
.clicky-core-player-display-shop-list article.is-stolen {
	border-color: #d87851 !important;
	background-image: linear-gradient( 90deg, rgba( 126, 38, 31, 0.34 ), rgba( 126, 38, 31, 0.08 ) ) !important;
	box-shadow: inset 3px 0 0 #d87851, 0 0 0.55rem rgba( 216, 120, 81, 0.22 );
}

.clicky-core-item-stolen-toggle {
	border-color: #a96d53 !important;
	color: #f2c693 !important;
}

.clicky-core-item-stolen-toggle[aria-pressed="true"] {
	border-color: #f0b267 !important;
	background: #772d28 !important;
	color: #fff4d8 !important;
	box-shadow: 0 0 0.45rem rgba( 240, 178, 103, 0.35 );
}

.clicky-core-sheet-item-flags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	align-items: center;
}

.clicky-core-sheet-stolen,
.clicky-core-npc-personal-item-stolen {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 0.3rem;
	color: #f0b267;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.clicky-core-sheet-stolen input,
.clicky-core-npc-personal-item-stolen input {
	width: 1rem !important;
	height: 1rem !important;
	margin: 0 !important;
	accent-color: #b84f3f;
}

.clicky-core-item-stolen-badge {
	display: inline-flex;
	width: max-content;
	margin-top: 0.25rem;
	padding: 0.12rem 0.45rem;
	border: 1px solid #d87851;
	border-radius: 999px;
	background: #772d28;
	color: #fff4d8;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
