html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background: #232228 url("images/bg-center4.png") top center no-repeat;
    color: #d2cbc0;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.anniversary-theme,
.anniversary-theme * {
    box-sizing: border-box;
}

.anniversary-theme a {
    color: #9c5714;
    text-decoration: none;
}

.anniversary-theme a:hover {
    color: #c6781f;
}

.anniversary-theme img {
    max-width: 100%;
    height: auto;
}

.ann-page-wrap {
    width: 100%;
    padding-bottom: 28px;
}

.ann-topbar {
    width: 100%;
    height: 110px;
    margin-top: 12px;
    background: url("images/nav.png") repeat-x;
    position: relative;
    z-index: 200;
}

.ann-topbar::before,
.ann-topbar::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.ann-topbar::before {
    top: 3px;
}

.ann-topbar::after {
    bottom: 6px;
}

.ann-topbar-inner {
    width: min(1280px, calc(100vw - 32px));
    height: 110px;
    margin: 0 auto;
    position: relative;
}

.ann-topbar ul,
.ann-topbar li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ann-nav {
    width: calc(50% - 68px);
    position: absolute;
    top: 0;
}

.ann-nav-left {
    left: 0;
}

.ann-nav-left > ul {
    justify-content: flex-end;
    padding-right: 0;
}

.ann-nav-right {
    right: 0;
}

.ann-nav-right > ul {
    justify-content: flex-start;
    padding-left: 0;
}

.ann-nav > ul {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding-top: 42px;
    flex-wrap: wrap;
}

.ann-nav-item {
    position: relative;
    padding-bottom: 18px;
}

.ann-nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cdcdb4;
    font-size: 15px;
    text-shadow: 0 1px 1px #000;
    white-space: nowrap;
}

.ann-nav-item > a:hover,
.ann-nav-item:hover > a,
.ann-nav-item:focus-within > a {
    color: #ffffbe;
}

.ann-nav-item .caret {
    font-size: 12px;
    transform: translateY(1px);
}

.ann-nav-item.has-dropdown::after {
    content: "";
    position: absolute;
    left: -10px;
    right: -10px;
    top: 100%;
    height: 18px;
}

.ann-logo {
    position: absolute;
    left: 50%;
    top: 4px;
    transform: translateX(-50%);
    width: 190px;
    text-align: center;
    z-index: 260;
}

.ann-logo img {
    width: 148px;
    display: inline-block;
}

.ann-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 198px;
    display: none;
    padding: 3px 0;
    background: rgba(16, 13, 14, 0.98);
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.46);
    z-index: 300;
}

.ann-dropdown-right {
    left: auto;
    right: 0;
    transform: none;
}

.ann-dropdown a {
    display: block;
    padding: 8px 18px;
    color: #ddd4c2;
    border-bottom: 1px solid #4b7874;
    font-size: 13px;
    text-transform: uppercase;
}

.ann-dropdown a:last-child {
    border-bottom: 0;
}

.ann-dropdown a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff7cb;
}

.ann-nav-item:hover .ann-dropdown,
.ann-nav-item:focus-within .ann-dropdown,
.ann-dropdown:hover {
    display: block;
}

.ann-hero-wrap {
    width: min(1000px, calc(100vw - 40px));
    margin: 7px auto 0;
    position: relative;
    z-index: 20;
}

.ann-hero {
    position: relative;
    width: 100%;
    max-width: 880px;
    height: 530px;
    margin: 0 auto;
    border-radius: 26px;
    overflow: hidden;
    background-image: url('../images/hero-banner.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.ann-hero img {
    display: block;
    width: 878px;
    height: 361px;
    object-fit: cover;
}

.ann-hero-actions {
    position: absolute;
    left: 50%;
    bottom: 61px;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}
.ann-play-now {
    display: block;
    margin-bottom: 6px;
    color: #dbcda4;
    font-size: 12px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}

.ann-create-btn {
    display: inline-block;
    min-width: 138px;
    padding: 10px 18px;
    border-radius: 9px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    background: linear-gradient(#53a8f2, #265fa7);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.ann-create-btn:hover {
    color: #fff;
    background: linear-gradient(#6eb9ff, #2f6bb1);
}

.ann-shell {
    width: min(1280px, calc(100vw - 32px));
    margin: 0 auto;
    background: rgba(19, 15, 18, 0.86);
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.5);
}

.ann-social-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    min-height: 64px;
    background: rgba(30, 24, 25, 0.82);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}

.ann-social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    min-height: 22px;
}

