.is-collapsible{
height:0;
overflow-y:hidden;
}
.is-collapsible.is-active{
	height:auto;
}

.js-modal-trigger,
.theme-option {cursor: pointer;}

#queueIsClean {
	background-image: url(kitteh.png);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
	height: 600px;
	}
#AutoModerator-active {display: none}

.usernote-row {margin-bottom: 0.5rem}

a,p {overflow-wrap: anywhere}

.resizeable {
	max-width: unset
}

.navbar-menu {
    background-color: unset;
}

nav.navbar.is-white {
	box-shadow: 0 0px 6px rgba(0,0,0,0.16), 0 0px 6px rgba(0,0,0,0.23);
	position: sticky;
	top: 0
}

html {
	scroll-padding-top: 4.5rem;
}

html, body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	height: auto;
	background: #ECF0F3;
}
nav.navbar {
	border-top: 3px solid #FF5700;
	margin-bottom: 1rem;
}
.navbar-item.brand-text {
	font-weight: 300;
}
.navbar-item, .navbar-link {
	font-size: 14px;
	font-weight: 700;
}
.columns {
	width: 100%;
	height: 100%;
	margin-left: 0;
}
.menu-label {
	color: #8F99A3;
	letter-spacing: 1.3;
	font-weight: 700;
}
.menu-list a {
	color: #0F1D38;
	font-size: 14px;
	font-weight: 700;
}
.menu-list a:hover {
	background-color: transparent;
	color: #276cda;
}
.menu-list a.is-active {
	background-color: transparent;
	color: #276cda;
	font-weight: 700;
}
.card {
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.18);
	margin-bottom: 2rem;
}
.card-header-title {
	color: #8F99A3;
	font-weight: 400;
}
.info-tiles {
	margin: 1rem 0;
}
.info-tiles .subtitle {
	font-weight: 300;
	color: #8F99A3;
}
.hero.welcome.is-info {
	background: #36D1DC;
	background: -webkit-linear-gradient(to right, #5B86E5, #36D1DC);
	background: linear-gradient(to right, #5B86E5, #36D1DC);
}
.hero.welcome .title, .hero.welcome .subtitle {
	color: hsl(192, 17%, 99%);
}
.card .content {
	font-size: 14px;
}
.card-footer-item {
	font-size: 14px;
	font-weight: 700;
	color: #8F99A3;
}

.sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 5rem;
}

.is-orangered {
	color: 000;
	background-color: #FF5700;
	z-index: 1
}

.badge {box-shadow: unset}

#DIYRuleTextarea {
	width: 100%;
	resize: vertical;
}

.navbar-item div {
	cursor: pointer;
}

.card-footer-item {
	padding: 0.75rem 0;
}

.confirm-action .confirm-expanded { margin-top: 0.5rem; }
.flex-1 { flex: 1; }


/*This is a bad idea*/
pre { overflow-x: unset !important}
pre code {white-space: pre-wrap;}

/* ---------------------------------------------------------------------------
   Keyboard navigation focus indicator
   Removal sidebar
--------------------------------------------------------------------------- */
.card.is-focused {
	outline: 2px solid var(--link, #3273dc);
	outline-offset: 2px;
}


/* ---------------------------------------------------------------------------
   Keyboard key chips (used in shortcuts modal)
--------------------------------------------------------------------------- */
kbd {
	display: inline-block;
	padding: 0.15em 0.45em;
	font-size: 0.85em;
	font-family: monospace;
	line-height: 1.4;
	line-height: 1.4;
	color: var(--text0);
	background-color: var(--base2);
	background-color: var(--base2);
	border: 1px solid var(--base3);
}

/* ---------------------------------------------------------------------------
   Removal sidebar
   --------------------------------------------------------------------------- */

.removal-reason-label {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 0.4rem 0.75rem;
	cursor: pointer;
	border-radius: 4px;
	line-height: 1.4;
	color: var(--text0);
}

.removal-reason-label:hover {
	background-color: var(--base2);
}

.removal-reason-label input[type="checkbox"] {
	flex-shrink: 0;
	margin-top: 0.2rem;
}

.removal-reason-title {
	flex: 1;
	min-width: 0;
	word-wrap: break-word;
}

.removal-reason-text {
	padding: 0.5rem 0.75rem;
	margin: 0 0.25rem 0.25rem;
	background-color: var(--base2);
	border-left: 3px solid var(--base3);
	border-radius: 0 4px 4px 0;
	font-size: 0.875rem;
	color: var(--text0);
}

.removal-ban-message {
	margin-bottom: 0.6rem;
}


/* ---------------------------------------------------------------------------
   Test
--------------------------------------------------------------------------- */

/* --- queue_infobar --- */
.training-notice {
	padding: 0.5rem 0.75rem;
	margin-bottom: 0.75rem;
}
.training-notice strong {
	color: #363636;
}

/* --- queue sidebar / infobar --- */
.queue-sidebar {
	overflow-y: auto;
	overflow-x: hidden;
	height: calc(100vh - 100px);
}

/* --- queue badge (queuecount) --- */
.queue-badge {
	margin-top: 20px;
	margin-right: 6px;
}

/* --- queue_items card footer --- */
.card-footer-actions {
	gap: 0;
}
.card-footer-action {
	padding: 0.5rem;
}
.card-footer-flag {
	flex: 0 0 auto;
	padding: 0.5rem;
}
button.btn-flag {
	padding: 0.5rem 0.75rem;
	background-color: rgba(0, 0, 0, 0.05);
	color: var(--text1);
	border: none
}
.overview-link {
	font-size: 0.6rem;
}
.usernote-column {
	margin: 0.5rem;
}
.usernote-hr {
	margin: 0;
}

/* --- settings --- */
.field-label-grow {
	flex-grow: 1;
}
.field-label-grow-3 {
	flex-grow: 3;
}
.control-right {
	justify-content: flex-end;
}
.settings-card {
	margin-top: 1.5rem;
}
.bot-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 0.75rem;
	min-height: 2rem;
}
.bot-built-in {
	opacity: 0.6;
}
.bot-error {
	display: none;
}

