.main .section-character .section-character-header {
    text-align: center;
    padding: 25px 0;
}

.main .section-character .section-character-header p {
    color: #d3bc7f;
    margin: 0;
}

.main .section-character .section-character-header p.vn {
    text-transform: uppercase;
    font-size: 40px;
    font-weight: 600;
}

.main .section-character .section-character-header p.en {
    font-size: 14px;
    text-transform: capitalize;
}

.main .section-character .box-char {
    position: relative;
    margin-bottom: 10px;
    padding: 0 5px;
}

.main .section-character .box-char>a {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 10px;
    text-decoration: none;
    color: inherit;
    align-items: center;
    border: 2px solid #2a2f38;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .18));
    outline: 1px solid rgba(0, 0, 0, .55);
}

.main .section-character .box-char>a::before {
    content: "";
    position: absolute;
    inset: -2px;
    pointer-events: none;
    border: 2px solid rgba(202, 167, 94, .22);
    clip-path: inherit;
}

.main .section-character .box-char>a:hover {
    border-color: #caa75e;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .16)),
        linear-gradient(180deg, rgba(202, 167, 94, .14), rgba(0, 0, 0, 0));
}

.main .section-character .box-char .avatar {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 50%;
    background: #0e1a30;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #3a424e;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.main .section-character .box-char>a:hover .avatar {
    border-color: #caa75e;
}

.main .section-character .box-char .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.main .section-character .box-char .avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 800;
    font-size: 14px;
}

.main .section-character .box-char .info {
    min-width: 0
}

.main .section-character .box-char .name {
    font-weight: 900;
    letter-spacing: .2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fbe7b0;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .4);
}

.main .section-character .box-char .sub {
    color: #9ca3af;
    font-size: 12px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.main .section-character .box-char .stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px
}

.main .section-character .box-char .stats span {
    background: rgba(202, 167, 94, .12);
    color: #fbe7b0;
    border: 1px solid rgba(202, 167, 94, .35);
    border-radius: 999px;
    padding: 2px 8px;
}

.main .section-character .box-char .weap {
    color: #9ca3af;
    font-size: 12px;
    margin-top: 6px
}

.main .section-character-detail .one-character {
    margin: 30px 0;
}

.main .section-character-detail .one-character-act {
    text-align: right;
}

.main .section-character-detail .row-title {
    display: flex;
    gap: 14px;
    align-items: center;
}

.main .section-character-detail .avatar {
    width: 128px;
    height: 128px;
    flex: 0 0 128px;
    border-radius: 50%;
    border: 2px solid #fbe7b0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0e1a30;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.main .section-character-detail .row-title:hover .avatar {
    border-color: #caa75e
}

.main .section-character-detail .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%
}

.main .section-character-detail .avatar-fallback {
    color: #94a3b8;
    font-size: 18px;
    font-weight: 800
}

.main .section-character-detail .headline {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.main .section-character-detail .name {
    font-size: 22px;
    font-weight: 900;
    color: #fbe7b0;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .4)
}

.main .section-character-detail .sub {
    color: #9ca3af
}

.main .section-character-detail .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px
}

.main .section-character-detail .chip {
    background: rgba(202, 167, 94, .12);
    color: #fbe7b0;
    border: 1px solid rgba(202, 167, 94, .35);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 12px
}

.main .section-character-detail .chip.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace
}

.main .section-character-detail .char-desc {
    font-size: 16px;
}

.main .section-character-detail .character-group {}

.main .section-character-detail .character-group .title {
    color: #fbe7b0;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .4);
    margin: 10px 0;
}

.main .section-character-detail .character-group .title.st {
    position: relative;
    margin: 16px 0 10px;
    color: #fbe7b0;
    font-weight: 900;
    letter-spacing: .3px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .4);
    padding-left: 14px;
}

.main .section-character-detail .character-group .title.st::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 9px;
    height: 9px;
    transform: translateY(-50%) rotate(45deg);
    background: #caa75e;
    box-shadow: 0 0 0 2px rgba(202, 167, 94, .25) inset, 0 0 10px rgba(202, 167, 94, .30);
}

.main .section-character-detail .character-group .title.st::after {
    content: "";
    display: block;
    height: 2px;
    margin-top: 6px;
    background: linear-gradient(90deg, rgba(202, 167, 94, .55), rgba(202, 167, 94, .12) 60%, transparent);
    opacity: .9;
}

.main .section-character-detail .character-group .statline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .18));
    border: 2px solid #2a2f38;
    outline: 1px solid rgba(0, 0, 0, .55);
    border-radius: 12px;
}

.main .section-character-detail .character-group .statline .kv {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(202, 167, 94, .30);
    background: rgba(202, 167, 94, .08);
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
    transition: border-color .15s, box-shadow .15s, transform .08s;
}

.main .section-character-detail .character-group .statline .k {
    font-size: 12px;
    font-weight: 800;
    color: #9ca3af;
    letter-spacing: .1px;
}

.main .section-character-detail .character-group .statline .v {
    font-size: 16px;
    font-weight: 900;
    color: #fbe7b0;
    padding-left: 8px;
    border-left: 1px solid rgba(202, 167, 94, .28);
}

.main .section-character-detail .character-group .skills-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
}

.main .section-character-detail .character-group .skills-list .skill-row {
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 12px;
    border: 2px solid #2a2f38;
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .18));
    border-radius: 12px;
}

.main .section-character-detail .character-group .skills-list .skill-row .sicon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #3a424e;
    background: #0e1a30;
}