.ann-social-links a,
.ann-social-links span {
    color: #cbc3b9;
    font-size: 12px;
}

.ann-social-links a:hover {
    color: #fff4ca;
}

.ann-download-btn {
    flex: 0 0 auto;
    display: inline-block;
    width: 117px;
    height: 45px;
    line-height: 45px;
    background: url("images/download-button.png") center center no-repeat;
    background-size: 117px 45px;
    color: #dae1d6;
    font-size: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-align: center;
}

.ann-download-btn:hover {
    color: #edf5eb;
    background-image: url("images/download-button-hover.png");
}

.ann-main-grid {
    display: flex;
    gap: 18px;
    padding: 18px;
    align-items: flex-start;
}

.ann-content-column {
    flex: 1 1 auto;
    min-width: 0;
}

.ann-sidebar-column {
    flex: 0 0 260px;
    width: 260px;
}

.ann-content-stage {
    min-height: 640px;
    background: rgba(18, 14, 16, 0.68);
    padding: 18px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.ann-paper-wrap,
.ann-news-paper {
    background: #eee6d3 url("images/paper-bg.gif") repeat;
    border: 6px solid #8b7355;
    box-shadow: 0 0 11px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(94, 68, 45, 0.22);
    color: #6d4013;
}

.ann-inner-page {
    padding: 18px 22px 24px;
    min-height: 560px;
    overflow-x: auto;
}

.ann-paper-wrap {
    display: flow-root;
}

.ann-inner-title {
    margin: 0 0 16px;
    padding: 12px 14px;
    background: rgba(23, 20, 27, 0.96);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.42);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.ann-inner-content,
.ann-news-content {
    color: #6d4013;
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
    overflow-x: auto;
}

.ann-inner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ann-inner-content > * {
    margin-left: auto;
    margin-right: auto;
}

.ann-inner-content > p,
.ann-inner-content > h1,
.ann-inner-content > h2,
.ann-inner-content > h3,
.ann-inner-content > h4,
.ann-inner-content > h5,
.ann-inner-content > h6 {
    width: 100%;
}

.ann-inner-content p,
.ann-news-content p {
    margin: 0 0 16px;
}

.ann-inner-content img,
.ann-news-content img,
.ann-content-stage img {
    display: block;
    margin: 18px auto;
    max-width: 100%;
    height: auto;
}
.ann-news-entry,
.ann-changelog-entry {
    margin: 0 0 26px 0;
}

.ann-news-title-bar,
.ann-changelog-title-bar {
    background: linear-gradient(90deg, #19161d 0%, #221b24 45%, #19161d 100%);
    color: #fff;
    padding: 12px 14px;
    margin: 0 18px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
    font-size: 15px;
    line-height: 1.4;
}

.ann-news-title-date,
.ann-news-title-author {
    color: #1f77d3;
}

.ann-news-title-text {
    color: #ffffff;
    font-weight: 700;
    margin-left: 6px;
}

.ann-news-paper,
.ann-changelog-paper {
    background: #f5eedc;
    border: 8px solid #cdb792;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.35),
        inset 0 0 2px rgba(92, 71, 36, 0.35);
    padding: 28px 28px 22px 28px;
    color: #6c4c26;
    text-align: left;
    line-height: 1.8;
    font-size: 15px;
}

.ann-news-content,
.ann-changelog-content {
    color: #6c4c26;
}

.ann-news-content img,
.ann-changelog-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 18px auto;
}

.ann-news-comments {
    margin-top: 18px;
    text-align: right;
}

.ann-news-comments a {
    color: #b27a24;
    text-decoration: none;
    font-size: 14px;
}

.ann-news-comments a:hover {
    text-decoration: underline;
}

.ann-changelog-content {
    text-align: left;
}

.ann-changelog-date {
    display: inline-block;
    margin-right: 16px;
    color: #8b5f30;
}

.ann-news-paper p,
.ann-changelog-paper p {
    margin: 0 0 14px 0;
}

.ann-news-paper strong,
.ann-changelog-paper strong {
    font-weight: 700;
}
.ann-news-article {
    margin-bottom: 18px;
}

.ann-news-article:last-child {
    margin-bottom: 0;
}

.ann-news-paper {
    padding: 14px 18px 24px;
}

.ann-news-mini-title {
    margin-bottom: 14px;
    padding: 10px 14px;
    background: rgba(23, 20, 27, 0.96);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.42);
    color: #fff;
    font-size: 14px;
    text-align: left;
}

