* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Microsoft Yahei', Arial, sans-serif;
}

body {
    background: #fff;
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
}

.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 999;
}

.header-top {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 18px 20px;
}

.octive{
    background: #2896F0;
    padding: 6px 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.menu-btn {
    width: 30px;
    height: 30px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    cursor: pointer;
    display: none;
}

.menu-btn span {
    width: 100%;
    height: 3px;
    background: #333;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.header-title {
    font-size: 22px;
    color: #333;
    text-align: center;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin: 0 20px;
}

.nav-bar {
    background: #2175d9;
    padding: 14.5px 20px;
}

.nav-list {
    list-style: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    max-width: 939.9px;
    margin: 0 auto;
}

.nav-list li {
    margin-right: 5px;
}

.nav-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 6px 10px;
    display: block;
}

.nav-list li a:hover {
    background: #2896F0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.container {
    width: 1000px;
    margin: 0 auto;
    padding: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.label-with-options {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.label-with-options > * {
    margin-right: 15px;
}

textarea {
    width: 100%;
    height: 203px;
    min-height: 100px;
    max-height: 500px;
    padding: 15px;
    border: 2px solid #eee;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    font-size: 28px;
    line-height: 1.5;
    resize: vertical;
    -webkit-transition: border-color 0.3s ease;
    transition: border-color 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: #4361ee;
    -webkit-box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
    -moz-box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

textarea::-webkit-input-placeholder {
    font-size: 16px;
    color: #999;
    opacity: 1;
    line-height: 1.5;
}
textarea::-moz-placeholder {
    font-size: 16px;
    color: #999;
    opacity: 1;
    line-height: 1.5;
}
textarea:-ms-input-placeholder {
    font-size: 16px;
    color: #999;
    opacity: 1;
    line-height: 1.5;
}
textarea::placeholder {
    font-size: 16px;
    color: #999;
    opacity: 1;
    line-height: 1.5;
}

.btn-group {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn-group button {
    margin-right: 15px;
    margin-bottom: 10px;
}

button {
    padding: 12px 25px;
    border: none;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #4361ee;
    color: white;
}

.btn-primary:hover {
    background: #3a56d4;
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
}

.btn-secondary:hover {
    background: #e9ecef;
}

.result-group {
    background: #f8f9fa;
    padding: 1px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none; /* Ä¬ÈÏÒþ²Ø */
}

.result-group.show {
    display: block;
}

.result-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    overflow: hidden;
    min-width: 600px;
}

.result-table th, .result-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.result-table th {
    background: #f9f9fa;
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.result-table th:nth-child(1), .result-table td:nth-child(1) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.result-table th:nth-child(2), .result-table td:nth-child(2) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.result-table th:nth-child(3), .result-table td:nth-child(3) {
    text-align: center;
}

.amount-text {
    font-size: 20px;
    color: #333;
}
.capital-text {
    font-size: 26px;
    color: #222;
}
.error-text {
    color: #dc3545;
    font-weight: 600;
}

.copy-btn {
    padding: 8px 12px;
    font-size: 14px;
    background: #4361ee;
    color: white;
    border: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #3a56d4;
}

.unit-options {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: normal;
}
.unit-options > * {
    margin-right: 10px;
}

.unit-option {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 14px;
}

.unit-option input[type="radio"] {
    width: 16px;
    height: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: none;
}

.unit-option .radio-custom {
    width: 16px;
    height: 16px;
    border: 2px solid #4361ee;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.unit-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #4361ee;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.unit-option label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    margin-left: 5px;
}

.map-table-group {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.map-table-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    text-align: left;
}

.char-grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 30px;
    margin-left: 30px;
}
.char-grid > * {
    margin-right: 110px;
    margin-bottom: 20px;
}

.char-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 80px;
}

.char-big {
    width: 130px;
    height: 130px;
    border: 1px solid #ccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 80px;
    font-weight: 500;
    margin-bottom: 8px;
    background: #fff;
}

.char-small {
    font-size: 26px;
    color: #333;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.char-small > * {
    margin-right: 5px;
}

.char-red {
    color: #d32f2f;
    font-weight: 600;
    font-size: 26px;
}

.map-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 15px 0;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.common-amount-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.common-amount-table th,
.common-amount-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.common-amount-table th {
    background: #f9f9fa;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.common-amount-table td {
    font-size: 15px;
    color: #555;
}

.common-amount-table td:nth-child(2) {
    color: #2175d9;
    font-weight: 500;
}

.common-amount-table tr:last-child td {
    border-bottom: none;
}

.knowledge-section {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.knowledge-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.knowledge-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.knowledge-content p {
    margin-bottom: 10px;
}

.knowledge-content ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.knowledge-content li {
    margin-bottom: 8px;
}

.history-conversion-section {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.history-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.history-numbers {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    word-wrap: break-word;
    white-space: normal;
}

.history-number-link {
    color: #2175d9;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.history-number-link:hover {
    color: #ff0000;
    text-decoration: none;
}

.auto-convert-tip {
    background: #e8f4fd;
    padding: 15px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #2175d9;
}

.auto-convert-tip h3 {
    font-size: 18px;
    color: #1756b8;
    margin-bottom: 10px;
}

.auto-convert-tip p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.auto-convert-result {
    color: #d32f2f;
    font-weight: 600;
    font-size: 18px;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    background: #f8f9fa;
    margin-top: 30px;
}
.footer a{
    color: #666;
    text-decoration: none;
}
.footer a:hover{
    color: #ff0000;
}

.copy-success {
    position: fixed;
    top: 30%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) scale(0.8);
    -moz-transform: translate(-50%, -50%) scale(0.8);
    -ms-transform: translate(-50%, -50%) scale(0.8);
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(46, 204, 113, 0.95);
    color: white;
    padding: 15px 30px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 9999;
    opacity: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.copy-success.show {
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) scale(1);
    -moz-transform: translate(-50%, -50%) scale(1);
    -ms-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    -webkit-box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    -moz-box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    padding-top: 70px;
    -webkit-transition: left 0.3s ease;
    transition: left 0.3s ease;
    z-index: 9999;
}

.mobile-menu.active {
    left: 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 0 20px;
}

.mobile-nav-list li {
    border-bottom: 1px solid #eee;
}

.mobile-nav-list li a {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 9998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #4361ee;
    color: #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 9999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #3a56d4;
}

@media (max-width: 1024px) {
    .container {
        width: 100%;
        padding: 20px;
    }

    .menu-btn {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }

    .nav-bar {
        display: none;
    }

    .result-table th, .result-table td {
        padding: 12px;
    }

    .label-with-options {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    textarea {
        font-size: 22px;
        line-height: 1.5;
    }

    .amount-text, .capital-text {
        font-size: 18px;
    }

    .copy-btn {
        padding: 6px 10px;
        font-size: 13px;
    }

    .copy-success {
        padding: 12px 24px;
        font-size: 16px;
        min-width: 200px;
    }

    .char-grid > * {
        margin-right: 15px;
    }

    .char-box {
        width: 60px;
    }

    .char-big {
        width: 55px;
        height: 55px;
        font-size: 32px;
    }

    .char-small {
        font-size: 14px;
    }

    .char-red {
        font-size: 16px;
    }

    .knowledge-content {
        font-size: 14px;
    }

    .common-amount-table th,
    .common-amount-table td {
        padding: 10px 12px;
        font-size: 14px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
}

.zhuan{
    display: none;
}
h1 {
    font-size: 36px;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
}
h2 {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: left;
}