@charset "utf-8";
/*
  GuildWarsAlliance Theme for phpBB version 2+
  Created by Daniel of Gaming Exe (aka Daniel Exe on the phpbb.com forums)
  http://www.gamexe.net
*/
.youtube-preview {
    position: relative;
    z-index: 9999;
    pointer-events: auto;
}

.youtube-preview a {
    display: inline-block;
    pointer-events: auto;
}

 /* General page style. */
body {background-color: #826F2D; 
	background-image:url('images/bg.gif');
	font-size: 10pt;
	color:#B9C0BC;
	font-family: arial;
	margin: 0px;}

 /* Used to center the layout. */
.center {
text-align:center;
}

/* ===============================
   CONTROL REAL DE IMÁGENES phpBB2
=============================== */

/* TODO el contenido de mensajes */

/* =========================================
   FIX DEFINITIVO IMÁGENES EN POSTS phpBB2
   SOLO BBCode [img]
========================================= */

/* Imagen grande posteada */
.postbody a.postlink img {
    display: block !important;
    margin: 10px auto !important;
    max-width: 95% !important;
    height: auto !important;
}

/* El enlace que envuelve la imagen */
.postbody a.postlink {
    display: block !important;
    clear: both !important;
    text-align: center !important;
}

/* Smilies y íconos: NO TOCAR */
.postbody img.smilies {
    display: inline !important;
    margin: 0 !important;
    max-width: none !important;
    height: auto !important;
}

/* Firmas */


/* Anti-ensanchamiento */
td.postbody,
td.msgbody,
.signature {
    overflow: hidden !important;
    word-wrap: break-word;
}




/* ================================
   CONTROL REAL DE IMAGENES EN POSTS
   phpBB2 GuildWarsAlliance
================================ */

/* El link que envuelve la imagen */
.postbody a.postlink {
    display: block !important;
    clear: both !important;
    text-align: center;
    margin: 8px 0;
}

/* La imagen en sí */
.postbody a.postlink img {
    display: block !important;
    max-width: 700px;   /* ← ACA CONTROLÁS EL TAMAÑO */
    height: auto;
    margin: 0 auto;
}

 /* Background for content*/
table.content {background-image: url(images/bg.gif); background-repeat: repeat;}

 /* Used to center the layout. */
.center table {
margin-left:auto;
margin-right:auto;
text-align:left;
}

/* Used for who is online image */
.wonline { float: center; _margin-left: 14px; }

 /* Backgrounds for log in/log out cells */
.log1 {background-image: url(images/log2.gif);}
.log2 {background-image: url(images/log3.gif);}

 /* Bar above and below forum list on index. */
td.bar {background-image: url(images/bar.gif); background-repeat: repeat;}

 /* Black border that surrounds everything bellow the banner. */