.ann-news-intro-meta {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin: 22px 0 24px;
    color: #96652e;
    font-size: 12px;
}

.ann-news-title-bar {
    margin: 0 0 22px;
    padding: 12px 16px;
    background: rgba(23, 20, 27, 0.96);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.42);
    text-align: left;
}

.ann-news-title-bar .date,
.ann-news-title-bar .author {
    color: #2374d0;
    font-size: 12px;
    font-weight: bold;
}

.ann-news-title-bar .title {
    margin-left: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.ann-news-comments {
    margin-top: 10px;
    text-align: right;
    font-size: 12px;
}

.ann-news-comments a {
    color: #94621d;
}

.ann-news-comments a:hover {
    color: #c18224;
}

.ann-content-stage.is-inner .ann-paper-wrap > table,
.ann-content-stage.is-inner .ann-paper-wrap > form,
.ann-content-stage.is-inner .ann-paper-wrap > div > table,
.ann-content-stage.is-inner .ann-paper-wrap > div > form,
.ann-inner-content > table,
.ann-inner-content > form {
    margin-left: auto;
    margin-right: auto;
}

.ann-widget {
    margin-bottom: 14px;
    background: rgba(24, 20, 23, 0.92);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.42);
}

.ann-widget-title {
    padding: 14px 12px 13px;
    color: #f0ece4;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.25;
}

.ann-widget-body {
    padding: 12px;
    color: #d1cabd;
    font-size: 13px;
}

.ann-input {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    background: #f1eee8;
    color: #333;
    margin-bottom: 8px;
}

