/* Rules, help, profile, login and registration in the homepage palette. */

.dc,
.au,
.pf {
    width: min(1180px, calc(100% - 40px)) !important;
    margin: 36px auto 72px !important;
    padding-top: 0 !important;
    color: #f4f1ea;
    font-family: Manrope, "Golos Text", sans-serif;
}

.au:not(:has(.au-grid)) { max-width: 560px; }

.dc-kicker,
.au-kicker,
.pf .uf-edit-kicker,
.pf .uf-profile-breadcrumb {
    margin: 0 0 10px;
    color: #e0b15a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.dc-head h1,
.au-head h1,
.au-card h1,
.pf .uf-profile-name,
.pf .uf-edit-title {
    margin: 0;
    color: #f4f1ea;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.dc-lead,
.au-lead,
.pf .uf-edit-description,
.pf .uf-profile-bio-lead {
    max-width: 640px;
    margin: 12px 0 0;
    color: #a7a59d;
    font-size: 15px;
    line-height: 1.55;
}

.dc-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.dc-side,
.dc-card,
.au-card,
.pf .uf-profile-identity,
.pf .uf-profile-card,
.pf .uf-edit-profile,
.pf .uf-edit-section,
.pf .uf-edit-save,
.pf .uf-profile-awards-modal__window {
    background: #121418 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.dc-side {
    position: sticky;
    top: 96px;
    align-self: start;
    padding: 16px;
}

.dc-side p {
    margin: 0 0 8px;
    color: #a7a59d;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dc-side a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 4px;
    color: #ddd9d0;
    font-size: 14px;
    text-decoration: none;
}

.dc-side a span,
.dc-card header span {
    color: #e0b15a;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.dc-list { display: grid; gap: 14px; }

.dc-card { padding: 22px; }

.dc-card header {
    display: flex;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 14px;
}

.dc-card h2,
.pf .uf-edit-section h2,
.au-card h2 {
    margin: 0;
    color: #f4f1ea;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.dc-body,
.dc-body p { color: #ddd9d0; font-size: 15px; line-height: 1.65; }
.dc-body h2, .dc-body h3 { margin: 22px 0 8px; color: #f4f1ea; font-size: 18px; }
.dc-body a { color: #e0b15a; }
.dc-body ul, .dc-body ol { padding-left: 18px; }
.dc-body li { margin: 6px 0; }
.dc-jump { display: none; }
.dc-empty, .au-hint { color: #a7a59d; }

.au { display: grid; gap: 16px; }
.au-head { margin-bottom: 4px; }
.au-card { padding: 22px; }
.au-form, .au-card form, .au-grid { display: grid; gap: 14px; }
.au-grid { max-width: none; grid-template-columns: 1fr 1fr; }
.au-span { grid-column: 1 / -1; }
.au label, .pf .uf-edit-field label {
    display: grid;
    gap: 6px;
    color: #ddd9d0;
    font-size: 13px;
}
.au input,
.au select,
.pf input[type="text"],
.pf input[type="password"],
.pf input[type="email"],
.pf select,
.pf textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    background: #0c0e11 !important;
    color: #f4f1ea !important;
    font: inherit;
}
.pf textarea { min-height: 120px; }
.au-row, .au-actions, .au-send, .au-discord {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.au-check { display: flex; align-items: center; gap: 8px; }
.au-check input { width: 16px; min-height: 16px; }
.au-text, .au-switch a, .pf .uf-edit-field a, .pf .uf-profile-copy {
    border: 0;
    background: transparent;
    color: #e0b15a;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}
.au-submit,
.pf .uf-edit-save button,
.pf .uf-edit-password-bottom button,
.pf button[type="submit"].uf-edit-save-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 0 !important;
    border-radius: 8px !important;
    background: #e0b15a !important;
    color: #14110c !important;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
body.uf-spear .pf a.uf-edit-back,
a.uf-edit-back,
.au-ghost, .pf .uf-edit-back, .pf .uf-profile-avatar-edit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #f4f1ea !important;
    font-size: 14px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: none;
}
.au-alert { padding: 12px 14px; border-radius: 8px; }
.au-alert.is-danger, .pf .uf-edit-alert-danger { background: rgba(196, 106, 90, 0.12); color: #f0c2ba; }
.au-alert.is-ok, .pf .uf-edit-alert-success, .au-ok { color: #c9d7b8; }
.au-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au-choice label {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #0c0e11;
}
.au-choice small { display: block; color: #a7a59d; }
.au-hint { margin: -6px 0 0; font-size: 13px; }
.au-lock .au-submit, .au-discord .au-submit { margin-top: 16px; }

.pf { max-width: none; }
.pf .uf-profile-container, .pf .uf-edit-shell { width: 100%; }
.pf .uf-profile-identity, .pf .uf-profile-card, .pf .uf-edit-section, .pf .uf-edit-profile, .pf .uf-edit-save { padding: 18px; }
.pf .uf-profile-grid, .pf .uf-edit-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 14px; margin-top: 16px; }
.pf .uf-profile-top, .pf .uf-edit-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.pf .uf-profile-meta, .pf .uf-edit-profile-login, .pf .uf-profile-card-header span, .pf .uf-edit-section p { color: #a7a59d; }
.pf .uf-profile-role { border: 1px solid color-mix(in srgb, var(--role-color) 55%, transparent); border-radius: 8px; color: var(--role-color); }
.pf .uf-edit-section-number, .pf .uf-profile-breadcrumb i { display: none; }
.pf .uf-profile-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.pf .uf-edit-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.pf .uf-profile-stat-grid, .pf .uf-profile-private-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pf .uf-profile-private-grid strong { overflow-wrap: anywhere; }
.pf .uf-profile-stat-grid strong, .pf .uf-profile-private-grid strong { display: block; margin-top: 4px; }
.pf .uf-profile-connection, .pf .uf-profile-op, .pf .uf-profile-record, .pf .uf-profile-history-entry { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); color: inherit; text-decoration: none; }
.pf .uf-profile-squad-mini { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; color: inherit; text-decoration: none; }
.pf .uf-edit-save, .pf .uf-edit-password-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pf .hidden, .pf input.hidden, .pf #avatar-input { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; overflow: hidden !important; }
.pf .uf-edit-field .relative > button {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #0c0e11;
    color: #f4f1ea;
    font: inherit;
    text-align: left;
}
.pf .uf-edit-field .absolute {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #16191e;
}

@media (max-width: 980px) {
    .dc-layout, .au-grid, .pf .uf-profile-grid, .pf .uf-edit-layout, .pf .uf-profile-stat-grid { grid-template-columns: 1fr; }
    .dc-side { display: none; }
    .dc-jump { display: grid; gap: 6px; margin-bottom: 12px; color: #a7a59d; font-size: 13px; }
    .dc-jump select, .au { max-width: none; }
    .au-choice { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .dc, .au, .pf { width: calc(100% - 28px); margin-top: 24px; }
    .au-row, .au-actions, .au-send, .au-discord, .pf .uf-edit-top, .pf .uf-edit-save { align-items: stretch; flex-direction: column; }
    .pf .uf-profile-stat-grid, .pf .uf-profile-private-grid { grid-template-columns: 1fr 1fr; }
}

.pg {
    width: min(1180px, calc(100% - 40px));
    margin: 32px auto 72px;
    color: #f4f1ea;
    font-family: Manrope, "Golos Text", sans-serif;
}

.pg-kicker {
    margin: 0 0 8px;
    color: #e0b15a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pg-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.pg h1 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.pg-lead, .pg-note, .pg-empty {
    margin: 8px 0 0;
    color: #a7a59d;
    font-size: 14px;
    line-height: 1.5;
}

.pg-head__actions, .pg-links { display: flex; flex-wrap: wrap; gap: 8px; }

.pg-gold, .pg-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.pg-gold {
    border: 0;
    background: #e0b15a;
    color: #14110c;
}

.pg-ghost {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    color: #f4f1ea;
}

.pg-card {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #121418;
}

.pg-card h2 { margin: 0 0 12px; font-size: 20px; letter-spacing: -0.02em; }

.pg-who {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
}

.pg-avatar, .pg-photo img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
}

.pg-name { font-size: 22px; }
.pg-name span, .pg-roles span { color: var(--role-color, #e0b15a); }
.pg-roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pg-roles span { padding: 4px 8px; border: 1px solid color-mix(in srgb, var(--role-color) 50%, transparent); border-radius: 8px; font-size: 12px; }
.pg-squad { display: flex; gap: 10px; align-items: center; color: inherit; text-decoration: none; }
.pg-squad img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; }
.pg-squad small { display: block; color: #a7a59d; }

.pg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pg-wide { grid-column: 1 / -1; }
.pg-stack { display: grid; gap: 14px; }
.pg-stats, .pg-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.pg-stats span, .pg-facts span { display: block; color: #a7a59d; font-size: 12px; }
.pg-stats strong, .pg-facts strong { display: block; margin-top: 4px; overflow-wrap: break-word; }
.pg-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); color: inherit; text-decoration: none; }
.pg-row__main { display: grid; gap: 2px; min-width: 0; }
.pg-row__main strong { overflow-wrap: anywhere; }
.pg-row__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-note a, .pg-links a { color: #e0b15a; text-decoration: none; }
.pg-status { margin: 0; padding: 12px; border-radius: 8px; }
.pg-status.is-ok { background: rgba(143, 175, 120, 0.12); color: #d5e2c8; }
.pg-status.is-danger, .pg-alert.is-danger { background: rgba(196, 106, 90, 0.14); color: #f0c2ba; }
.pg-alert { margin-bottom: 14px; padding: 12px 14px; border-radius: 8px; }
.pg-alert.is-ok { background: rgba(143, 175, 120, 0.12); color: #d5e2c8; }

.pg label { display: grid; gap: 6px; color: #ddd9d0; font-size: 13px; }
.pg input, .pg select, .pg textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #0c0e11;
    color: #f4f1ea;
    font: inherit;
}
.pg textarea { min-height: 120px; }
.pg-photo { display: grid; justify-items: center; gap: 8px; color: #e0b15a; cursor: pointer; }
.pg-side { display: grid; gap: 10px; align-content: start; }

.pg-docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 14px; }
.pg-toc { display: grid; align-content: start; gap: 4px; position: sticky; top: 92px; }
.pg-toc a { color: #ddd9d0; text-decoration: none; padding: 8px 0; }
.pg-toc a:hover { color: #e0b15a; }
.pg label.pg-jump { display: none; }
.pg-html, .pg-html p { color: #ddd9d0; font-size: 15px; line-height: 1.65; }
.pg-html h2, .pg-html h3 { margin: 18px 0 8px; color: #f4f1ea; font-size: 18px; }
.pg-html a { color: #e0b15a; }
.pg-html ul, .pg-html ol { margin: 8px 0; padding-left: 18px; }

.pg-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: end center; }
.pg-modal__back { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.pg-modal__card { position: relative; width: min(560px, 100%); max-height: 80vh; overflow: auto; padding: 18px; border-radius: 12px 12px 0 0; background: #121418; }
.pg-modal__card header { display: flex; justify-content: space-between; align-items: center; }
.pg-modal__card button { border: 0; background: transparent; color: #f4f1ea; font-size: 24px; cursor: pointer; }

@media (max-width: 980px) {
    .pg-grid, .pg-docs, .pg-who, .pg-stats, .pg-facts { grid-template-columns: 1fr; }
    .pg-toc { display: none; }
    .pg label.pg-jump { display: grid; gap: 6px; margin-bottom: 12px; color: #a7a59d; }
}

@media (max-width: 720px) {
    .pg { width: calc(100% - 28px); margin-top: 22px; }
    .pg-head, .pg-head__actions, .pg-row { align-items: stretch; flex-direction: column; }
    .pg-stats { grid-template-columns: 1fr 1fr; }
}

.gate {
    display: grid;
    grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
    width: min(1100px, calc(100% - 40px));
    margin: 28px auto 64px;
    min-height: calc(100svh - 120px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #121418;
    color: #f4f1ea;
    font-family: Manrope, "Golos Text", sans-serif;
}

.gate-visual {
    position: relative;
    min-height: 100%;
    background: #0c0e11 center / cover no-repeat;
}

.gate-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 14, 17, 0.92), rgba(12, 14, 17, 0.28));
}

.gate-visual div {
    position: absolute;
    z-index: 1;
    right: 24px;
    bottom: 24px;
    left: 24px;
}

.gate-visual img { width: 52px; height: 52px; object-fit: contain; }

.gate-visual p {
    margin: 12px 0 0;
    color: #e0b15a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.gate-visual strong {
    display: block;
    margin-top: 6px;
    font-size: 28px;
    line-height: 1.15;
}

.gate-panel { padding: 32px 32px 36px; }

.gate-kicker {
    margin: 0 0 8px;
    color: #e0b15a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gate-panel h1 {
    margin: 0;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.05;
}

.gate-panel h2 { margin: 0; font-size: 22px; }

.gate-lead, .gate-hint {
    margin: 10px 0 0;
    color: #a7a59d;
    font-size: 14px;
    line-height: 1.5;
}

.gate-form { display: grid; gap: 14px; margin-top: 22px; }

.gate-form label, .gate-choice {
    display: grid;
    gap: 6px;
    margin: 0;
    color: #ddd9d0;
    font-size: 13px;
    border: 0;
    padding: 0;
}

.gate-form input[type="text"],
.gate-form input[type="email"],
.gate-form input[type="password"],
.gate-form select {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #0c0e11;
    color: #f4f1ea;
    font: inherit;
}

.gate-choice {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gate-choice legend {
    grid-column: 1 / -1;
    padding: 0;
    color: #ddd9d0;
    font-size: 13px;
}

.gate-choice label {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #0c0e11;
    cursor: pointer;
}

.gate-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.gate-choice label:has(input:checked) {
    border-color: #e0b15a;
}

.gate-choice small { display: block; margin-top: 2px; color: #a7a59d; }

.gate-row, .gate-send, .gate-discord {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gate-discord, .gate-send {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gate-send p, .gate-discord p { margin: 0; }

.gate-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.gate-form label.gate-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.gate-check input[type="checkbox"] {
    appearance: auto;
    width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    margin: 0;
    padding: 0 !important;
    accent-color: #e0b15a;
    flex: none;
}

.gate-text, .gate-switch a {
    border: 0;
    background: transparent;
    color: #e0b15a;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.gate-switch { margin: 16px 0 0; color: #a7a59d; }

.gate-ok { margin: 6px 0 0; color: #c9d7b8; }

.gate-alert { margin-top: 14px; padding: 12px 14px; border-radius: 8px; }
.gate-alert.is-danger { background: rgba(196, 106, 90, 0.12); color: #f0c2ba; }
.gate-alert.is-ok { background: rgba(143, 175, 120, 0.12); color: #c9d7b8; }
.gate-alert ul { margin: 0; padding-left: 18px; }

.gate-panel .ufd-btn { min-width: 140px; }

@media (max-width: 860px) {
    .gate { grid-template-columns: 1fr; width: calc(100% - 28px); margin-top: 16px; }
    .gate-visual { min-height: 180px; }
    .gate-panel { padding: 22px 18px 28px; }
    .gate-choice, .gate-pair, .gate-send, .gate-discord { grid-template-columns: 1fr; align-items: stretch; flex-direction: column; }
}

.tm {
    width: min(1180px, calc(100% - 40px));
    margin: 28px auto 72px;
    color: #f4f1ea;
    font-family: Manrope, "Golos Text", sans-serif;
}

.tm-kicker {
    margin: 0 0 10px;
    color: #e0b15a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tm-head h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 0.98;
}

.tm-lead {
    max-width: 520px;
    margin: 12px 0 0;
    color: #a7a59d;
    font-size: 15px;
    line-height: 1.55;
}

.tm-head {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-role { margin-top: 28px; }

.tm-role__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.tm-role__mark {
    width: 10px;
    height: 10px;
    flex: none;
    border-radius: 2px;
}

.tm-role__head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 650;
    letter-spacing: -0.03em;
}

.tm-role__head p {
    margin: 4px 0 0;
    color: #a7a59d;
    font-size: 13px;
    line-height: 1.4;
}

.tm-count {
    color: #a7a59d;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.tm-rule {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, rgba(224, 177, 90, 0.8), transparent 80%);
}

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

.tm-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 76px;
    padding: 10px 14px 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #121418;
    color: #f4f1ea;
    text-decoration: none;
}

.tm-card img {
    width: 52px;
    height: 52px;
    flex: none;
    border-radius: 8px;
    object-fit: cover;
    background: #0c0e11;
}

.tm-card span {
    min-width: 0;
    overflow: hidden;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tm-card:hover {
    border-color: rgba(224, 177, 90, 0.55);
}

.tm-empty {
    margin-top: 22px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #121418;
}

.tm-empty h2 { margin: 0; font-size: 22px; }
.tm-empty p { margin: 8px 0 0; color: #a7a59d; }

@media (max-width: 980px) {
    .tm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .tm { width: calc(100% - 28px); margin-top: 18px; }
    .tm-grid { grid-template-columns: 1fr; }
    .tm-role__head { align-items: flex-start; }
    .tm-rule { display: none; }
}
