/*
	Imaginary Teleprompter
	Copyright (C) 2015 Imaginary Sense Inc. and contributors

	This file is part of Imaginary Teleprompter.

	Imaginary Teleprompter is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	Imaginary Teleprompter is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with Imaginary Teleprompter.  If not, see <https://www.gnu.org/licenses/>.
*/

body {
	background: #333;
	margin: 0px;
	padding: 0px;
	-webkit-touch-callout: none;
	/*-webkit-user-select: none;*/
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	overflow-x: hidden;
}

#content {
	margin-bottom: 0px;
	padding-top: 10px;
	padding-bottom: 10px;
}

#menu-toggle, #advConfig {
	padding: 12px 11px 11px 11px;
	margin: 0px;
	/*top: 0px;*/
}

a#promptIt {
	background:#EEE;
	font-weight: bold;
	font-size: 1.4em;
}

a#updateIt {
	font-size: 1.2em;
	font-weight: bold;
}

#updateIt:hover {
	background:#EEE;
}

#editorcontainer:-webkit-full-screen {
	width: 100%;
	height: 100%;
	top: 0px;
	bottom: 0px;
}

#editorcontainer {
	position: relative;
	background: #EEE;
	min-height: 320px;
	height: auto;
}

footer #imaginary {
	font-weight: bold;
}

#promptcontainer {
	text-align: center;
	position: relative;
	overflow: auto;
	overflow-x: hidden;
	overflow-y: auto;
	resize: none;
	top: 0px;
	bottom: 0px;
	width: 100%;
	min-height: 78vh;
	height: calc(100% - 69px);	
	/* Cancel 3D transform from intergalactic theme. */
	transform: rotateX(0deg) translate3d(0px,0px,0px) !important;
}

#toolbar {
	position: relative;
	top: 0px;
	width: 100%;
	background: #F0F0F0;
}

#prompt {
	top:0;
	bottom:0;
	left:0;
	right:0;
	/*height: 100%;*/
	left: 6.8vw;
	width: 84vw;
	border: dashed #CCC 0;
	border-right-width: 1pt;
	border-left-width: 1pt;
	word-wrap: break-word;
}

/*#prompt > * {
	border-left: dashed 1pt #CCC;
	border-right: dashed 1pt #CCC;
}*/

#statusbar {
	position: absolute;
	bottom: 0px;
}
#statusbar div {
	border-radius: 7px 6px 7px 0 !important;
}
.mce-menu {
	background: #000;
}

#framecontainer {
	position: fixed;
	margin: 0px;
	padding: 0px;
	top: 105px;
	bottom: 0px;
	width: 100%;
	z-index:10;
	display: none;
	border: none;
}
@media only screen and (min-width: 768px) {
	#framecontainer {
		top: 48px;
	}
}

#footer {
	margin: 0px;
	padding: 20px;
	text-align: center;
	text-shadow: 0 1px 0 rgba(0,0,0,.1);
	background-color: #6f5499;
	background-image: linear-gradient(45deg, #4A4771 0%, #7C3875 100%);
	/*background-image: linear-gradient(to bottom,#563d7c 0,#6f5499 100%);*/
	background-repeat: repeat-x;
	color: #CCF;
}

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

#footer a:hover {
	color: #FFF;
	text-decoration: underline;
}

.fullsize {
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}

ul.bs-docs-footer-links {
	margin: 10px;
}

#editorcontainer a:link {
	color: #333;
}

a:link {
	color: #FFF;
}

a:visited {
	color: #FFF;
}

a:active {
	color: #CCF;
}

.carbonad {
	display:block;
	background:#fdfdfd;
	background-image:-moz-linear-gradient(top,#f8f8f8,#fdfdfd);
	background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#f8f8f8),color-stop(1,#fdfdfd));
	border:1px solid #d5d5d5;
	font-family:Lucida Grande,Arial,Helvetica,sans-serif;
	font-size:11px;
	height:118px;
	line-height:15px;
	overflow:hidden;
	width:300px;
}
.carbonad-img {
	border:none;
	display:inline;
	float:left;
	height:100px;
	margin:9px;
	width:130px;
}
.carbonad-text {
	display:inline;
	float:left;
	width:142px;
	padding-top:13px;
}
.carbonad-text a {
	color:#000;
	text-decoration:none;
	text-transform:none;
}.carbonad-tag {
	float:left;
	margin-top:9px;
	text-align:center;
	width:142px;
	color:#999;
}
.carbonad-tag a {
	color:#999;
	text-decoration:none;
}

.cke_combopanel__fontsize {
	width: 150px !important;
}

.bs-docs-footer-links {
	margin-bottom: 0 !important;
}

#wrapper {
    padding-left: 0;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 250px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    background: rgba(0,0,0,0.9);
    transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 15px;
}

