* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #020407;
}

body.tw-body {
    margin: 0;
    min-height: 100%;
    color: #f5f7fb;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 170, 255, 0.18), transparent 28rem),
        #020407;
}

a {
    color: #6bd2ff;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
}

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

.tw-site {
    min-height: 100vh;
}

.tw-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(94, 196, 255, 0.22);
    background: rgba(2, 4, 7, 0.92);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
}

.tw-topline {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #e9eef7;
    font-size: 15px;
}

.tw-topline-inner,
.tw-nav,
.tw-hero-grid,
.tw-status-bar,
.tw-home-hall,
.tw-home-cards,
.tw-container {
    width: min(1460px, calc(100% - 44px));
    margin: 0 auto;
}

.tw-topline-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 18px;
}

.tw-nav {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 78px;
}

.tw-brand {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    min-width: 0;
}

.tw-brand img {
    display: block;
    width: min(260px, 100%);
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 178, 255, 0.55)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.72));
}

.tw-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    min-width: 0;
}

.tw-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 10px;
    color: #f0f4fb;
    font-size: 14px;
    font-weight: 700;
}

.tw-menu a.active::after,
.tw-menu a:hover::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    background: #29bfff;
    box-shadow: 0 0 18px #29bfff;
}

.tw-discord-link {
    color: #7ad8ff !important;
}

.tw-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    padding-left: 18px;
}

.tw-nav-button,
.tw-primary-button,
.tw-secondary-button,
.tw-link-button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 4px;
    border: 1px solid rgba(112, 220, 255, 0.42);
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(16, 27, 36, 0.92), rgba(5, 9, 13, 0.92));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 18px rgba(0, 183, 255, 0.14);
}

.tw-nav-create,
.tw-primary-button,
.button {
    border-color: #0bbcff;
    background: linear-gradient(180deg, #066fa4, #052b48 60%, #051825);
    box-shadow:
        inset 0 0 0 1px rgba(169, 235, 255, 0.25),
        0 0 24px rgba(0, 183, 255, 0.32);
}

.tw-nav-button:hover,
.tw-primary-button:hover,
.tw-secondary-button:hover,
.tw-link-button:hover,
.button:hover {
    color: #ffffff;
    filter: brightness(1.15);
}

.tw-home-shell {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(2, 4, 7, 0.08), #020407 860px),
        #020407;
}

.tw-hero {
    position: relative;
    min-height: 0;
    padding: 30px 0 0;
    overflow: hidden;
}

.tw-hero-bg,
.tw-hero-overlay {
    position: absolute;
    inset: 0;
}

.tw-hero-bg {
    background: url("../../../images/twister-hero.png") center top / cover no-repeat;
}

.tw-hero-overlay {
    background:
        linear-gradient(90deg, rgba(2, 4, 7, 0.58) 0%, rgba(2, 4, 7, 0.18) 48%, rgba(2, 4, 7, 0.68) 100%),
        linear-gradient(180deg, rgba(2, 4, 7, 0.03) 0%, rgba(2, 4, 7, 0.82) 96%);
}

.tw-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 42px;
    align-items: center;
    min-height: 430px;
    padding-left: 14px;
    padding-right: 14px;
}

.tw-tagline {
    margin: 8px 0 8px;
    color: #f0edf0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(23px, 2.5vw, 34px);
    letter-spacing: 5px;
    text-shadow: 0 3px 14px #000000;
}

.tw-feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 26px;
    margin: 16px 0 24px;
    color: #f4f7fb;
    font-size: 19px;
}

.tw-feature-row span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.tw-feature-row span + span::before {
    content: "";
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    background: #00bfff;
    box-shadow: 0 0 14px #00bfff;
}

.tw-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 310px));
    gap: 14px;
}

.tw-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 58px;
    padding: 0 22px;
    border-radius: 4px;
    color: #ffffff;
    font-size: 21px;
    border: 1px solid;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.75), 0 14px 28px rgba(0, 0, 0, 0.45);
}

.tw-action strong {
    white-space: nowrap;
}

.tw-action-play {
    border-color: #19c8ff;
    background: linear-gradient(180deg, rgba(0, 140, 210, 0.92), rgba(1, 35, 64, 0.96));
}

.tw-action-create {
    border-color: #2df26f;
    background: linear-gradient(180deg, rgba(15, 150, 55, 0.92), rgba(3, 49, 20, 0.96));
}

.tw-action-coins {
    border-color: #ffd15e;
    background: linear-gradient(180deg, rgba(140, 98, 8, 0.94), rgba(45, 29, 4, 0.98));
}

.tw-action-discord {
    border-color: #9b6dff;
    background: linear-gradient(180deg, rgba(69, 39, 128, 0.92), rgba(25, 14, 54, 0.98));
}

.tw-login-panel {
    justify-self: end;
    width: 100%;
}

.tw-panel-frame,
.tw-home-card,
.tw-status-bar,
.tw-section,
.tw-panel,
.tw-page-title,
.tw-download-hero,
.tw-side-panel,
.tw-plan-card,
.tw-shop-card {
    position: relative;
    border: 1px solid rgba(142, 172, 190, 0.32);
    background:
        linear-gradient(180deg, rgba(13, 17, 22, 0.94), rgba(5, 8, 12, 0.94));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 20px 50px rgba(0, 0, 0, 0.52);
}

.tw-panel-frame::before,
.tw-home-card::before,
.tw-status-bar::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.tw-panel-frame {
    padding: 24px;
    clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
}

.tw-panel-frame h2 {
    margin: 0 0 20px;
    color: #81dfff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}

.tw-login-form {
    display: grid;
    gap: 10px;
}

.tw-login-form label {
    color: #9faab4;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.tw-input-with-icon {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    min-height: 44px;
    border: 1px solid rgba(142, 172, 190, 0.3);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.28);
}

.tw-input-with-icon span {
    color: #8a96a0;
    text-align: center;
    font-weight: 900;
}

.inputbox,
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    width: 100%;
    min-height: 40px;
    border: 1px solid rgba(142, 172, 190, 0.3);
    border-radius: 4px;
    padding: 0 12px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.25);
    font-family: inherit;
}

.tw-input-with-icon .inputbox {
    border: 0;
    background: transparent;
}

textarea {
    min-height: 120px;
    padding-top: 10px;
}

.tw-button-full {
    width: 100%;
    margin-top: 8px;
}

.tw-login-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
    font-size: 13px;
}

.tw-ajax-result {
    color: #ffd15e;
    font-size: 13px;
}

.tw-login-bonus {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-top: 18px;
    padding: 12px;
    border: 1px solid rgba(142, 172, 190, 0.18);
    background: rgba(0, 0, 0, 0.26);
}

.tw-avatar-mini {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #84dfff;
    font-weight: 900;
    border: 1px solid rgba(126, 221, 255, 0.4);
    background: radial-gradient(circle, rgba(29, 100, 138, 0.75), rgba(8, 12, 18, 0.95));
}

.tw-login-bonus span,
.tw-login-bonus small {
    display: block;
    color: #9faab4;
    font-size: 12px;
}

.tw-login-bonus strong {
    display: block;
    color: #ffd15e;
}

.tw-login-bonus-logged {
    border-color: rgba(65, 255, 137, 0.24);
    background:
        linear-gradient(180deg, rgba(7, 34, 22, 0.62), rgba(0, 0, 0, 0.28));
}

