body {
    background-color: #FAEEDD;
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    font-size: 16pt;
    font-weight: 400;
    color: black;
}

h1 {
    background-color: black;
    color: red;
    margin: 0px;
    padding: 6px;
    font-size: 20px;
    border-radius: 7px;
    font-family: sans-serif;
}

a {
    color: #2020ee;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    font-size: 16pt;
    font-family: Verdana, Arial;
    color: black;
    background-color: #add8e6;
    border: 2px solid #ccc;
    border-radius: 7px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 6px;
}

button:hover {
    background-color: #87ceeb;
    color: black;
}

form.menu {
    background-color: #DDD;
    display: inline;
}

#journal {
    color: Black;
    border: 0px solid #9c9c9c;
    background-color: #FAEEDD;
    padding: 2px;
    border-radius: 3px;
    margin: 2px;
}

/* ============================================================
   ✨ СОВРЕМЕННЫЙ ЗАГОЛОВОК (СЛЕВА, 20px) ✨
   ============================================================ */
.title {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ecf0f1;
    margin: 0px;
    padding: 10px 20px;
    font-size: 20px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    text-align: left;
    letter-spacing: 0.3px;
    border-left: 4px solid #3498db;
    border-radius: 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Легкий эффект при наведении */
.title:hover {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    border-left-color: #5dade2;
}

/* Маленькая декоративная точка в конце */
.title .title-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 12px;
    background: #3498db;
    border-radius: 50%;
    vertical-align: middle;
    box-shadow: 0 0 12px rgba(52, 152, 219, 0.3);
}

/* ============================================================
   ОСТАЛЬНЫЕ СТИЛИ (БЕЗ ИЗМЕНЕНИЙ)
   ============================================================ */
a.meniu {
    background-color: rgba(200, 200, 203, 0.85);
    font-size: 21px;
    border: 1px solid Black;
    color: Black;
    padding: 2px 20px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    margin-top: 3px;
}

a.exits {
    color: blue;
    text-decoration: none;
    font-size: 24px;
}

a.object_npc, a.object_item, a.object_user {
    color: blue;
    text-decoration: none;
    font-size: 21px;
}

.h1, .h2 {
    font-weight: bold;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px;
    border: 2px solid black;
    background-color: #ffffff;
    margin-bottom: 10px;
}

.button {
    background-color: #007bff;
    border: 2px solid #0056b3;
    padding: 2px 2px;
    font-size: 6px;
    cursor: pointer;
}

.button:hover {
    background-color: #0056b3;
}

.container {
    width: 100%;
}

.icon {
    height: 0px;
    width: 0px;
    vertical-align: middle;
}

.vcenter {
    vertical-align: middle;
}

.charhptext {
    color: Black;
}

.charmptext {
    color: Black;
}

.chat-link {
    display: inline-block;
    margin: 0 10px;
    padding: 10px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.chat-link:hover {
    background-color: #014691;
    cursor: pointer;
}

.message-form {
    margin-bottom: 20px;
    background-color: #f2f2f2;
    padding: 15px;
    border-radius: 5px;
}

.message-form form {
    display: flex;
    flex-direction: column;
}

.message-form textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
}

.message-form input[type="submit"] {
    padding: 10px 20px;
    border: none;
    background-color: #add8e6;
    color: black;
    cursor: pointer;
    border-radius: 5px;
}

.chat-messages {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    max-height: 500px;
    overflow-y: auto;
}

.current-chat {
    float: left;
    margin-right: 20px;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.chat-link {
    float: right;
}

.chat-nav::after {
    content: "";
    display: table;
    clear: both;
}

.message {
    padding: 8px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.message-username, .message-time, .message-text {
    display: block;
    margin: 2px 0;
}

.message-username {
    font-weight: bold;
    color: #333;
}

.message-time {
    color: #666;
    font-size: 0.85em;
}

.message-text {
    color: #000;
    padding: 4px 0;
}

.delete-btn {
    margin-left: 10px;
    text-decoration: none;
}

.delete-btn:hover {
    text-decoration: underline;
}

.user-info {
    background: #FAEEDD;
    padding: 1px;
    border-radius: 6px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.user-info a {
    text-decoration: none;
}

.user-info a:hover {
    text-decoration: underline;
}

.user-gender-age {
    display: flex;
    justify-content: start;
    align-items: center;
}

.user-gender {
    font-weight: bold;
    margin-right: 5px;
}

.user-gender.female {
    color: #000000;
}

.user-gender.male {
    color: #000000;
}

.user-married, .user-registered, .user-clan, .user-mount {
    font-style: italic;
    color: #000;
}

.user-mastery {
    color: #000000;
    font-weight: bold;
}

.user-attributes {
    color: #000000;
}

.user-attributes .user-level {
    font-size: 13px;
}

input[type=submit] {
    background-color: rgba(200, 200, 203, 0.85);
    font-size: 21px;
    border: 1px solid Black;
    color: Black;
    padding: 7px 20px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    margin-top: 3px;
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
}

input[type=submit]:hover {
    background-color: rgba(180, 180, 183, 0.85);
    text-decoration: none;
    color: Black;
}

.user-weapon, .user-equipment {
    background: #FAEEDD;
    padding: 0px;
    border-radius: 6px;
    margin-bottom: 0px;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.05);
}

.user-equipment-list-weapon, .user-equipment-list, .user-equipment-list-armor {
    background: #FAEEDD;
    padding: 0px;
    border-radius: 4px;
    margin: 0px 0;
}

.newchatmessages {
    color: #FFEB3B;
}

.fade-in {
    animation: fadeIn ease 0.05s;
    -webkit-animation: fadeIn ease 0.05s;
    -moz-animation: fadeIn ease 0.05s;
    -o-animation: fadeIn ease 0.05s;
    -ms-animation: fadeIn ease 0.05s;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.pagination {
    list-style-type: none;
    padding: 10px 0;
    display: inline-flex;
    justify-content: space-between;
    box-sizing: border-box;
}

.pagination li {
    box-sizing: border-box;
    padding-right: 10px;
}

.pagination li a {
    box-sizing: border-box;
    padding: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
}

.pagination .next a, .pagination .prev a {
    text-transform: uppercase;
    font-size: 12px;
}

.pagination .currentpage a {
    background-color: #518acb;
    color: #fff;
}

.pagination .currentpage a:hover {
    background-color: #518acb;
}

.force-repaint * {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.font-size-0 {
    font-size: 25px;
}

.font-size-1 {
    font-size: 18px;
}

.font-size-2 {
    font-size: 20px;
}

.font-size-3 {
    font-size: 22px;
}

.inventory-item {
    background-color: None;
    border-radius: 15px;
    border: 0px solid #fff;
    padding: 0px;
    display: block;
    margin-bottom: 5px;
}

.inventory-item-name {
    cursor: pointer;
    color: #0000FF;
    padding: 5px;
    transition: background-color 0s;
    display: inline;
    background-color: #FAEEDD;
}

.inventory-item-name:hover {
    background-color: #ffffff;
}

.inventory-fullmenu {
    display: none;
    padding-top: 15px;
}

img {
    max-width: 80%;
}

.object-image {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 5px;
}

.attack-link {
    color: #ff4444;
    margin-left: 8px;
    font-size: 0.9em;
}
