body {
    background-color: #1a0f0a;
    background-image: radial-gradient(circle, #2d1b13 0%, #0f0805 100%);
    color: #2b1a0a;
    font-family: "Georgia", "Times New Roman", serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-height: 100vh;
}

header {
    background: linear-gradient(to bottom, #422616 0%, #21120a 100%);
    border-bottom: 3px double #8c6939;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.logo {
    color: #f4e5c3;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px #000;
}

.online-counter {
    background: #5c1306;
    color: #fff2cc;
    padding: 6px 12px;
    border-radius: 3px;
    border: 1px solid #d4af37;
    font-size: 14px;
    font-weight: bold;
}

.game-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dwar-box {
    background: #f4e5c3;
    border: 4px double #8c6939;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(139, 115, 85, 0.2);
    padding: 20px;
    border-radius: 4px;
    position: relative;
    height: fit-content;
}

.dwar-box::before {
    content: "";
    position: absolute;
    top: 2px; left: 2px; right: 2px; bottom: 2px;
    border: 1px solid #d4af37;
    pointer-events: none;
}

.dwar-box h1, .dwar-box h2, .dwar-box h3 {
    color: #5c1306;
    text-align: center;
    margin-top: 0;
    border-bottom: 1px dashed #8c6939;
    padding-bottom: 8px;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.dwar-box h1 {
    font-size: 22px;
}

.login-widget p {
    margin: 10px 0 4px 0;
}

label {
    font-weight: bold;
    font-size: 13px;
    color: #4a321a;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    background: #fffbf0;
    border: 1px solid #705431;
    padding: 8px;
    font-size: 14px;
    color: #2b1a0a;
    border-radius: 3px;
    margin-top: 4px;
}

input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.6);
}

button[type="submit"] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #420b02;
    border-top-color: #e6533c;
    color: #fff2cc;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    font-family: "Georgia", serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    text-align: center;
    background: linear-gradient(to bottom, #bd2c16 0%, #801c0c 50%, #5c1306 100%);
    margin-top: 12px;
}

.btn-reg {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #165c16;
    border-top-color: #5cee5c;
    border-bottom-color: #0d3a0d;
    color: #ffffff;
    padding: 12px;
    font-size: 15px;
    font-weight: bold;
    font-family: "Georgia", serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-align: center;
    text-decoration: none;
    background: linear-gradient(to bottom, #34a834 0%, #1e731e 50%, #114d11 100%);
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.1s, filter 0.2s;
}

button:hover, .btn-reg:hover { 
    filter: brightness(1.15); 
}

.btn-reg:active {
    background: linear-gradient(to bottom, #114d11 0%, #1e731e 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
    transform: translateY(1px);
}

.login-widget a {
    color: #801c0c;
    font-weight: bold;
    text-decoration: none;
}

.login-widget a:hover {
    color: #bd2c16;
}

.side-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.side-menu a {
    display: block;
    padding: 10px 14px;
    background: linear-gradient(to bottom, #fffdf7 0%, #e3d2aa 100%);
    border: 1px solid #6e512c;
    border-top-color: #ebdcb9;
    border-bottom-color: #523b1f;
    color: #3b240f;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: all 0.15s ease-in-out;
}

.side-menu a:hover {
    background: linear-gradient(to bottom, #731a0b 0%, #541105 100%);
    color: #fff4d4;
    border-color: #380a02;
    border-top-color: #9c2714;
    padding-left: 18px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

/* login.css - стили для главной страницы */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a0f0a;
    background-image: radial-gradient(circle, #2d1b13 0%, #0f0805 100%);
    color: #2b1a0a;
    font-family: "Georgia", "Times New Roman", serif;
    min-height: 100vh;
}

header {
    background: linear-gradient(to bottom, #422616 0%, #21120a 100%);
    border-bottom: 3px double #8c6939;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.logo {
    color: #f4e5c3;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px #000;
}

.online-counter {
    background: #5c1306;
    color: #fff2cc;
    padding: 6px 12px;
    border-radius: 3px;
    border: 1px solid #d4af37;
    font-size: 14px;
    font-weight: bold;
}

.game-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dwar-box {
    background: #f4e5c3;
    border: 4px double #8c6939;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(139, 115, 85, 0.2);
    padding: 20px;
    border-radius: 4px;
    position: relative;
}

.dwar-box::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid #d4af37;
    pointer-events: none;
}

.dwar-box h1, .dwar-box h2, .dwar-box h3 {
    color: #5c1306;
    text-align: center;
    margin-top: 0;
    border-bottom: 1px dashed #8c6939;
    padding-bottom: 8px;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.dwar-box h1 {
    font-size: 22px;
}

/* Авторизация */
.login-widget p {
    margin: 10px 0 4px 0;
}

label {
    font-weight: bold;
    font-size: 13px;
    color: #4a321a;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    background: #fffbf0;
    border: 1px solid #705431;
    padding: 8px;
    font-size: 14px;
    color: #2b1a0a;
    border-radius: 3px;
    margin-top: 4px;
}

input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.6);
}

button[type="submit"] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #420b02;
    border-top-color: #e6533c;
    color: #fff2cc;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    font-family: "Georgia", serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    text-align: center;
    background: linear-gradient(to bottom, #bd2c16 0%, #801c0c 50%, #5c1306 100%);
    margin-top: 12px;
}

button[type="submit"]:hover {
    filter: brightness(1.15);
}

.btn-reg {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #165c16;
    border-top-color: #5cee5c;
    border-bottom-color: #0d3a0d;
    color: #ffffff;
    padding: 12px;
    font-size: 15px;
    font-weight: bold;
    font-family: "Georgia", serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-align: center;
    text-decoration: none;
    background: linear-gradient(to bottom, #34a834 0%, #1e731e 50%, #114d11 100%);
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-reg:hover {
    filter: brightness(1.15);
}

.login-widget a {
    color: #801c0c;
    font-weight: bold;
    text-decoration: none;
}

.login-widget a:hover {
    color: #bd2c16;
}

/* Меню */
.side-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.side-menu a {
    display: block;
    padding: 10px 14px;
    background: linear-gradient(to bottom, #fffdf7 0%, #e3d2aa 100%);
    border: 1px solid #6e512c;
    border-top-color: #ebdcb9;
    border-bottom-color: #523b1f;
    color: #3b240f;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: all 0.15s ease-in-out;
}

.side-menu a:hover {
    background: linear-gradient(to bottom, #731a0b 0%, #541105 100%);
    color: #fff4d4;
    border-color: #380a02;
    border-top-color: #9c2714;
    padding-left: 18px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

/* Блок новостей */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-section {
    background: #f4e5c3;
    border: 4px double #8c6939;
    border-radius: 4px;
    position: relative;
}

.home-section::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid #d4af37;
    pointer-events: none;
}

.home-section h2 {
    color: #5c1306;
    text-align: center;
    margin: 0;
    padding: 15px;
    border-bottom: 1px dashed #8c6939;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.home-section-link-wrap {
    margin: 0;
    padding: 0 15px 15px;
    text-align: right;
}

.home-section-link-wrap-center {
    text-align: center;
}

.home-section-link {
    color: #5c1306;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px dashed #8c6939;
}

.home-section-link:hover {
    color: #801c0c;
    border-bottom-color: #801c0c;
}

/* ===== Новости ===== */
.news-section {
    background: #f4e5c3;
    border: 4px double #8c6939;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid #d4af37;
    pointer-events: none;
    z-index: 1;
}

.news-section-title {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 12px 16px;
    border-bottom: 1px dashed #8c6939;
    color: #5c1306;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(180deg, #f8edd4 0%, #f0dfb8 100%);
}

.news-section-ico {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background:
        linear-gradient(#9a9a9a, #9a9a9a) 3px 4px / 12px 2px no-repeat,
        linear-gradient(#9a9a9a, #9a9a9a) 3px 8px / 12px 2px no-repeat,
        linear-gradient(#9a9a9a, #9a9a9a) 3px 12px / 8px 2px no-repeat,
        linear-gradient(#ececec, #d0d0d0);
    border: 1px solid #7a7a7a;
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px #fff;
}

.news-list {
    position: relative;
    z-index: 2;
    padding: 6px 22px 10px;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.news-item {
    padding: 16px 0 12px;
    animation: fadeIn 0.3s ease-out;
}

.news-item + .news-item {
    border-top: 1px solid rgba(140, 105, 57, 0.45);
}

.news-item-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 12px;
}

.news-item-title {
    margin: 0;
    font-family: Tahoma, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.3;
    color: #a30000;
}

.news-title-link {
    color: #a30000;
    text-decoration: none;
}

.news-title-link:hover {
    color: #d41818;
    text-decoration: underline;
}

.news-item-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-family: Tahoma, "Segoe UI", sans-serif;
    font-size: 12px;
    color: #6e512c;
    white-space: nowrap;
    line-height: 1.2;
}

.news-date-icon {
    display: block;
    width: 14px;
    height: 14px;
    opacity: 0.85;
}

.news-item-body {
    font-family: Tahoma, "Segoe UI", sans-serif;
    font-size: 13px;
    line-height: 1.55;
    color: #633113;
    text-align: center;
}

.news-item-body-inner {
    max-width: 640px;
    margin: 0 auto;
}

.news-item-body p,
.news-item-body div,
.news-item-body-inner p,
.news-item-body-inner div {
    margin: 0 0 10px;
}

.news-item-body img,
.news-item-body-inner img {
    max-width: min(100%, 560px) !important;
    width: auto !important;
    height: auto !important;
    margin: 8px auto;
    display: inline-block;
    vertical-align: middle;
}

.news-item-body a,
.news-item-body-inner a {
    color: #b91e00;
    font-weight: bold;
    text-decoration: none;
}

.news-item-body a:hover,
.news-item-body-inner a:hover {
    text-decoration: underline;
}

.news-item-foot {
    margin-top: 12px;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.news-comments-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a5fb4;
    font-family: Tahoma, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-decoration: underline;
}

.news-comments-link:hover {
    color: #0b3d7a;
}

.news-comments-icon {
    display: block;
    width: 14px;
    height: 14px;
}

.news-pagination {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 2px 0 12px;
    padding-top: 4px;
}

.news-pagination-dots {
    border-top: none;
}

.news-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6b4a2c;
    border: 1px solid #3b240f;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.25);
    text-decoration: none;
    opacity: 0.55;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.news-dot:hover {
    opacity: 0.9;
    transform: scale(1.08);
}

.news-dot-current {
    opacity: 1;
    background: #3b240f;
    cursor: default;
}

.news-dot-nav {
    width: auto;
    height: auto;
    min-width: 18px;
    min-height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #5c1306;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    opacity: 0.8;
}

.news-pagination-link {
    display: none;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6e512c;
    font-style: italic;
}

@media (max-width: 768px) {
    .news-list {
        padding: 4px 12px 8px;
        max-width: none;
    }

    .news-item-body-inner {
        max-width: none;
    }

    .news-item-body img,
    .news-item-body-inner img {
        max-width: 100% !important;
    }
}

/* ===== TELEGRAM БЛОК ===== */
.telegram-box {
    text-align: center;
}

.telegram-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.telegram-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #1e96c8 0%, #2b5b8c 100%);
    border: 1px solid #d4af37;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.telegram-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.telegram-icon {
    font-size: 32px;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.3));
}

.telegram-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.telegram-title {
    font-size: 15px;
    font-weight: bold;
    color: #fff2cc;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

.telegram-description {
    font-size: 11px;
    color: #e8e8c8;
    margin-top: 2px;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .telegram-link {
        padding: 10px 12px;
    }
    
    .telegram-icon {
        font-size: 28px;
    }
    
    .telegram-title {
        font-size: 14px;
    }
    
    .telegram-description {
        font-size: 10px;
    }
}

/* Для мобильных устройств */


/* Топ-5 игроков (сайдбар) */
.top-players-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-player-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #c9b07a;
}

.top-player-item:last-child {
    border-bottom: none;
}

.top-player-place {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    background: linear-gradient(to bottom, #bd2c16 0%, #5c1306 100%);
    color: #fff2cc;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.top-player-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.top-player-nick {
    font-weight: bold;
    color: #3d2410;
    font-size: 14px;
    word-break: break-word;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.player-info-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    flex-shrink: 0;
}

.player-info-link:hover .player-info-icon {
    filter: brightness(1.15);
}

.player-info-icon {
    vertical-align: middle;
    border: 0;
}

.top-player-kind {
    vertical-align: middle;
    margin-right: 4px;
}

.top-player-meta {
    font-size: 11px;
    color: #6b4f2e;
}

.empty-state-small {
    text-align: center;
    color: #6b4f2e;
    font-size: 13px;
    padding: 10px 0;
}

/* Последние темы форума (сайдбар) */
.forum-sidebar-box .forum-topics-list {
    padding: 0;
}

.forum-topic-item {
    border-bottom: 1px dashed #c9b07a;
    padding: 10px 0;
    transition: background 0.2s;
}

.forum-topic-item:hover {
    background: rgba(212, 175, 55, 0.08);
}

.forum-topic-item:last-child {
    border-bottom: none;
}

.forum-topic-title {
    display: block;
    color: #5c1306;
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 4px;
    line-height: 1.35;
    word-break: break-word;
}

.forum-topic-title:hover {
    color: #bd2c16;
    text-decoration: underline;
}

.forum-topic-meta {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #6b4f2e;
}

.forum-topic-author {
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 70%;
}

.forum-topic-date {
    opacity: 0.85;
    flex-shrink: 0;
}

/* ===== Библиотека ===== */
.side-menu a.is-active {
    background: linear-gradient(to bottom, #731a0b 0%, #541105 100%);
    color: #fff4d4;
    border-color: #380a02;
    border-top-color: #9c2714;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.library-section {
    overflow: hidden;
}

.library-body {
    position: relative;
    z-index: 2;
    padding: 15px 20px 20px;
}

.library-toc {
    list-style: none;
    margin: 0 0 18px;
    padding: 0 0 14px;
    border-bottom: 1px dashed #8c6939;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.library-toc a {
    display: block;
    padding: 7px 12px;
    background: linear-gradient(to bottom, #fffdf7 0%, #e3d2aa 100%);
    border: 1px solid #6e512c;
    border-top-color: #ebdcb9;
    border-bottom-color: #523b1f;
    border-radius: 3px;
    color: #3b240f;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.15s ease-in-out;
}

.library-toc a:hover,
.library-toc a.is-active {
    background: linear-gradient(to bottom, #731a0b 0%, #541105 100%);
    border-color: #380a02;
    border-top-color: #9c2714;
    color: #fff4d4;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.library-article-title {
    margin: 0 0 12px;
    color: #5c1306;
    font-size: 17px;
    text-align: center;
}

.library-article {
    font-family: Tahoma, "Segoe UI", sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #633113;
}

.library-article p,
.library-article div {
    margin: 0 0 10px;
}

.library-article img {
    max-width: 100%;
    height: auto;
}

.library-article a {
    color: #b91e00;
    font-weight: bold;
    text-decoration: none;
}

.library-article a:hover {
    text-decoration: underline;
}

.library-article table {
    max-width: 100%;
}

@media (max-width: 768px) {
    .library-body {
        padding: 12px;
    }
}