.tw-login-bonus-logged .tw-avatar-mini {
    color: #d8ffe4;
    border-color: rgba(65, 255, 137, 0.45);
    background:
        radial-gradient(circle at 35% 28%, rgba(120, 255, 172, 0.46), transparent 36%),
        linear-gradient(180deg, #07532a, #06121f);
    box-shadow: 0 0 18px rgba(65, 255, 137, 0.2);
}

.tw-login-bonus-logged strong {
    color: #9dffb9;
}

.tw-status-bar {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    min-height: 76px;
    margin-top: 6px;
}

.tw-status-bar div {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: 18px 30px;
    align-items: center;
    column-gap: 12px;
    padding: 14px 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.tw-status-bar div:last-child {
    border-right: 0;
}

.tw-status-bar small {
    color: #80d6ff;
    font-size: 14px;
    text-transform: uppercase;
}

.tw-status-bar strong {
    color: #ffffff;
    font-size: 21px;
    line-height: 1.08;
}

.tw-orb-on,
.tw-orb-off {
    grid-row: 1 / 3;
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.tw-orb-on {
    background: #54ff4e;
    box-shadow: 0 0 18px #54ff4e;
}

.tw-orb-off {
    background: #ff4b4b;
    box-shadow: 0 0 18px #ff4b4b;
}

.tw-home-hall {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid rgba(94, 196, 255, 0.22);
    background:
        linear-gradient(90deg, rgba(5, 9, 13, 0.97), rgba(5, 18, 28, 0.9)),
        url("../../../images/twister-hero.png") center 58% / cover no-repeat;
    box-shadow: inset 0 0 26px rgba(0, 170, 255, 0.06), 0 18px 38px rgba(0, 0, 0, 0.34);
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}

.tw-hall-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 12px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.tw-hall-kicker,
.tw-rank-hall-head span {
    color: #ffd15e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.tw-hall-heading h2,
.tw-rank-hall-head h2 {
    margin: 2px 0 4px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.05;
    letter-spacing: 0;
}

.tw-hall-heading p,
.tw-rank-hall-head p {
    margin: 0;
    color: #b7c3cf;
    font-size: 13px;
    line-height: 1.45;
}

.tw-hall-heading a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    margin-top: 11px;
    padding: 0 14px;
    border: 1px solid rgba(255, 209, 94, 0.48);
    color: #ffe199;
    background: rgba(92, 61, 8, 0.34);
    font-size: 13px;
    font-weight: 900;
}

.tw-hall-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.tw-hall-card,
.tw-rank-hall-card {
    min-width: 0;
    border: 1px solid rgba(94, 196, 255, 0.2);
    background: linear-gradient(180deg, rgba(6, 11, 17, 0.86), rgba(2, 5, 9, 0.94));
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.32);
}

.tw-hall-card a,
.tw-rank-hall-card a {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 10px;
    min-height: 102px;
    padding: 13px;
    color: #ffffff;
}

.tw-hall-icon {
    grid-row: 1 / 4;
    display: block;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    background: rgba(0, 8, 14, 0.72);
    box-shadow: 0 0 14px rgba(112, 220, 255, 0.18);
}

.tw-hall-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tw-hall-label,
.tw-rank-hall-card small {
    color: #8edfff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.tw-hall-card strong,
.tw-rank-hall-card strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: currentColor;
    font-size: 18px;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tw-hall-card em,
.tw-rank-hall-card em {
    color: #d7dde5;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.tw-hall-gold { color: #ffd15e; border-color: rgba(255, 209, 94, 0.34); }
.tw-hall-blue { color: #62cfff; border-color: rgba(98, 207, 255, 0.32); }
.tw-hall-red { color: #ff706a; border-color: rgba(255, 112, 106, 0.32); }
.tw-hall-violet { color: #c58bff; border-color: rgba(197, 139, 255, 0.32); }
.tw-hall-green { color: #65ff8f; border-color: rgba(101, 255, 143, 0.3); }
.tw-hall-amber { color: #ffbf6a; border-color: rgba(255, 191, 106, 0.32); }

.tw-home-cards {
    display: grid;
    grid-template-columns: 1fr minmax(0, 1.22fr) 1fr 1fr;
    gap: 14px;
    align-items: stretch;
    padding: 18px 0 38px;
}

.tw-home-card {
    display: flex;
    flex-direction: column;
    min-height: 286px;
    padding: 22px;
    overflow: hidden;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}

.tw-home-card h2 {
    margin: 0 0 16px;
    color: #75d7ff;
    font-size: 19px;
    text-transform: uppercase;
}

.tw-home-card p,
.tw-home-card li {
    color: #d7dde5;
    font-size: 14px;
    line-height: 1.55;
}

.tw-home-card ul {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.tw-home-card li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tw-home-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    min-width: 136px;
    padding: 0 14px;
    border: 1px solid rgba(112, 220, 255, 0.45);
    color: #ffffff;
    background: rgba(0, 120, 180, 0.2);
    font-weight: 800;
}

.tw-home-card > a {
    margin-top: auto;
    align-self: flex-end;
    margin-left: auto;
}

.tw-card-download {
    background:
        linear-gradient(90deg, rgba(5, 9, 13, 0.98), rgba(8, 28, 42, 0.7)),
        url("../../../images/header.jpg") center / cover no-repeat;
}

.tw-card-events {
    background:
        linear-gradient(90deg, rgba(5, 9, 13, 0.98), rgba(70, 15, 15, 0.62)),
        url("../../../images/header1.jpg") center / cover no-repeat;
}

.tw-card-hall {
    background:
        linear-gradient(90deg, rgba(5, 9, 13, 0.98), rgba(54, 22, 91, 0.7)),
        url("../../../slider/imagens/slider3.jpg") center / cover no-repeat;
}

.tw-card-tcoins {
    background:
        linear-gradient(90deg, rgba(5, 9, 13, 0.98), rgba(91, 63, 9, 0.7));
}

.tw-card-tcoins h2,
.tw-card-tcoins strong {
    color: #ffd15e;
}

.tw-page-wrap {
    padding: 38px 0 44px;
    background:
        linear-gradient(180deg, rgba(2, 4, 7, 0.86), #020407),
        url("../../../images/twister-hero.png") center top / cover fixed no-repeat;
}

.tw-container {
    padding: 0;
}

.tw-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 22px;
    align-items: start;
}

.tw-content {
    min-width: 0;
}

.tw-section,
.tw-page-title {
    padding: 26px;
    margin-bottom: 22px;
}

.tw-panel,
.tw-side-panel,
.tw-plan-card,
.tw-shop-card {
    padding: 22px;
}

.tw-section,
.tw-page-title,
.tw-panel,
.tw-side-panel,
.tw-plan-card,
.tw-shop-card,
.tw-download-hero {
    border-radius: 6px;
}

.tw-kicker {
    margin: 0 0 9px;
    color: #7ddcff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tw-section-heading {
    margin-bottom: 18px;
}

.tw-section-heading h2,
.tw-panel-title h2,
.tw-page-title h1,
.tw-download-hero h2,
.tw-panel h2 {
    margin: 0;
    color: #ffffff;
    line-height: 1.12;
}

.tw-page-title h1 {
    font-size: 42px;
}

.tw-page-title p,
.tw-panel p,
.tw-plan-card p,
.tw-shop-card p,
.tw-download-hero p {
    color: #c5ced8;
}

.tw-grid-two,
.tw-steps,
.tw-rank-grid,
.tw-plan-grid,
.tw-shop-grid,
.tw-spec-grid {
    display: grid;
    gap: 14px;
}

.tw-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.tw-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tw-rank-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tw-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 22px;
}

.tw-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 22px;
}

.tw-spec-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tw-team-title {
    background:
        linear-gradient(90deg, rgba(5, 9, 13, 0.96), rgba(8, 36, 58, 0.72)),
        url("../../../images/header1.jpg") center / cover no-repeat;
}

.tw-team-roster {
    overflow: hidden;
}

.tw-staff-members {
    min-height: 96px;
}

.tw-staff-loading,
.tw-staff-empty {
    display: grid;
    place-items: center;
    min-height: 96px;
    padding: 18px;
    border: 1px dashed rgba(125, 220, 255, 0.22);
    border-radius: 6px;
    color: #9fb8c9;
    background: rgba(0, 0, 0, 0.2);
}

.tw-staff-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tw-staff-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 82px;
    padding: 14px;
    border: 1px solid rgba(112, 220, 255, 0.16);
    border-radius: 7px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
        rgba(0, 0, 0, 0.18);
}

.tw-staff-card-online {
    border-color: rgba(87, 255, 133, 0.32);
    box-shadow: inset 3px 0 0 rgba(87, 255, 133, 0.65);
}

.tw-staff-card-offline {
    box-shadow: inset 3px 0 0 rgba(255, 100, 100, 0.5);
}

.tw-staff-avatar {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(112, 220, 255, 0.42);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    background:
        radial-gradient(circle at 35% 28%, rgba(123, 228, 255, 0.38), transparent 36%),
        linear-gradient(180deg, #063853, #06121f);
    box-shadow: 0 0 18px rgba(0, 183, 255, 0.22);
}

.tw-staff-info {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.tw-staff-info strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tw-staff-info small {
    color: #8fa6b7;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.tw-staff-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    min-width: 74px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.tw-staff-status-online,
.staffOnline {
    color: #88ffa7;
}

.tw-staff-status-online {
    border: 1px solid rgba(87, 255, 133, 0.28);
    background: rgba(87, 255, 133, 0.1);
}

.tw-staff-status-offline,
.staffOffline {
    color: #ff8b8b;
}

.tw-staff-status-offline {
    border: 1px solid rgba(255, 100, 100, 0.22);
    background: rgba(255, 100, 100, 0.08);
}

.tw-steps article,
.tw-spec-grid div,
.tw-mini-plans div {
    padding: 16px;
    border: 1px solid rgba(142, 172, 190, 0.18);
    background: rgba(0, 0, 0, 0.24);
}

.tw-steps span,
.tw-plan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    color: #031018;
    background: #7ddcff;
    font-size: 12px;
    font-weight: 900;
}

.tw-steps h3,
.tw-panel h3,
.tw-plan-card h2,
.tw-shop-card h2 {
    margin: 12px 0 8px;
    color: #ffffff;
}

.tw-rank-list,
.tw-news-list,
.tw-check-list,
.tw-plan-card ul,
.tw-stat-list,
.tw-user-menu,
.tw-quick-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tw-rank-list li,
.tw-news-list li,
.tw-check-list li,
.tw-plan-card li {
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #d7dde5;
}

.tw-list-more {
    border-bottom: 0 !important;
    text-align: right;
}

.tw-mini-plans {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.tw-mini-plans strong,
.tw-mini-plans span {
    display: block;
}

.tw-mini-plans span,
.tw-stat-list span {
    color: #9faab4;
    font-size: 13px;
}

.tw-sidebar {
    display: grid;
    gap: 14px;
}

.tw-side-panel h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 17px;
}

.tw-side-copy {
    margin: 0 0 14px;
    color: #aeb8c2;
    font-size: 13px;
}

.tw-user-menu {
    display: grid;
    gap: 8px;
}

.tw-user-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tw-user-menu li,
.tw-user-menu a,
.tw-quick-links a {
    display: block;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tw-exit-link {
    color: #ff9d9d;
}

.tw-stat-list {
    display: grid;
    gap: 10px;
}

.tw-stat-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #ffffff;
}

.tw-status-on {
    color: #68ff8f;
}

.tw-status-off {
    color: #ff7777;
}

.tw-download-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 28px;
    margin-bottom: 22px;
    background:
        linear-gradient(90deg, rgba(5, 9, 13, 0.94), rgba(7, 40, 62, 0.78)),
        url("../../../images/twister-hero.png") center / cover no-repeat;
}

.tw-download-meta,
.tw-footer-links,
.tw-login-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tw-download-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    color: #e7eef0;
    background: rgba(255, 255, 255, 0.09);
    font-size: 12px;
    font-weight: 700;
}

.tw-plan-featured {
    border-color: rgba(125, 220, 255, 0.55);
    background: linear-gradient(180deg, rgba(7, 41, 61, 0.95), rgba(5, 8, 12, 0.95));
}

.tw-plan-card a,
.tw-link-button,
.tw-secondary-button {
    margin-top: 12px;
}

.tw-vip-showcase .tw-plan-card {
    display: flex;
    flex-direction: column;
    min-height: 330px;
}

.tw-vip-showcase .tw-plan-card ul {
    flex: 1;
}

.tw-plan-actions {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.tw-plan-card .tw-plan-cta,
.tw-plan-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    margin-top: 0;
    padding: 0 16px;
    border: 1px solid rgba(125, 220, 255, 0.42);
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
    background:
        linear-gradient(180deg, rgba(8, 54, 78, 0.96), rgba(3, 17, 29, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 22px rgba(0, 183, 255, 0.16);
}

.tw-plan-cta span {
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
}

.tw-plan-cta small {
    color: #9adfff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-align: right;
    text-transform: uppercase;
}

.tw-plan-cta:hover {
    color: #ffffff;
    filter: brightness(1.14);
}

.tw-plan-cta-free {
    border-color: rgba(101, 255, 143, 0.5);
    background: linear-gradient(180deg, rgba(10, 98, 48, 0.92), rgba(4, 33, 17, 0.98));
    box-shadow: 0 0 22px rgba(47, 255, 111, 0.16);
}

.tw-plan-cta-storm {
    border-color: rgba(64, 202, 255, 0.72);
    background: linear-gradient(180deg, rgba(0, 116, 170, 0.94), rgba(4, 34, 58, 0.98));
    box-shadow: 0 0 28px rgba(0, 183, 255, 0.25);
}

.tw-plan-cta-cyclone {
    border-color: rgba(255, 204, 92, 0.72);
    background: linear-gradient(180deg, rgba(153, 104, 8, 0.95), rgba(45, 29, 4, 0.98));
    box-shadow: 0 0 28px rgba(255, 195, 77, 0.24);
}

.tw-plan-helper-link {
    justify-self: end;
    color: #7ddcff;
    font-size: 13px;
    font-weight: 800;
}

.tw-buy-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tw-buy-flow article {
    min-height: 142px;
}

.tw-vip-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tw-vip-price-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.tw-vip-price-options span {
    display: grid;
    gap: 3px;
    min-height: 72px;
    padding: 12px;
    border: 1px solid rgba(125, 220, 255, 0.22);
    background: rgba(0, 0, 0, 0.24);
}

.tw-vip-price-options strong {
    color: #ffffff;
    font-size: 18px;
}

.tw-vip-price-options small {
    color: #7ddcff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.tw-panel-user-section {
    padding: 18px;
}

.tw-vip-checkout-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 18px;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(5, 9, 13, 0.96), rgba(7, 36, 55, 0.82)),
        url("../../../images/twister-hero.png") center 58% / cover no-repeat;
}

.tw-vip-balance {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(255, 210, 100, 0.32);
    background: rgba(0, 0, 0, 0.35);
    box-shadow: inset 0 0 28px rgba(255, 188, 54, 0.05);
}

.tw-vip-balance span {
    color: #9faab4;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.tw-vip-balance strong {
    color: #ffd56f;
    font-size: 24px;
}

.tw-vip-balance a {
    color: #7ddcff;
    font-weight: 800;
}

.tw-vip-response {
    margin-bottom: 16px;
}

.tw-vip-response:empty {
    display: none;
}

.tw-vip-checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.tw-vip-buy-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(142, 172, 190, 0.32);
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(13, 17, 22, 0.96), rgba(5, 8, 12, 0.96));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 20px 50px rgba(0, 0, 0, 0.46);
}

.tw-vip-buy-storm {
    border-color: rgba(64, 202, 255, 0.46);
    background:
        radial-gradient(circle at 82% 10%, rgba(0, 183, 255, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(7, 35, 52, 0.96), rgba(5, 8, 12, 0.96));
}

.tw-vip-buy-cyclone {
    border-color: rgba(255, 204, 92, 0.46);
    background:
        radial-gradient(circle at 82% 10%, rgba(255, 204, 92, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(38, 28, 6, 0.96), rgba(5, 8, 12, 0.96));
}

.tw-vip-buy-head h2 {
    margin: 12px 0 8px;
    color: #ffffff;
    font-size: 30px;
}

.tw-vip-buy-head p {
    margin: 0;
    color: #c5ced8;
}

.tw-vip-benefits {
    display: grid;
    gap: 8px;
}

.tw-vip-benefits span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d7dde5;
    font-size: 14px;
}

.tw-vip-benefits span::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    background: #7ddcff;
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(125, 220, 255, 0.65);
}

.tw-vip-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.tw-vip-options legend {
    grid-column: 1 / -1;
    margin-bottom: 2px;
    color: #7ddcff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.tw-vip-options label {
    cursor: pointer;
}

.tw-vip-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tw-vip-option-inner {
    display: grid;
    gap: 4px;
    min-height: 88px;
    padding: 13px;
    border: 1px solid rgba(125, 220, 255, 0.22);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.22);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tw-vip-option-inner strong {
    color: #ffffff;
    font-size: 18px;
}

.tw-vip-option-inner em {
    color: #ffd56f;
    font-style: normal;
    font-weight: 900;
}

.tw-vip-option-inner small {
    color: #9faab4;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.tw-vip-options input:checked + .tw-vip-option-inner {
    border-color: rgba(125, 220, 255, 0.78);
    box-shadow:
        inset 0 0 0 1px rgba(125, 220, 255, 0.2),
        0 0 24px rgba(0, 183, 255, 0.16);
    transform: translateY(-1px);
}

.tw-vip-buy-cyclone .tw-vip-options input:checked + .tw-vip-option-inner {
    border-color: rgba(255, 204, 92, 0.78);
    box-shadow:
        inset 0 0 0 1px rgba(255, 204, 92, 0.18),
        0 0 24px rgba(255, 195, 77, 0.16);
}

.tw-vip-submit {
    min-height: 52px;
    border: 1px solid rgba(255, 210, 100, 0.7);
    border-radius: 4px;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(153, 104, 8, 0.95), rgba(45, 29, 4, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 28px rgba(255, 195, 77, 0.24);
}

.tw-vip-buy-storm .tw-vip-submit {
    border-color: rgba(64, 202, 255, 0.72);
    background: linear-gradient(180deg, rgba(0, 116, 170, 0.94), rgba(4, 34, 58, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 28px rgba(0, 183, 255, 0.25);
}

.tw-vip-submit:hover {
    filter: brightness(1.14);
}

.tw-shop-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.tw-shop-card img {
    width: 130px;
    max-height: 220px;
    object-fit: contain;
}

.tw-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px min(44px, 4vw);
    border-top: 1px solid rgba(94, 196, 255, 0.18);
    color: #9faab4;
    background: #030609;
}

.tw-footer strong,
.tw-footer span {
    margin-right: 12px;
}

.legend,
#etc,
#ja-content-top,
#ja-content-bot,
#ja-current-content {
    background: transparent !important;
    border: 0 !important;
}

#etc h1,
.legend-title,
#ja-current-content h1 {
    color: #ffffff;
}

.tw-rank-hall {
    margin: 0 0 22px;
    padding: 20px;
    border: 1px solid rgba(94, 196, 255, 0.22);
    background:
        linear-gradient(90deg, rgba(5, 9, 13, 0.98), rgba(4, 20, 32, 0.88)),
        url("../../../images/twister-hero.png") center 56% / cover no-repeat;
    box-shadow: inset 0 0 24px rgba(0, 170, 255, 0.05), 0 16px 34px rgba(0, 0, 0, 0.28);
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}

.tw-rank-hall-featured {
    margin-top: 18px;
    padding: 28px;
    border-color: rgba(255, 210, 95, 0.24);
    background:
        linear-gradient(90deg, rgba(4, 8, 12, 0.98), rgba(4, 20, 32, 0.86), rgba(24, 16, 0, 0.78)),
        url("../../../images/twister-hero.png") center 52% / cover no-repeat;
    box-shadow:
        inset 0 0 34px rgba(82, 207, 255, 0.08),
        inset 0 0 84px rgba(255, 210, 95, 0.04),
        0 20px 44px rgba(0, 0, 0, 0.34);
}

.tw-rank-hall-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
}

.tw-rank-hall-head span {
    color: #70dcff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.tw-rank-hall-head h2 {
    margin: 6px 0 4px;
    color: #ffffff;
    font-size: 34px;
    line-height: 1.06;
}

.tw-rank-hall-head p {
    margin: 0;
    color: #cad8e4;
}

.tw-rank-hall-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tw-rank-hall-card a {
    grid-template-columns: 54px minmax(0, 1fr);
    min-height: 116px;
}

.tw-rank-hall-card span:not(.tw-hall-icon) {
    color: #aeb8c5;
    font-size: 12px;
    line-height: 1.35;
}

.tw-my-rankings {
    margin-top: 18px;
}

.tw-my-rank-grid {
    display: grid;
    gap: 12px;
}

.tw-my-rank-card a {
    display: grid;
    grid-template-columns: 70px 58px minmax(160px, 1fr) repeat(3, minmax(88px, 0.35fr));
    align-items: center;
    gap: 14px;
    min-height: 86px;
    padding: 14px 16px;
    border: 1px solid rgba(82, 207, 255, 0.2);
    background: linear-gradient(90deg, rgba(0, 19, 28, 0.94), rgba(0, 8, 13, 0.92));
    box-shadow: inset 0 0 22px rgba(82, 207, 255, 0.05);
}

.tw-my-rank-card a:hover {
    border-color: rgba(82, 207, 255, 0.44);
    background: linear-gradient(90deg, rgba(0, 35, 51, 0.94), rgba(0, 10, 16, 0.94));
}

.tw-my-rank-place {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid rgba(255, 210, 95, 0.34);
    color: #ffd15e;
    font-size: 22px;
    font-weight: 900;
    background: rgba(255, 199, 72, 0.08);
}

.tw-my-rank-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(82, 207, 255, 0.28);
    background: radial-gradient(circle, rgba(82, 207, 255, 0.16), rgba(0, 6, 10, 0.96));
}

.tw-my-rank-avatar img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.tw-my-rank-name strong,
.tw-my-rank-stat strong,
.tw-my-rank-empty strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.2;
}

.tw-my-rank-name small,
.tw-my-rank-stat small,
.tw-my-rank-empty span {
    display: block;
    color: #9eb6c8;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.tw-my-rank-stat {
    text-align: right;
}

.tw-my-rank-empty {
    padding: 18px;
    border: 1px solid rgba(82, 207, 255, 0.2);
    background: rgba(0, 14, 22, 0.78);
}

.tw-rank-filter-section {
    margin-top: 18px;
}

.tw-rank-filter {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr)) auto;
    gap: 12px;
    align-items: end;
    max-width: 860px;
}