#wrapper {
	will-change: margin-right;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
}

.tooltip.tooltip-main.top, .tooltip-arrow, .tooltip-inner {
	z-index: 0;
}

/* Anchor flag image (botão "Anchor" do CKEditor) fica visível no editor;
   na exibição o <a> sai vazio e é invisível. Não usar display:none aqui. */

/* Remove CKE anchor padding. */
#prompt a {
	padding: 0;
}

/* Jump marker inserted with Ctrl+M. */
#prompt .tp-marker {
	color: #FF5252;
}

/* Sidebar Styles */
#sidebar-connect p {
	color: #999999;
    text-indent: 20px;
    text-align: center;
    margin-top: 20px;
}

.sidebar-nav {
    top: 0;
    min-width: 250px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
}

.sidebar-nav li div {
    display: block;
    text-decoration: none;
    color: #999999;
}

.sidebar-nav li div.list:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}
.sidebar-nav li div.list p:hover {
    cursor: pointer;
}
.glyphicon.glyphicon-chevron-left,
.glyphicon.glyphicon-pencil,
.glyphicon.glyphicon-download {
    cursor: pointer;
}
.glyphicon.glyphicon-folder-open {
	right:4px;
}
.glyphicon.glyphicon-plus {
	right:1px;
}
.list #textBlock {
	word-wrap: break-word;
}

.sidebar-nav li div.addOption:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
}

.editableMode {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
}

.sidebar-nav li div.list:active,
.sidebar-nav li div.list:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand {
    color: #999999;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 250px;
    }
    
    #wrapper.toggled {
        padding-left: 0;
    }
    
    #sidebar-wrapper {
        width: 250px;
        overflow-x: hidden;
    }
    
    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }
    
    #page-content-wrapper {
        padding: 20px;
        position: relative;
    }
    
    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}

.slider.slider-horizontal {
	width: 90%;
}

.disabled {
    pointer-events:none;
    opacity:0.4;
}

.hidden {
	display: none;
}

.slider-handle {
	cursor: pointer;
}

/* ==========================================================
	Modern visual refresh
   ========================================================== */

:root {
	--tp-bg: #14161c;
	--tp-surface: #1e222d;
	--tp-surface-2: #262b38;
	--tp-border: #303747;
	--tp-text: #e8eaf2;
	--tp-muted: #9aa3b8;
	--tp-accent: #4fc3f7;
	--tp-accent-2: #7c5cff;
}

body {
	background: var(--tp-bg);
	color: var(--tp-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

::selection {
	background: rgba(79,195,247,.35);
}

::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}
::-webkit-scrollbar-track {
	background: transparent;
}
::-webkit-scrollbar-thumb {
	background: #3a4152;
	border-radius: 8px;
	border: 2px solid var(--tp-bg);
}
::-webkit-scrollbar-thumb:hover {
	background: var(--tp-accent);
}

/* ---------- Navbar ---------- */

.bs-docs-nav {
	background: linear-gradient(180deg, #20242f 0%, #191c25 100%) !important;
	border-bottom: 1px solid var(--tp-border) !important;
	box-shadow: 0 2px 14px rgba(0,0,0,.45);
}

/* Botões sempre na mesma linha, mesmo com a janela estreita */
.bs-docs-nav .navbar-header {
	float: left !important;
	width: auto;
}

.bs-docs-nav .navbar-brand {
	height: auto;
}

/* Marca: logo + texto "Editfinish ©" */
.bs-docs-nav .navbar-brand {
	display: flex;
	align-items: center;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	color: var(--tp-accent) !important;
	text-decoration: none;
	white-space: nowrap;
}

.bs-docs-nav .navbar-brand:hover {
	color: var(--tp-accent-2) !important;
}

.bs-docs-nav .navbar-brand img {
	width: 400px;
	max-width: 400px;
	height: auto;
}





/* HUD do prompt ao lado da logo: play, velocidade e cronômetro */
.bs-docs-nav .navbar-header {
	display: flex;
	align-items: center;
}

#promptHud {
	display: inline-flex;
	align-items: center;
	margin-left: 16px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255,255,255,.05);
	border: 1px solid var(--tp-border);
	color: var(--tp-muted);
	font-family: "SF Mono", Consolas, Menlo, monospace;
	font-size: 13px;
	white-space: nowrap;
}

