/*  phpBB3 Style Sheet
    --------------------------------------------------------------
    Style name:     Tavern
    Based on style: prosilver
    Inspired by:    ThorLargeX + WoW Hellfire Peninsula
    Description:    Scorched bronze/orange theme
    --------------------------------------------------------------
*/

@import url("normalize.css");
@import url("base.css");
@import url("utilities.css");
@import url("common.css");
@import url("links.css");
@import url("content.css");
@import url("buttons.css");
@import url("cp.css");
@import url("forms.css");
@import url("icons.css");
@import url("colours.css");
@import url("responsive.css");

/* ==========================================================================
   Font & typography overrides
   ========================================================================== */

body {
	font-family: "Open Sans", "Droid Sans", Verdana, Helvetica, Arial, sans-serif;
	font-size: 13px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1 {
	font-size: 2.2em;
}

h2 {
	font-size: 1.8em;
}

h3 {
	font-size: 1.15em;
}

p {
	font-size: 1em;
	line-height: 1.5em;
}

/* ==========================================================================
   PBWoW top-bar integration
   ========================================================================== */

body.topbar #top-bar {
	position: relative;
	z-index: 2;
	background: rgba(10, 5, 2, 0.85);
	border-bottom: 1px solid rgba(139, 58, 14, 0.5);
	box-shadow: none;
}

body.topbar #top-bar > .inner {
	border: none;
	max-width: 100%;
	padding: 0 20px;
}

body.topbar #top-bar .linklist > li {
	border-color: rgba(139, 58, 14, 0.3);
}

body.topbar .header-subsilver {
	margin-top: -40px;
	padding-top: 40px;
}

/* ==========================================================================
   Responsive overrides
   ========================================================================== */

@media only screen and (max-width: 920px), only screen and (max-device-width: 920px) {
	.header-subsilver {
		background-size: cover;
		min-height: 80px;
	}
}

/* PbF HUD */
.pbf-hud {
    padding: 8px 0 4px;
    border-top: 1px solid #2a1400;
    margin-top: 6px;
    display: block
}

.pbf-stat {
    margin-bottom: 6px
}

.pbf-stat-label {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7a6a5a;
    margin-bottom: 2px
}

.pbf-val {
    color: #b08860
}

.pbf-track {
    height: 5px;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 2px;
    overflow: hidden
}

.pbf-fill {
    height: 100%;
    border-radius: 2px;
    transition: width .4s ease
}

