MediaWiki:Common.css: различия между версиями

Страница интерфейса MediaWiki
(homepage update n1)
Метка: отменено
(Отмена версии 14584, сделанной Perl (обсуждение))
Метка: отмена
Строка 876: Строка 876:
     -webkit-text-fill-color: transparent;
     -webkit-text-fill-color: transparent;
     margin-bottom: 0.5em;
     margin-bottom: 0.5em;
}
/* Homepage Styles */
.homepage-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1em;
}
.hero-section {
    background: linear-gradient(135deg, #1f1f25 0%, #2a2a32 50%, #35353d 100%);
    border-radius: 20px;
    padding: 4em 2em;
    margin: 2em 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(119, 193, 217, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.hero-title {
    font-size: 4em;
    margin: 0;
    position: relative;
    z-index: 1;
}
.hero-accent {
    background: linear-gradient(90deg, #77c1d9, #9dd7ea, #b8e6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(119, 193, 217, 0.8);
}
.hero-subtitle {
    font-size: 1.3em;
    color: #b8b8b8;
    margin: 1em 0 2em;
    position: relative;
    z-index: 1;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3em;
    position: relative;
    z-index: 1;
}
.stat-item {
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    color: #77c1d9;
    text-shadow: 0 0 15px rgba(119, 193, 217, 0.6);
}
.stat-label {
    color: #999;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title {
    font-size: 1.8em;
    margin: 2em 0 1em;
    color: #b8e6ff;
    border-bottom: 3px solid #404050;
    padding-bottom: 0.5em;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #77c1d9, #9dd7ea);
    border-radius: 3px;
}
.nav-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5em;
    margin: 2em 0;
}
.nav-card {
    background: linear-gradient(135deg, #2a2a32 0%, #35353d 100%);
    border: 2px solid #404050;
    border-radius: 15px;
    padding: 2em;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: #77c1d9;
}
.nav-card.featured {
    border-color: #77c1d9;
    box-shadow: 0 0 25px rgba(119, 193, 217, 0.3);
}
.card-icon {
    font-size: 3em;
    margin-bottom: 0.5em;
}
.nav-card h3 {
    margin: 0.5em 0;
    color: #b8e6ff;
    border: none;
    text-shadow: none;
}
.nav-card p {
    color: #b8b8b8;
    margin-bottom: 1.5em;
    line-height: 1.5;
}
.card-link {
    display: inline-block;
    padding: 0.8em 1.5em;
    background: linear-gradient(135deg, #77c1d9, #9dd7ea);
    color: #1a1a1f !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.card-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(119, 193, 217, 0.5);
}
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3em;
    margin: 3em 0;
}
.updates-section, .popular-section, .sidebar-section {
    background: linear-gradient(135deg, #2a2a32 0%, #35353d 100%);
    border: 1px solid #404050;
    border-radius: 15px;
    padding: 2em;
    margin-bottom: 2em;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.update-item {
    display: flex;
    gap: 1em;
    padding: 1em 0;
    border-bottom: 1px solid #404050;
}
.update-item:last-child {
    border-bottom: none;
}
.update-date {
    background: linear-gradient(135deg, #77c1d9, #9dd7ea);
    color: #1a1a1f;
    padding: 0.3em 0.8em;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 600;
    white-space: nowrap;
    align-self: flex-start;
}
.update-content h4 {
    margin: 0 0 0.5em;
    color: #b8e6ff;
    border: none;
    text-shadow: none;
}
.update-content p {
    margin: 0;
    color: #b8b8b8;
}
.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1em;
}
.popular-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5em 1em;
    background: rgba(119, 193, 217, 0.1);
    border: 2px solid transparent;
    border-radius: 10px;
    text-decoration: none;
    color: #e8e8e8 !important;
    transition: all 0.3s ease;
}
.popular-item:hover {
    border-color: #77c1d9;
    background: rgba(119, 193, 217, 0.2);
    transform: translateY(-3px);
}
.popular-icon {
    font-size: 2em;
    margin-bottom: 0.5em;
}
.feature-list {
    list-style: none;
    padding: 0;
}
.feature-list li {
    padding: 0.5em 0;
    border-bottom: 1px solid #404050;
    position: relative;
    padding-left: 1.5em;
}
.feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #77c1d9;
    font-weight: bold;
}
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}
.quick-link {
    padding: 0.8em 1em;
    background: rgba(119, 193, 217, 0.1);
    border-radius: 8px;
    color: #77c1d9 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}
.quick-link:hover {
    background: rgba(119, 193, 217, 0.2);
    transform: translateX(5px);
}
.stats-widget {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5em 0;
    border-bottom: 1px solid #404050;
}
.cta-section {
    background: linear-gradient(135deg, #35353d 0%, #404050 100%);
    border-radius: 20px;
    padding: 3em 2em;
    text-align: center;
    margin: 3em 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.cta-content h2 {
    margin-bottom: 0.5em;
    border: none;
    text-shadow: none;
}
.cta-buttons {
    display: flex;
    gap: 1em;
    justify-content: center;
    margin-top: 2em;
}
.cta-button {
    padding: 1em 2em;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cta-button.primary {
    background: linear-gradient(135deg, #77c1d9, #9dd7ea);
    color: #1a1a1f !important;
}
.cta-button.secondary {
    background: transparent;
    border: 2px solid #77c1d9;
    color: #77c1d9 !important;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.view-all-link {
    display: inline-block;
    margin-top: 1em;
    color: #77c1d9 !important;
    font-weight: 500;
    text-decoration: none;
}
.view-all-link:hover {
    color: #9dd7ea !important;
}
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
   
    .hero-stats {
        flex-direction: column;
        gap: 1em;
    }
   
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
   
    .hero-title {
        font-size: 2.5em;
    }
}
}

Версия от 17:52, 1 августа 2025

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/oswald/v40/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUJiZTaR.eot);
  src: url(https://fonts.gstatic.com/s/oswald/v40/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUJiZTaR.eot?#iefix) format('embedded-opentype'),
       url(https://fonts.gstatic.com/s/oswald/v40/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUJiZTaR.woff2) format('woff2'),
       url(https://fonts.gstatic.com/s/oswald/v40/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUJiZTaR.woff) format('woff'),
       url(https://fonts.gstatic.com/s/oswald/v40/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUJiZTaR.ttf) format('truetype');
}

body {
    background: linear-gradient(135deg, #1a1a1f 0%, #252530 100%);
    color: #e8e8e8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.3px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mw-body {
    background: rgba(35, 35, 42, 0.95);
    border: 1px solid #404050;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(15px);
    padding: 2.5em 3.5em;
    margin: 1.5em;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
}

.mw-body-content {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    color: #e8e8e8;
    text-align: justify;
    text-justify: inter-word;
}

.mw-body-content p {
    margin: 1.2em 0;
    line-height: 1.8;
    color: #e8e8e8;
}

code {
    background: linear-gradient(135deg, #2d2d35 0%, #35353d 100%);
    border: 1px solid #404045;
    color: #b8e6ff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 90%;
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    letter-spacing: 0.5px;
}

blockquote {
    overflow: hidden;
    margin: 2em 0;
    padding: 1.5em 2em;
    border-left: 5px solid #77c1d9;
    background: linear-gradient(90deg, rgba(119, 193, 217, 0.2) 0%, rgba(119, 193, 217, 0.05) 100%);
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-style: italic;
    position: relative;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    line-height: 1.6;
}

blockquote::before {
    content: '"';
    font-size: 4em;
    color: rgba(119, 193, 217, 0.3);
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: 'Playfair Display', serif;
}

img {
    image-rendering: optimizeSpeed;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

a,
a:visited {
    color: #77c1d9;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 500;
}

a:not(.image):not(.thumbimage):not(.mw-file-description)::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #77c1d9, #9dd7ea);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

a:not(.image):not(.thumbimage):not(.mw-file-description):hover::after {
    width: 100%;
}

.thumb a::after,
.gallery a::after,
a[href*="File:"]::after,
a[href*="Файл:"]::after,
a[title*="File:"]::after,
a[title*="Файл:"]::after {
    display: none !important;
}

a:hover,
a:visited:hover {
    color: #9dd7ea;
    text-shadow: 0 0 12px rgba(119, 193, 217, 0.6);
}

a.image,
.thumbimage,
.mw-file-description {
    text-decoration: none;
    border: none;
    display: inline-block;
    transition: all 0.3s ease;
}

a.image:hover,
.thumbimage:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

a.extiw:visited,
a.external:visited,
.mw-parser-output a.extiw:visited,
.mw-parser-output a.external:visited,
body.skin--responsive #p-cactions li a.external:visited {
    color: #5599cc;
}

.wikitable {
    background: linear-gradient(135deg, #2a2a32 0%, #35353d 100%);
    border: 1px solid #404050;
    color: white;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2em 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
    border: 1px solid #404050;
    padding: 1em 1.2em;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

.wikitable > * > tr > th {
    background: linear-gradient(135deg, #1f1f25 0%, #27272e 100%);
    color: #b8e6ff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    position: relative;
    font-family: 'Inter', sans-serif;
}

.wikitable > * > tr > th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #77c1d9, transparent);
}

.wikitable > * > tr:hover > td {
    background: rgba(119, 193, 217, 0.15);
    transform: scale(1.01);
}

.wikitableKZ {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: linear-gradient(135deg, #2a2a32 0%, #35353d 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    font-family: 'Inter', sans-serif;
}

.navbox {
    border: 1px solid #404050;
    width: 100%;
    clear: both;
    font-size: 90%;
    text-align: center;
    padding: 0;
    margin: 2em auto 0;
    background: linear-gradient(135deg, #2a2a32 0%, #35353d 100%);
    color: white;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    font-family: 'Inter', sans-serif;
}

.infobox {
    border: 1px solid #404050;
    border-spacing: 0;
    background: linear-gradient(135deg, #2a2a32 0%, #35353d 100%);
    color: white;
    margin: 1em 0 1em 2em;
    padding: 0;
    float: right;
    clear: right;
    font-size: 90%;
    line-height: 1.6em;
    width: 26em;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.infobox tr {
    transition: all 0.3s ease;
}

.infobox tr:hover {
    background: rgba(119, 193, 217, 0.1);
    transform: translateX(5px);
}

#simpleSearch {
    background: linear-gradient(135deg, #27272e 0%, #2f2f36 100%);
    border: 2px solid #404050;
    border-radius: 30px;
    transition: all 0.4s ease;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

#simpleSearch::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #77c1d9, #9dd7ea, #77c1d9);
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

#simpleSearch:focus-within::before {
    opacity: 1;
}

#simpleSearch:focus-within {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(119, 193, 217, 0.3);
}

#searchInput {
    color: white;
    background: transparent;
    border: none;
    padding: 15px 25px;
    font-size: 15px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

#searchInput::placeholder {
    color: #999;
    opacity: 0.8;
    font-style: italic;
    font-family: 'Inter', sans-serif;
}

.vector-menu-tabs {
    background: transparent;
}

.vector-menu-tabs li {
    background: linear-gradient(135deg, #212126 0%, #27272e 100%);
    border-radius: 12px 12px 0 0;
    margin-right: 3px;
    transition: all 0.4s ease;
    border: 1px solid #404050;
    border-bottom: none;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.vector-menu-tabs li::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #77c1d9, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vector-menu-tabs li:hover::before {
    opacity: 1;
}

.vector-menu-tabs li:hover {
    background: linear-gradient(135deg, #27272e 0%, #2f2f36 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.vector-menu-tabs .selected {
    background: linear-gradient(135deg, #35353d 0%, #404050 100%);
    border-color: #77c1d9;
    box-shadow: 0 -4px 12px rgba(119, 193, 217, 0.4);
}

.vector-menu-tabs .selected::before {
    opacity: 1;
}

.vector-menu-tabs .selected a,
.vector-menu-tabs .selected a:visited {
    color: #b8e6ff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    font-family: 'Inter', sans-serif;
}

.vector-menu-tabs li a,
.vector-menu-tabs li a:visited {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk,
body.skin--responsive .portlet,
body.skin--responsive .pBody,
#mw-panel,
.mw-panel,
#sidebar,
.sidebar,
.vector-menu-portal,
.vector-legacy-sidebar,
#p-navigation,
#p-tb,
#p-lang {
    background: linear-gradient(135deg, #212126 0%, #27272e 100%);
    color: #e8e8e8;
    border: 1px solid #404050;
    border-radius: 12px;
    margin-bottom: 1.5em;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.vector-menu-portal h3,
#mw-panel .portal h3,
.sidebar h3 {
    background: linear-gradient(135deg, #35353d 0%, #404050 100%);
    color: #b8e6ff;
    padding: 0.8em 1.2em;
    margin: 0;
    border-radius: 12px 12px 0 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9em;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.vector-menu-portal h3::after,
#mw-panel .portal h3::after,
.sidebar h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #77c1d9, transparent);
}

.vector-menu-portal .vector-menu-content ul li a,
#mw-panel .portal .body ul li a {
    color: #77c1d9;
    padding: 0.8em 1.2em;
    display: block;
    transition: all 0.4s ease;
    border-radius: 6px;
    margin: 3px 6px;
    position: relative;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.vector-menu-portal .vector-menu-content ul li a::before,
#mw-panel .portal .body ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, #77c1d9, #9dd7ea);
    transition: width 0.3s ease;
    border-radius: 6px 0 0 6px;
}

.vector-menu-portal .vector-menu-content ul li a:hover::before,
#mw-panel .portal .body ul li a:hover::before {
    width: 4px;
}

.vector-menu-portal .vector-menu-content ul li a:hover,
#mw-panel .portal .body ul li a:hover {
    background: rgba(119, 193, 217, 0.15);
    color: #9dd7ea;
    transform: translateX(8px);
    text-shadow: 0 0 8px rgba(119, 193, 217, 0.5);
}

.mw-editform #wpTextbox1,
textarea {
    background: linear-gradient(135deg, #2a2a32 0%, #35353d 100%);
    border: 2px solid #404050;
    color: white;
    border-radius: 10px;
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    padding: 1.5em;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.4s ease;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    resize: vertical;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.mw-editform #wpTextbox1:focus,
textarea:focus {
    border-color: #77c1d9;
    outline: none;
    box-shadow: 0 0 0 4px rgba(119, 193, 217, 0.3);
    transform: scale(1.01);
}

.CodeMirror {
    background: linear-gradient(135deg, #2a2a32 0%, #35353d 100%);
    border: 2px solid #404050;
    border-radius: 10px;
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: white;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.3);
}

.CodeMirror-lines {
    padding: 1em;
}

.CodeMirror-gutters {
    background: linear-gradient(135deg, #1f1f25 0%, #27272e 100%);
    border-right: 1px solid #404050;
    border-radius: 10px 0 0 10px;
    color: #77c1d9;
    font-family: 'JetBrains Mono', monospace;
    padding-right: 10px;
}

.CodeMirror-linenumber {
    color: #77c1d9;
    padding-right: 8px;
    font-weight: 500;
    text-align: right;
    min-width: 3em;
}

.CodeMirror-cursor {
    border-left: 2px solid #77c1d9;
}

.CodeMirror-selected {
    background: rgba(119, 193, 217, 0.2);
}

.CodeMirror-line {
    color: #e8e8e8;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
    background: linear-gradient(135deg, #27272e 0%, #35353d 100%);
    border: 2px solid #404050;
    color: white;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    padding: 1em 2em;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover::before {
    left: 100%;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
    background: linear-gradient(135deg, #35353d 0%, #404050 100%);
    border-color: #77c1d9;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    text-shadow: 0 0 8px rgba(119, 193, 217, 0.5);
}

.tooltip {
    position: relative;
    display: inline;
    cursor: help;
}

.tooltiptext {
    position: absolute;
    display: block;
    z-index: 99999;
    width: 350px;
    left: -150px;
    top: 50px;
    padding: 1.5em;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    white-space: normal;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #77c1d9;
    background: linear-gradient(135deg, #1f1f25 0%, #27272e 100%);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    font-size: 13px;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.tooltiptext::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #77c1d9;
}

.tooltiptext::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #27272e;
}

.tooltip:hover > .tooltiptext {
    visibility: visible;
    opacity: 1;
    transform: translateY(-10px);
}

::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #1f1f25 0%, #27272e 100%);
    border-radius: 10px;
    border: 1px solid #404050;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #404050 0%, #505060 100%);
    border-radius: 10px;
    border: 2px solid #1f1f25;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #505060 0%, #606070 100%);
    box-shadow: 0 0 8px rgba(119, 193, 217, 0.5);
}

::-webkit-scrollbar-corner {
    background: #1f1f25;
}

h1, h2, h3, h4, h5, h6 {
    color: #b8e6ff;
    font-family: 'Playfair Display', 'Oswald', serif;
    font-weight: 600;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
    border-bottom: 3px solid #404050;
    padding-bottom: 0.5em;
    margin-top: 2em;
    position: relative;
    letter-spacing: 0.5px;
}

h1::after, h2::after, h3::after, h4::after, h5::after, h6::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #77c1d9, #9dd7ea);
    border-radius: 3px;
}

h1 {
    background: linear-gradient(90deg, #77c1d9, #9dd7ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.8em;
    font-weight: 700;
}

h2 {
    font-size: 2.2em;
    font-weight: 600;
}

h3 {
    font-size: 1.8em;
    font-weight: 600;
}

h4 {
    font-size: 1.5em;
    font-weight: 500;
}

h5 {
    font-size: 1.3em;
    font-weight: 500;
}

h6 {
    font-size: 1.1em;
    font-weight: 500;
}

pre {
    background: linear-gradient(135deg, #1f1f25 0%, #27272e 100%);
    border: 2px solid #404050;
    border-radius: 12px;
    padding: 1.5em;
    overflow-x: auto;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.4);
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.mw-highlight {
    background: linear-gradient(135deg, #1f1f25 0%, #27272e 100%);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    border: 1px solid #404050;
}

#p-logo a {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    display: block;
}

#p-logo a:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

#p-personal ul li a {
    color: #77c1d9;
    padding: 0.8em 1em;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 2px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

#p-personal ul li a:hover {
    background: rgba(119, 193, 217, 0.15);
    color: #9dd7ea;
    text-shadow: 0 0 8px rgba(119, 193, 217, 0.5);
}

.vector-menu-dropdown .vector-menu-content {
    background: linear-gradient(135deg, #27272e 0%, #35353d 100%);
    border: 2px solid #404050;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    padding: 0.5em;
    font-family: 'Inter', sans-serif;
}

#pt-createaccount,
#site-tools,
.flaggedrevs_draft_synced,
.flaggedrevs_stable_synced,
#t-upload {
    display: none;
}

.reference {
    background-color: transparent;
}

.references li:target,
sup.reference:target {
    background: rgba(119, 193, 217, 0.25);
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(119, 193, 217, 0.5);
}

.vector-legacy-sidebar {
    background: rgba(33, 33, 38, 0.85);
    border-radius: 0 12px 12px 0;
    box-shadow: 3px 0 15px rgba(0, 0, 0, 0.4);
}

#footer {
    background: linear-gradient(135deg, #1a1a1f 0%, #252530 100%);
    border-top: 3px solid #404050;
    border-radius: 12px 12px 0 0;
    margin-top: 3em;
    padding: 2em;
    color: #b8b8b8;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.4);
    font-family: 'Inter', sans-serif;
}

.mw-search-result-heading a {
    color: #77c1d9;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.mw-search-result-data {
    color: #b8b8b8;
    font-style: italic;
    font-family: 'Inter', sans-serif;
}

.mw-changeslist-line {
    border-left: 3px solid #404050;
    padding-left: 1em;
    margin-bottom: 0.5em;
    font-family: 'Inter', sans-serif;
}

.mw-changeslist-line:hover {
    border-left-color: #77c1d9;
    background: rgba(119, 193, 217, 0.05);
}

li {
    line-height: 1.7;
    margin-bottom: 0.5em;
    font-family: 'Inter', sans-serif;
}

strong, b {
    font-weight: 600;
    color: #b8e6ff;
}

em, i {
    font-style: italic;
    color: #d0d0d0;
}

.firstHeading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3em;
    background: linear-gradient(90deg, #77c1d9, #9dd7ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5em;
}