.tw-rank-filter label {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.tw-rank-filter label span {
    color: #75dfff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

#ja-content .tw-rank-filter select {
    width: 100%;
    height: 44px;
    border: 1px solid rgba(82, 207, 255, 0.24);
    background: rgba(0, 10, 16, 0.96);
    color: #eaf8ff;
    padding: 0 12px;
    font-weight: 800;
}

#ja-content .tw-rank-filter-button {
    min-width: 120px;
    height: 44px;
    margin-top: 0;
}

.tw-rank-table-wrap {
    overflow-x: auto;
}

.tw-rank-table-wrap .quadros,
#ja-current-content .tw-rank-table-wrap .quadros {
    min-height: 0;
    padding: 0;
    border: 1px solid rgba(82, 207, 255, 0.2);
    background: rgba(0, 9, 14, 0.78);
    box-shadow: inset 0 0 24px rgba(82, 207, 255, 0.04);
}

.tw-rank-table-wrap .quadros::before,
.tw-rank-table-wrap .quadros::after,
#ja-current-content .tw-rank-table-wrap .quadros::before,
#ja-current-content .tw-rank-table-wrap .quadros::after {
    display: none;
}

#ja-content .tw-rank-table-wrap table {
    min-width: 760px;
}

#ja-content .tw-rank-table-wrap td[bgcolor],
#ja-content .tw-rank-table-wrap th[bgcolor] {
    background: rgba(0, 28, 40, 0.96) !important;
    color: #dff5ff;
}

#ja-content .tw-rank-table-wrap tr:first-child td,
#ja-content .tw-rank-table-wrap tr:first-child th {
    color: #75dfff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

#ja-content .tw-rank-table-wrap td:first-child {
    color: #ffd15e;
}

table {
    width: 100%;
    border-collapse: collapse;
    color: #d7dde5;
}