table.border {border-style: solid; border-color: #000000; border-width:1px; text-align:center;}

 /* Style of the td in the navigation that contains the menu links. */
td.menubg {background-image:url('images/menu_center.gif'); text-align:left;}

 /* Style of the td below navigation. */
td.bg2 { background-image:url('images/bg2.gif'); background-repeat: no-repeat; background-position: top center; }

/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
a:link,a:active,a:visited { text-decoration: none; color : #745e46; }
a:hover		{ text-decoration: underline; color : #907557; }
hr	{ height: 0px; border: solid #33291f 0px; border-top-width: 1px;}

/* This is the outline round the main forum tables */
.forumline	{ background-color: #0D1010; border: 2px #3c3125 solid; }

.indextable { border:1px solid #000; }

/* Who is online box */
td.stats1 {background-image:url('images/stats_top.gif'); }
td.stats2 {background-image:url('images/stats_top2.gif'); }
td.stats3 {background-image:url('images/stats_top3.gif'); }
td.stats4 {background-image:url('images/stats_bg.gif'); }
td.stats5 {background-image:url('images/stats_bottom.gif'); }

/* Main table cell colours and backgrounds */
td.row1	{ background-color: #181D1D; }
td.row2	{ background-color: #1D2221; }
td.row3	{ background-color: #181D1D; }
td.row4	{ background-image:url('images/cellbg.gif'); }

/* The  post legend on the index */
table.ilegend	{ background-color: #181D1D; padding:4px; border:1px solid #000000; }

/* The  post legend when viewing a forum and the table surrounding the private message images */
table.flegend	{ background-color: #181D1D; padding:2px; border:1px solid #000000; }

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
		background-color: #272F2E;
		background-image: url(images/cellpic2.jpg);
		background-repeat: repeat;
}

/* Header cells - the blue and silver gradient backgrounds */
th	{
	color: #907557; font-size: 11px; font-weight : bold;
	background-color: #343E3D; height: 30px;
	background-image: url(images/cellpic3.gif);
	text-align: center;
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
			background-image: url(images/cellpic1.gif);
			background-color:#1C2525; height: 26px;
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
	height: 28px;
	border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerL2,th.thCornerR {
	font-weight: bold; height: 28px; }
td.row3Right,td.spaceRow { background-color: #161A19; }

th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow	 { border-width: 0px 1px 0px 1px; }
th.thRight,td.row3Right	 { border-width: 0px 1px 0px 0px; }
th.thLeft	  { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop	 { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }
th.thCornerL2 { border-width: 1px 0px 0px 1px; background-image:url('images/cellpic4.gif'); }

/* The largest text used in the index page title and toptic title etc. */
.maintitle,h1,h2	{
			font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
			text-decoration: none; line-height : 120%; color : #000000;
}

/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; }
.gen,.genmed,.gensmall { color : #ffffff; }
a.gen,a.genmed,a.gensmall { color: #B9C0BC; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: #B9C0BC; text-decoration: underline; }


/* The register, login, search etc links at the top of the page */
.mainmenu		{ font-size : 11px; color : #E1E2E2; line-height : 180%;}
a.mainmenu,a.mainmenu:visited	{ text-decoration: none; color : #E1E2E2;  }
a.mainmenu:hover{ text-decoration: underline; color : #a58766; }

/* Forum category titles */
.cattitle		{ font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #a58766}
a.cattitle,a.cattitle:visited	{ text-decoration: none; color : #91775b; }
a.cattitle:hover{ text-decoration: none; }


/* Forum title: Text and link to the forums used in: index.php */
.forumlink		{ font-weight: bold; font-size: 12px; color : #a58766; }
a.forumlink,a.forumlink:visited	{ text-decoration: none; color : #a58766; }
a.forumlink:hover{ text-decoration: none; color : #91775b; }


/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav			{ font-weight: bold; font-size: 11px; color : #a58766; }
a.nav,a.nav:visited	{ text-decoration: none; color : #a58766; }
a.nav:hover		{ text-decoration: underline; color : #91775b; }

/* titles for the topics */
.topictitle			{ font-weight: bold; font-size: 11px; color : #a58766; }
a.topictitle:link,a.topictitle:visited   { text-decoration: none; color : #a58766; }
a.topictitle:hover	{ text-decoration: underline; color : #91775b; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name			{ font-size : 11px; color : #a58766;}

/* Location, number of posts, post date etc */
.postdetails		{ font-size : 10px; color : #a58766; }

/* The content of the posts (body of text) */
.postbody { font-size : 12px;}
a.postlink:link	{ text-decoration: none; color : #7FAA9A; }
a.postlink:visited { text-decoration: none; color : #7FAA9A; }
a.postlink:hover { text-decoration: underline; color : #4CAC89; }

/* Quote & Code blocks */
.code {
	font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #a58766;
	background-color: #403427; border: #95795a; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #a58766; line-height: 125%;
	background-color: #403427; border: #95795a; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

/* Copyright and bottom info */
.copyright		{ font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #95795a; letter-spacing: -1px;}
a.copyright		{ color: #95795a; text-decoration: none;}
a.copyright:hover { color: #604e3a; text-decoration: none;}

/* Form elements */

textarea,select {
	color : #251e17;
	font: normal 11px Verdana, Arial, Helvetica, sans-serif;
	border: 1px inset #0D1010;
	vertical-align: middle; 
	
}

/* The text input fields background colour */
textarea.post{ 
	background-color : #5b4a37; 
	background-image : url(images/textbg.gif);
	background-repeat: repeat;
	text-align: left;
	vertical-align: top;
}

input.post, select {
	background-color : #6e5943;
	background-image : url(images/inputbg.gif);
	background-repeat: repeat;
	border: 1px inset #0D1010;
	text-align: left;
}

input {
	text-indent : 2px;
	text-align: center;
	vertical-align: middle; 
}

/* The buttons used for bbCode styling in message post */
input.button {
	background-color : #514231;
	color : #1b1611;
	font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
	background-image : url(images/buttonbg.gif);
	background-repeat: repeat;
	border: 1px outset #0D1010;
}

/* The main submit button option */
input.mainoption {
	background-color : #514231;
	font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight : bold;
	background-image : url(images/buttonbg.gif);
	background-repeat: repeat;
	border: 1px outset #0D1010;
}

/* None-bold submit button */
input.liteoption {
	background-color : #514231;
	font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight : normal;
	background-image : url(images/buttonbg.gif);
	background-repeat: repeat;
	border: 1px outset #0D1010;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: #1D2221; color : #97B2AD; border-style: none; }
/* =========================================
   FIX DEFINITIVO IMÁGENES phpBB2
   GuildWarsAlliance
========================================= */

/* El enlace que envuelve la imagen */
span.postbody a.postlink {
    display: block !important;
    clear: both !important;
    float: none !important;
    text-align: center !important;
    margin: 10px 0 !important;
}

/* La imagen */
span.postbody a.postlink img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 95% !important;
    height: auto !important;
}
/* =========================================
   FIX DEFINITIVO IMÁGENES EN POSTS phpBB2
   SOLO BBCode [img]
========================================= */

/* SOLO imágenes posteadas con [img] */
.postbody a.postlink img {
    display: block !important;
    margin: 10px auto !important;
    max-width: 95% !important;
    height: auto !important;
}

/* El contenedor del link */
.postbody a.postlink {
    display: block !important;
    clear: both !important;
    text-align: center !important;
}

/* Smilies e iconos: NO TOCAR */
.postbody img.smilies,
.postbody img[alt*="icon"],
.postbody img[src*="icon"],
.postbody img[src*="rank"] {
    display: inline !important;
    max-width: none !important;
    margin: 0 !important;
    height: auto !important;
}

/* ==============================
   FIRMA – ESTILO FINO / PRO
============================== */

.signature,
.sig {
    margin-top: 6px !important;
    padding-top: 6px !important;
    border-top: 1px solid #3a2a1a;
    opacity: 0.9;
}




/* ==============================
   FIRMA – ESTILO FINO DEFINITIVO
============================== */

.signature,
.sig {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #3a2a1a;
    opacity: 0.9;
}

/* Imagen en firma */
.signature img,
.sig img {
    display: block;
    margin: 6px auto;
    max-width: 100px;   /* ← MÁS FINA */
    max-height: 50px;  /* ← MÁS FINA */
    width: auto;
    height: auto;
    opacity: 0.85;
}

/* Smilies en firma: NO tocar */
.signature img.smilies,
.sig img.smilies {
    display: inline;
    max-width: none;
    max-height: none;
    opacity: 1;
}






/* =========================================
   CONTROL DE IMÁGENES EN FIRMAS – phpBB2
========================================= */



/* Smilies en firmas NO tocar */
.signature img.smilies {
    display: inline;
    max-width: none;
    max-height: none;
}


/* ==============================
   FIRMA – CONTROL TOTAL IMÁGENES
   (incluye URLs externas)
============================== */

.signature img:not(.smilies),
.sig img:not(.smilies) {
    display: block !important;
    margin: 6px auto !important;
    max-width: 320px !important;   /* ← AJUSTÁ ACÁ */
    max-height: 120px !important;  /* ← AJUSTÁ ACÁ */
    width: auto !important;
    height: auto !important;
    opacity: 0.85;
}

/* Smilies en firma NO tocar */
.signature img.smilies,
.sig img.smilies {
    display: inline !important;
    max-width: none !important;
    max-height: none !important;
    opacity: 1 !important;
}









/* Backup por si algún template varía */
/* Imágenes grandes (NO smilies) */
span.postbody a.postlink img {
    display: block !important;
    margin: 10px auto !important;
    max-width: 95% !important;
    height: auto !important;
}

/* Smilies: comportamiento normal */
span.postbody img.smilies {
    display: inline !important;
    margin: 0 !important;
    max-width: none !important;
    height: auto !important;
}







/* ===== CHAT SAINTMU ===== */

.saint-chat-box {
    width: 95%;
    margin: 20px auto;
    background: #0f0f0f;
    border: 2px solid #5a0000;
    box-shadow: 0 0 15px rgba(255,0,0,0.3);
    font-family: Tahoma, Arial;
}

.saint-chat-header {
    background: linear-gradient(#4a0000, #1a0000);
    color: #ffcc66;
    text-align: center;
    padding: 6px;
    font-weight: bold;
    letter-spacing: 1px;
    border-bottom: 1px solid #7a0000;
}

/* MENSAJES */
.saint-chat-messages {
    height: 160px;
    overflow-y: auto;
    background: #111;
    padding: 6px;
    color: #ddd;
    font-size: 12px;
}

/* Scroll MU */
.saint-chat-messages::-webkit-scrollbar {
    width: 8px;
}
.saint-chat-messages::-webkit-scrollbar-track {
    background: #111;
}
.saint-chat-messages::-webkit-scrollbar-thumb {
    background: #7a0000;
    border-radius: 4px;
}

/* MENSAJE */
.chat-msg {
    margin-bottom: 4px;
}
.chat-user {
    font-weight: bold;
    color: #c0c0c0;
}

/* ADMIN */
.chat-admin .chat-user {
    color: #ff4444;
}

/* GM */
.chat-gm .chat-user {
    color: #4da6ff;
}

/* FORM */
.saint-chat-form {
    display: flex;
    border-top: 1px solid #7a0000;
}

.saint-chat-form input {
    flex: 1;
    background: #000;
    border: none;
    padding: 6px;
    color: #fff;
}

.saint-chat-form input:focus {
    outline: none;
}

.saint-chat-form button {
    background: linear-gradient(#7a0000, #3a0000);
    border: none;
    color: #ffcc66;
    padding: 0 15px;
    cursor: pointer;
}

.saint-chat-form button:hover {
    background: linear-gradient(#aa0000, #5a0000);
}

/* LOCKED */
.saint-chat-locked {
    background: #1a0000;
    color: #ff9999;
    text-align: center;
    padding: 6px;
    font-size: 11px;
}
.chat-del {
    color: #ff5555;
    margin-left: 6px;
    text-decoration: none;
    font-size: 11px;
    cursor: pointer;
}

.chat-del:hover {
    color: #ff0000;
}
.chat-clear {
    float: right;
    font-size: 11px;
    color: #ff5555;
}

.chat-clear:hover {
    color: #ff0000;
}

.chat-msg {
    padding: 2px 4px;
    font-size: 11px;
}

.chat-user {
    font-weight: bold;
}

.chat-time {
    color: #888;
    font-size: 10px;
    margin-left: 4px;
}

.chat-text {
    margin-left: 4px;
}

.chat-ban {
    margin-left: 6px;
    color: #ff4444;
    text-decoration: none;
    font-size: 11px;
}

.chat-ban:hover {
    color: #ff0000;
}
#chat-ban-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
}

#chat-ban-box {
    width: 420px;
    background: #1b1b1b;
    border: 1px solid #444;
    margin: 120px auto;
    padding: 15px;
    color: #eee;
    font-family: Tahoma, Arial;
}

#chat-ban-box h3 {
    margin: 0 0 10px 0;
    color: #ff5555;
}

#chat-ban-close {
    float: right;
    cursor: pointer;
    color: #aaa;
}

.chat-user-link {
    color: #ffd27d;
    text-decoration: none;
    font-weight: bold;
}

.chat-user-link:hover {
    text-decoration: underline;
    color: #fff;
}

/* Que el link herede el color del contenedor (evita que lo pise el theme) */
#saint-chat .chat-user-link,
#saint-chat a.chat-user-link,
.saint-chat-messages .chat-user-link,
.saint-chat-messages a.chat-user-link {
    color: inherit !important;
    font-weight: bold;
    text-decoration: none;
}

#saint-chat .chat-user-link:hover,
.saint-chat-messages .chat-user-link:hover {
    text-decoration: underline;
    color: #ffffff !important;
}

/* Colores por rango (se aplican al contenedor .chat-user) */
.chat-user { color: #c0c0c0; }
.chat-admin .chat-user { color: #ff4444; }
.chat-gm .chat-user { color: #4da6ff; }

/* ALERTA USUARIO BANEADO CHAT */
#chat-ban-alert {
    display: none;
    background: linear-gradient(#5a0000, #2a0000);
    color: #ffd2d2;
    border: 1px solid #aa0000;
    padding: 6px;
    margin-bottom: 6px;
    font-size: 11px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255,0,0,0.4);
}

.chat-signature {
    margin-top: 6px;
    text-align: right;
    font-size: 10px;
    color: #888;
    opacity: 0.8;
    font-style: italic;
}

.chat-signature strong {
    color: #c9a24d;
}

.chat-mentioned-text {
    color: #bfe9ff !important;
    background: rgba(70, 160, 220, 0.25);
    padding: 1px 4px;
    border-left: 3px solid #4fc3ff;
    border-radius: 3px;
    font-weight: normal;
    text-shadow: 0 1px 1px #000;
    box-shadow: inset 0 0 6px rgba(79, 195, 255, 0.35);
}



/* emojis alineados */
.chat-mentioned-text img {
    vertical-align: middle;
}













.topbar-wrapper {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.topbar-stats {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 900px;
    font-size: 12px;
}

.stat-box {
    flex: 1;
    background: #eef3f8;
    border: 1px solid #c8d3df;
    border-radius: 4px;
    padding: 6px;
}

.stat-title {
    text-align: center;
    font-weight: bold;
    background: #dbe6f1;
    padding: 4px;
    margin-bottom: 4px;
    border-radius: 3px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    border-bottom: 1px dotted #ccc;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-name {
    color: #003366;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.stat-name:hover {
    text-decoration: underline;
}

.stat-num {
    color: #444;
}

@media (max-width: 900px) {
    .topbar-stats {
        flex-direction: column;
    }
}






/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("formIE.css");

/* ============================================================
   SAINTMU - CITAS A LA DERECHA + SELECTOR EXTERNO GIPHY
============================================================ */
#saint-chat .chat-quote-btn { display:inline-block; margin-left:7px; font-size:10px; color:#d5a35a; text-decoration:none; opacity:.9; cursor:pointer; }
#saint-chat .chat-quote-btn:hover { color:#ffe0a0; text-decoration:underline; }
#saint-chat .chat-quote-line { display:flex; flex-direction:row; align-items:flex-start; gap:8px; width:100%; min-width:0; }
#saint-chat .chat-author-heading { flex:0 0 auto; white-space:nowrap; padding-top:4px; }
#saint-chat .chat-quote-line .chat-quoted { flex:1 1 auto; min-width:0; max-width:calc(100% - 120px); box-sizing:border-box; }
#saint-chat .chat-quoted {
    margin:0; padding:5px 8px;
    border:1px solid #5e4830; border-left:3px solid #d2a256;
    border-radius:3px; background:#26303a;
    line-height:1.45; font-size:11px; text-align:left;
}
#saint-chat .chat-quoted-title { display:block; color:#f6cc89; font-weight:bold; }
#saint-chat .chat-quoted-text { display:block; color:#d0d8df; font-style:italic; overflow-wrap:anywhere; word-break:break-word; }
#saint-chat .chat-quoted-deleted { color:#b8b8b8; font-style:italic; }
#saint-chat .chat-answer-line { margin-top:2px; padding-left:0; }
#saint-chat .chat-has-quote { margin-bottom:5px; }
#saint-chat .chat-gif-image { display:inline-block; vertical-align:middle; max-width:210px; max-height:160px; width:auto; height:auto; margin:4px 0; border:1px solid #59452e; border-radius:5px; }
.chat-giphy-embed { display:block; width:230px; max-width:100%; height:167px; margin:5px 0; border:1px solid #59452e; border-radius:4px; overflow:hidden; background:#101010; }
.chat-giphy-embed iframe { display:block; width:100%; height:100%; border:0; }
.chat-reply-preview { display:flex; align-items:center; position:relative; gap:7px; background:#241e17; border-left:3px solid #d5a35a; padding:7px 33px 7px 9px; margin:6px auto; max-width:670px; color:#eee; font:12px Tahoma,Arial,sans-serif; }
.chat-reply-label { color:#edc37b; white-space:nowrap; }
.chat-reply-excerpt { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.chat-reply-cancel { position:absolute; right:5px; top:3px; border:0; background:transparent; color:#ffb0a0; font-size:18px; cursor:pointer; }
.chat-gif-toggle { font-weight:bold !important; color:#ffcf75 !important; }
.chat-compose-shell { position:relative; }
.chat-gif-picker {
    position:absolute; z-index:4000; right:58px; bottom:calc(100% + 6px);
    box-sizing:border-box; width:318px; max-width:95vw;
    padding:10px; color:#ddd; text-align:left;
    background:#15191f; border:1px solid #6b5033; border-radius:7px;
    box-shadow:0 5px 22px rgba(0,0,0,.8);
    font:12px Tahoma,Arial,sans-serif;
}
.chat-gif-heading { display:flex; align-items:center; justify-content:space-between; font-weight:bold; color:#edc588; margin-bottom:9px; }
.chat-gif-heading button { font-size:17px; background:none; border:0; color:#ddd; cursor:pointer; }
.chat-gif-search-row { display:flex; gap:5px; margin:5px 0 8px; }
.chat-gif-search-row input { flex:1 1 auto; min-width:0; background:#0c0e12; border:1px solid #625039; padding:7px; border-radius:4px; color:#fff; }
.chat-gif-search-row button { flex:0 0 auto; border:1px solid #895927; border-radius:4px; background:#563217; color:#ffd18a; padding:6px 9px; cursor:pointer; }
.chat-gif-results { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; max-height:260px; overflow:auto; }
.chat-gif-item { border:1px solid #40382e; padding:0; cursor:pointer; background:#080808; border-radius:4px; overflow:hidden; }
.chat-gif-item img { width:100%; height:93px; object-fit:cover; display:block; }
.chat-gif-item:hover { border-color:#edbc68; }
.chat-gif-status { color:#aeb2b8; font-size:11px; padding-top:7px; min-height:14px; }
#chat-gif-credit { color:#8fb7e0; font-size:10px; display:block; text-align:right; margin-top:6px; }
.chat-gif-selected { display:flex; max-width:670px; margin:5px auto 0; align-items:center; justify-content:center; gap:9px; color:#f4ca89; font:11px Tahoma,Arial,sans-serif; }
.chat-gif-selected img { max-width:72px; max-height:55px; border-radius:3px; border:1px solid #5b452b; }
.chat-gif-selected button { border:0; background:#5a3025; color:white; border-radius:3px; cursor:pointer; }
@media (max-width:600px) {
 #saint-chat .chat-quote-line { flex-wrap:wrap; gap:4px; }
 #saint-chat .chat-quote-line .chat-quoted { flex:1 1 100%; max-width:100%; }
 .chat-gif-picker { width:300px; right:0; bottom:calc(100% + 5px); }
 .chat-reply-preview { max-width:95%; }
}
