.tbc-account {
    --gold: #f3c45d;
    --gold-line: #866333;
    --muted: #c9c6c0;
    background: #050505;
    color: #f7f6f3;
    font: 400 16px/1.5 Arial, sans-serif;
    padding-bottom: 36px;
}
.tbc-account *, .tbc-account *::before, .tbc-account *::after { box-sizing: border-box; }
.tbc-account h1, .tbc-account h2, .tbc-account h3 { color: #fff; margin: 0 0 12px; line-height: 1.15; }
.tbc-account h2 { font-size: clamp(19px, 2.2vw, 24px); }
.tbc-account h3 { font-size: 19px; }
.tbc-account p { color: var(--muted); margin: 0 0 14px; }
.tbc-account a { color: var(--gold); }
.tbc-account :focus-visible { outline: 2px solid #ffe59c; outline-offset: 3px; }
.tbc-account [id] { scroll-margin-top: 80px; }
.tbc-account-hero {
    min-height: 225px;
    padding: 26px 16px;
    text-align: center;
    display: grid;
    align-content: center;
    background: linear-gradient(90deg, #0006, #000c 37%, #000c 63%, #0006), var(--tbc-studio, linear-gradient(#23190d, #090909)) center 48% / cover;
    border-block: 1px solid var(--gold-line);
    box-shadow: 0 5px 24px #ad6f202b;
}
.tbc-account .tbc-account-hero h1 {
    margin: 0 0 3px;
    font: 900 clamp(42px, 7vw, 84px)/1 Arial, sans-serif;
    letter-spacing: -.035em;
    text-transform: uppercase;
    color: #ffd474;
    background: linear-gradient(#fff0a8 8%, #ffd470 46%, #ab7324 66%, #f4c66c);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tbc-account .tbc-account-subtitle { letter-spacing: .39em; text-transform: uppercase; color: #fff; font-size: clamp(13px, 2.2vw, 24px); margin: 0 0 8px; }
.tbc-account-hero p:last-child { margin: 0; font-size: clamp(15px, 2vw, 20px); }
.tbc-account-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    max-width: 1180px;
    padding: 0 20px;
    margin: 22px auto 36px;
}
.tbc-account-tabs a, .tbc-account-shortcut, .tbc-account .tbc-account-button {
    border: 1px solid #3c3830;
    border-radius: 8px;
    background: linear-gradient(155deg, #161616, #0b0b0b);
    color: #fff;
    text-decoration: none;
    padding: 10px 14px;
    font-weight: 700;
}
.tbc-account-tabs a { display: block; text-align: center; }
.tbc-account-tabs a:first-child, .tbc-account .tbc-account-button, .tbc-account input[type="submit"] {
    color: #120c04;
    background: linear-gradient(#ffe08a, #d29b40);
    border: 1px solid #bc8a38;
    box-shadow: inset 0 1px #ffeab6, 0 3px 14px #b47d2633;
}
.tbc-account .tbc-account-button { display: block; text-align: center; overflow-wrap: anywhere; }
.tbc-account .tbc-account-outline { color: #fff; background: #0c0c0c; box-shadow: none; }
.tbc-account-layout {
    max-width: 1220px;
    padding: 0 16px;
    margin: auto;
    display: grid;
    grid-template-columns: minmax(192px, 22%) minmax(0, 1fr);
    gap: 20px;
}
.tbc-account-content { display: grid; gap: 20px; min-width: 0; }
.tbc-account-panel {
    min-width: 0;
    padding: 18px;
    border: 1px solid #4b4437;
    border-radius: 15px;
    background: radial-gradient(ellipse at 0 0, #251e13 0%, #111 28%, #0a0a0a 85%);
}
.tbc-account-sidebar { text-align: center; padding: 26px 8px; }
.tbc-account-avatar {
    display: grid;
    place-items: center;
    width: 72px;
    aspect-ratio: 1;
    margin: 0 auto 14px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 36%, #f3c45d 0 19%, transparent 20%),
        radial-gradient(ellipse at 50% 106%, #f3c45d 0 36%, transparent 37%), #161009;
    box-shadow: 0 0 18px #c58f3247;
    color: transparent;
}
.tbc-account-sidebar h2 { font-size: 20px; }
.tbc-account-sidebar nav { display: grid; gap: 4px; margin-top: 26px; }
.tbc-account-sidebar nav a { text-align: left; color: #fff; text-decoration: none; padding: 11px 14px; border-radius: 8px; }
.tbc-account-sidebar nav a:first-child, .tbc-account-sidebar nav a:hover { background: #503b19; }
.tbc-account-sidebar nav span, .tbc-account-panel h2 span { margin-right: 8px; color: var(--gold); }
.tbc-account-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 14px; }
.tbc-account-stats > div {
    min-width: 0;
    text-align: center;
    padding: 12px 4px;
    border-radius: 11px;
    border: 1px solid #926a35;
    background: radial-gradient(ellipse at top, #2c2111, #0d0d0d 82%);
    box-shadow: inset 0 0 19px #ba85342b;
}
.tbc-account-stats > div:last-child { background: radial-gradient(ellipse at top, #163824, #08130d); border-color: #3c9a5d; }
.tbc-account-stats span { color: var(--gold); font-size: 26px; }
.tbc-account-stats > div:last-child span { color: #62dc86; }
.tbc-account-stats strong { display: block; font-size: clamp(20px, 3vw, 32px); line-height: 1.2; }
.tbc-account-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #154d29; color: #baf6c7; font-size: .9em; font-weight: 700; }
.tbc-account-product {
    display: grid;
    grid-template-columns: minmax(95px, 22%) minmax(0, 1fr) minmax(120px, 20%);
    gap: 16px;
    align-items: center;
    padding: 8px;
    margin-top: 12px;
    background: linear-gradient(140deg, #171717, #101010);
    border: 1px solid #34312a;
    border-radius: 11px;
}
.tbc-account-art { border-radius: 7px; overflow: hidden; background: #0a0a0a; }
.tbc-account-art img { display: block; width: 100%; height: auto; }
.tbc-account-product h3, .tbc-account-product p { margin: 0 0 5px; }
.tbc-account-actions { display: grid; gap: 7px; font-size: 14px; }
.tbc-account-row { display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: baseline; justify-content: space-between; }
.tbc-account-table { overflow-x: auto; }
.tbc-account table { width: 100%; border-collapse: collapse; background: #111; color: #f7f6f3; }
.tbc-account table :is(th, td) { padding: 12px; text-align: left; border: 0; border-bottom: 1px solid #34312a; background: transparent; color: inherit; }
.tbc-account table th { background: #202020; color: var(--muted); }
.tbc-account-bottom { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.tbc-account-shortcut { display: flex; align-items: center; justify-content: space-between; margin: 4px 0; }
.tbc-account-login { max-width: 550px; margin: 30px auto; }
.tbc-account :is(input:not([type]), input[type="text"], input[type="email"], input[type="password"], select, textarea) {
    max-width: 100%;
    border: 1px solid var(--gold-line);
    border-radius: 6px;
    background: #101010;
    color: #fff;
    padding: 9px;
}
.tbc-account input[type="submit"] { border-radius: 7px; padding: 9px 17px; font-weight: 700; }
.tbc-account .vvt-customer { background: #101010; color: #fff; border-color: var(--gold-line); }
.tbc-account .vvt-customer :is(em, header span) { color: var(--gold); }
@media (max-width: 820px) {
    .tbc-account-layout { grid-template-columns: minmax(0, 1fr); }
    .tbc-account-sidebar nav { grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); margin-top: 10px; }
    .tbc-account-tabs { margin-bottom: 18px; }
    .tbc-account-tabs a { padding: 8px 4px; font-size: 13px; }
}
@media (max-width: 560px) {
    .tbc-account-tabs { display: flex; overflow-x: auto; }
    .tbc-account-tabs a { flex: 0 0 auto; padding: 8px 12px; }
    .tbc-account-layout { padding: 0 10px; }
    .tbc-account-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tbc-account-product { grid-template-columns: 76px minmax(0, 1fr); }
    .tbc-account-actions { grid-column: 1 / -1; }
    .tbc-account-bottom { grid-template-columns: 1fr; }
    .tbc-account-login { margin-inline: 12px; }
}
