﻿

/* Deduplicated: removed 11 selectors that exist in playnew.css */

.achive-circle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-family: -apple-system;
    font-size: 7vw;
    height: 14vw;
    padding-top: 2vw;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    width: 14vw;
}

.achive-circle-space {
    padding: 5px;
}

.achive-desc {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 500;
    padding: 10px 10px 10px 25px;
    width: 100%;
}

.achive-desc-block {
    left: 10%;
    position: absolute;
    right: 10%;
}

.achives {
    display: grid;
    grid-template: "a b c d e";
    padding: 15px;
}

.actions-overlay {
    bottom: 200px !important;
    isolation: isolate;
    left: 50% !important;
    max-height: calc(100vh - 260px);
    max-width: calc(100vw - 400px);
    overflow-x: hidden;
    overflow-y: auto;
    pointer-events: auto !important;
    position: fixed !important;
    transform: translateX(-50%) !important;
    width: 600px;
    z-index: 1500 !important;
}

.active {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    min-width: 150px;
    text-align: center;
    width: 45%;
}

.arrow-button {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    touch-action: none;
    user-select: none;
}

.blazor-error-ui {
    display: none;
    height: 0px;
    width: 0px;
}

.bottom-button {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 700;
    padding: 15px;
    width: 100%;
}

.bottom-buttons {
    display: grid;
}

.button-joint-to-guild {
    background-color: #1C3D23;
    bottom: 0;
    color: #42FE76;
    font-weight: 700;
    height: 80px;
    left: 0;
    padding: 25px;
    position: absolute;
    text-align: center;
    width: 100%;
}

.button-left-from-guild {
    background-color: #410B0B;
    border-radius: 50px;
    bottom: 0;
    color: #FF4646;
    font-weight: 700;
    height: 80px;
    left: 0;
    padding: 25px;
    text-align: center;
    width: 100%;
}

.buttons-use {
    display: flex;
}

.card-space {
    padding: 0px 0px 20px 0px;
}

.card-space-block {
    padding: 0px 20px 0px 0px;
}

.cell-space {
    padding: 0px 0px 5px 5px;
}

.chat-close-btn {
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    padding: 4px 8px;
    transition: background 0.2s;
}

.chat-header-controls {
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    padding: 8px;
}

.chat-overlay {
    backdrop-filter: blur(10px);
    background: linear-gradient(145deg, rgba(15, 17, 22, 0.95), rgba(25, 28, 35, 0.95));
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 16px;
    bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    max-height: 400px;
    overflow: hidden;
    position: fixed;
    right: 20px;
    width: 350px;
    z-index: 1000;
}

.chat-preview {
    backdrop-filter: blur(10px);
    background: linear-gradient(145deg, rgba(15, 17, 22, 0.95), rgba(25, 28, 35, 0.95));
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    bottom: 90px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    display: none;
    left: 20px;
    max-width: calc(100vw - 40px);
    padding: 12px;
    position: fixed;
    right: 20px;
    z-index: 1000;
}

.chat-preview-author {
    color: #4CAF50;
    font-size: 12px;
    font-weight: 600;
}

.chat-preview-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.chat-preview-text {
    color: #ddd;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-toggle-btn {
    align-items: center;
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.9), rgba(56, 142, 60, 0.9));
    border: 2px solid rgba(76, 175, 80, 0.5);
    border-radius: 50%;
    bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    color: white;
    cursor: pointer;
    display: none;
    font-size: 28px;
    height: 60px;
    justify-content: center;
    position: fixed;
    right: 20px;
    transition: all 0.3s ease;
    width: 60px;
    z-index: 1001;
}

.chat-unread-badge {
    align-items: center;
    background: #ff4444;
    border: 2px solid rgba(15, 17, 22, 0.95);
    border-radius: 50%;
    color: white;
    display: flex;
    font-size: 12px;
    font-weight: bold;
    height: 24px;
    justify-content: center;
    position: absolute;
    right: -5px;
    top: -5px;
    width: 24px;
}

.dialog-content-section {
    background: linear-gradient(180deg, rgba(15, 20, 30, 0.6) 0%, rgba(20, 25, 35, 0.9) 100%);
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 24px;
    position: relative;
}

.dialog-image {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(76, 175, 80, 0.2);
    display: block;
    height: auto;
    max-height: 50vh;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    transition: transform 0.3s ease;
    width: auto;
    z-index: 1;
}