#promptHud > * + * {
	margin-left: 8px;
}

#promptHud .hud-play {
	color: var(--tp-muted);
	transition: color .2s ease, filter .2s ease;
}

#promptHud .hud-play.active {
	color: #34d399;
	filter: drop-shadow(0 0 5px rgba(52,211,153,.8));
}

#promptHud .hud-speed {
	color: var(--tp-accent);
	font-weight: 700;
	min-width: 2ch;
	text-align: right;
}

#promptHud .hud-clock {
	color: var(--tp-text);
	font-variant-numeric: tabular-nums;
}

#promptHud .hud-reset {
	display: inline-flex;
	align-items: center;
	padding: 3px;
	border-radius: 50%;
	color: var(--tp-muted);
	transition: color .15s ease, background .15s ease;
}

#promptHud .hud-reset:hover {
	color: var(--tp-accent);
	background: rgba(79,195,247,.15);
}

@media (max-width: 900px) {
	.bs-docs-nav .navbar-brand {
		font-size: 20px;
	}

	.bs-docs-nav .navbar-brand img {
		width: 300px;
		max-width: 300px;
	}
}

/* Telas bem estreitas (smartphone): logo em linha própria, botões na linha de baixo */
@media (max-width: 640px) {
	.bs-docs-nav .navbar-header,
	.bs-docs-nav .navbar-brand,
	.bs-docs-nav .navbar-right,
	.bs-docs-nav .navbar-nav>li {
		float: none !important;
	}

	.bs-docs-nav .navbar-brand {
		display: block;
		font-size: 22px;
		text-align: center;
	}

	.bs-docs-nav .navbar-brand img {
		width: 400px;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}

	.bs-docs-nav .navbar-nav {
		display: block;
		text-align: right;
	}

	.bs-docs-nav .navbar-header {
		display: block;
	}

	#promptHud {
		margin: 0 auto 8px;
		display: flex;
		justify-content: center;
		width: fit-content;
	}

	#sidebar-wrapper {
		top: 172px;
	}
}

.bs-docs-nav .navbar-nav>li {
	float: left !important;
	display: inline-block;
}

.bs-docs-nav .navbar-right {
	float: right !important;
}

.bs-docs-nav .navbar-nav>li+li {
	margin-left: 10px;
}

.bs-docs-nav .navbar-nav>li>a {
	color: var(--tp-muted) !important;
	font-weight: 600;
	letter-spacing: .2px;
	border-radius: 999px;
	margin: 8px 0;
	padding: 7px 16px;
	transition: color .15s ease, background .15s ease, box-shadow .15s ease;
}

.bs-docs-nav .navbar-nav>li>a:hover,
.bs-docs-nav .navbar-nav>li>a:focus {
	color: #fff !important;
	background: rgba(255,255,255,.07) !important;
}

.bs-docs-nav .navbar-nav>.active>a,
.bs-docs-nav .navbar-nav>.active>a:hover,
.bs-docs-nav .navbar-nav>.active>a:focus {
	background: linear-gradient(135deg, var(--tp-accent), var(--tp-accent-2)) !important;
	color: #fff !important;
	box-shadow: 0 3px 12px rgba(79,195,247,.35);
}

.bs-docs-nav .navbar-brand {
	padding: 10px 15px;
}

/* Main call-to-action button. */
a#promptIt {
	background: linear-gradient(135deg, var(--tp-accent) 0%, var(--tp-accent-2) 100%) !important;
	color: #fff !important;
	font-size: 1.15em;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(79,195,247,.35);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px !important;
}

a#slashesIt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