td,
th {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1180px) {
    .tw-nav {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px 0;
    }

    .tw-menu {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .tw-nav-actions {
        border-left: 0;
        padding-left: 0;
    }

    .tw-hero-grid {
        grid-template-columns: 1fr;
        padding-bottom: 20px;
    }

    .tw-login-panel {
        justify-self: stretch;
        max-width: 520px;
    }

    .tw-home-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tw-home-hall {
        grid-template-columns: 1fr;
    }

    .tw-hall-heading {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 4px 0 14px;
    }

    .tw-hall-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .tw-layout,
    .tw-grid-two,
    .tw-rank-grid,
    .tw-plan-grid,
    .tw-shop-grid,
    .tw-spec-grid,
    .tw-staff-list,
    .tw-steps,
    .tw-buy-flow,
    .tw-vip-checkout-hero,
    .tw-vip-checkout-grid,
    .tw-vip-price-grid {
        grid-template-columns: 1fr;
    }

    .tw-status-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tw-rank-hall-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tw-my-rank-card a {
        grid-template-columns: 64px 54px minmax(150px, 1fr);
    }

    .tw-my-rank-stat {
        text-align: left;
    }

    .tw-rank-filter {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
        max-width: none;
    }

    #ja-content .tw-rank-filter-button {
        width: 100%;
    }

    .tw-status-bar div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .tw-sidebar {
        order: -1;
    }

    .tw-download-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tw-topline-inner,
    .tw-nav,
    .tw-hero-grid,
    .tw-status-bar,
    .tw-home-hall,
    .tw-home-cards,
    .tw-container {
        width: min(100% - 20px, 1460px);
    }

    .tw-brand img {
        width: min(240px, 100%);
    }

    .tw-menu {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .tw-menu::-webkit-scrollbar {
        display: none;
    }

    .tw-menu a {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 0 12px;
    }

    .tw-nav-actions,
    .tw-nav-button {
        width: 100%;
    }

    .tw-nav-button {
        flex: 1;
    }

    .tw-hero {
        padding-top: 26px;
    }

    .tw-tagline {
        font-size: 23px;
        letter-spacing: 3px;
    }

    .tw-feature-row {
        font-size: 16px;
        gap: 10px 14px;
    }

    .tw-hero-actions,
    .tw-status-bar,
    .tw-home-hall,
    .tw-hall-grid,
    .tw-rank-hall-grid,
    .tw-home-cards {
        grid-template-columns: 1fr;
    }

    .tw-action {
        min-height: 56px;
        font-size: 19px;
    }

    .tw-panel-frame,
    .tw-home-hall,
    .tw-rank-hall,
    .tw-home-card,
    .tw-section,
    .tw-page-title,
    .tw-download-hero,
    .tw-panel,
    .tw-side-panel,
    .tw-plan-card,
    .tw-shop-card {
        padding: 16px;
    }

    .tw-vip-options,
    .tw-vip-price-options {
        grid-template-columns: 1fr;
    }

    .tw-plan-cta {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 12px 14px;
    }

    .tw-plan-cta small {
        text-align: left;
    }

    .tw-vip-balance strong {
        font-size: 21px;
    }

    .tw-hall-heading {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 4px 0 14px;
    }

    .tw-hall-heading h2,
    .tw-rank-hall-head h2 {
        font-size: 24px;
    }

    .tw-rank-hall-featured {
        padding: 20px;
    }

    .tw-rank-filter,
    .tw-my-rank-card a {
        grid-template-columns: 1fr;
    }

    .tw-my-rank-place,
    .tw-my-rank-avatar {
        width: fit-content;
    }

    .tw-my-rank-place {
        min-width: 66px;
        min-height: 40px;
    }

    .tw-shop-card {
        grid-template-columns: 1fr;
    }

    .tw-shop-card img {
        width: 100%;
        max-height: 260px;
    }

    .tw-staff-card {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
    }

    .tw-staff-avatar {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .tw-staff-status {
        grid-column: 2;
        justify-self: start;
        min-width: 0;
    }
}

/* MU Twister home polish v2 */
.tw-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 18px;
    max-width: 100%;
    line-height: 0.86;
    white-space: nowrap;
}

.tw-wordmark-mu,
.tw-wordmark-twister {
    display: inline-block;
    color: #ffffff;
    text-shadow:
        0 0 12px rgba(86, 210, 255, 0.6),
        0 8px 22px rgba(0, 0, 0, 0.86);
}

.tw-wordmark-mu {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 900;
    color: transparent;
    background:
        linear-gradient(180deg, #ffffff 0%, #cfd8df 26%, #5db7e3 56%, #f4fbff 68%, #67727b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 1px rgba(209, 238, 255, 0.78);
}

.tw-wordmark-twister {
    font-family: "Segoe Script", "Brush Script MT", "Trebuchet MS", cursive;
    font-style: italic;
    font-weight: 900;
    color: #dff7ff;
    transform: skew(-9deg) translateY(-0.02em);
    text-shadow:
        0 0 10px rgba(49, 194, 255, 0.95),
        0 0 24px rgba(37, 151, 255, 0.64),
        0 9px 24px rgba(0, 0, 0, 0.92);
}

.tw-wordmark-nav {
    gap: 10px;
    filter: drop-shadow(0 0 10px rgba(0, 183, 255, 0.25));
}

.tw-wordmark-nav .tw-wordmark-mu {
    font-size: 42px;
}

.tw-wordmark-nav .tw-wordmark-twister {
    font-size: 35px;
}

.tw-wordmark-hero {
    margin-top: 10px;
    filter: drop-shadow(0 0 16px rgba(0, 183, 255, 0.26));
}

.tw-wordmark-hero .tw-wordmark-mu {
    font-size: clamp(92px, 12vw, 170px);
}

.tw-wordmark-hero .tw-wordmark-twister {
    font-size: clamp(66px, 8vw, 116px);
}

.tw-panel-kicker {
    margin: 0 0 6px;
    color: #b7c8d6;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}

.tw-action {
    gap: 13px;
}

.tw-action-mark,
.tw-status-mark,
.tw-card-mark {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
}

.tw-action-mark {
    width: 30px;
    height: 30px;
}

.tw-mark-play::before,
.tw-mark-play::after {
    content: "";
    position: absolute;
    top: 2px;
    width: 5px;
    height: 26px;
    border-radius: 3px;
    background: linear-gradient(180deg, #ffffff, #7be4ff 56%, #1b8ec7);
    box-shadow: 0 0 11px rgba(120, 231, 255, 0.68);
}

.tw-mark-play::before {
    left: 10px;
    transform: rotate(38deg);
}

.tw-mark-play::after {
    right: 10px;
    transform: rotate(-38deg);
}

.tw-mark-create::before,
.tw-mark-create::after {
    content: "";
    position: absolute;
    background: #ffffff;
    box-shadow: 0 0 12px rgba(130, 255, 173, 0.75);
}

.tw-mark-create::before {
    inset: 13px 4px;
    height: 4px;
    border-radius: 4px;
}

.tw-mark-create::after {
    top: 4px;
    bottom: 4px;
    left: 13px;
    width: 4px;
    border-radius: 4px;
}

.tw-mark-coins::before,
.tw-mark-coins::after {
    content: "";
    position: absolute;
    left: 4px;
    width: 22px;
    height: 8px;
    border: 2px solid #ffe18a;
    border-radius: 50%;
    background: linear-gradient(180deg, #fff0a8, #b47612);
    box-shadow: 0 0 12px rgba(255, 209, 94, 0.72);
}

.tw-mark-coins::before {
    top: 6px;
}

.tw-mark-coins::after {
    top: 15px;
}

.tw-mark-discord::before {
    content: "";
    position: absolute;
    inset: 6px 3px;
    border-radius: 9px 9px 12px 12px;
    background: #ffffff;
    box-shadow: 0 0 14px rgba(175, 147, 255, 0.86);
}

.tw-mark-discord::after {
    content: "";
    position: absolute;
    top: 13px;
    left: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #241250;
    box-shadow: 9px 0 0 #241250, 4px 8px 0 -1px #241250;
}

.tw-status-mark {
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
}

.tw-season-mark {
    transform: rotate(45deg);
    border: 2px solid #46cfff;
    background:
        linear-gradient(135deg, rgba(70, 207, 255, 0.18), rgba(70, 207, 255, 0.02));
    box-shadow: 0 0 16px rgba(70, 207, 255, 0.55);
}

.tw-season-mark::before,
.tw-season-mark::after {
    content: "";
    position: absolute;
    background: #8fe7ff;
}

.tw-season-mark::before {
    inset: 9px 18px;
}

.tw-season-mark::after {
    inset: 18px 9px;
}

.tw-xp-mark {
    clip-path: polygon(50% 0, 100% 37%, 82% 100%, 18% 100%, 0 37%);
    background: linear-gradient(180deg, #9bf0ff, #046b9e);
    box-shadow: 0 0 17px rgba(60, 205, 255, 0.6);
}

.tw-xp-mark::before {
    content: "";
    position: absolute;
    inset: 8px;
    clip-path: polygon(50% 0, 100% 37%, 82% 100%, 18% 100%, 0 37%);
    background: rgba(2, 4, 7, 0.62);
}

.tw-drop-mark {
    border-radius: 50%;
    background: radial-gradient(circle at 50% 30%, #ff9a9a, #a81923 62%, #3a0508);
    box-shadow: 0 0 17px rgba(255, 83, 83, 0.62);
}

.tw-drop-mark::before,
.tw-drop-mark::after {
    content: "";
    position: absolute;
    top: 28px;
    left: 12px;
    width: 7px;
    height: 12px;
    border-radius: 5px;
    background: #320408;
}

.tw-drop-mark::after {
    left: 24px;
}

.tw-reset-mark {
    transform: rotate(45deg);
    border: 2px solid #ffd15e;
    background: radial-gradient(circle, rgba(255, 209, 94, 0.22), rgba(255, 209, 94, 0.02));
    box-shadow: 0 0 17px rgba(255, 209, 94, 0.58);
}

.tw-reset-mark::before,
.tw-reset-mark::after {
    content: "";
    position: absolute;
    background: #ffe18a;
}

.tw-reset-mark::before {
    top: 18px;
    left: 4px;
    right: 4px;
    height: 2px;
}

.tw-reset-mark::after {
    top: 4px;
    bottom: 4px;
    left: 18px;
    width: 2px;
}

.tw-card-mark {
    width: 48px;
    height: 42px;
    margin-bottom: 10px;
}

.tw-card-download-mark::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 2px;
    width: 10px;
    height: 26px;
    background: #54d5ff;
    box-shadow: 0 0 14px rgba(84, 213, 255, 0.58);
}

.tw-card-download-mark::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 19px;
    width: 28px;
    height: 18px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 13px solid #54d5ff;
    box-sizing: border-box;
}

.tw-card-ranking-mark::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 32px;
    height: 24px;
    border: 3px solid #ffd15e;
    border-top: 0;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 0 14px rgba(255, 209, 94, 0.42);
}

.tw-card-ranking-mark::after {
    content: "";
    position: absolute;
    left: 20px;
    bottom: 1px;
    width: 8px;
    height: 13px;
    background: #ffd15e;
    box-shadow: 0 0 0 7px rgba(255, 209, 94, 0.16);
}

.tw-card-news-mark::before {
    content: "";
    position: absolute;
    inset: 4px 8px 6px;
    border: 2px solid #7ddcff;
    border-radius: 3px;
    background:
        linear-gradient(#7ddcff, #7ddcff) 8px 10px / 22px 2px no-repeat,
        linear-gradient(#7ddcff, #7ddcff) 8px 17px / 18px 2px no-repeat,
        linear-gradient(#7ddcff, #7ddcff) 8px 24px / 24px 2px no-repeat;
}

.tw-card-events-mark::before,
.tw-card-events-mark::after {
    content: "";
    position: absolute;
    inset: 7px;
    border: 2px solid #ff7d7d;
    border-radius: 5px;
}

.tw-card-events-mark::after {
    inset: 14px 16px;
    border-width: 0 0 3px 3px;
    transform: rotate(-45deg);
    border-radius: 0;
}

.tw-card-tcoins-mark::before,
.tw-card-tcoins-mark::after {
    content: "";
    position: absolute;
    left: 8px;
    width: 32px;
    height: 10px;
    border: 2px solid #ffd15e;
    border-radius: 50%;
    background: linear-gradient(180deg, #fff0a8, #9f680f);
    box-shadow: 0 0 14px rgba(255, 209, 94, 0.5);
}

.tw-card-tcoins-mark::before {
    top: 8px;
}

.tw-card-tcoins-mark::after {
    top: 21px;
}

.tw-card-meta {
    color: #91dfff !important;
    font-size: 13px !important;
    font-weight: 800;
}

.tw-home-card .tw-rank-list a,
.tw-home-card .tw-news-list a {
    display: inline;
    min-height: 0;
    min-width: 0;
    padding: 0;
    border: 0;
    color: #dff5ff;
    background: transparent;
    font-weight: 800;
}

.tw-home-card .tw-rank-list a:hover,
.tw-home-card .tw-news-list a:hover {
    color: #ffffff;
}

.tw-home-card .tw-news-list div {
    border-bottom: 0 !important;
}

.tw-card-news {
    background:
        linear-gradient(135deg, rgba(4, 10, 15, 0.98), rgba(7, 42, 61, 0.78));
}

.tw-news-carousel {
    position: relative;
    min-height: 152px;
    margin-bottom: 14px !important;
}

.tw-home-card .tw-news-carousel .tw-news-slide {
    display: none;
    padding: 0;
    border-bottom: 0;
}

.tw-home-card .tw-news-carousel .tw-news-slide.is-active {
    display: block;
}

.tw-home-card .tw-news-slide-link {
    display: grid !important;
    grid-template-columns: minmax(126px, 34%) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.tw-news-thumb {
    display: block;
    width: 100%;
    min-height: 0;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border: 1px solid rgba(112, 220, 255, 0.24);
    background: rgba(0, 10, 18, 0.72);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.tw-news-thumb img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    display: block;
}

.tw-news-copy {
    display: grid;
    gap: 7px;
    align-content: start;
    min-width: 0;
}

.tw-news-copy small {
    color: #76dcff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.tw-news-copy strong {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.18;
}

.tw-news-copy em {
    display: block;
    color: #c6d4df;
    font-size: 13px;
    line-height: 1.48;
    font-style: normal;
    text-align: justify;
    hyphens: auto;
}

.tw-news-copy em:empty::before {
    content: "Clique para ler a noticia completa.";
}

.tw-news-readmore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: fit-content;
    min-height: 25px;
    padding: 0 9px;
    border: 1px solid rgba(112, 220, 255, 0.42);
    color: #ffffff;
    background: rgba(0, 130, 190, 0.22);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.tw-news-controls {
    display: flex;
    gap: 7px;
    margin: 4px 0 12px;
}

.tw-news-controls button {
    width: 27px !important;
    min-width: 0 !important;
    height: 6px !important;
    min-height: 6px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22) !important;
    cursor: pointer;
}

.tw-news-controls button.is-active {
    background: #42ceff !important;
    box-shadow: 0 0 12px rgba(66, 206, 255, 0.72);
}

.tw-session-name {
    display: block;
    color: #ffd15e;
    font-size: 17px;
}

.tw-user-menu {
    display: grid;
    gap: 12px;
}

.tw-user-menu li,
.tw-user-menu a {
    color: #e8f2f7;
}

@media (max-width: 1180px) {
    .tw-wordmark-nav .tw-wordmark-mu {
        font-size: 46px;
    }

    .tw-wordmark-nav .tw-wordmark-twister {
        font-size: 38px;
    }

    .tw-wordmark-hero .tw-wordmark-mu {
        font-size: clamp(86px, 17vw, 145px);
    }

    .tw-wordmark-hero .tw-wordmark-twister {
        font-size: clamp(62px, 12vw, 104px);
    }
}

@media (max-width: 640px) {
    .tw-wordmark {
        gap: 8px;
    }

    .tw-wordmark-nav .tw-wordmark-mu {
        font-size: 38px;
    }

    .tw-wordmark-nav .tw-wordmark-twister {
        font-size: 30px;
    }

    .tw-wordmark-hero .tw-wordmark-mu {
        font-size: clamp(52px, 23vw, 82px);
    }

    .tw-wordmark-hero .tw-wordmark-twister {
        font-size: clamp(38px, 15vw, 58px);
    }

    .tw-tagline {
        letter-spacing: 1px;
    }

    .tw-action {
        justify-content: flex-start;
        padding-left: 24px;
    }

    .tw-status-bar div {
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 13px 16px;
    }

    .tw-status-bar strong {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .tw-nav,
    .tw-hero-grid,
    .tw-status-bar,
    .tw-home-cards {
        width: calc(100% - 28px);
    }

    .tw-menu {
        flex-wrap: wrap;
        overflow-x: visible;
        row-gap: 4px;
    }

    .tw-menu a {
        flex: 0 1 auto;
    }

    .tw-hero-grid {
        padding-left: 0;
        padding-right: 0;
    }

    .tw-hero-main,
    .tw-login-panel,
    .tw-wordmark-hero,
    .tw-hero-actions {
        width: 100%;
        max-width: 100%;
    }

    .tw-wordmark-hero .tw-wordmark-mu {
        font-size: clamp(46px, 18vw, 68px);
    }

    .tw-wordmark-hero .tw-wordmark-twister {
        font-size: clamp(32px, 11vw, 44px);
    }

    .tw-tagline {
        width: 100%;
        font-size: 21px;
        line-height: 1.25;
    }

    .tw-feature-row {
        width: 100%;
        gap: 10px 12px;
    }

    .tw-action {
        width: 100%;
        min-width: 0;
    }

    .tw-panel-frame {
        width: 100%;
    }

    #ja-current-content,
    #ja-current-content form,
    #ja-current-content .legend,
    #ja-current-content #etc {
        max-width: 100%;
        overflow-x: hidden;
    }

    #ja-current-content table {
        width: 100% !important;
        max-width: 100%;
        table-layout: fixed;
    }

    #ja-current-content tr,
    #ja-current-content td,
    #ja-current-content th {
        max-width: 100%;
    }

    #ja-current-content td,
    #ja-current-content th {
        padding: 8px 4px;
        word-break: break-word;
    }

    #ja-current-content td[align="right"] {
        text-align: left;
    }

    #ja-current-content input,
    #ja-current-content select,
    #ja-current-content textarea,
    #ja-current-content iframe {
        max-width: 100%;
        box-sizing: border-box;
    }

    #ja-current-content input[type="text"],
    #ja-current-content input[type="password"],
    #ja-current-content select,
    #ja-current-content textarea,
    #ja-current-content iframe {
        width: 100% !important;
    }

    #ja-current-content .button,
    #ja-current-content input[type="button"],
    #ja-current-content input[type="submit"] {
        width: 100%;
        min-height: 44px;
        white-space: normal;
    }
}

/* Final product polish: authenticated header, legacy panels and responsive forms */
.tw-nav-actions-logged {
    gap: 10px;
}

.tw-nav-panel {
    border-color: rgba(64, 255, 132, 0.48);
    background: linear-gradient(180deg, #087d38, #05361d);
    box-shadow:
        inset 0 0 0 1px rgba(192, 255, 215, 0.18),
        0 0 22px rgba(50, 255, 132, 0.16);
}

.tw-nav-logout {
    border-color: rgba(255, 111, 111, 0.42);
    color: #ffd7d7;
    background: linear-gradient(180deg, rgba(86, 18, 23, 0.88), rgba(27, 7, 10, 0.92));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 18px rgba(255, 48, 48, 0.12);
}

.tw-nav-account,
.tw-session-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    min-width: 0;
    padding: 6px 12px;
    border: 1px solid rgba(112, 220, 255, 0.28);
    border-radius: 6px;
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(10, 22, 32, 0.94), rgba(4, 8, 12, 0.94));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 18px rgba(0, 183, 255, 0.12);
}

.tw-nav-account:hover,
.tw-session-card:hover {
    color: #ffffff;
    border-color: rgba(112, 220, 255, 0.5);
}

.tw-nav-avatar,
.tw-session-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(112, 220, 255, 0.5);
    border-radius: 50%;
    color: #dff7ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    background:
        radial-gradient(circle at 35% 28%, rgba(123, 228, 255, 0.45), transparent 35%),
        linear-gradient(180deg, #063853, #06121f);
    box-shadow: 0 0 18px rgba(0, 183, 255, 0.28);
}

.tw-nav-account-text,
.tw-session-card span:last-child {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.tw-nav-account small,
.tw-session-card small {
    color: #8fa6b7;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.tw-nav-account strong,
.tw-session-card strong {
    max-width: 130px;
    overflow: hidden;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tw-user-menu-logged {
    gap: 12px;
}

.tw-user-menu-logged ul {
    display: grid;
    gap: 8px;
}

.tw-user-menu-logged li,
.tw-user-menu-logged a,
.tw-user-menu-logged .tw-exit-link {
    border-bottom: 0;
}

.tw-user-menu-logged ul a {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.035);
}

.tw-user-menu-logged ul a:hover {
    color: #ffffff;
    border-color: rgba(112, 220, 255, 0.3);
    background: rgba(0, 183, 255, 0.09);
}

.tw-user-menu-logged .tw-exit-link {
    color: #ffb0b0;
}

.tw-user-menu-logged > .tw-session-card {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 82px;
    padding: 14px 16px;
    border-bottom: 0;
    border-radius: 8px;
}

.tw-user-menu-logged > .tw-session-card .tw-session-avatar {
    position: relative;
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    background:
        linear-gradient(135deg, rgba(43, 198, 255, 0.44), rgba(7, 18, 31, 0.98) 52%, rgba(9, 48, 73, 0.96));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.14),
        0 0 22px rgba(0, 183, 255, 0.26);
}

.tw-user-menu-logged > .tw-session-card .tw-session-avatar::after {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 9px;
    pointer-events: none;
}

.tw-user-menu-logged > .tw-session-card .tw-session-meta {
    display: grid;
    align-content: center;
    gap: 5px;
    min-width: 0;
}

.tw-user-menu-logged > .tw-session-card .tw-session-meta small {
    color: #9fb8c9;
    font-size: 11px;
    line-height: 1;
}

.tw-user-menu-logged > .tw-session-card .tw-session-name {
    max-width: 230px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.08;
}

#ja-containerwrap-fr #ja-container.clearfix {
    width: min(1460px, calc(100% - 44px));
    margin: 26px auto 46px;
}

#ja-containerwrap-fr #ja-mainbody.clearfix:not(.tw-layout) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

