@charset "UTF-8";

/*!
 * animate.css -http://daneden.me/animate
 * Version - 3.5.2
 * Licensed under the MIT license - http://opensource.org/licenses/MIT
 *
 * Copyright (c) 2017 Daniel Eden
 */

        body {
            font-family: "微软雅黑", sans-serif;
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: #f0f2f5;
        }

        .tool-bar {
            background-color: #ffffff;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .control-group {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
        }

        label {
            font-weight: 500;
            color: #333;
            display: flex;
            align-items: center;
        }

        select, input, textarea {
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
        }

        textarea {
            width: 100%;
            min-height: 150px;
            resize: vertical;
        }

        table {
            width: 100%;
            background-color: #fff;
            border-collapse: collapse;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        /* 固定列宽和间距 */
        th, td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #f0f0f0;
            width: 11.11%; /* 100% / 9列 = ~11.11% */
            box-sizing: border-box;
            white-space: nowrap;
        }

        th {
            background-color: #f8f9fa;
            font-weight: 600;
            position: sticky;
            top: 0;
        }

        td {
            transition: background-color 0.3s;
        }

        .btn {
            padding: 8px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            background-color: #4a90e2;
            color: white;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .btn:hover {
            background-color: #357abd;
        }

        .btn-primary {
            background-color: #4a90e2;
        }

        .btn-secondary {
            background-color: #6b7280;
        }

        .btn-danger {
            background-color: #e53e3e;
        }

        .monster-row:hover {
            background-color: #f9f9fa;
        }

        .error {
            color: red;
            font-size: 0.9em;
            margin-top: 5px;
            display: none;
        }

        .flex-container {
            display: flex;
            gap: 15px;
        }

        .flex-1 {
            flex: 1;
        }

        /* 统计信息 */
        .stats {
            font-size: 16px;
            color: #333;
            font-weight: bold;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        /* 地图分组标题样式 */
        .map-group-header {
            background-color: #e9ecef;
            font-weight: bold;
            text-align: left;
            padding: 8px 15px;
            border-radius: 4px;
            margin-top: 10px;
        }

        /* 批量调整面板 */
        .batch-adjust-panel {
            background-color: #f8fafc;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 15px;
            border: 1px solid #e2e8f0;
        }

        .adjust-field {
            margin-right: 15px;
        }

        /* 编辑状态样式 */
        .editing {
            background-color: #f0f9ff;
        }

        /* 名字编辑框 */
        .name-edit {
            width: 100%;
            box-sizing: border-box;
        }

        /* 操作反馈提示 */
        .operation-feedback {
            padding: 10px 15px;
            border-radius: 4px;
            font-weight: 500;
            display: inline-block;
            margin: 0 15px;
        }

        .feedback-success {
            background-color: #e6fffa;
            color: #38a169;
            border: 1px solid #b2f5ea;
        }

        .feedback-info {
            background-color: #ebf8ff;
            color: #3182ce;
            border: 1px solid #bee3f8;
        }

        .feedback-error {
            background-color: #ffebee;
            color: #e53e3e;
            border: 1px solid #fed7d7;
        }

        /* 新增的计算方式单选框样式 */
        .calc-method-group {
            display: flex;
            align-items: center;
            gap: 15px;
            margin: 10px 0;
        }
        
        .calc-method-group label {
            display: flex;
            align-items: center;
            cursor: pointer;
        }
        
        .calc-method-group input[type="radio"] {
            margin-right: 5px;
        }

        /* 底部按钮组 */
        .bottom-buttons {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        /* 清空按钮样式 */
        .clear-btn {
            margin-left: 10px;
        }

        /* 新增怪物表单 */
        .new-monster-form {
            background-color: #f0f2f5;
            padding: 15px;
            border-radius: 8px;
            margin-top: 15px;
            border: 1px solid #e2e8f0;
        }

        .new-monster-form .control-group {
            margin-bottom: 10px;
        }

        /* 调整输入框宽度 */
        .new-monster-form input {
            flex: 0; /* 不自动扩展 */
            width: 80px; /* 设置固定宽度 */
            margin-right: 10px;
        }
        
        /* 地图和名字输入框保留较宽的宽度 */
        .new-monster-form input#newMap, 
        .new-monster-form input#newName {
            flex: 1; /* 让地图和名字输入框保持原有宽度 */
            max-width: 150px;
        }

       /* 导航栏 */
        .navbarr {
            position: fixed;
            top: 0;
            width: 61%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(226, 232, 240, 0.1);
            padding: 1rem 0;
            z-index: 1000;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .navbarr.scrolled {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: var(--shadow-lg);
            border-bottom: 1px solid var(--border-color);
        }

        .navv-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
        }

        .logoo {
            font-size: 1.75rem;
            font-weight: 700;
            color: #455473;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .logoo-icon {
            width: 32px;
            height: 32px;
            background: var(--gradient-primary);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1rem;
        }

        .navv-menu {
            display: flex;
            list-style: none;
            gap: 3rem;
            align-items: center;
        }

        .navv-menu a {
            text-decoration: none;
            color: #171d27;
            font-weight: 500;
            font-size: 1.05rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            padding: -0.5rem 0;
        }

        .navv-menu a:hover {
            color: var(--primary-color);
            margin-top: 20px;
        }

        .navv-menu a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 1;
            left: 0;
            margin-top: 28px;
			
            background: var(--primary-color);
            transition: width 0.5s cubic-bezier(0.6, 0, 0.2, 1);
        }

        .navv-menu a:hover::after {
            width: 100%;
        }

        .navv-cta {
            background: var(--primary-color);
            color: white !important;
            padding: 0.4rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .navv-cta:hover {
            transform: translateY(-25px);
            box-shadow: var(--shadow-lg);
            background: #0056b3;
        }

        .navv-cta::after {
            display: none;
        }

        /* 移动端菜单 */
        .mobilee-menu-btn {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 8px;
            transition: background-color 0.3s ease;
        }

        .mobilee-menu-btn:hover {
            background-color: var(--secondary-color);
        }

        .mobilee-menu-btn span {
            width: 24px;
            height: 2px;
            background: var(--text-primary);
            margin: 3px 0;
            transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 2px;
        }