a#promptIt:hover {
	background: linear-gradient(135deg, #6fd0fa 0%, #8f73ff 100%) !important;
	box-shadow: 0 6px 18px rgba(79,195,247,.5);
	transform: translateY(-1px);
}

a#updateIt {
	background: var(--tp-surface-2);
	border: 1px solid var(--tp-border);
	color: #fff !important;
	border-radius: 999px;
}

a#updateIt:hover {
	background: #2f3546 !important;
}

#menu-toggle, #advConfig {
	margin: 0 !important;
	padding: 12px 11px !important;
	opacity: .75;
	transition: opacity .15s ease, transform .15s ease;
}
#menu-toggle:hover, #advConfig:hover {
	opacity: 1;
	transform: scale(1.08);
}

/* ---------- Controls panel ---------- */

.bs-docs-header {
	background: var(--tp-surface) !important;
	border-bottom: 1px solid var(--tp-border);
	font-size: 15px;
	text-shadow: none;
}

#content {
	padding-top: 18px;
	padding-bottom: 20px;
}

.bs-docs-header label,
.bs-docs-header small {
	color: var(--tp-muted);
	font-weight: 600;
	letter-spacing: .3px;
	text-shadow: none;
}

.form-control {
	background: var(--tp-surface-2) !important;
	border: 1px solid var(--tp-border) !important;
	color: var(--tp-text) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.form-control:focus {
	border-color: var(--tp-accent) !important;
	box-shadow: 0 0 0 3px rgba(79,195,247,.18) !important;
}

select.form-control option {
	background: var(--tp-surface);
	color: var(--tp-text);
}

/* ---------- Sliders ---------- */

.slider-track {
	background: var(--tp-surface-2) !important;
	box-shadow: inset 0 1px 3px rgba(0,0,0,.45) !important;
}

.slider-selection {
	background: linear-gradient(90deg, var(--tp-accent), var(--tp-accent-2)) !important;
	box-shadow: none !important;
}

.slider-handle {
	background: #fff !important;
	border: 2px solid var(--tp-accent) !important;
	box-shadow: 0 1px 5px rgba(0,0,0,.45) !important;
}

.slider-tick {
	background: #4a5266 !important;
}

/* ---------- Buttons ---------- */

.btn {
	border: 1px solid var(--tp-border) !important;
	transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.btn-default {
	background: var(--tp-surface-2) !important;
	color: var(--tp-text) !important;
}

.btn-default:hover,
.btn-default:focus {
	background: #2f3546 !important;
	color: #fff !important;
}

.btn-primary,
.btn-primary.active,
.btn-primary:hover {
	background: linear-gradient(135deg, var(--tp-accent), var(--tp-accent-2)) !important;
	border-color: transparent !important;
	color: #fff !important;
}

.btn-danger,
.btn-danger:hover {
	background: #e05260 !important;
	border-color: transparent !important;
	color: #fff !important;
}

.btn-success,
.btn-success:hover {
	background: #2fbf71 !important;
	border-color: transparent !important;
	color: #fff !important;
}

/* Toggle groups (Timer / Pausas). */
.btn-toggle .btn {
	border-radius: 0 !important;
}
.btn-toggle .btn:first-child {
	border-radius: 8px 0 0 8px !important;
}
.btn-toggle .btn:last-child {
	border-radius: 0 8px 8px 0 !important;
}

/* ---------- Editor card ---------- */

#editorcontainer {
	background: #fff;
	border-radius: 14px;
	width: calc(100% - 36px);
	max-width: 1400px;
	margin: 22px auto;
	overflow: hidden;
	box-shadow: 0 14px 44px rgba(0,0,0,.5);
}

#editorcontainer:-webkit-full-screen {
	width: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
}

#toolbar {
	background: #f6f7fb;
	border-bottom: 1px solid #e5e8f0;
	border-radius: 14px 14px 0 0;
	overflow: hidden;
}

#promptcontainer {
	background: #fff;
	color: #2b2f36;
}

#prompt {
	border-right: 1pt solid #e7eaf2;
	border-left: 1pt solid #e7eaf2;
	/* Editor sempre em 20px — o slider de fonte afeta apenas o prompt. */
	font-size: 20px !important;
	line-height: 1.5;
}