#ja-containerwrap-fr #ja-content,
#ja-containerwrap-fr #ja-col1,
#ja-containerwrap-fr #ja-tabs {
    float: none !important;
    width: auto !important;
    min-width: 0;
}

#ja-containerwrap-fr #ja-mainbody.clearfix:not(.tw-layout) #ja-content {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
}

#ja-containerwrap-fr #ja-mainbody.clearfix:not(.tw-layout) #ja-col1 {
    grid-column: 2;
    grid-row: 1;
    max-width: 320px;
    width: 320px !important;
}

#ja-containerwrap-fr #ja-mainbody.clearfix:not(.tw-layout) > br {
    display: none;
}

#ja-containerwrap-fr #ja-mainbody.clearfix:not(.tw-layout) #ja-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
}

#ja-containerwrap-fr #ja-mainbody.tw-layout #ja-content,
#ja-containerwrap-fr #ja-mainbody.tw-layout #ja-col1 {
    order: 0;
    flex: initial;
    max-width: none;
    width: auto !important;
}

#ja-containerwrap-fr #ja-mainbody.tw-layout > #ja-content {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

#ja-containerwrap-fr #ja-mainbody.tw-layout > #ja-col1 {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    width: 310px !important;
    max-width: 310px;
}

#ja-current-content {
    padding: 24px !important;
    border: 1px solid rgba(112, 220, 255, 0.18) !important;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(7, 14, 20, 0.92), rgba(4, 7, 10, 0.94)) !important;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.035),
        0 18px 38px rgba(0, 0, 0, 0.28);
}

#ja-current-content > #etc {
    display: grid;
    gap: 14px;
}

#ja-current-content h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px !important;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(112, 220, 255, 0.18);
    color: #ffffff;
    font-size: 24px;
    line-height: 1.2;
}

#ja-current-content h1::before {
    content: "";
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    transform: rotate(45deg);
    background: #26c7ff;
    box-shadow: 0 0 14px rgba(38, 199, 255, 0.8);
}

#ja-current-content h3,
.legend-title {
    margin: 0 0 12px !important;
    color: #7fdcff !important;
    font-size: 16px !important;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.legend-title span {
    font-size: inherit !important;
}

#ja-current-content p,
#ja-current-content li,
#ja-current-content td {
    color: #d7e1eb;
}

#ja-current-content strong {
    color: #ffffff;
}

#ja-current-content .legend {
    margin: 16px 0 !important;
    padding: 18px !important;
    border: 1px solid rgba(112, 220, 255, 0.14) !important;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)) !important;
}

#ja-current-content ul {
    margin: 0;
    padding-left: 18px;
}

#ja-current-content li {
    margin: 7px 0;
}

#menu_cp {
    margin: 8px 0 14px;
}

#menu_cp ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#menu_cp li {
    margin: 0;
    padding: 0;
}

#menu_cp a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(112, 220, 255, 0.18);
    border-radius: 5px;
    color: #dff6ff;
    font-size: 13px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.045);
}

#menu_cp a:hover {
    color: #ffffff;
    border-color: rgba(112, 220, 255, 0.46);
    background: rgba(0, 183, 255, 0.1);
}

#ja-current-content form {
    max-width: 100%;
}

#ja-current-content #etc > form {
    margin: 12px 0 16px;
    padding: 16px;
    border: 1px solid rgba(112, 220, 255, 0.13);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
}

#ja-current-content input,
#ja-current-content select,
#ja-current-content textarea {
    min-height: 38px;
    max-width: 100%;
    margin: 4px 6px 8px 0;
    padding: 8px 10px;
    border: 1px solid rgba(112, 220, 255, 0.22);
    border-radius: 4px;
    color: #ffffff;
    background: rgba(2, 7, 12, 0.9);
    outline: none;
}

#ja-current-content textarea {
    min-height: 120px;
    resize: vertical;
}

#ja-current-content input:focus,
#ja-current-content select:focus,
#ja-current-content textarea:focus {
    border-color: rgba(112, 220, 255, 0.62);
    box-shadow: 0 0 0 2px rgba(0, 183, 255, 0.12);
}

#ja-current-content input[type="radio"],
#ja-current-content input[type="checkbox"] {
    min-height: 0;
    width: auto !important;
    margin: 0 6px 0 0;
}

#ja-current-content input[type="file"] {
    width: 100%;
    min-height: 42px;
}

#ja-current-content table {
    width: 100% !important;
    margin: 10px 0 14px;
    border: 1px solid rgba(112, 220, 255, 0.13);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.18);
}

#ja-current-content th,
#ja-current-content td {
    padding: 11px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    vertical-align: middle;
}

#ja-current-content tr:last-child td {
    border-bottom: 0;
}

#ja-current-content th,
#ja-current-content tr:first-child td strong {
    color: #dff6ff;
}

#ja-current-content tr:hover td {
    background: rgba(0, 183, 255, 0.035);
}

#ja-current-content .button,
#ja-current-content input[type="submit"],
#ja-current-content input[type="button"] {
    min-height: 42px;
    margin-top: 8px;
    padding: 0 18px;
}

#ja-current-content .qdestaques,
#ja-current-content .quadros {
    margin: 12px 0;
    padding: 14px 16px;
    border: 1px solid rgba(255, 210, 110, 0.26);
    border-radius: 6px;
    color: #ffe6ad;
    background: rgba(89, 58, 0, 0.22);
}

.qdestaques,
.qdestaques2,
#ja-current-content .qdestaques,
#ja-current-content .qdestaques2,
#ja-current-content .quadros {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 14px 0;
    min-height: 64px;
    padding: 18px 20px 18px 76px;
    border-radius: 7px;
    overflow: hidden;
    color: #edf8ff;
    line-height: 1.55;
    background:
        radial-gradient(circle at 92% 18%, rgba(255, 206, 99, 0.08), transparent 34%),
        linear-gradient(90deg, rgba(4, 11, 17, 0.98), rgba(8, 25, 36, 0.96));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.045),
        0 16px 34px rgba(0, 0, 0, 0.42);
}

.qdestaques:empty,
.qdestaques2:empty,
#ja-current-content .qdestaques:empty,
#ja-current-content .qdestaques2:empty,
#ja-current-content .quadros:empty {
    display: none;
}

.qdestaques::before,
.qdestaques2::before,
#ja-current-content .qdestaques::before,
#ja-current-content .qdestaques2::before,
#ja-current-content .quadros::before {
    content: "!";
    position: absolute;
    top: 18px;
    left: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-top: 0;
    border: 1px solid rgba(255, 130, 130, 0.72);
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.34), transparent 35%),
        linear-gradient(180deg, rgba(160, 35, 35, 0.95), rgba(58, 8, 8, 0.98));
    box-shadow: 0 0 22px rgba(255, 77, 77, 0.28);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.qdestaques::after,
.qdestaques2::after,
#ja-current-content .qdestaques::after,
#ja-current-content .qdestaques2::after,
#ja-current-content .quadros::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #ff6969, #ffbf69);
    box-shadow: 0 0 18px rgba(255, 105, 105, 0.7);
}

.qdestaques strong,
.qdestaques2 strong,
#ja-current-content .qdestaques strong,
#ja-current-content .qdestaques2 strong,
#ja-current-content .quadros strong {
    color: #ffffff;
}

.qdestaques em,
.qdestaques2 em,
#ja-current-content .qdestaques em,
#ja-current-content .qdestaques2 em,
#ja-current-content .quadros em {
    color: #d9f5ff;
}

.qdestaques a,
.qdestaques2 a,
#ja-current-content .qdestaques a,
#ja-current-content .qdestaques2 a,
#ja-current-content .quadros a {
    color: #7ddcff;
    font-weight: 900;
}

.qdestaques2,
#ja-current-content .qdestaques2 {
    border: 1px solid rgba(125, 220, 255, 0.4);
    background:
        radial-gradient(circle at 92% 18%, rgba(125, 220, 255, 0.12), transparent 34%),
        linear-gradient(90deg, rgba(3, 12, 18, 0.98), rgba(5, 31, 47, 0.96));
}

.qdestaques2::before,
#ja-current-content .qdestaques2::before {
    content: "i";
    border-color: rgba(125, 220, 255, 0.76);
    color: #e8f8ff;
    font-size: 17px;
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.35), transparent 35%),
        linear-gradient(180deg, rgba(11, 120, 170, 0.95), rgba(4, 42, 64, 0.98));
    box-shadow: 0 0 24px rgba(65, 198, 255, 0.3);
}

.qdestaques2::after,
#ja-current-content .qdestaques2::after {
    background: linear-gradient(180deg, #7ddcff, #ffce63);
    box-shadow: 0 0 18px rgba(125, 220, 255, 0.68);
}

.tw-news-admin-form {
    display: block;
}

#ja-current-content .tw-news-upload-input {
    padding: 11px;
    border: 1px dashed rgba(112, 220, 255, 0.42);
    background: rgba(0, 14, 24, 0.68);
    color: #dff5ff;
}

#ja-current-content .tw-news-editor {
    margin: 8px 0 12px;
    overflow: hidden;
    border: 1px solid rgba(112, 220, 255, 0.24);
    background: linear-gradient(180deg, rgba(8, 20, 29, 0.98), rgba(2, 7, 11, 0.98));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 18px 34px rgba(0, 0, 0, 0.28);
    border-radius: 6px;
}

#ja-current-content .tw-news-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

#ja-current-content .tw-news-toolbar button,
#ja-current-content .tw-news-toolbar select,
#ja-current-content .tw-news-toolbar input[type="color"] {
    width: auto !important;
    min-width: 38px;
    min-height: 34px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid rgba(112, 220, 255, 0.24);
    color: #eaf8ff;
    background: rgba(0, 18, 28, 0.86);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 900;
}

#ja-current-content .tw-news-toolbar select {
    min-width: 116px;
}

#ja-current-content .tw-news-toolbar input[type="color"] {
    width: 42px !important;
    padding: 3px;
}

#ja-current-content .tw-news-toolbar button:hover,
#ja-current-content .tw-news-toolbar select:hover {
    border-color: rgba(117, 215, 255, 0.58);
    color: #ffffff;
}

#ja-current-content .tw-news-emoji-panel {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
    gap: 7px;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 10, 16, 0.86);
}

#ja-current-content .tw-news-emoji-panel.is-open {
    display: grid;
}

#ja-current-content .tw-news-emoji-panel button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(112, 220, 255, 0.18);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.045);
    border-radius: 5px;
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
}

#ja-current-content .tw-news-emoji-panel button:hover {
    border-color: rgba(112, 220, 255, 0.58);
    background: rgba(0, 183, 255, 0.12);
    transform: translateY(-1px);
}

#ja-current-content .tw-news-surface,
#ja-current-content .tw-news-editor-source {
    min-height: 310px;
    padding: 18px;
    color: #e7f4ff;
    background: rgba(0, 7, 11, 0.72);
    outline: 0;
    line-height: 1.65;
}

#ja-current-content .tw-news-editor-source {
    display: none;
    width: 100% !important;
    border: 0;
    font-family: Consolas, "Courier New", monospace;
}

#ja-current-content .tw-news-surface:empty::before {
    content: attr(data-placeholder);
    color: #758a99;
}

.tw-news-surface h2,
.tw-news-content h2 {
    margin: 8px 0 12px;
    color: #75d7ff;
    font-size: 26px;
    line-height: 1.16;
}

.tw-news-surface h3,
.tw-news-content h3 {
    margin: 18px 0 10px;
    color: #ffd15e;
    font-size: 20px;
}

.tw-news-surface p,
.tw-news-content p {
    margin: 0 0 14px;
}

.tw-news-surface a,
.tw-news-content a {
    color: #75d7ff;
    font-weight: 800;
}

.tw-news-surface figure,
.tw-news-content figure {
    margin: 18px 0;
}

.tw-news-surface img,
.tw-news-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid rgba(112, 220, 255, 0.26);
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.tw-news-surface figcaption,
.tw-news-content figcaption {
    margin-top: 7px;
    color: #9fb3c3;
    font-size: 12px;
    text-align: center;
}

.tw-news-surface blockquote,
.tw-news-content blockquote {
    margin: 16px 0;
    padding: 14px 16px;
    border-left: 3px solid #42ceff;
    color: #dff6ff;
    background: rgba(66, 206, 255, 0.08);
}

.tw-news-editor-note {
    margin: -2px 0 10px;
    color: #9fb3c3;
    font-size: 12px;
}

.tw-news-article {
    color: #d9e7f2;
}