.main .section-character-detail .character-group .skills-list .skill-row .sicon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main .section-character-detail .character-group .skills-list .skill-row .skill-body .sname {
    font-weight: 900;
    color: #fbe7b0;
    line-height: 1.2;
    margin-bottom: 4px;
}

.main .section-character-detail .character-group .skills-list .skill-row .skill-body .slevels {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 10px 16px;
    margin-top: 8px;
    padding: 10px;
    border: 2px solid #2a2f38;
    outline: 1px solid rgba(0, 0, 0, .55);
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .18));
    border-radius: 12px;
}

.main .section-character-detail .character-group .skills-list .skill-row .skill-body .slevels .lvl {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 8px;
    align-items: flex-start;
    padding: 8px 10px;
    border: 1px solid rgba(202, 167, 94, .28);
    background: rgba(202, 167, 94, .06);
    border-radius: 10px;
}

.main .section-character-detail .character-group .skills-list .skill-row .skill-body .slevels .lvl-label {
    font-weight: 900;
    color: #fbe7b0;
    text-align: left;
    white-space: nowrap;
    border-right: 1px solid rgba(202, 167, 94, .26);
    padding-right: 10px;
}

.main .section-character-detail .character-group .table-wrap {
    margin-bottom: 10px;
    border: 2px solid #2a2f38;
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .18));
    border-radius: 12px;
    padding: 0;
}

.main .section-character-detail .character-group .table-wrap .equip-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
    font-size: 14px;
}

.main .section-character-detail .character-group .table-wrap .equip-table thead th {
    background: linear-gradient(180deg, rgba(202, 167, 94, .18), rgba(0, 0, 0, 0));
    color: #fbe7b0;
    position: sticky;
    top: 0;
}

.main .section-character-detail .equip-table th,
.main .section-character-detail .equip-table td {
    border: 1px solid #31343b;
    padding: 10px 12px;
    vertical-align: top;
}

.main .section-character-detail .equip-table tr:first-child th {
    border-top: 0;
}

.main .section-character-detail .equip-table tr:last-child td {
    border-bottom: 0;
}

.main .section-character-detail .equip-table tr td:first-child,
.main .section-character-detail .equip-table tr th:first-child {
    border-left: 0;
}

.main .section-character-detail .equip-table tr td:last-child,
.main .section-character-detail .equip-table tr th:last-child {
    border-right: 0;
}

.main .section-character-detail .stanceSummary .grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
}

.main .section-character-detail .stanceSummary .kv {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(202, 167, 94, .25)
}

.main .section-character-detail .stanceSummary .kv:last-child {
    border-bottom: 0
}

.main .section-character-detail .stanceSummary .mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #e2e8f0
}

.main .section-character-detail .stanceSummary .statgrid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px
}

.main .section-character-detail .stanceSummary .stat {
    background: rgba(202, 167, 94, .08);
    color: #fbe7b0;
    border: 1px solid rgba(202, 167, 94, .3);
    border-radius: 12px;
    padding: 10px;
    text-align: center
}

.main .section-character-detail .stanceSummary .stat b {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
    color: #fbe7b0
}

.main .section-character-detail .stanceSummary table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px
}

.main .section-character-detail .stanceSummary th,
.main .section-character-detail .stanceSummary td {
    border: 1px solid #0a0c12;
    padding: 8px 10px;
    vertical-align: top
}

.main .section-character-detail .stanceSummary th {
    background: linear-gradient(180deg, rgba(202, 167, 94, .18), rgba(0, 0, 0, 0));
    color: #fbe7b0;
    text-align: left
}

.main .section-character-detail .stanceSummary tr:hover td {
    background: rgba(202, 167, 94, .08)
}

.main .section-character-detail .stanceSummary .skills {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.main .section-character-detail .stanceSummary .skill {
    border: 2px solid #2a2f38;
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .18));
    border-radius: 12px;
    padding: 14px;
    margin: 0 5px 10px 5px;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
    transition: border-color .15s, box-shadow .15s, transform .08s;
    width: calc(33% - 10px);
    max-width: 300px;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex-grow: 1;    
}

.main .section-character-detail .stanceSummary .skill:hover {
    border-color: #caa75e;
    box-shadow: 0 0 0 2px rgba(202, 167, 94, .25), 0 8px 20px rgba(0, 0, 0, .35);
    transform: translateY(-1px);
}

.main .section-character-detail .stanceSummary .sicon img {
    max-width: 120px;
    max-height: 120px;
    object-fit: cover
}

.main .section-character-detail .stanceSummary .sname {
    font-weight: 900;
    line-height: 1.2;
    color: #fbe7b0;
    margin: 10px 0;
}

.main .section-character-detail .stanceSummary .smeta {
    font-size: 12px;
    color: #9ca3af
}

.main .section-character-detail .stanceSummary .sdesc {
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.main .section-character-detail .stanceSummary .slevels {
    margin-top: 6px;
    font-size: 12px;
    display: grid;
    gap: 4px
}

.main .section-character-detail .stanceSummary .slevels .lvl b {
    display: inline-block;
    width: 40px;
    color: #fbe7b0
}

.main .section-character-detail .stanceSummary .stance-frame {
    margin-top: 16px;
    display: flex;
    justify-content: center
}

.main .section-character-detail .stanceSummary .stance-inner {
    width: 100%;
    max-width: 1200px;
    padding: 14px;
    background: #0f1318;
    border: 2px solid #2a2f38;
    outline: 1px solid rgba(0, 0, 0, .55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 24px rgba(0, 0, 0, .45);
    border-radius: 14px;
}

.main .section-character-detail .stanceSummary .stance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}