.pbf-fill-hp {
    background: linear-gradient(90deg, #6b0000, #cc1a00)
}

.pbf-fill-sta {
    background: linear-gradient(90deg, #001830, #0066aa)
}

.pbf-fill-ins {
    background: linear-gradient(90deg, #180030, #6600cc)
}

@keyframes pbf-pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.pbf-critical {
    animation: pbf-pulse 1.4s ease-in-out infinite
}

.pbf-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 6px;
    margin: 6px 0 4px;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .06em
}

.pbf-lbl {
    color: #7a6a5a
}

.pbf-text {
    font-size: 9px;
    color: #7a6a5a;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 3px
}

/* PbF HUD — ukryj tekstowe pola gry */
.profile-hp,
.profile-stamina,
.profile-insight,
.profile-strenght,
.profile-dexterity,
.profile-perception,
.profile-inteligence,
.profile-status,
.profile-weapon { display: none !important; }

/* PbF HUD — paski */
.pbf-hud { padding: 8px 0 4px; border-top: 1px solid #2a1400; margin-top: 6px; display: block; }
.pbf-stat { margin-bottom: 6px; }
.pbf-stat-label { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #7a6a5a; margin-bottom: 2px; }
.pbf-val { color: #b08860; }
.pbf-track { height: 5px; background: #0a0a0a; border: 1px solid #1a1a1a; border-radius: 2px; overflow: hidden; }
.pbf-fill { height: 100%; border-radius: 2px; transition: width .4s ease; }
.pbf-fill-hp  { background: linear-gradient(90deg, #6b0000, #cc1a00); }
.pbf-fill-sta { background: linear-gradient(90deg, #001830, #0066aa); }
.pbf-fill-ins { background: linear-gradient(90deg, #180030, #6600cc); }
@keyframes pbf-pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.pbf-critical { animation: pbf-pulse 1.4s ease-in-out infinite; }
.pbf-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; margin: 6px 0 4px; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.pbf-lbl { color: #7a6a5a; }
.pbf-text { font-size: 9px; color: #7a6a5a; text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }



/* PbF szablony postów */
.pbf-templates {
    margin: 8px 0 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.pbf-tpl-label {
    font-size: 11px;
    color: #7a6a5a;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-right: 4px;
}

.pbf-tpl-btn {
    background: linear-gradient(135deg, #1a0a00, #2a1200);
    border: 1px solid #5a3010;
    color: #c8a060;
    padding: 5px 10px;
    font-size: 11px;
    font-family: 'Palatino Linotype', Georgia, serif;
    cursor: pointer;
    border-radius: 2px;
    transition: background .15s, border-color .15s;
}

.pbf-tpl-btn:hover {
    background: linear-gradient(135deg, #2a1200, #3d1c00);
    border-color: #8b5020;
    color: #ffcc80;
}



/* PbF GM Button */
.pbf-gm-trigger {
    margin-top: 6px;
}

.pbf-gm-btn {
    background: linear-gradient(135deg, #1a0800, #2d1400);
    border: 1px solid #6b3500;
    color: #c87030;
    font-size: 10px;
    padding: 3px 10px;
    cursor: pointer;
    border-radius: 2px;
    letter-spacing: .06em;
    width: 100%;
    transition: background .15s;
}

.pbf-gm-btn:hover {
    background: linear-gradient(135deg, #2d1400, #4a2000);
    color: #ffaa50;
}

/* PbF GM Popup */
#pbf-gm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#pbf-gm-popup {
    background: #111008;
    border: 1px solid #5a3000;
    border-top: 3px solid #8b4500;
    border-radius: 3px;
    width: 420px;
    max-width: 95vw;
    font-family: 'Palatino Linotype', Georgia, serif;
}

.pbf-gm-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #2a1400;
    font-size: 12px;
    color: #c87030;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pbf-gm-close {
    background: none;
    border: none;
    color: #6a5040;
    font-size: 16px;
    cursor: pointer;
    padding: 0 4px;
}

.pbf-gm-close:hover {
    color: #cc4040;
}

.pbf-gm-body {
    padding: 12px 14px;
}

.pbf-gm-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
    margin-bottom: 8px;
}

.pbf-gm-row-full {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}

.pbf-gm-body label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #7a6a5a;
}

.pbf-gm-body input[type="number"] {
    width: 52px;
    background: #181208;
    border: 1px solid #3a2010;
    color: #c0a070;
    padding: 4px 6px;
    font-size: 12px;
    border-radius: 2px;
    text-align: center;
    -moz-appearance: textfield;
}

.pbf-gm-body input[type="number"]::-webkit-outer-spin-button,
.pbf-gm-body input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.pbf-gm-body input[type="text"] {
    flex: 1;
    background: #181208;
    border: 1px solid #3a2010;
    color: #c0a070;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 2px;
}

.pbf-gm-body input:focus {
    border-color: #8b4500;
    outline: none;
    background: #201808;
}

.pbf-gm-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px 12px;
    border-top: 1px solid #2a1400;
}

#pbf-gm-msg {
    font-size: 11px;
    color: #7a6a5a;
}

#pbf-gm-save {
    background: linear-gradient(135deg, #2a1000, #4a2200);
    border: 1px solid #8b4500;
    color: #d4a060;
    padding: 5px 18px;
    font-family: inherit;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
    border-radius: 2px;
}

#pbf-gm-save:hover {
    background: linear-gradient(135deg, #4a2200, #6b3300);
    color: #ffcc80;
}

#pbf-gm-save:disabled {
    opacity: .5;
    cursor: not-allowed;
}



.pbf-name {
    font-size: 13px;
    color: #c8a060;
    letter-spacing: .08em;
    margin-bottom: 6px;
    padding-bottom: 5px;
    border-bottom: 1px solid #2a1400;
    font-family: 'Palatino Linotype', Georgia, serif;
}


.profile-name {
    display: none !important;
}

.profile-age {
    display: none !important;
}


.pbf-char-name {
    font-size: 20px;
    color: #d4a060;
    letter-spacing: .06em;
    margin-bottom: 7px;
    padding-bottom: 6px;
    border-bottom: 1px solid #2a1400;
    font-family: 'Palatino Linotype', Georgia, serif;
}

.pbf-char-age {
    font-size: 13px;
    color: #7a6a5a;
    letter-spacing: .04em;
}