.tw-news-article-head {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tw-news-article-head small,
.tw-news-date {
    color: #8fb4c9;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.tw-news-article-head h1 {
    margin: 8px 0 0 !important;
    color: #ffffff !important;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.12;
}

.tw-news-content {
    font-size: 16px;
    line-height: 1.72;
}

.tw-news-date {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tw-news-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.tw-news-vote {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 190px;
}

.tw-news-vote-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 70px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(112, 220, 255, 0.26);
    border-radius: 6px;
    color: #dff5ff;
    background: rgba(0, 16, 25, 0.82);
    cursor: pointer;
}

.tw-news-vote-button:hover,
.tw-news-vote-button.is-active {
    border-color: rgba(112, 220, 255, 0.62);
    color: #ffffff;
    background: rgba(0, 112, 164, 0.3);
    box-shadow: 0 0 18px rgba(66, 206, 255, 0.16);
}

.tw-news-vote-button strong {
    color: #ffffff;
    font-size: 13px;
}

.tw-news-vote small {
    color: #75d7ff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.tw-news-vote-error {
    color: #ff9f9f;
    font-size: 12px;
    font-weight: 800;
}

.tw-news-archive {
    display: grid;
    gap: 12px;
}

.tw-news-archive h1 {
    margin-bottom: 12px !important;
}

.tw-news-archive-item {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(112, 220, 255, 0.18);
    color: #d7e8f5;
    background: rgba(0, 11, 18, 0.56);
    border-radius: 6px;
}

.tw-news-archive-item:hover {
    border-color: rgba(112, 220, 255, 0.48);
    background: rgba(0, 30, 45, 0.62);
}

.tw-news-archive-item small {
    color: #75d7ff;
    font-size: 12px;
    font-weight: 900;
}

.tw-news-archive-item strong {
    color: #ffffff;
    font-size: 18px;
}

.tw-news-archive-item span {
    color: #b9c9d5;
}

.tw-player-profile {
    display: grid;
    gap: 18px;
}

.tw-player-hero {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr) minmax(190px, 260px);
    gap: 18px;
    align-items: center;
    padding: 20px;
    border: 1px solid rgba(112, 220, 255, 0.2);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(0, 18, 29, 0.88), rgba(8, 12, 18, 0.92)),
        url("../../../images/twister-hero.png") center 52% / cover no-repeat;
    box-shadow: inset 0 0 28px rgba(0, 183, 255, 0.06);
}

.tw-player-avatar {
    width: 116px;
    height: 116px;
    padding: 5px;
    border: 1px solid rgba(112, 220, 255, 0.38);
    border-radius: 8px;
    background: rgba(0, 8, 14, 0.84);
    box-shadow: 0 0 26px rgba(0, 183, 255, 0.14);
}

.tw-player-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.tw-player-main {
    min-width: 0;
}

.tw-player-kicker {
    display: block;
    margin-bottom: 5px;
    color: #65d8ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

#ja-current-content .tw-player-main h1 {
    display: block;
    margin: 0 0 12px !important;
    padding: 0;
    border: 0;
    font-size: 34px;
    line-height: 1;
    text-transform: none;
}

#ja-current-content .tw-player-main h1::before {
    display: none;
}

.tw-player-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tw-player-tags span,
.tw-player-guild strong,
.tw-player-guild a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(112, 220, 255, 0.18);
    border-radius: 999px;
    color: #dff6ff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(0, 10, 16, 0.72);
}

.tw-player-status.is-online {
    border-color: rgba(72, 255, 72, 0.38);
    color: #87ff87;
}

.tw-player-status.is-offline {
    border-color: rgba(255, 104, 104, 0.32);
    color: #ffadad;
}

.tw-player-guild {
    display: grid;
    justify-items: start;
    gap: 7px;
    padding: 14px;
    border: 1px solid rgba(255, 210, 95, 0.2);
    border-radius: 8px;
    background: rgba(45, 31, 0, 0.26);
}

.tw-player-guild small {
    color: #ffd86b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.tw-player-guild strong {
    padding: 0;
    border: 0;
    background: transparent;
}

.tw-player-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.tw-player-stat {
    min-height: 92px;
    padding: 16px;
    border: 1px solid rgba(112, 220, 255, 0.16);
    border-radius: 8px;
    background: rgba(0, 10, 16, 0.72);
}

.tw-player-stat small {
    display: block;
    margin-bottom: 9px;
    color: #7fdcff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.tw-player-stat strong {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.1;
}

.tw-player-stat-gold { border-color: rgba(255, 210, 95, 0.28); }
.tw-player-stat-violet { border-color: rgba(188, 118, 255, 0.26); }
.tw-player-stat-blue { border-color: rgba(77, 194, 255, 0.28); }
.tw-player-stat-red { border-color: rgba(255, 104, 104, 0.28); }
.tw-player-stat-cyan { border-color: rgba(95, 234, 255, 0.28); }
.tw-player-stat-green { border-color: rgba(89, 255, 139, 0.24); }

.tw-player-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tw-player-details article {
    padding: 18px;
    border: 1px solid rgba(112, 220, 255, 0.16);
    border-radius: 8px;
    background: rgba(0, 10, 16, 0.58);
}

.tw-player-details h2 {
    margin: 0 0 14px;
    color: #7fdcff;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
}

.tw-player-details article > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.tw-player-details article > div:last-child {
    border-bottom: 0;
}

.tw-player-details span {
    color: #aebdca;
    font-size: 13px;
}

.tw-player-details strong {
    color: #ffffff;
    text-align: right;
}

.tw-player-empty {
    padding: 24px;
    border: 1px solid rgba(112, 220, 255, 0.18);
    border-radius: 8px;
    background: rgba(0, 10, 16, 0.66);
}

.tw-player-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 12px;
    padding: 0 16px;
    border: 1px solid rgba(112, 220, 255, 0.36);
    color: #ffffff;
    font-weight: 900;
    background: rgba(0, 123, 182, 0.22);
}

@media (max-width: 1180px) {
    .tw-player-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .tw-player-hero,
    .tw-player-details {
        grid-template-columns: 1fr;
    }

    .tw-player-avatar {
        width: 104px;
        height: 104px;
    }

    .tw-player-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .tw-nav-account strong {
        max-width: 220px;
    }
}

@media (max-width: 980px) {
    .tw-layout > .tw-content {
        order: 0;
    }

    .tw-layout > .tw-sidebar {
        order: 1;
    }

    #ja-containerwrap-fr #ja-mainbody.tw-layout > #ja-content,
    #ja-containerwrap-fr #ja-mainbody.tw-layout > #ja-col1 {
        grid-column: 1;
        width: 100% !important;
        max-width: 100%;
    }

    #ja-containerwrap-fr #ja-mainbody.tw-layout > #ja-content {
        grid-row: 1;
    }

    #ja-containerwrap-fr #ja-mainbody.tw-layout > #ja-col1 {
        grid-row: 2;
    }

    #ja-containerwrap-fr #ja-mainbody.clearfix:not(.tw-layout) {
        grid-template-columns: 1fr;
    }

    #ja-containerwrap-fr #ja-mainbody.clearfix:not(.tw-layout) #ja-col1 {
        grid-column: 1;
        grid-row: 2;
        max-width: 100%;
        width: 100% !important;
    }

    #ja-containerwrap-fr #ja-mainbody.clearfix:not(.tw-layout) #ja-content {
        grid-column: 1;
        grid-row: 1;
        max-width: 100%;
        width: 100% !important;
    }
}

@media (max-width: 640px) {
    .tw-nav {
        gap: 9px;
        padding: 10px 0;
    }

    .tw-nav-actions-logged {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 8px;
    }

    .tw-nav-actions-logged .tw-nav-account {
        grid-column: 1 / -1;
        order: -1;
        width: 100%;
    }

    .tw-nav-actions-logged .tw-nav-button {
        width: 100%;
        min-height: 42px;
        padding: 0 12px;
    }

    .tw-nav-account strong,
    .tw-session-card strong {
        max-width: 210px;
    }

    #ja-containerwrap-fr #ja-container.clearfix {
        width: calc(100% - 20px);
        margin-top: 16px;
        margin-bottom: 30px;
    }

    #ja-current-content {
        padding: 16px !important;
        border-radius: 6px;
    }

    #ja-current-content h1 {
        font-size: 21px;
    }

    #menu_cp ul {
        display: grid;
        grid-template-columns: 1fr;
    }

    #menu_cp a {
        width: 100%;
        justify-content: flex-start;
        min-height: 40px;
    }

    #ja-current-content .legend {
        padding: 14px !important;
    }

    #ja-current-content #etc > form {
        padding: 14px;
    }

    #ja-current-content table {
        display: block;
        overflow-x: auto;
        max-width: 100%;
        table-layout: auto;
        white-space: normal;
        -webkit-overflow-scrolling: touch;
    }

    #ja-current-content tbody,
    #ja-current-content tr {
        width: 100%;
    }

    #ja-current-content th,
    #ja-current-content td {
        min-width: 94px;
        padding: 9px 8px;
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .tw-home-card .tw-news-slide-link {
        grid-template-columns: 1fr;
    }

    .tw-news-thumb {
        width: min(220px, 100%);
        min-height: 0;
        aspect-ratio: 2 / 3;
    }

    .tw-news-thumb img {
        min-height: 0;
        height: 100%;
    }

    #ja-current-content .tw-news-toolbar {
        gap: 5px;
        padding: 8px;
    }

    #ja-current-content .tw-news-toolbar select {
        width: calc(50% - 4px) !important;
        min-width: 0;
    }

    #ja-current-content .tw-news-toolbar button {
        min-width: 36px;
        padding: 0 8px;
    }

    #ja-current-content .tw-news-surface,
    #ja-current-content .tw-news-editor-source {
        min-height: 240px;
        padding: 14px;
    }

    .tw-news-article-head h1 {
        font-size: 26px;
    }

    .tw-news-content {
        font-size: 15px;
    }

    .tw-news-article-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .tw-news-vote {
        justify-content: flex-start;
        min-width: 0;
        width: 100%;
    }
}

.tw-tcoin-hero,
.tw-tcoin-layout,
.tw-tcoin-history {
    margin-top: 18px;
}

.tw-tcoin-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tw-tcoin-store-hero {
    position: relative;
    overflow: hidden;
    align-items: stretch;
    padding: 34px 36px;
    background:
        linear-gradient(110deg, rgba(0, 9, 14, 0.98) 0%, rgba(0, 29, 42, 0.92) 48%, rgba(34, 22, 0, 0.9) 100%),
        radial-gradient(circle at 76% 16%, rgba(255, 210, 95, 0.18), transparent 34%),
        radial-gradient(circle at 12% 100%, rgba(82, 207, 255, 0.18), transparent 36%);
}

.tw-tcoin-store-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(82, 207, 255, 0.2);
    box-shadow: inset 0 0 44px rgba(82, 207, 255, 0.08);
}

.tw-tcoin-store-hero > div {
    position: relative;
    z-index: 1;
}

.tw-tcoin-store-hero > div:first-child {
    max-width: 660px;
}

.tw-tcoin-store-hero h1 {
    margin-top: 8px;
    color: #ffffff;
    font-size: 56px;
    line-height: 0.96;
}

.tw-tcoin-store-hero p:last-child {
    max-width: 590px;
    color: #d8e9f6;
    font-size: 17px;
    line-height: 1.6;
}

.tw-tcoin-hero-cards {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) minmax(260px, 1fr);
    gap: 14px;
    align-content: center;
    min-width: min(560px, 48%);
}

.tw-tcoin-balance-card,
.tw-tcoin-rate {
    min-width: 280px;
    padding: 20px;
    border: 1px solid rgba(255, 210, 95, 0.28);
    background: linear-gradient(145deg, rgba(255, 188, 49, 0.12), rgba(1, 15, 20, 0.93));
    box-shadow: inset 0 0 24px rgba(255, 209, 94, 0.06), 0 16px 34px rgba(0, 0, 0, 0.2);
}

.tw-tcoin-balance-card {
    border-color: rgba(82, 207, 255, 0.32);
    background: linear-gradient(145deg, rgba(0, 115, 157, 0.18), rgba(1, 15, 20, 0.94));
    box-shadow: inset 0 0 24px rgba(82, 207, 255, 0.08), 0 16px 34px rgba(0, 0, 0, 0.2);
}

.tw-tcoin-balance-card span,
.tw-tcoin-balance-card small,
.tw-tcoin-rate span,
.tw-tcoin-rate small {
    display: block;
    color: #a9bed0;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.tw-tcoin-balance-card strong,
.tw-tcoin-rate strong {
    display: block;
    margin: 6px 0;
    color: #ffd15e;
    font-size: 22px;
    line-height: 1.2;
}

.tw-tcoin-balance-card strong {
    color: #76e2ff;
}

.tw-tcoin-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 18px;
}

.tw-tcoin-card {
    border: 1px solid rgba(82, 207, 255, 0.23);
    background:
        linear-gradient(145deg, rgba(2, 17, 23, 0.97), rgba(0, 6, 10, 0.94)),
        radial-gradient(circle at 90% 0%, rgba(82, 207, 255, 0.12), transparent 36%);
    box-shadow: inset 0 0 34px rgba(55, 194, 255, 0.07), 0 18px 45px rgba(0, 0, 0, 0.22);
    padding: 30px;
}

.tw-tcoin-field {
    display: grid;
    gap: 10px;
}

.tw-tcoin-hint {
    color: #a9c9db;
    font-size: 14px;
    line-height: 1.45;
}

.tw-tcoin-field span,
.tw-tcoin-preview span {
    color: #75dfff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

#ja-current-content .tw-tcoin-field .inputbox {
    width: 100%;
    max-width: none;
    height: 54px;
    font-size: 24px;
    font-weight: 900;
}

.tw-tcoin-preview {
    display: inline-grid;
    gap: 4px;
    margin: 20px 0;
    padding: 18px 22px;
    min-width: 240px;
    border: 1px solid rgba(255, 210, 95, 0.34);
    background: linear-gradient(135deg, rgba(255, 199, 72, 0.14), rgba(0, 10, 15, 0.88));
    box-shadow: inset 0 0 22px rgba(255, 210, 95, 0.08);
}

.tw-tcoin-preview strong {
    color: #ffd15e;
    font-size: 34px;
    line-height: 1;
}

.tw-tcoin-rules ol {
    margin: 0;
    padding-left: 20px;
    color: #dceeff;
    line-height: 1.75;
}

.tw-tcoin-rules p {
    margin-top: 18px;
}

.tw-pix-result {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 18px;
    align-items: start;
    padding: 22px;
    border: 1px solid rgba(102, 255, 154, 0.32);
    background: linear-gradient(135deg, rgba(0, 75, 38, 0.26), rgba(0, 9, 14, 0.96));
}