/* Logo exibida apenas quando o editor está vazio */
#tpLogoOverlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	z-index: 5;
}

#tpLogoOverlay img {
	max-width: 16.5%;
	max-height: 21%;
	object-fit: contain;
}

@media (orientation: portrait) and (max-width: 768px) {
	#tpLogoOverlay img {
		max-width: 26.4%;
		max-height: 33.6%;
	}
}

#editorcontainer hr {
	border-color: #e5e8f0;
}

/* ---------- Sidebar ---------- */

#sidebar-wrapper {
	background: rgba(18,20,27,.97);
	border-right: 1px solid var(--tp-border);
	box-shadow: 4px 0 24px rgba(0,0,0,.4);
}

.sidebar-nav > .sidebar-brand {
	color: #fff;
	font-weight: 700;
	letter-spacing: .4px;
}

.sidebar-nav li div.list:hover,
.sidebar-nav li div.addOption:hover {
	background: rgba(79,195,247,.12);
}

.editableMode {
	background: rgba(79,195,247,.2);
}

/* ---------- Footer ---------- */

#footer.bs-docs-footer {
	background: #101218;
	background-image: none;
	border-top: 1px solid var(--tp-border);
	text-shadow: none;
	color: var(--tp-muted);
	margin-top: 40px;
}

#footer p {
	color: var(--tp-muted) !important;
}

#footer a,
#footer a:link,
#footer a:visited {
	color: var(--tp-accent) !important;
}

#footer a:hover {
	color: #fff !important;
}

/* ---------- Modals ---------- */

.modalDialog {
	background: rgba(8,10,14,.72);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.modalDialog .panel {
	background: var(--tp-surface);
	border: 1px solid var(--tp-border);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0,0,0,.55);
	color: var(--tp-text);
}

.modalDialog .panel-heading {
	background: var(--tp-surface-2) !important;
	border-bottom: 1px solid var(--tp-border) !important;
	border-radius: 0;
	color: var(--tp-text);
}

.modalDialog .panel-heading h1,
.modalDialog h1 {
	color: var(--tp-text);
}

.modalDialog small {
	color: var(--tp-muted);
}

.modalDialog .panel-body {
	color: var(--tp-text);
}

.modalDialog .panel-footer {
	background: transparent !important;
	border-top: 1px solid var(--tp-border) !important;
}

.modalDialog .control-label {
	color: var(--tp-muted);
}

.modalDialog .table-bordered,
.modalDialog .table-bordered>tbody>tr>th,
.modalDialog .table-bordered>tbody>tr>td {
	border-color: var(--tp-border) !important;
	color: var(--tp-text);
}

.modalDialog .input-group-addon {
	background: var(--tp-surface-2) !important;
	border: 1px solid var(--tp-border) !important;
	color: var(--tp-muted) !important;
}

.modalDialog .pager .btn {
	margin: 0 4px;
}

.close {
	background: var(--tp-surface-2);
	border: 1px solid var(--tp-border);
	box-shadow: none;
	color: var(--tp-muted);
}

.close:hover {
	background: var(--tp-accent);
	color: #0d1117;
}

/* ---------- Status bar ---------- */

#statusbar {
	opacity: .9;
}

/* ---------- Scripts band (faixa horizontal) ---------- */

/* O conteúdo não é mais deslocado: a faixa flutua abaixo da navbar */
#wrapper,
#wrapper.toggled {
	padding-left: 0 !important;
}

#wrapper.toggled #page-content-wrapper {
	position: relative;
	margin-right: 0;
}

#sidebar-wrapper {
	top: 78px;
	left: 0;
	right: 0;
	width: 100%;
	height: auto;
	max-height: 340px;
	margin-left: 0;
	padding: 0;
	overflow: hidden;
	background: rgba(18,20,27,.97);
	border-right: none;
	border-bottom: 1px solid var(--tp-border);
	box-shadow: 0 14px 30px rgba(0,0,0,.5);
	transition: max-height .35s ease;
}

/* Estado fechado (desktop usa .toggled = fechado) */
#wrapper.toggled #sidebar-wrapper {
	width: 100%;
	max-height: 0;
	border-bottom: none;
}