.ann-search-btn,
.ann-account-links a {
    display: block;
    width: 100%;
    padding: 9px 10px;
    margin-bottom: 8px;
    background: #4b3f45;
    color: #f3f1ed;
    text-align: center;
    border: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.ann-search-btn {
    background: linear-gradient(#c48b31, #a3681f);
}

.ann-account-links a.green {
    background: linear-gradient(#668f48, #4f7239);
}

.ann-account-links a.orange {
    background: linear-gradient(#cb8d34, #9b651f);
}

.ann-account-links a:last-child {
    margin-bottom: 0;
}

.ann-server-info div {
    margin-bottom: 6px;
}

.ann-server-info div:last-child {
    margin-bottom: 0;
}

.ann-server-info .online {
    color: #74cf63;
    font-weight: bold;
}

.ann-server-info a.online {
    text-decoration: underline;
}

.ann-server-info .offline {
    color: #cf6b67;
    font-weight: bold;
}

.ann-server-info .server-link {
    margin-top: 10px;
}

.ann-highscores {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ann-highscores li {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    column-gap: 8px;
    padding: 6px 0;
    color: #d6c8a4;
    font-size: 12px;
}

.ann-highscores .entry {
    display: contents;
}

.ann-highscores-outfit-box {
    width: 40px;
    height: 40px;
    overflow: hidden;
    position: relative;
    display: block;
}

.ann-highscores .outfit {
    position: absolute;
    top: -25px;
    left: -25px;
    width: 64px !important;
    height: 64px !important;
    max-width: none !important;
    max-height: none !important;
    display: block;
    margin: 0 !important;
    image-rendering: pixelated !important;
}

.ann-highscores .name {
    display: block;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ann-highscores .level {
    display: block;
    line-height: 1;
    text-align: right;
    color: #f2e3b9;
    min-width: 34px;
}

.ann-footer {
    width: min(1280px, calc(100vw - 32px));
    margin: 14px auto 0;
    background: rgba(23, 19, 21, 0.86);
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.45);
}

.ann-footer-columns {
    display: flex;
    gap: 28px;
    padding: 22px 32px 28px;
}

.ann-footer-col {
    flex: 1 1 0;
}

.ann-footer-col h4 {
    position: relative;
    margin: 0 0 20px;
    color: #f0ece4;
    font-size: 16px;
    text-transform: uppercase;
}

.ann-footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 48px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
}

.ann-footer-col ul,
.ann-footer-col li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ann-footer-col li {
    margin-bottom: 12px;
    font-size: 13px;
}

.footer-socials a {
    display: inline-block;
    margin-right: 10px;
    color: #f0ece4;
}

.ann-copyright {
    padding: 12px 16px 14px;
    background: rgba(87, 74, 82, 0.36);
    text-align: center;
    color: #ddd6ca;
    font-size: 11px;
}

.ann-content-stage table {
    width: auto;
    max-width: 100%;
    border-collapse: collapse;
    background: rgba(255, 250, 242, 0.74);
}

.ann-content-stage td,
.ann-content-stage th {
    padding: 7px 8px;
    border: 1px solid #baa07a;
    color: #6b3d12;
}

.ann-content-stage th {
    background: rgba(213, 189, 150, 0.28);
    color: #7a440f;
}

.ann-content-stage tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.32);
}

.ann-content-stage a,
.ann-inner-content a,
.ann-news-content a,
.ann-changelog-content a {
    color: #9b5413;
    font-weight: 600;
}

.ann-content-stage a:hover,
.ann-inner-content a:hover,
.ann-news-content a:hover,
.ann-changelog-content a:hover {
    color: #c0711d;
}

.ann-content-stage > table,
.ann-content-stage > form,
.ann-inner-content > table,
.ann-inner-content > form,
.ann-inner-page > table,
.ann-inner-page > form {
    max-width: 100%;
}

.ann-content-stage table[width="100%"],
.ann-inner-content table[width="100%"],
.ann-inner-page table[width="100%"] {
    width: 100%;
}

.ann-paper-wrap > table,
.ann-paper-wrap > form,
.ann-paper-wrap > div,
.ann-inner-content > table,
.ann-inner-content > form,
.ann-inner-content > div {
    max-width: 100%;
}

.ann-content-stage .TableContainer,
.ann-content-stage .table-responsive,
.ann-content-stage .InnerTableContainer,
.ann-inner-content .TableContainer,
.ann-inner-content .table-responsive,
.ann-inner-content .InnerTableContainer,
.ann-inner-page .TableContainer,
.ann-inner-page .table-responsive,
.ann-inner-page .InnerTableContainer {
    max-width: 100%;
    overflow-x: auto;
}

.ann-content-stage.is-inner .ann-paper-wrap > table,
.ann-content-stage.is-inner .ann-paper-wrap > form,
.ann-content-stage.is-inner .ann-paper-wrap > div,
.ann-content-stage.is-inner .ann-paper-wrap > div > table,
.ann-content-stage.is-inner .ann-paper-wrap > div > form {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.ann-content-stage.is-inner .ann-paper-wrap > table[width="100%"],
.ann-content-stage.is-inner .ann-paper-wrap > form[width="100%"],
.ann-content-stage.is-inner .ann-paper-wrap > div[width="100%"],
.ann-content-stage.is-inner .ann-paper-wrap > div > table[width="100%"] {
    width: 100%;
}

.ann-inner-content.characters-view {
    align-items: stretch;
}

.ann-inner-content.characters-view > table[width="100%"] {
    width: min(900px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.ann-inner-content.characters-view > table[width="100%"] > tbody > tr > td:nth-child(2) {
    width: auto;
    min-width: 760px;
    position: relative;
}

.ann-inner-content.characters-view > table[width="100%"] > tbody > tr > td:nth-child(2) > table[width="100%"] {
    width: 100%;
}

.ann-inner-content.characters-view div[style*="margin-left:376px"][style*="position:absolute"] {
    margin-left: 0 !important;
    right: 92px !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    top: 10px !important;
}

.ann-inner-content.characters-view div[style*="margin-left:376px"][style*="position:absolute"] img {
    max-width: none !important;
    width: 84px !important;
    height: 84px !important;
    margin-left: -38px !important;
    margin-top: -38px !important;
}

.ann-inner-content.characters-view td[width="100"][valign="top"] {
    width: 180px !important;
}

.ann-inner-content.characters-view > table[width="100%"] > tbody > tr > td:nth-child(2) > table[width="100%"] > tbody > tr:nth-child(2) > td:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 150px !important;
}

.ann-inner-content.characters-view > table[width="100%"] > tbody > tr > td:nth-child(2) > table[width="100%"] > tbody > tr:nth-child(2) > td:nth-child(2) img {
    margin: 0 !important;
    display: inline-block !important;
}

.ann-inner-content.characters-view td[width="100"][valign="top"] table[style*="background: #808080"] {
    width: 118px !important;
    background: transparent !important;
    border: 0 !important;
}

.ann-inner-content.characters-view td[width="100"][valign="top"] table[style*="background: #292929;"] {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: fixed !important;
    background: transparent !important;
}

.ann-inner-content.characters-view td[width="100"][valign="top"] table[style*="background: #292929;"] td {
    width: 35px !important;
    height: 35px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    text-align: center !important;
    vertical-align: middle !important;
    background: transparent !important;
    border: 0 !important;
}

.ann-inner-content.characters-view td[width="100"][valign="top"] table[style*="background: #292929;"] img {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    max-width: none !important;
    max-height: none !important;
    margin: -3px auto 0 !important;
    position: relative !important;
    z-index: 2 !important;
    image-rendering: pixelated !important;
}

.ann-content-stage input,
.ann-content-stage select,
.ann-content-stage textarea {
    max-width: 100%;
    background: #fffef8;
    border: 1px solid #9a8464;
    color: #3b3125;
    padding: 8px;
}

.ann-content-stage input[type=submit],
.ann-content-stage button,
.ann-content-stage .button {
    background: linear-gradient(#c48b31, #a3681f);
    border: 1px solid #b17b2c;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 1240px) {
    .ann-nav > ul {
        gap: 14px;
    }

    .ann-nav-left > ul,
    .ann-nav-right > ul {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 1024px) {
    .ann-topbar {
        height: auto;
        padding-bottom: 10px;
    }

    .ann-topbar-inner,
    .ann-shell,
    .ann-footer,
    .ann-hero-wrap,
    .ann-hero {
        width: calc(100vw - 24px);
    }

    .ann-hero img {
        width: 100%;
        height: auto;
    }

    .ann-topbar-inner {
        height: auto;
        padding: 0 0 12px;
    }

    .ann-logo {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        display: block;
        margin: 0 auto;
    }

    .ann-nav {
        position: static;
        width: 100%;
    }

    .ann-nav > ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0 20px;
        padding-top: 14px;
    }

    .ann-social-row,
    .ann-main-grid,
    .ann-footer-columns {
        display: block;
    }

    .ann-main-grid {
        padding: 16px;
    }

    .ann-content-column,
    .ann-sidebar-column {
        width: auto;
    }

    .ann-sidebar-column {
        margin-top: 16px;
    }

    .ann-download-btn {
        margin-top: 10px;
    }
}
.ann-character-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ann-character-card {
    background: rgba(255, 248, 238, 0.55);
    border: 1px solid #bda27c;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

.ann-character-card-title {
    padding: 10px 14px;
    background: rgba(23, 20, 27, 0.96);
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.32);
}

.ann-character-card-body {
    padding: 14px;
}

.ann-character-hero-card .ann-character-card-body,
.ann-character-hero-card {
    overflow: hidden;
}

.ann-character-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
}
.ann-character-outfit-frame {
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    position: relative;
    overflow: hidden;
    border: 2px solid #c9ab83;
    border-radius: 18px;
    background: radial-gradient(circle at center, rgba(255,255,255,0.18), rgba(0,0,0,0.08));
}

.ann-character-outfit-image {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 96px;
    height: 96px;
    max-width: none;
    max-height: none;
    margin: 0 !important;
    image-rendering: auto !important;
}


.ann-character-summary {
    flex: 1 1 auto;
    min-width: 0;
}

.ann-character-summary-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.ann-character-name-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.ann-character-name {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.ann-character-name.is-online {
    color: #198c2e;
}

.ann-character-name.is-offline {
    color: #b62c2c;
}

.ann-character-old-name {
    font-size: 13px;
    color: #7f5c32;
}

.ann-character-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: linear-gradient(#c48b31, #a3681f);
    color: #fff !important;
    border: 1px solid #9f6720;
    border-radius: 6px;
    white-space: nowrap;
}

.ann-character-admin-link img {
    display: block;
    margin: 0 !important;
}

.ann-character-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.ann-character-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background: rgba(255,255,255,0.45);
    border: 1px solid #c9aa82;
    border-radius: 999px;
    color: #6d4013;
    font-size: 13px;
    font-weight: 600;
}

.ann-character-badge.is-online {
    color: #198c2e;
}

.ann-character-badge.is-offline {
    color: #b62c2c;
}

.ann-character-subline {
    margin-top: 6px;
    color: #6d4013;
    font-size: 14px;
}

.ann-character-subline span {
    opacity: 0.85;
    margin-right: 6px;
}

.ann-character-table {
    width: 100%;
}

.ann-character-table td {
    vertical-align: middle;
}

.ann-character-inline-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.ann-character-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.ann-character-equipment-body {
    display: flex;
    justify-content: center;
}

.ann-character-equipment-wrap {
    display: inline-block;
    line-height: 0;
}

.ann-character-list-actions form {
    margin: 0;
}

.ann-character-signature {
    text-align: center;
}

.ann-character-signature img {
    display: inline-block;
    margin: 0 auto 12px !important;
}

.ann-character-signature-links {
    margin: 12px auto 0;
}

.ann-character-signature-links input {
    max-width: 100%;
}

.ann-character-bottom-admin {
    display: flex;
    justify-content: flex-end;
}

.ann-character-search-form {
    margin-top: 6px;
}

@media (max-width: 980px) {
    .ann-character-grid-3 {
        grid-template-columns: 1fr;
    }

    .ann-character-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .ann-character-summary-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .ann-character-name {
        font-size: 22px;
    }
}
.ann-character-equipment-wrap {
    display: inline-block;
    line-height: 0;
}

.ann-character-equipment-outer {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

.ann-character-equipment-outer > tbody > tr > td {
    padding: 0 !important;
    vertical-align: top !important;
}

.ann-character-equipment-column {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: fixed !important;
    background: #292929 !important;
}

.ann-character-equipment-column td {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    text-align: center !important;
    vertical-align: middle !important;
    overflow: visible !important;
    position: relative !important;
}

.ann-character-equipment-column td img,
.ann-character-equipment-column td .item_image {
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    max-width: none !important;
    max-height: none !important;
    margin: -2px auto !important;
    position: relative !important;
}
.ann-character-name-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ann-character-name-flag {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.ann-character-name-flag img {
    display: block !important;
    margin: 0 !important;
}

.ann-character-name-text,
.ann-character-name-old {
    line-height: 1.2;
}

.ann-character-combat-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ann-character-combat-top {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.ann-character-equipment-card .ann-character-card-body {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ann-character-stats-table {
    width: 100%;
    border-collapse: collapse;
}

.ann-character-stats-table td {
    border: 1px solid #bda27c;
    padding: 10px 12px;
    color: #6d4013;
}

.ann-stat-label {
    width: 180px;
    font-weight: 700;
    background: rgba(180, 154, 115, 0.12);
}

.ann-stat-value {
    background: rgba(255, 255, 255, 0.18);
}

.ann-stat-number {
    margin-bottom: 6px;
    font-weight: 700;
    color: #7b4211;
}

.ann-stat-plain {
    font-weight: 700;
    background: rgba(255, 255, 255, 0.18);
}

.ann-stat-bar {
    position: relative;
    width: 100%;
    height: 8px;
    background: #d7c5a7;
    border: 1px solid #5a4b37;
    box-sizing: border-box;
    overflow: hidden;
}

.ann-stat-fill {
    display: block;
    height: 100%;
}

.ann-stat-fill.health {
    background: linear-gradient(to right, #c30000, #ff1f1f);
}

.ann-stat-fill.mana {
    background: linear-gradient(to right, #003fdb, #2f7cff);
}

.ann-character-skills-horizontal {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.ann-character-skills-horizontal td {
    border: 1px solid #e7d6bd;
    text-align: center;
    padding: 6px 4px;
    color: #6d4013;
}

.ann-skill-head {
    background: rgba(128, 110, 82, 0.18);
    padding: 8px 4px !important;
}

.ann-skill-icon-wrap {
    width: 44px;
    height: 44px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ann-skill-icon-wrap img {
    max-width: 40px;
    max-height: 40px;
    width: auto;
    height: auto;
    margin: 0 !important;
    display: block;
}

.ann-skill-name {
    font-weight: 700;
    background: rgba(180, 154, 115, 0.12);
    white-space: nowrap;
}

.ann-skill-value {
    font-weight: 700;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 900px) {
    .ann-character-combat-top {
        grid-template-columns: 1fr;
    }

    .ann-character-skills-horizontal {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .ann-character-skills-horizontal tbody {
        display: table;
        min-width: 760px;
        width: 100%;
    }
}
.ann-signature-card .ann-character-card-body {
    padding: 22px 18px 20px;
}

.ann-signature-body {
    text-align: center;
}

.ann-signature-preview-wrap {
    max-width: 100%;
}

.ann-signature-preview-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.30), rgba(214,191,157,0.22));
    border: 1px solid #c7ac84;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 6px 18px rgba(0,0,0,0.12);
}

.ann-signature-preview-frame img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 !important;
    border: 1px solid rgba(92, 71, 36, 0.35);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.ann-signature-preview-note {
    margin-top: 12px;
    color: #7a5322;
    font-size: 13px;
}

.ann-signature-actions {
    margin-top: 18px;
}

.ann-signature-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 10px 18px;
    border-radius: 8px;
    background: linear-gradient(#c48b31, #a3681f);
    border: 1px solid #9f6720;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.ann-signature-toggle-btn:hover {
    background: linear-gradient(#d39737, #ae7021);
    color: #fff !important;
}

.ann-signature-links-panel {
    margin: 18px auto 0;
    max-width: 820px;
    padding: 14px;
    background: rgba(255,255,255,0.28);
    border: 1px solid #ceb18b;
    border-radius: 12px;
}

.ann-signature-links-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.ann-signature-links-table td {
    vertical-align: middle;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
}

.ann-signature-links-label {
    width: 120px;
    padding-right: 12px !important;
    text-align: left;
    font-weight: 700;
    color: #6d4013;
    white-space: nowrap;
}

.ann-signature-links-table input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    background: #fffdf8;
    border: 1px solid #b99669;
    border-radius: 8px;
    color: #4b341e;
    font-size: 13px;
    box-sizing: border-box;
}

.ann-signature-links-table input:focus {
    outline: none;
    border-color: #9b6421;
    box-shadow: 0 0 0 2px rgba(196,139,49,0.18);
}

@media (max-width: 700px) {
    .ann-signature-links-table,
    .ann-signature-links-table tbody,
    .ann-signature-links-table tr,
    .ann-signature-links-table td {
        display: block;
        width: 100%;
    }

    .ann-signature-links-label {
        width: auto;
        padding-right: 0 !important;
        margin-bottom: 6px;
    }

    .ann-signature-links-table tr {
        margin-bottom: 12px;
    }
}
.ann-create-btn-image {
    display: inline-block;
    width: 260px; /* ustaw pod rozmiar obrazka */
    height: 64px; /* ustaw pod rozmiar obrazka */
    background: url("images/create.png") no-repeat center center;
    background-size: contain;
    text-decoration: none;
    border: 0;
    padding: 0;
    margin: 0;
}

.ann-create-btn-image:hover {
    opacity: 0.95;
}