.tw-pix-result h2 {
    color: #79ff9d;
    font-size: 28px;
    margin: 0 0 8px;
}

.tw-pix-qrcode {
    width: 180px;
    height: 180px;
    object-fit: contain;
    background: #fff;
    padding: 10px;
}

.tw-pix-copy {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
    color: #75dfff;
    font-weight: 900;
    text-transform: uppercase;
}

.tw-pix-copy textarea {
    width: 100%;
    min-height: 84px;
    resize: vertical;
    border: 1px solid rgba(82, 207, 255, 0.28);
    background: rgba(0, 5, 8, 0.96);
    color: #eaf8ff;
    padding: 12px;
}

.tw-pix-note {
    grid-column: 1 / -1;
    margin: 0;
}

.tw-tcoin-history {
    display: grid;
    gap: 12px;
}

.tw-tcoin-order {
    display: grid;
    grid-template-columns: 1fr 1.2fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(82, 207, 255, 0.18);
    background: rgba(1, 13, 18, 0.9);
}

.tw-tcoin-order small,
.tw-tcoin-order span {
    display: block;
    color: #9eb6c8;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.tw-tcoin-order strong {
    display: block;
    margin: 3px 0;
    color: #effaff;
    font-size: 18px;
}

.tw-tcoin-expire {
    display: inline-flex !important;
    width: fit-content;
    margin-top: 8px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 209, 94, 0.32);
    background: rgba(93, 65, 0, 0.24);
    color: #ffd15e !important;
}

.tw-tcoin-status-credited {
    border-color: rgba(102, 255, 154, 0.28);
}

.tw-tcoin-status-rejected,
.tw-tcoin-status-cancelled,
.tw-tcoin-status-expired {
    border-color: rgba(255, 102, 102, 0.28);
}

.tw-tcoin-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.tw-tcoin-order-actions a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(82, 207, 255, 0.35);
    background: rgba(0, 86, 123, 0.18);
    color: #70dcff;
    font-weight: 900;
    text-transform: uppercase;
}

.tw-tcoin-order-actions a.tw-tcoin-cancel {
    border-color: rgba(255, 102, 102, 0.36);
    background: rgba(103, 20, 20, 0.24);
    color: #ff9d9d;
}

.tw-muted {
    color: #a9bed0;
}

@media (max-width: 980px) {
    .tw-tcoin-hero,
    .tw-tcoin-layout,
    .tw-pix-result,
    .tw-tcoin-order {
        grid-template-columns: 1fr;
    }

    .tw-tcoin-hero {
        display: grid;
    }

    .tw-tcoin-store-hero {
        padding: 28px;
    }

    .tw-tcoin-hero-cards {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .tw-tcoin-balance-card,
    .tw-tcoin-rate {
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .tw-tcoin-store-hero,
    .tw-tcoin-card {
        padding: 22px;
    }

    .tw-tcoin-store-hero h1 {
        font-size: 36px;
    }

    .tw-tcoin-preview {
        width: 100%;
        min-width: 0;
    }

    .tw-pix-qrcode {
        width: 150px;
        height: 150px;
    }
}

/* MU Twister RPG asset layer */
:root {
    --rpg-blue: #21b5ff;
    --rpg-gold: #d6a84f;
    --rpg-purple: #a66cff;
    --rpg-bg: #03070d;
}

.rpg-panel {
    position: relative;
    isolation: isolate;
    clip-path: none !important;
    border: 18px solid transparent !important;
    border-image: url("/assets/mutwister-rpg/panel-frame-blue.svg") 56 fill / 18px / 0 stretch;
    background:
        linear-gradient(rgba(2, 8, 14, 0.88), rgba(2, 8, 14, 0.96)),
        url("/assets/mutwister-rpg/bg-storm-pattern.png") center / 420px repeat !important;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.46),
        0 0 28px rgba(0, 160, 255, 0.14),
        inset 0 0 28px rgba(22, 145, 210, 0.08) !important;
    overflow: hidden;
}

.rpg-panel::before {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: 0;
    background: url("/assets/mutwister-rpg/card-glow-blue.png") center / cover no-repeat;
    opacity: 0.42;
    pointer-events: none;
}

.rpg-panel > * {
    position: relative;
    z-index: 1;
}

.rpg-panel--gold {
    border-image-source: url("/assets/mutwister-rpg/panel-frame-gold.svg");
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.46),
        0 0 30px rgba(255, 177, 49, 0.18),
        inset 0 0 28px rgba(255, 177, 49, 0.08) !important;
}

.rpg-panel--gold::before {
    background-image: url("/assets/mutwister-rpg/card-glow-gold.png");
    opacity: 0.48;
}

.rpg-panel--purple {
    border-image-source: url("/assets/mutwister-rpg/panel-frame-purple.svg");
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.46),
        0 0 30px rgba(156, 78, 255, 0.18),
        inset 0 0 28px rgba(156, 78, 255, 0.08) !important;
}

.rpg-panel--purple::before {
    background-image: url("/assets/mutwister-rpg/card-glow-purple.png");
    opacity: 0.48;
}

.rpg-section-title,
.tw-card-news h2 {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 40px;
    margin: 0 0 16px !important;
    padding: 8px 16px 8px 40px;
    color: #dff7ff !important;
    font-size: 17px !important;
    line-height: 1.2;
    text-transform: uppercase;
    border: 1px solid rgba(92, 214, 255, 0.24);
    border-left-color: rgba(117, 215, 255, 0.56);
    background:
        linear-gradient(90deg, rgba(19, 106, 147, 0.28), rgba(4, 19, 31, 0.78) 46%, rgba(4, 16, 25, 0.22)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.035),
        inset 0 -12px 24px rgba(0, 0, 0, 0.26),
        0 0 18px rgba(33, 181, 255, 0.09);
    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);
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.95), 0 0 12px rgba(33, 181, 255, 0.28);
}

.rpg-panel--gold .rpg-section-title {
    color: #ffe5a3 !important;
    border-color: rgba(214, 168, 79, 0.25);
    border-left-color: rgba(255, 225, 146, 0.58);
    background:
        linear-gradient(90deg, rgba(152, 103, 15, 0.32), rgba(35, 24, 6, 0.78) 46%, rgba(26, 16, 4, 0.22)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.035),
        inset 0 -12px 24px rgba(0, 0, 0, 0.26),
        0 0 18px rgba(214, 168, 79, 0.1);
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.95), 0 0 12px rgba(214, 168, 79, 0.3);
}

.rpg-panel--purple .rpg-section-title {
    color: #eadcff !important;
    border-color: rgba(166, 108, 255, 0.24);
    border-left-color: rgba(213, 181, 255, 0.56);
    background:
        linear-gradient(90deg, rgba(96, 51, 153, 0.34), rgba(22, 12, 38, 0.78) 46%, rgba(20, 8, 32, 0.22)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.035),
        inset 0 -12px 24px rgba(0, 0, 0, 0.26),
        0 0 18px rgba(166, 108, 255, 0.1);
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.95), 0 0 12px rgba(166, 108, 255, 0.3);
}

.rpg-section-title::before,
.tw-card-news h2::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translateY(-50%) rotate(45deg);
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
}

.rpg-section-title::after,
.tw-card-news h2::after {
    content: "";
    position: static;
    flex: 1 1 auto;
    height: 1px;
    margin-left: 12px;
    transform: none;
    background: linear-gradient(90deg, currentColor, transparent);
    opacity: 0.26;
    pointer-events: none;
}

.rpg-divider {
    width: min(100% - 44px, 900px);
    height: 18px;
    margin: 8px auto -2px;
    background: url("/assets/mutwister-rpg/divider-rune-blue.png") center / contain no-repeat;
    opacity: 0.18;
    pointer-events: none;
}

.rpg-button,
.tw-home-card > a,
.tw-news-readmore {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 136px;
    padding: 10px 22px;
    border: 0 !important;
    border-radius: 0 !important;
    color: #f8f1d0 !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    text-decoration: none !important;
    background: transparent url("/assets/mutwister-rpg/button-frame-blue.svg") center / 100% 100% no-repeat !important;
    box-shadow: none !important;
    filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.34));
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.95), 0 0 8px rgba(120, 220, 255, 0.36);
    transition: transform 0.16s ease, filter 0.16s ease, color 0.16s ease;
}

.rpg-button:hover,
.tw-home-card > a:hover,
.tw-news-readmore:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
    filter:
        drop-shadow(0 10px 0 rgba(0, 0, 0, 0.32))
        drop-shadow(0 0 13px rgba(0, 180, 255, 0.42));
}

.rpg-button:active,
.tw-home-card > a:active,
.tw-news-readmore:active {
    transform: translateY(1px);
    filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.45));
}

.rpg-button--gold,
.tw-card-tcoins > a {
    background-image: url("/assets/mutwister-rpg/button-frame-gold.svg") !important;
    color: #fff1be !important;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.95), 0 0 9px rgba(255, 205, 90, 0.36);
}

.rpg-button--gold:hover,
.tw-card-tcoins > a:hover {
    filter:
        drop-shadow(0 10px 0 rgba(0, 0, 0, 0.32))
        drop-shadow(0 0 15px rgba(255, 177, 49, 0.5));
}

.rpg-button--purple,
.tw-card-events > a {
    background-image: url("/assets/mutwister-rpg/button-frame-purple.svg") !important;
    color: #f2e8ff !important;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.95), 0 0 9px rgba(166, 108, 255, 0.36);
}

.rpg-button--purple:hover,
.tw-card-events > a:hover {
    filter:
        drop-shadow(0 10px 0 rgba(0, 0, 0, 0.32))
        drop-shadow(0 0 15px rgba(166, 108, 255, 0.5));
}

.tw-news-readmore {
    justify-self: end;
    width: fit-content;
    min-width: 96px;
    min-height: 30px;
    padding: 6px 14px;
    font-size: 10px;
}

.tw-home-card > a {
    margin-top: auto;
    margin-left: auto;
    align-self: flex-end;
}

.tw-home-card .tw-news-slide-link {
    display: grid !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    filter: none !important;
    transform: none !important;
    text-shadow: none;
}

.tw-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: url("/assets/mutwister-rpg/hero-storm-overlay.png") center bottom / cover no-repeat;
    opacity: 0.64;
    pointer-events: none;
}

.tw-hero-bg {
    z-index: 0;
}

.tw-hero-overlay {
    z-index: 1;
}

.tw-hero-grid,
.tw-status-bar {
    position: relative;
    z-index: 2;
}

.tw-panel-frame.rpg-panel {
    padding: 24px !important;
}

.tw-status-bar.rpg-panel {
    padding: 0 !important;
    margin-top: 8px;
}

.tw-status-bar.rpg-panel::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -17px;
    z-index: 2;
    height: 12px;
    background: url("/assets/mutwister-rpg/bar-bottom-blue.png") center / auto 100% repeat-x;
    opacity: 0.78;
    pointer-events: none;
}

.tw-home-hall.rpg-panel {
    padding: 18px !important;
}

.tw-home-hall .tw-hall-grid {
    gap: 14px;
    align-items: stretch;
}

.tw-home-hall .tw-hall-card {
    border-color: rgba(94, 196, 255, 0.28);
    background:
        linear-gradient(135deg, rgba(4, 14, 22, 0.92), rgba(1, 6, 12, 0.98)),
        url("/assets/mutwister-rpg/bg-storm-pattern.png") center / 420px repeat;
    box-shadow:
        inset 0 0 22px rgba(45, 180, 255, 0.08),
        0 12px 28px rgba(0, 0, 0, 0.28);
}

.tw-home-hall .tw-hall-card a {
    grid-template-columns: 70px minmax(0, 1fr);
    min-height: 128px;
    padding: 18px 16px;
    column-gap: 14px;
}

.tw-home-hall .tw-hall-icon {
    width: 62px;
    height: 62px;
    border-radius: 12px;
    box-shadow:
        0 0 18px rgba(112, 220, 255, 0.24),
        inset 0 0 14px rgba(255, 255, 255, 0.08);
}

.tw-home-hall .tw-hall-label {
    margin-bottom: 4px;
    font-size: 12px;
}

.tw-home-hall .tw-hall-card strong {
    font-size: 21px;
    line-height: 1.08;
}

.tw-home-hall .tw-hall-card em {
    font-size: 15px;
}

.tw-home-card.rpg-panel {
    min-height: 306px;
    padding: 18px !important;
}

.tw-card-news.rpg-panel {
    background:
        linear-gradient(rgba(2, 10, 18, 0.88), rgba(2, 21, 32, 0.95)),
        url("/assets/mutwister-rpg/bg-storm-pattern.png") center / 420px repeat !important;
}

.tw-card-events.rpg-panel {
    background:
        linear-gradient(rgba(15, 4, 18, 0.88), rgba(12, 5, 20, 0.95)),
        url("/assets/mutwister-rpg/bg-storm-pattern.png") center / 420px repeat !important;
}

.tw-card-tcoins.rpg-panel {
    background:
        linear-gradient(rgba(23, 15, 3, 0.9), rgba(20, 12, 2, 0.96)),
        url("/assets/mutwister-rpg/bg-storm-pattern.png") center / 420px repeat !important;
}

.tw-home-card .tw-rank-list a,
.tw-home-card .tw-news-list a {
    color: inherit;
}

.tw-news-thumb {
    box-shadow: 0 0 18px rgba(33, 181, 255, 0.12);
}

.tw-nav-actions-guest .rpg-button {
    min-width: 126px;
    min-height: 42px;
    padding-inline: 18px;
}

.tw-button-full.rpg-button {
    width: 100%;
}

@media (max-width: 980px) {
    .tw-home-card.rpg-panel {
        min-height: 280px;
    }

    .rpg-divider {
        margin-top: 16px;
    }
}