.dialog-image-section {
    align-items: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.15) 70%, rgba(0, 0, 0, 0.1) 100%);
    border-bottom: 2px solid rgba(76, 175, 80, 0.3);
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    overflow: hidden;
    padding: 30px;
    position: relative;
}

.dropbtn {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    padding: 16px;
    width: 100%;
}

.dropdown {
    display: inline-block;
    max-width: 790px;
    padding: 10px;
    position: relative;
    width: 100%;
}

.dropdown-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0px 0px 12px 12px;
    border-top: none;
    display: none;
    max-width: 790px;
    text-align: center;
    width: 100%;
    z-index: 1;
}

.dropdown-content-padding {
    padding: 0px 20px 0px 0px;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.equip-table {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    justify-items: center;
    padding: 10px;
}

.exp-elipse {
    background: #D9D9D9;
    border: 5px rgba(40.38, 74.72, 255, 0.25) solid;
    border-radius: 9999px;
    height: 130px;
    width: 130px;
}

.exploration-mode {
    display: grid;
    gap: 16px;
    grid-template-columns: 320px 1fr;
    margin: 0 auto;
    max-width: 1400px;
}

.exploration-mode.dialog-mode {
    opacity: 0.3;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.fight-action-btn {
    align-items: center;
    background: rgba(76, 175, 80, 0.12);
    border: 1px solid rgba(76, 175, 80, 0.35);
    border-radius: 10px;
    color: var(--accent-primary);
    cursor: pointer;
    display: inline-flex;
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    gap: 6px;
    justify-content: center;
    min-width: calc(25% - 8px);
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fight-action-btn.attack {
    background: rgba(239, 83, 80, 0.12);
    border-color: rgba(239, 83, 80, 0.35);
    color: var(--accent-danger);
}

.fight-action-btn.escape {
    background: rgba(255, 183, 77, 0.12);
    border-color: rgba(255, 183, 77, 0.35);
    color: var(--accent-warning);
}

.fight-action-btn.skill {
    background: rgba(186, 104, 200, 0.12);
    border-color: rgba(186, 104, 200, 0.35);
    color: var(--accent-special);
}

.fight-action-btn.skip {
    background: rgba(100, 181, 246, 0.12);
    border-color: rgba(100, 181, 246, 0.35);
    color: var(--accent-info);
}

.fight-actions-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.fullscreen-chat {
    height: calc(100vh - 100px);
}

.fullscreen-dialog {
    animation: dialogSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(145deg, rgba(20, 25, 35, 0.98) 0%, rgba(15, 20, 30, 0.98) 50%, rgba(20, 25, 35, 0.98) 100%);
    border: 2px solid rgba(76, 175, 80, 0.5);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(76, 175, 80, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 0 40px rgba(76, 175, 80, 0.1);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    max-width: 1000px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.fullscreen-dialog-overlay {
    align-items: center;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.85);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 20px;
    pointer-events: auto;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10000 !important;
}

.fullscreen-map {
    bottom: 0;
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 1;
}

.game-layout {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    position: relative;
}

.gradient {
    align-content: stretch;
    align-items: stretch;
    background: linear-gradient(180deg, rgba(21, 21, 21, 0) 0%, #1E1E1E 99.99%, #1E1E1E);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100vw;
    justify-content: space-between;
    width: 100vw;
}

.guild-block {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    width: 100%;
}

.guild-block-body {
    color: var(--text-primary);
    font-size: 22px;
}

.guild-block-header {
    color: var(--text-secondary);
    font-size: 16px;
}

.guild-blocks {
    display: grid;
    grid-template: "a b"
        "c d";
    padding: 0px 21px 15px 11px;
}

.header {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
    padding: 18px;
}

.hp-bar-back {
    background: rgba(236.94, 63.18, 63.18, 0.25);
    border-radius: 34px;
    height: 10px;
    width: 100%;
}

.invenory-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.inventory-placeholder, .profile-placeholder {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 100px);
}

.inventory-slot {
    background-color: var(--bg-secondary);
    background-size: contain;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: "Inter", Helvetica;
    height: 16vw;
    position: relative;
    text-align: right;
    width: 16vw;
}

.inventory-slot-empty {
    height: 66px;
    width: 66px;
}

.item-body {
    padding: 0px 20px 20px 20px;
}

.item-button {
    align-items: center;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    height: 43px;
    justify-content: center;
    padding: 8px;
    width: 43px;
}

.item-buttons {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.item-count {
    padding: 0px 10px 0px 0px;
}

.item-desc {
    color: white;
    padding: 5px 0px 25px 0px;
}

.item-id {
    padding: 0px 10px;
}

.item-info {
    color: var(--text-primary);
    font-size: 14px;
    padding: 20px;
}

.item-level {
    padding: 0px 10px;
}

.item-lvlid {
    display: flex;
    flex-wrap: wrap;
}

.item-name {
    font-size: 24px;
    font-weight: 700;
    padding: 10px 0px;
}

.item-page {
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
}

.left-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: fit-content;
    max-height: calc(100vh - 100px);
    position: sticky;
    top: 12px;
}

.main-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.map-section {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding: 16px;
    position: relative;
}

.menu-item {
    border-radius: 35px;
    color: #8C8C8C;
    min-width: 150px;
    text-align: center;
    width: 45%;
}

.mmorpg-mode {
    bottom: 0;
    display: block;
    height: 100%;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.movement-controls-overlay {
    bottom: 20px !important;
    display: block !important;
    left: 20px !important;
    pointer-events: auto !important;
    position: fixed !important;
    z-index: 1000 !important;
}

.placeholder-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    text-align: center;
}

.placeholder-icon {
    font-size: 64px;
    opacity: 0.7;
}

.placeholder-link {
    background: var(--accent-primary);
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    padding: 12px 24px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.play-button {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 700;
    padding: 10px;
    width: 100%;
}

.play-button.arrow-button {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    touch-action: none;
    user-select: none;
}

.play-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    display: grid;
    justify-content: center;
    max-width: 790px;
}

.playerAva {
    background-position: left;
    background-repeat: no-repeat;
    background-size: 120px 120px;
    border: none;
    border-radius: 100px;
}

.profile {
    display: grid;
    grid-template-columns: 1fr;
}

.profile-avatar {
    height: 130px;
    padding: 15px;
    width: 130px;
}

.profile-avatar-xp {
    height: 20%;
    width: 20%;
}

.profile-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.profile-card-padding {
    padding: 0px 10px 10px 10px;
}

.profile-desc-block {
    padding: 25px 25px 15px 15px;
}

.profile-description {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 18.88px;
    padding: 15px;
    width: 100%;
}

.profile-exp {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    height: 17px;
}

.profile-guild {
    background: rgba(139, 115, 53, 0.16);
    border: 1px solid var(--accent-primary);
    border-radius: 8px;
    color: var(--accent-warning);
    font-size: 16px;
    font-weight: 700;
    padding: 5px 10px;
}

.profile-header {
    display: grid;
    grid-template-areas: "a b b b";
}

.profile-hp {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px 0px 0px 0px;
}

.profile-info {
    display: grid;
    flex-wrap: wrap;
    padding: 15px 5px 15px 25px;
}

.profile-level {
    height: 28px;
}

.profile-name {
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 700;
    height: 32px;
}

.px-4 {
    display: grid;
    grid-template: "a"
        "b"
        "c";
    justify-content: center;
}

.right-sidebar {
    display: none;
}

.sidebar-chat {
    flex: 1;
    max-height: 400px;
    min-height: 300px;
    overflow: hidden;
}

.slot-space {
    padding: 0px 2px 10px 0px;
}

.slots-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
}

.stat-cell {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    font-size: 3.5vw;
}

.stat-emoji {
    font-size: 5vw;
    padding: 10px 2px 0px 8px;
    text-align: center;
    vertical-align: middle;
}

.stat-inner {
    padding: 5px 0px 0px 0px;
}

.stat-value {
    color: var(--text-primary);
    font-size: 3vw;
    font-weight: 700;
}

.stats {
    padding: 15px;
}

.table {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    padding: 15px;
}

.table-old {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.table-players {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    border-spacing: 0px;
    margin-bottom: 20px;
    width: 100%;
}

.table-stat {
    border: none;
    border-spacing: 0px;
    margin-bottom: 20px;
    width: 100%;
}

.top-background {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

.top-header {
    color: white;
    font-size: 22px;
    font-weight: 700;
    height: 32px;
    padding: 25px;
    text-align: center;
}

.actions-overlay :deep(*) {
    pointer-events: auto !important;
}

.actions-overlay :deep(.game-content-panel) {
    backdrop-filter: blur(10px);
    background: linear-gradient(145deg, rgba(15, 17, 22, 0.95), rgba(25, 28, 35, 0.95));
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    pointer-events: auto !important;
    position: relative;
}

.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chat-overlay :deep(.chat-container) {
    height: 100%;
    max-height: calc(100vh - 40px);
}

.chat-toggle-btn:hover {
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
    transform: scale(1.1);
}

.components-reconnect-show, .components-reconnect-failed, .components-reconnect-rejected {
    display: none;
}

.dialog-content-section :deep(.action-btn) {
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.dialog-content-section :deep(.action-btn:hover) {
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}

.dialog-content-section :deep(.content-section) {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 12px;
    margin-bottom: 16px;
    padding: 16px;
}

.dialog-content-section :deep(.game-content-panel) {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.dialog-content-section::-webkit-scrollbar {
    width: 10px;
}

.dialog-content-section::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(76, 175, 80, 0.6) 0%, rgba(76, 175, 80, 0.4) 100%);
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.dialog-content-section::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(76, 175, 80, 0.8) 0%, rgba(76, 175, 80, 0.6) 100%);
}

.dialog-content-section::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    margin: 8px 0;
}

.dialog-content-section::before {
    background: linear-gradient(90deg, transparent 0%, rgba(76, 175, 80, 0.3) 50%, transparent 100%);
    content: '';
    height: 1px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.dialog-image-section::after {
    background: linear-gradient(90deg, transparent 0%, rgba(76, 175, 80, 0.5) 50%, transparent 100%);
    bottom: 0;
    box-shadow: 0 1px 4px rgba(76, 175, 80, 0.3);
    content: '';
    height: 1px;
    left: 0;
    position: absolute;
    right: 0;
}

.dialog-image-section::before {
    background: radial-gradient(ellipse at 30% 20%, rgba(76, 175, 80, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 70% 80%, rgba(76, 175, 80, 0.1) 0%, transparent 50%);
    bottom: 0;
    content: '';
    left: 0;
    opacity: 0.6;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
}

.dialog-image:hover {
    transform: scale(1.02);
}

.dropdown-content a {
    color: var(--text-primary);
    display: block;
    padding: 12px 16px;
    text-decoration: none;
}

.dropdown:hover .dropbtn {
    background-color: var(--bg-secondary);
    border-radius: 12px 12px 0px 0px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.fight-action-btn.attack:hover {
    background: rgba(239, 83, 80, 0.2);
    border-color: rgba(239, 83, 80, 0.5);
    box-shadow: 0 4px 12px rgba(239, 83, 80, 0.3);
}

.fight-action-btn.escape:hover {
    background: rgba(255, 183, 77, 0.2);
    border-color: rgba(255, 183, 77, 0.5);
    box-shadow: 0 4px 12px rgba(255, 183, 77, 0.3);
}

.fight-action-btn.skill:hover {
    background: rgba(186, 104, 200, 0.2);
    border-color: rgba(186, 104, 200, 0.5);
    box-shadow: 0 4px 12px rgba(186, 104, 200, 0.3);
}

.fight-action-btn.skip:hover {
    background: rgba(100, 181, 246, 0.2);
    border-color: rgba(100, 181, 246, 0.5);
    box-shadow: 0 4px 12px rgba(100, 181, 246, 0.3);
}

.fight-action-btn:hover {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.5);
    box-shadow: 0 4px 12px var(--glow-green);
    transform: translateY(-2px);
}

.fullscreen-chat :deep(.chat-container) {
    border-radius: 12px;
    height: 100%;
}

.fullscreen-dialog::after {
    background: radial-gradient(ellipse at top, rgba(76, 175, 80, 0.05) 0%, transparent 50%);
    border-radius: 20px;
    bottom: 0;
    content: '';
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
}

.fullscreen-dialog::before {
    background: linear-gradient(90deg, transparent 0%, rgba(76, 175, 80, 0.8) 20%, rgba(76, 175, 80, 1) 50%, rgba(76, 175, 80, 0.8) 80%, transparent 100%);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
    content: '';
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.fullscreen-map :deep(.map-canvas-fullscreen) {
    border-radius: 0 !important;
    display: block !important;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    width: 100% !important;
}

.fullscreen-map :deep(.map-fullscreen) {
    display: block !important;
    height: 100% !important;
    width: 100% !important;
}

.fullscreen-map :deep(canvas) {
    border-radius: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    pointer-events: none;
    width: 100% !important;
}

.fullscreen-map :deep(div) {
    display: block !important;
    height: 100% !important;
    pointer-events: none;
    width: 100% !important;
}

.game-layout > * {
    pointer-events: auto;
}

.game-layout::-webkit-scrollbar {
    width: 8px;
}

.game-layout::-webkit-scrollbar-thumb {
    background: rgba(76, 175, 80, 0.4);
    border-radius: 4px;
}

.game-layout::-webkit-scrollbar-thumb:hover {
    background: rgba(76, 175, 80, 0.6);
}

.game-layout::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

.hp-bar-back > span {
    background-color: #ED3F3F;
    background-image: linear-gradient( center bottom, rgb(43,194,83) 37%, rgb(84,240,84) 69% );
    border-radius: 34px;
    box-shadow: inset 0 2px 9px rgba(255,255,255,0.3), inset 0 -2px 6px rgba(0,0,0,0.4);
    display: block;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.inventory-slot span {
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: -2px 0 0 rgba(0, 0, 0, 0.5), 2px 0 0 rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    display: inline;
    line-height: 14px;
}

.item-id b {
    color: #C728FF;
}

.item-level b {
    color: #284BFF;
}

.mmorpg-mode .movement-controls-overlay, .mmorpg-mode :deep(.player-hud), .mmorpg-mode .chat-overlay {
    pointer-events: auto !important;
    position: fixed !important;
}

.mmorpg-mode :deep(.player-hud), :deep(.player-hud) {
    bottom: 20px !important;
    display: flex !important;
    left: 50% !important;
    pointer-events: auto !important;
    position: fixed !important;
    transform: translateX(-50%) !important;
    z-index: 1500 !important;
}

.mmorpg-mode > * {
    pointer-events: auto;
}

.mmorpg-mode.dialog-mode .fullscreen-map {
    filter: blur(4px);
    opacity: 0.3;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.nav-link:focus {
    color: #FFFFFF;
}

.placeholder-content h2 {
    color: var(--accent-primary);
    font-size: 24px;
    margin: 0;
}

.placeholder-content p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.placeholder-link:hover {
    background: var(--accent-secondary);
    box-shadow: 0 4px 12px var(--glow-green);
    transform: translateY(-2px);
}

.sidebar-chat :deep(.chat-container) {
    height: 100%;
}

.table-players tbody td {
    border: none;
    color: var(--text-primary);
    font-family: "Inter-Medium", Helvetica;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 19.2px;
    padding: 10px 25px;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

.table-players tbody tr td:first-child {
    border-radius: 8px 0 0 8px;
}

.table-players tbody tr td:last-child {
    border-radius: 0 8px 8px 0;
}

.table-players thead th {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: bold;
    padding: 10px 25px;
    text-align: left;
}

.table-players thead tr th:first-child {
    border-radius: 8px 0 0 8px;
}

.table-players thead tr th:last-child {
    border-radius: 0 8px 8px 0;
}

.table-stat tbody td {
    border: none;
    color: var(--text-secondary);
    font-family: "Inter";
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 19.2px;
    padding: 10px 25px;
    text-align: left;
    vertical-align: top;
}

.table-stat tbody tr td:first-child {
    border-radius: 8px 0 0 8px;
}

.table-stat tbody tr td:last-child {
    border-radius: 0 8px 8px 0;
}

.table-stat tbody tr:nth-child(even) {
    background: var(--bg-secondary);
}

.table-stat thead th {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: bold;
    padding: 10px 15px;
    text-align: left;
}

.table-stat thead tr th:first-child {
    border-radius: 8px 0 0 8px;
}

.table-stat thead tr th:last-child {
    border-radius: 0 8px 8px 0;
}

*:focus {
    outline: none;
}

*:focus:not(:focus-visible) {
    outline: none;
}

:root {
    --accent-danger: #8b2525;
    --accent-info: #6b8090;
    --accent-primary: #8b7335;
    --accent-secondary: #a8924a;
    --accent-special: #6b4a6b;
    --accent-warning: #a8924a;
    --bg-primary: #0a0908;
    --bg-secondary: #12110f;
    --bg-tertiary: #1a1816;
    --border-color: rgba(74, 70, 66, 0.5);
    --glow-green: rgba(139, 115, 53, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.8);
    --text-muted: #6b6560;
    --text-primary: #e8e0d4;
    --text-secondary: #a89a80;
}

code {
    color: var(--text-primary);
}

details > summary {
    border: none;
    cursor: pointer;
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

html {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: "Inter", Helvetica;
    font-size: 18px;
    font-weight: 700;
    line-height: 26.9px;
}

to {
    opacity: 1;
    transform: scale(1) translateY(0);
}

﻿.menue {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 15px;
}

to {
    transform: rotate(360deg);
}

from {
    opacity: 0;
}

from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
}
