* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #ffffff;
    color: #111111;
    padding: 40px 20px;
    line-height: 1.6;
}

a {
    display: inline-block;
    width: fit-content;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

a:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.navbar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.nav-item {
    background-color: transparent;
    color: #666666;
    padding: 6px 16px;
    font-size: 12px;
    margin: 0;
}

.nav-item.active {
    background-color: #000000;
    color: #ffffff;
}

.card {
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.cover-box {
    position: relative;
    margin-bottom: 50px;
}

.cover-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
}

.avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    bottom: -50px;
    left: 40px;
    border: 4px solid #ffffff;
    background-color: #ffffff;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.ip-text {
    margin: 0;
    font-size: 12px;
    color: #999999;
}

.btn-start {
    background-color: #000000;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    margin: 0;
}

.btn-start:hover {
    background-color: #333333;
}

.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.tags span {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: #666666;
}

.quote {
    margin: 0;
    font-size: 14px;
    color: #777777;
    line-height: 1.6;
}

.header-with-avatar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
}

.header-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    border: 2px solid #ffffff;
    background-color: #000000;
}

.header-with-avatar h1 {
    font-size: 20px;
    margin: 0;
    color: #111111;
}

.info-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
}

.info-box-vertical {
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
}

.info-box-vertical .box-label {
    display: block;
    margin-bottom: 10px;
}

.info-box-vertical .box-content {
    font-size: 13px;
    color: #333333;
    line-height: 1.8;
}

.box-label {
    font-size: 13px;
    color: #888888;
    letter-spacing: 1px;
}

.box-value {
    font-size: 14px;
    color: #111111;
    font-weight: 500;
}

.chat-container {
    margin-bottom: 20px;
}

.chat-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.chat-row.reverse {
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    filter: grayscale(100%);
    flex-shrink: 0;
    border: 1px solid #e5e5e5;
}

.chat-bubble {
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #111111;
    line-height: 1.6;
    max-width: 70%;
    word-wrap: break-word;
}

.chat-row:not(.reverse) .chat-bubble {
    border-top-left-radius: 2px;
}

.chat-row.reverse .chat-bubble {
    border-top-right-radius: 2px;
    background-color: #e0e0e0;
}

.chat-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.chat-footer .ip-text {
    margin: 0;
    font-size: 12px;
    color: #999999;
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-back {
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    color: #888888;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s;
    margin: 0;
}

.btn-back:hover {
    background-color: #f5f5f5;
    color: #333333;
}

.btn-next-text {
    background-color: transparent;
    color: #999999;
    font-size: 13px;
    text-decoration: none;
    margin: 0;
}

.btn-next-text:hover {
    color: #111111;
}

.category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: #666666;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    background-color: #f0f0f0;
}

.tab-btn.active {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

.tab-content {
    margin-bottom: 20px;
}

.content-panel {
    display: none;
}

.content-panel.active {
    display: block;
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    font-size: 14px;
    color: #333333;
    min-height: 100px;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 40px;
    width: 100%;
}

.category-list .list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px 20px;
    text-decoration: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.category-list .list-item:hover {
    background-color: #fafafa;
    border-color: #d0d0d0;
}

.item-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-num {
    font-size: 12px;
    color: #999999;
    font-family: monospace;
}

.item-title {
    font-size: 14px;
    color: #333333;
    font-weight: 500;
}

.item-en {
    font-size: 12px;
    color: #999999;
    letter-spacing: 1px;
}

.list-item:hover .item-right {
    color: #111111;
}