@media (max-width: 768px) {
    .rpg-panel {
        border-width: 14px !important;
        border-image-width: 14px;
    }

    .rpg-panel::before {
        inset: -14px;
    }

    .rpg-section-title,
    .tw-card-news h2 {
        min-height: 34px;
        padding: 7px 12px 7px 34px;
        font-size: 16px !important;
    }

    .rpg-section-title::before,
    .tw-card-news h2::before {
        left: 14px;
        width: 9px;
        height: 9px;
    }

    .rpg-button,
    .tw-home-card > a,
    .tw-news-readmore {
        min-width: 128px;
        min-height: 40px;
        padding: 8px 16px;
        font-size: 13px;
    }

    .tw-news-readmore {
        min-width: 88px;
        min-height: 28px;
        font-size: 10px;
    }

    .tw-hero::after {
        opacity: 0.5;
    }
}

/* MU Twister branding assets */
.tw-brand .site-brand__logo {
    display: block;
    width: auto;
    max-width: min(230px, 100%);
    height: clamp(40px, 3.2vw, 56px);
    margin-left: clamp(22px, 3vw, 44px);
    object-fit: contain;
    filter:
        drop-shadow(0 0 10px rgba(0, 178, 255, 0.42))
        drop-shadow(0 8px 18px rgba(0, 0, 0, 0.72));
}

.hero-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: min(100%, 900px);
    margin: 0 0 8px clamp(18px, 3vw, 52px);
}

.hero-branding__logo,
.hero-branding__tagline {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    user-select: none;
}

.hero-branding__logo {
    width: clamp(540px, 48vw, 720px);
    filter:
        drop-shadow(0 0 18px rgba(0, 178, 255, 0.34))
        drop-shadow(0 12px 28px rgba(0, 0, 0, 0.82));
}

.hero-branding__tagline {
    width: clamp(560px, 54vw, 860px);
    margin-top: clamp(-86px, -5.6vw, -48px);
    filter:
        drop-shadow(0 0 10px rgba(0, 178, 255, 0.22))
        drop-shadow(0 8px 18px rgba(0, 0, 0, 0.7));
}

@media (max-width: 1180px) {
    .tw-brand .site-brand__logo {
        height: clamp(36px, 4vw, 48px);
        margin-left: clamp(14px, 2vw, 26px);
        max-width: min(205px, 100%);
    }

    .hero-branding__logo {
        width: min(68vw, 620px);
    }

    .hero-branding__tagline {
        width: min(74vw, 720px);
        margin-top: clamp(-70px, -6vw, -42px);
    }
}

@media (max-width: 980px) {
    .hero-branding {
        align-items: center;
        margin-inline: auto;
        text-align: center;
    }

    .hero-branding__logo {
        width: min(82vw, 560px);
    }

    .hero-branding__tagline {
        width: min(84vw, 620px);
    }
}

@media (max-width: 640px) {
    .tw-brand .site-brand__logo {
        height: clamp(28px, 9vw, 38px);
        margin-left: 4px;
        max-width: min(170px, 100%);
    }

    .hero-branding {
        gap: 0;
    }

    .hero-branding__logo {
        width: min(92vw, 360px);
    }

    .hero-branding__tagline {
        width: min(92vw, 360px);
        margin-top: clamp(-42px, -11vw, -26px);
    }
}

/* MU Twister - Fase 1 asset pass */
.tw-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

#ja-current-content h1.tw-visually-hidden::before {
    display: none !important;
}

.tw-page-title--asset {
    position: relative;
    padding: 0 0 18px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
}

.tw-page-title--asset::before {
    content: "";
    display: block;
    width: 100%;
    height: clamp(118px, 15vw, 210px);
    margin: 0 auto 12px;
    background: var(--tw-page-header-art) center / contain no-repeat;
    filter:
        drop-shadow(0 16px 24px rgba(0, 0, 0, 0.72))
        drop-shadow(0 0 18px rgba(70, 205, 255, 0.2));
}

.tw-page-title--asset .tw-kicker,
.tw-page-title--asset h1 {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

.tw-page-title--asset > p:not(.tw-kicker) {
    width: min(850px, 100%);
    margin: 0 auto;
    padding: 11px 18px;
    border: 1px solid rgba(112, 220, 255, 0.2);
    color: #dcefff;
    text-align: center;
    background:
        linear-gradient(90deg, transparent, rgba(7, 24, 35, 0.84) 18%, rgba(7, 24, 35, 0.84) 82%, transparent),
        url("/assets/mutwister-rpg/dividers/divider-thin-line.png") center / 100% 100% no-repeat;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.tw-page-title--rankings { --tw-page-header-art: url("/assets/mutwister-rpg/page_headers/page-header-rankings.png"); }
.tw-page-title--downloads { --tw-page-header-art: url("/assets/mutwister-rpg/page_headers/page-header-downloads.png"); }
.tw-page-title--news { --tw-page-header-art: url("/assets/mutwister-rpg/page_headers/page-header-news.png"); }
.tw-page-title--player { --tw-page-header-art: url("/assets/mutwister-rpg/page_headers/page-header-player.png"); }
.tw-page-title--recovery { --tw-page-header-art: url("/assets/mutwister-rpg/page_headers/page-header-recovery.png"); }
.tw-page-title--register { --tw-page-header-art: url("/assets/mutwister-rpg/page_headers/page-header-register.png"); }
.tw-page-title--server-events { --tw-page-header-art: url("/assets/mutwister-rpg/page_headers/page-header-server-events.png"); }
.tw-page-title--team { --tw-page-header-art: url("/assets/mutwister-rpg/page_headers/page-header-team.png"); }
.tw-page-title--tcoins { --tw-page-header-art: url("/assets/mutwister-rpg/page_headers/page-header-tcoins.png"); }
.tw-page-title--terms { --tw-page-header-art: url("/assets/mutwister-rpg/page_headers/page-header-terms.png"); }
.tw-page-title--vips { --tw-page-header-art: url("/assets/mutwister-rpg/page_headers/page-header-vips.png"); }

.tw-section-heading::after {
    content: "";
    display: block;
    width: min(420px, 100%);
    height: 26px;
    margin-top: 8px;
    background: url("/assets/mutwister-rpg/dividers/divider-storm-blue.png") left center / contain no-repeat;
    opacity: 0.56;
    pointer-events: none;
}

.tw-section,
.tw-panel,
.tw-download-hero,
.tw-shop-card,
.tw-plan-card {
    position: relative;
    overflow: hidden;
}

.tw-section--rpg {
    background:
        linear-gradient(145deg, rgba(2, 14, 21, 0.94), rgba(2, 6, 10, 0.96)),
        url("/assets/mutwister-rpg/bg-storm-pattern.png") center / 420px repeat;
    border: 1px solid rgba(82, 207, 255, 0.18);
    box-shadow: inset 0 0 30px rgba(82, 207, 255, 0.055), 0 14px 34px rgba(0, 0, 0, 0.24);
}

.tw-section--badge::after,
.tw-panel--badge::after,
.tw-download-hero.tw-section--badge::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 14px;
    z-index: 0;
    width: clamp(92px, 11vw, 150px);
    height: clamp(92px, 11vw, 150px);
    background: var(--tw-badge-art) center / contain no-repeat;
    opacity: 0.16;
    filter: drop-shadow(0 0 18px rgba(82, 207, 255, 0.2));
    pointer-events: none;
}

.tw-section--badge > *,
.tw-panel--badge > *,
.tw-download-hero.tw-section--badge > * {
    position: relative;
    z-index: 1;
}

.tw-section--badge-account,
.tw-panel--badge-account { --tw-badge-art: url("/assets/mutwister-rpg/badges/badge-account.png"); }
.tw-section--badge-download,
.tw-panel--badge-download { --tw-badge-art: url("/assets/mutwister-rpg/badges/badge-download.png"); }
.tw-section--badge-events,
.tw-panel--badge-events { --tw-badge-art: url("/assets/mutwister-rpg/badges/badge-events.png"); }
.tw-section--badge-player,
.tw-panel--badge-player { --tw-badge-art: url("/assets/mutwister-rpg/badges/badge-player.png"); }
.tw-section--badge-ranking,
.tw-panel--badge-ranking { --tw-badge-art: url("/assets/mutwister-rpg/badges/badge-ranking.png"); }
.tw-section--badge-rules,
.tw-panel--badge-rules { --tw-badge-art: url("/assets/mutwister-rpg/badges/badge-rules.png"); }
.tw-section--badge-staff,
.tw-panel--badge-staff { --tw-badge-art: url("/assets/mutwister-rpg/badges/badge-staff.png"); }
.tw-section--badge-tcoins,
.tw-panel--badge-tcoins { --tw-badge-art: url("/assets/mutwister-rpg/badges/badge-tcoins.png"); }
.tw-section--badge-vip,
.tw-panel--badge-vip { --tw-badge-art: url("/assets/mutwister-rpg/badges/badge-vip-storm.png"); }
.tw-section--badge-vip-cyclone,
.tw-panel--badge-vip-cyclone { --tw-badge-art: url("/assets/mutwister-rpg/badges/badge-vip-cyclone.png"); }

.tw-plan-card {
    isolation: isolate;
}

.tw-plan-card--free,
.tw-plan-card--storm,
.tw-plan-card--cyclone {
    min-height: 100%;
    border-color: rgba(82, 207, 255, 0.26);
    background:
        linear-gradient(145deg, rgba(2, 11, 17, 0.92), rgba(2, 5, 8, 0.96)),
        url("/assets/mutwister-rpg/bg-storm-pattern.png") center / 390px repeat !important;
}

.tw-plan-card--storm,
.tw-plan-card--cyclone {
    border: 0 !important;
    padding: 28px !important;
    background:
        linear-gradient(145deg, rgba(2, 14, 21, 0.83), rgba(2, 5, 8, 0.93)),
        url("/assets/mutwister-rpg/frames/frame-vip-card-storm.png") center / 100% 100% no-repeat !important;
}

.tw-plan-card--cyclone {
    background:
        linear-gradient(145deg, rgba(18, 8, 34, 0.78), rgba(3, 6, 12, 0.94)),
        url("/assets/mutwister-rpg/frames/frame-vip-card-cyclone.png") center / 100% 100% no-repeat !important;
}

.tw-plan-card--free::before,
.tw-plan-card--storm::before,
.tw-plan-card--cyclone::before {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: -1;
    width: 118px;
    height: 118px;
    background: var(--tw-vip-card-badge) center / contain no-repeat;
    opacity: 0.18;
    filter: drop-shadow(0 0 18px rgba(82, 207, 255, 0.26));
}

.tw-plan-card--free { --tw-vip-card-badge: url("/assets/mutwister-rpg/badges/badge-account.png"); }
.tw-plan-card--storm { --tw-vip-card-badge: url("/assets/mutwister-rpg/badges/badge-vip-storm.png"); }
.tw-plan-card--cyclone { --tw-vip-card-badge: url("/assets/mutwister-rpg/badges/badge-vip-cyclone.png"); }

.tw-plan-card--storm .tw-plan-badge,
.tw-plan-card--cyclone .tw-plan-badge {
    border: 1px solid rgba(255, 210, 95, 0.28);
    color: #ffe3a0;
    background: rgba(93, 65, 0, 0.24);
}

.tw-rank-hall-featured {
    background:
        linear-gradient(90deg, rgba(4, 8, 12, 0.94), rgba(4, 20, 32, 0.82), rgba(24, 16, 0, 0.72)),
        url("/assets/mutwister-rpg/backgrounds/bg-section-storm-smoke-wide.png") center / cover no-repeat !important;
}

.tw-rank-hall-card a,
.tw-my-rank-card a {
    border: 0 !important;
    background:
        linear-gradient(90deg, rgba(0, 18, 28, 0.76), rgba(0, 8, 14, 0.9)),
        url("/assets/mutwister-rpg/frames/frame-ranking-row.png") center / 100% 100% no-repeat !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.tw-rank-table-wrap .quadros,
#ja-current-content .tw-rank-table-wrap .quadros {
    padding: 22px !important;
    border: 0 !important;
    background:
        linear-gradient(145deg, rgba(2, 13, 20, 0.88), rgba(2, 5, 8, 0.96)),
        url("/assets/mutwister-rpg/frames/frame-table-blue.png") center / 100% 100% no-repeat !important;
}

#ja-content .tw-rank-table-wrap table {
    border: 0;
    background: rgba(0, 0, 0, 0.18);
}

#ja-content .tw-rank-table-wrap tr:not(:first-child):hover td {
    background: rgba(82, 207, 255, 0.055) !important;
}

.tw-download-hero {
    background:
        linear-gradient(110deg, rgba(0, 13, 20, 0.95), rgba(2, 5, 8, 0.82)),
        url("/assets/mutwister-rpg/frames/frame-page-header-blue.png") center / 100% 100% no-repeat,
        url("/assets/mutwister-rpg/backgrounds/bg-section-storm-smoke-wide.png") center / cover no-repeat !important;
}

@media (max-width: 980px) {
    .tw-page-title--asset::before {
        height: clamp(92px, 18vw, 150px);
    }

    .tw-page-title--asset > p:not(.tw-kicker) {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .tw-page-title--asset {
        padding-bottom: 12px !important;
    }

    .tw-page-title--asset::before {
        height: 86px;
        margin-bottom: 8px;
    }

    .tw-section--badge::after,
    .tw-panel--badge::after,
    .tw-download-hero.tw-section--badge::after,
    .tw-plan-card--free::before,
    .tw-plan-card--storm::before,
    .tw-plan-card--cyclone::before {
        opacity: 0.1;
    }
}