/* Lista horizontal de textos */
ul#scripts.sidebar-nav {
	position: static;
	top: auto;
	min-width: 0;
	width: 100%;
	margin: 0;
	padding: 14px 16px 8px;
	list-style: none;
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	overflow-x: auto;
	overflow-y: hidden;
}

#scripts li {
	text-indent: 0;
	line-height: 1.4;
	flex: 0 0 auto;
	list-style: none;
}

/* Cabeçalho "Textos" + botão fechar */
#scripts li.sidebar-brand {
	height: auto;
	font-size: 15px;
	line-height: 1.4;
	display: flex;
	align-items: center;
	padding: 0 10px 0 0;
	color: #fff;
}

#scripts li.sidebar-brand .col-xs-6 {
	float: none;
	width: auto;
	padding: 0 8px 0 0;
}

#scripts li.sidebar-brand .glyphicon-remove {
	cursor: pointer;
	color: var(--tp-muted);
	padding: 6px;
	border-radius: 6px;
	border: 1px solid var(--tp-border);
	background: rgba(255,255,255,.05);
}

#scripts li.sidebar-brand .glyphicon-remove:hover {
	color: #fff;
	background: #ea5455;
	border-color: #ea5455;
}

/* Cards dos textos */
#scripts li div.list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: flex-start;
	width: 200px;
	min-height: 92px;
	padding: 10px 12px;
	background: var(--tp-surface-2);
	border: 1px solid var(--tp-border);
	border-radius: 10px;
	color: var(--tp-text);
	transition: border-color .2s, transform .15s;
}

#scripts li div.list:hover {
	border-color: var(--tp-accent);
	transform: translateY(-2px);
}

#scripts li div.list p#textBlock {
	width: 100%;
	margin: 0 0 10px;
	padding: 0;
	color: var(--tp-text);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.35;
}

/* Ícones de ação: Editar, Carregar, Exportar, Deletar */
#scripts li div.list span.glyphicon {
	position: static;
	cursor: pointer;
	padding: 6px 7px;
	margin-right: 6px;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1;
	color: var(--tp-muted);
	background: rgba(255,255,255,.05);
	border: 1px solid var(--tp-border);
	transition: background .15s, color .15s, border-color .15s;
}

#scripts li div.list span.glyphicon:hover {
	color: #fff;
	border-color: transparent;
}

#scripts li div.list span#editMode:hover { background: var(--tp-accent); }
#scripts li div.list span#loadMode:hover { background: var(--tp-accent-2); }
#scripts li div.list span#download:hover { background: #28c76f; }
#scripts li div.list span#deleteMode:hover { background: #ea5455; }

#scripts li div.list.editableMode {
	border-color: var(--tp-accent);
	background: rgba(79,195,247,.1);
}

/* Rodapé da faixa: Importar / Adicionar */
#scriptsFooter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 4px 16px 14px;
}

#scriptsFooter li {
	list-style: none;
	text-indent: 0;
	line-height: 1.4;
	margin: 0 10px 0 0;
	padding: 0;
	border-radius: 8px;
}

#scriptsFooter div.addOption {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: 8px;
	background: var(--tp-surface-2);
	border: 1px dashed var(--tp-border);
	color: var(--tp-muted);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

#scriptsFooter div.addOption:hover {
	color: #fff;
	border-color: var(--tp-accent);
	background: rgba(79,195,247,.12);
}

#scriptsFooter div.addOption .glyphicon {
	margin-right: 8px;
	position: static;
}

#scriptsFooter div.addOption p#textBlock {
	display: inline;
	margin: 0;
	color: inherit;
}

#scriptsFooter input#files {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

/* Modo de exibição: esconde logo, botões e faixa de textos — só o counter (HUD) fica no topo */
body.prompt-mode #top {
	margin-bottom: 0;
}

body.prompt-mode .bs-docs-nav .navbar-brand,
body.prompt-mode .bs-docs-nav .navbar-right,
body.prompt-mode #sidebar-wrapper {
	display: none !important;
}

body.prompt-mode .bs-docs-nav .navbar-header {
	float: none !important;
	width: 100%;
	display: flex;
	justify-content: center;
}

body.prompt-mode #promptHud {
	margin: 8px 0;
}

body.prompt-mode #framecontainer {
	top: 50px;
}