/* --- admin --- */
.admin-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 1.25rem;
	padding: 1.5rem 0;
}
.user-card {
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.2s ease;
}
.user-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.user-card-header {
	background: #FF5700;
	padding: 0.85rem 1.25rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.user-card-header .username {
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
	flex: 1;
}
.user-card-header .admin-badge {
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	background: rgba(255,255,255,0.25);
	color: #fff;
	padding: 0.2em 0.6em;
	border-radius: 4px;
}
.user-card-header .save-indicator {
	font-size: 0.75rem;
	font-weight: 600;
	color: rgba(255,255,255,0.85);
	opacity: 0;
	transition: opacity 0.2s ease;
	min-width: 60px;
	text-align: right;
}
.user-card-header .save-indicator.saving,
.user-card-header .save-indicator.saved,
.user-card-header .save-indicator.error { opacity: 1; }
.user-card-header .save-indicator.error { color: #ffdd57; }
.toggle-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--base2, #f0f0f0);
}
.toggle-row:last-of-type { border-bottom: none; }
.toggle-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text1, #555);
}
.toggle-label small {
	display: block;
	font-weight: 400;
	font-size: 0.75rem;
	color: var(--text1, #888);
	margin-top: 0.1rem;
}
.pill-toggle {
	display: flex;
	background: var(--base3, #eee);
	border-radius: 6px;
	padding: 3px;
	gap: 2px;
}
.pill-toggle input[type="radio"] { display: none; }
.pill-toggle label {
	padding: 0.25rem 0.75rem;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	color: var(--text1, #666);
	transition: all 0.15s ease;
	user-select: none;
}
.pill-toggle input[type="radio"]:checked + label {
	background: #fff;
	color: #363636;
	box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.pill-toggle.is-success input[type="radio"]:checked + label {
	background: #23d160;
	color: #fff;
}
.pill-toggle.is-warning input[type="radio"]:checked + label {
	background: #ffdd57;
	color: #363636;
}
.card-actions {
	display: flex;
	gap: 0.5rem;
	padding-top: 0.85rem;
	margin-top: 0.25rem;
	border-top: 1px solid var(--base2, #f0f0f0);
}
.card-actions button { flex: 1; }
.pill-toggle.is-locked {
	opacity: 0.45;
	pointer-events: none;
	cursor: not-allowed;
}
.pill-toggle.is-locked label { cursor: not-allowed; }
.sole-admin-notice {
	font-size: 0.72rem;
	color: var(--text1, #888);
	font-style: italic;
	margin-top: 0.35rem;
}
.admin-page-title { margin-top: 1.5rem; }
.admin-card-content { padding: 1rem 1.25rem; }
.modal-card-foot-right {
	justify-content: flex-end;
	gap: 0.5rem;
}

/* --- base.jinja2 settings modal --- */
.settings-modal-content {
	width: 90%;
	max-width: 550px;
}
.settings-modal-box {
	padding: 0;
	border-radius: 8px;
	overflow: hidden;
}
.settings-modal-header {
	background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
	padding: 1.5rem;
	border-bottom: 1px solid var(--bg3);
	text-align: center;
}
.settings-modal-header .title {
	color: var(--text1);
}
.settings-modal-header .subtitle {
	margin: 0.25rem 0 0 0;
	color: var(--text2);
}
.settings-modal-body {
	padding: 1.5rem;
}
.settings-section {
	margin-bottom: 2rem;
}
.settings-section-border {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--bg3);
}
.settings-section-title {
	color: var(--text1);
	margin-bottom: 1rem;
}
.settings-theme-grid {
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}
.settings-theme-btn {
	flex: 0 1 calc(50% - 0.375rem);
	padding: 0.75rem;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s;
}
.settings-pref-label {
	align-items: flex-start;
	display: flex;
	gap: 0.75rem;
	margin: 0;
	padding: 0.75rem;
}
.settings-pref-checkbox { margin-top: 0.25rem; }
.settings-pref-desc {
	font-size: 0.875rem;
	color: var(--text2);
	margin-top: 0.25rem;
}
.settings-pref-title { color: var(--text1); }
.settings-confirm-token { margin-bottom: 1rem; }
.settings-confirm-btn {
	border-radius: 6px;
}
.settings-confirm-inner-btn {
	border-radius: 4px;
}

/* --- user.jinja2 --- */
.user-section { padding: 1rem 1.5rem; }
.user-card-header-title { display: block; }
