.jel-portal-page {
    font-family: "Manrope", sans-serif;
    color: #12263f;
}

.jel-portal-page h1,
.jel-portal-page h2,
.jel-portal-page h3 {
    font-family: "Outfit", sans-serif;
}

.jel-portal-banner {
    margin: 18px 0 28px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 22px 44px rgba(18, 38, 63, 0.14);
}

.jel-portal-banner img {
    display: block;
    width: 100%;
    max-height: 340px;
    object-fit: cover;
}

.jel-portal-hero,
.jel-contest-hero,
.jel-wallet-card,
.jel-portal-board,
.jel-contest-reward-card,
.jel-portal-empty {
    border: 1px solid rgba(18, 38, 63, 0.08);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 250, 252, 0.98) 100%);
    box-shadow: 0 24px 52px rgba(18, 38, 63, 0.1);
}

.jel-portal-hero,
.jel-contest-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 24px;
    padding: 28px;
    margin-bottom: 26px;
}

.jel-portal-hero h1,
.jel-contest-hero h1,
.jel-wallet-card h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.jel-portal-hero p,
.jel-contest-hero p,
.jel-wallet-card p,
.jel-portal-copy {
    color: #5e7085;
    line-height: 1.7;
}

.jel-portal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #0a7d76;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.jel-portal-kicker::before {
    content: "";
    width: 32px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0aa395 0%, #f7b444 100%);
}

.jel-portal-hero-panel,
.jel-contest-hero-panel {
    display: flex;
}

.jel-contest-hero-panel {
    position: sticky;
    top: 92px;
    align-self: start;
}

.jel-portal-hero-panel article,
.jel-contest-panel-card {
    width: 100%;
    border-radius: 22px;
    border: 1px solid rgba(18, 38, 63, 0.08);
    background: rgba(255, 255, 255, 0.86);
    padding: 22px;
}

.jel-portal-hero-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.jel-portal-hero-panel article strong {
    display: block;
    margin-bottom: 6px;
    font-family: "Outfit", sans-serif;
    font-size: 2rem;
}

.jel-portal-hero-panel article span {
    color: #5e7085;
    font-weight: 600;
}

.jel-portal-board,
.jel-contest-reward-card,
.jel-wallet-card,
.jel-portal-empty {
    padding: 26px;
}

.jel-portal-board {
    margin-bottom: 24px;
}

.jel-portal-board-head,
.jel-contest-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.jel-portal-board-head h2,
.jel-contest-section-head h2 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.08;
}

.jel-portal-badge,
.jel-portal-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(10, 163, 149, 0.12);
    color: #0a7d76;
    font-weight: 700;
}

.jel-portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.jel-portal-card,
.jel-contest-stat-card {
    border-radius: 24px;
    border: 1px solid rgba(18, 38, 63, 0.08);
    background: rgba(255, 255, 255, 0.9);
    padding: 22px;
}

.jel-portal-card-top,
.jel-contest-price-row,
.jel-portal-progress-meta,
.jel-contest-rank-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.jel-portal-card h3 {
    margin: 16px 0 10px;
    font-size: 1.5rem;
}

.jel-portal-price {
    font-family: "Outfit", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.jel-portal-progress {
    margin: 18px 0;
}

.jel-portal-progress-bar {
    width: 100%;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #dce7ec;
}

.jel-portal-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0aa395 0%, #3dd4a8 100%);
}

.jel-portal-progress-meta {
    margin-top: 10px;
    color: #5e7085;
    font-size: 0.92rem;
    font-weight: 700;
}

.jel-portal-meta-grid,
.jel-contest-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.jel-portal-meta-grid {
    margin-bottom: 18px;
}

.jel-portal-meta-grid div,
.jel-contest-price-row div {
    padding: 16px;
    border-radius: 18px;
    background: #f6fafc;
    border: 1px solid rgba(18, 38, 63, 0.06);
}

.jel-portal-meta-grid span,
.jel-contest-price-row small,
.jel-portal-stat-row small,
.jel-contest-rank-label {
    display: block;
    color: #5e7085;
    font-size: 0.82rem;
    font-weight: 700;
}

.jel-portal-meta-grid strong,
.jel-contest-price-row strong,
.jel-portal-stat-row strong,
.jel-contest-rank-card strong,
.jel-contest-stat-card strong {
    display: block;
    margin-top: 6px;
    font-family: "Outfit", sans-serif;
    font-size: 1.05rem;
}

.jel-portal-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.jel-portal-stat-row div {
    padding: 16px;
    border-radius: 18px;
    background: #fef8ea;
}

.jel-portal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0aa395 0%, #1ec5b5 100%);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 18px 32px rgba(10, 163, 149, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.jel-portal-button:hover,
.jel-portal-button:focus-visible {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 22px 36px rgba(10, 163, 149, 0.24);
    filter: saturate(1.05);
}

.jel-portal-button-muted {
    background: #eef3f7;
    color: #21374f;
    box-shadow: none;
}

.jel-portal-button-secondary {
    background: linear-gradient(135deg, #24486f 0%, #3c6796 100%);
}

.jel-portal-button-dark {
    background: linear-gradient(135deg, #141f31 0%, #24324a 100%);
}

.jel-portal-button-warning {
    background: linear-gradient(135deg, #f2a126 0%, #f7bf64 100%);
    color: #3a2a08;
}

.jel-portal-button-muted:hover,
.jel-portal-button-muted:focus-visible {
    color: #21374f;
    box-shadow: 0 18px 30px rgba(18, 38, 63, 0.12);
}

.jel-portal-button-warning:hover,
.jel-portal-button-warning:focus-visible {
    color: #3a2a08;
}

.jel-contest-hero {
    align-items: stretch;
}

.jel-contest-price-row {
    margin: 22px 0 18px;
}

.jel-contest-panel-card h2 {
    margin: 0 0 16px;
    font-size: 1.45rem;
}

.jel-portal-meta-grid-tight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jel-contest-action-stack {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.jel-contest-note {
    color: #5e7085;
    font-size: 0.92rem;
    font-weight: 600;
}

.jel-contest-note-block {
    display: block;
}

.jel-contest-stat-grid {
    margin: 0 0 24px;
}

.jel-contest-stat-card {
    text-align: center;
}

.jel-contest-stat-card img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    margin-bottom: 12px;
}

.jel-contest-stat-card span {
    display: block;
    color: #5e7085;
    font-weight: 700;
}

.jel-contest-reward-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
}

.jel-contest-rank-stack {
    display: grid;
    gap: 14px;
}

.jel-contest-rank-card {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 38, 63, 0.08);
}

.jel-contest-rank-card-featured.rank-1 {
    background: linear-gradient(135deg, #fff4d7 0%, #fff9ed 100%);
}

.jel-contest-rank-card-featured.rank-2 {
    background: linear-gradient(135deg, #eef4fa 0%, #f8fbfe 100%);
}

.jel-contest-rank-card-featured.rank-3 {
    background: linear-gradient(135deg, #f9efe5 0%, #fff8f2 100%);
}

.jel-contest-banner {
    margin: 16px 0 20px;
}

.jel-contest-banner img {
    width: 100%;
    border-radius: 22px;
}

.jel-portal-modal {
    border: 0;
    border-radius: 24px;
    padding: 10px;
}

.jel-portal-modal-amount {
    display: inline-block;
    margin-top: 8px;
    font-family: "Outfit", sans-serif;
    font-size: 2rem;
}

.jel-wallet-page {
    display: flex;
    justify-content: center;
}

.jel-wallet-card {
    width: min(760px, 100%);
}

.jel-wallet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 26px 0;
}

.jel-wallet-pill {
    display: block;
    padding: 20px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(18, 38, 63, 0.1);
    color: #12263f;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.jel-wallet-pill:hover,
.jel-wallet-pill.is-active {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(18, 38, 63, 0.1);
    border-color: rgba(10, 163, 149, 0.36);
}

.jel-wallet-pill small {
    display: block;
    color: #5e7085;
    font-weight: 700;
}

.jel-wallet-pill strong {
    display: block;
    margin-top: 8px;
    font-family: "Outfit", sans-serif;
    font-size: 1.6rem;
}

.jel-wallet-button {
    min-width: 240px;
}

.jel-portal-empty {
    text-align: center;
}

.jel-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.jel-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.jel-history-summary-grid {
    margin-top: 18px;
}

.jel-field-helper {
    display: block;
    margin-top: 8px;
    color: #5e7085;
    font-size: 0.9rem;
    line-height: 1.5;
}

.jel-history-layout,
.jel-withdraw-layout {
    display: grid;
    gap: 22px;
    margin-bottom: 24px;
}

.jel-history-intro,
.jel-history-card,
.jel-withdraw-summary,
.jel-form-panel {
    border: 1px solid rgba(18, 38, 63, 0.08);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 250, 252, 0.98) 100%);
    box-shadow: 0 24px 52px rgba(18, 38, 63, 0.1);
    padding: 24px;
}

.jel-history-intro h1,
.jel-withdraw-summary h1 {
    margin: 0 0 12px;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.jel-history-intro p,
.jel-withdraw-summary p,
.jel-form-panel-head p {
    color: #5e7085;
    line-height: 1.7;
}

.jel-history-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.jel-history-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #edf4f7;
    color: #27415f;
    font-weight: 700;
    text-decoration: none;
}

.jel-history-tabs a.is-active {
    background: linear-gradient(135deg, #0aa395 0%, #1ec5b5 100%);
    color: #fff;
}

.jel-history-card-head,
.jel-form-panel-head,
.jel-history-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.jel-history-card-head h2,
.jel-form-panel-head h2 {
    margin: 0;
    font-size: 1.75rem;
}

.jel-history-count {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f2f8fa;
    color: #31516f;
    font-size: 0.9rem;
    font-weight: 700;
}

.jel-history-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.jel-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(18, 38, 63, 0.08);
    background: rgba(255, 255, 255, 0.88);
}

.jel-history-item-main h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
}

.jel-history-item-main p,
.jel-history-item-side span {
    color: #5e7085;
    margin: 0;
}

.jel-history-item-side {
    text-align: right;
}

.jel-history-item-side strong {
    display: block;
    margin-bottom: 6px;
    font-family: "Outfit", sans-serif;
    font-size: 1.2rem;
}

.jel-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.jel-status-success {
    background: rgba(21, 115, 71, 0.14);
    color: #157347;
}

.jel-status-warning {
    background: rgba(242, 161, 38, 0.16);
    color: #a56a00;
}

.jel-status-danger {
    background: rgba(204, 71, 88, 0.14);
    color: #cc4758;
}

.jel-status-secondary {
    background: rgba(39, 65, 95, 0.12);
    color: #27415f;
}

.jel-empty-state {
    padding: 28px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px dashed rgba(18, 38, 63, 0.14);
}

.jel-empty-state h3 {
    margin: 0 0 8px;
}

.jel-empty-state p {
    margin: 0;
    color: #5e7085;
}

.jel-withdraw-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.jel-withdraw-stat-grid article {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(18, 38, 63, 0.08);
}

.jel-withdraw-stat-grid span {
    display: block;
    color: #5e7085;
    font-weight: 700;
}

.jel-withdraw-stat-grid strong {
    display: block;
    margin-top: 8px;
    font-family: "Outfit", sans-serif;
    font-size: 1.35rem;
}

.jel-portal-form {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.jel-payment-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.jel-payment-option {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 20px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(18, 38, 63, 0.08);
    cursor: pointer;
}

.jel-payment-option input {
    position: absolute;
    top: 12px;
    left: 12px;
    accent-color: #0aa395;
}

.jel-payment-option img {
    width: 78px;
    height: 38px;
    object-fit: contain;
}

.jel-payment-option span {
    font-weight: 700;
}

.jel-portal-field {
    display: grid;
    gap: 10px;
}

.jel-portal-field span {
    font-size: 0.94rem;
    font-weight: 700;
}

.jel-portal-field input {
    min-height: 52px;
    width: 100%;
    padding: 0 16px;
    border-radius: 15px;
    border: 1px solid rgba(18, 38, 63, 0.12);
    background: #fff;
    color: #12263f;
    font: inherit;
}

.jel-portal-field select {
    min-height: 52px;
    width: 100%;
    padding: 0 16px;
    border-radius: 15px;
    border: 1px solid rgba(18, 38, 63, 0.12);
    background: #fff;
    color: #12263f;
    font: inherit;
}

.jel-table-card {
    border: 1px solid rgba(18, 38, 63, 0.08);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 250, 252, 0.98) 100%);
    box-shadow: 0 24px 52px rgba(18, 38, 63, 0.1);
    padding: 24px;
}

.jel-table-wrap {
    overflow-x: auto;
    margin-top: 18px;
}

.jel-data-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.jel-data-table th,
.jel-data-table td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(18, 38, 63, 0.08);
    text-align: left;
}

.jel-data-table thead th {
    color: #4f6278;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.jel-data-table tbody tr:hover {
    background: rgba(10, 163, 149, 0.04);
}

.jel-empty-table-cell {
    color: #5e7085;
    text-align: center;
}

.jel-simple-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    font-weight: 700;
}

.jel-simple-pagination a,
.jel-simple-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: #edf4f7;
    color: #27415f;
    text-decoration: none;
}

.jel-simple-pagination .is-disabled {
    opacity: 0.55;
}

.jel-password-layout {
    display: grid;
    gap: 22px;
}

.jel-password-wrap {
    position: relative;
}

.jel-password-wrap input {
    padding-right: 88px;
}

.jel-password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    min-width: 64px;
    height: 36px;
    border: 0;
    border-radius: 11px;
    background: rgba(10, 163, 149, 0.12);
    color: #0a7d76;
    font-weight: 800;
}

.jel-code-input {
    text-align: center;
    letter-spacing: 0.55em;
    font-size: 1.15rem;
    font-weight: 800;
}

.jel-code-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.jel-profile-layout,
.jel-result-layout,
.jel-instruction-layout,
.jel-static-page {
    display: grid;
    gap: 22px;
    margin-bottom: 24px;
}

.jel-profile-intro,
.jel-profile-card,
.jel-instruction-card {
    border: 1px solid rgba(18, 38, 63, 0.08);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 250, 252, 0.98) 100%);
    box-shadow: 0 24px 52px rgba(18, 38, 63, 0.1);
    padding: 24px;
}

.jel-profile-intro h1,
.jel-instruction-card h2 {
    margin: 0 0 12px;
}

.jel-profile-intro p,
.jel-profile-card p,
.jel-instruction-card p {
    color: #5e7085;
    line-height: 1.7;
}

.jel-profile-form {
    display: grid;
    gap: 24px;
}

.jel-profile-avatar-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(18, 38, 63, 0.08);
}

.jel-profile-avatar-card h2,
.jel-profile-photo-copy h2 {
    margin: 0 0 8px;
    font-size: 1.45rem;
}

.jel-profile-avatar-link,
.jel-profile-photo-preview {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #f1f7fb 0%, #fff 100%);
    border: 1px solid rgba(18, 38, 63, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68);
}

.jel-profile-avatar-link img,
.jel-profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jel-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.jel-profile-verification {
    display: grid;
    gap: 16px;
}

.jel-profile-verify-card {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(18, 38, 63, 0.08);
}

.jel-profile-verify-card span {
    color: #5e7085;
    font-size: 0.88rem;
    font-weight: 700;
}

.jel-profile-verify-card strong {
    font-family: "Outfit", sans-serif;
    font-size: 1.2rem;
}

.jel-verify-ok,
.jel-profile-verify-card a,
.jel-profile-inline-link {
    color: #0a7d76;
    font-weight: 700;
    text-decoration: none;
}

.jel-profile-inline-link {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
}

.jel-profile-photo-form {
    display: grid;
    justify-items: center;
    gap: 22px;
    text-align: center;
}

.jel-profile-photo-preview {
    width: min(260px, 100%);
    height: 260px;
    border-radius: 34px;
}

.jel-profile-photo-copy {
    max-width: 620px;
}

.jel-profile-photo-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.jel-upload-loading {
    width: min(520px, 100%);
    min-height: 50px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(10, 163, 149, 0.08);
    color: #0a7d76;
    font-weight: 700;
}

.jel-upload-loading[data-state="error"] {
    background: rgba(204, 71, 88, 0.12);
    color: #cc4758;
}

.jel-upload-loading[data-state="success"] {
    background: rgba(21, 115, 71, 0.12);
    color: #157347;
}

.jel-instruction-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.jel-instruction-list {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding-left: 20px;
    color: #42566f;
    line-height: 1.7;
}

.jel-start-box {
    margin-top: 22px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 38, 63, 0.08);
}

.jel-start-form {
    display: grid;
    gap: 16px;
}

.jel-exam-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 20px;
}

.jel-exam-legend-item {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #eef4f7;
    color: #27415f;
    font-size: 0.9rem;
    font-weight: 700;
}

.jel-exam-legend-item.is-active {
    background: rgba(60, 103, 150, 0.16);
    color: #23476c;
}

.jel-exam-legend-item.is-answered,
.jel-exam-legend-item.is-correct {
    background: rgba(21, 115, 71, 0.12);
    color: #157347;
}

.jel-exam-legend-item.is-unanswered {
    background: rgba(242, 161, 38, 0.14);
    color: #9a5c00;
}

.jel-exam-legend-item.is-wrong {
    background: rgba(204, 71, 88, 0.14);
    color: #cc4758;
}

.jel-check-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #27415f;
    font-weight: 700;
}

.jel-check-row input {
    margin-top: 4px;
    accent-color: #0aa395;
}

.jel-result-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.jel-result-summary-grid article {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(18, 38, 63, 0.08);
}

.jel-result-summary-grid span {
    display: block;
    color: #5e7085;
    font-weight: 700;
}

.jel-result-summary-grid strong {
    display: block;
    margin-top: 8px;
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
}

.jel-pass-text {
    color: #157347;
}

.jel-fail-text {
    color: #cc4758;
}

.jel-leaderboard-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.jel-leaderboard-head,
.jel-leaderboard-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(140px, 1fr) 90px;
    gap: 16px;
    align-items: center;
}

.jel-leaderboard-head {
    padding: 0 18px;
    color: #4f6278;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.jel-leaderboard-row {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(18, 38, 63, 0.08);
}

.jel-leaderboard-row strong {
    font-size: 1rem;
}

.jel-leaderboard-row span:last-child {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
}

.jel-static-content {
    color: #33465f;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.jel-static-content h1,
.jel-static-content h2,
.jel-static-content h3,
.jel-static-content h4,
.jel-static-content h5,
.jel-static-content h6 {
    margin: 0 0 14px;
    color: #17304d;
    font-family: "Outfit", sans-serif;
    line-height: 1.2;
}

.jel-static-content p,
.jel-static-content ul,
.jel-static-content ol,
.jel-static-content blockquote {
    margin: 0 0 16px;
}

.jel-static-content ul,
.jel-static-content ol {
    padding-left: 1.2rem;
}

.jel-static-content a {
    color: #0a8f86;
    font-weight: 700;
}

.jel-static-content blockquote {
    padding: 16px 18px;
    border-left: 4px solid rgba(10, 143, 134, 0.28);
    border-radius: 0 18px 18px 0;
    background: rgba(10, 143, 134, 0.06);
}

.jel-static-content > *:first-child {
    margin-top: 0;
}

.jel-static-content > *:last-child {
    margin-bottom: 0;
}

.jel-static-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.jel-static-content table {
    display: block;
    width: 100%;
    margin: 18px 0;
    border-collapse: collapse;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.jel-static-content table th,
.jel-static-content table td {
    padding: 12px 14px;
    border: 1px solid rgba(18, 38, 63, 0.1);
}

.jel-static-content iframe,
.jel-static-content video {
    width: min(100%, 100%);
    max-width: 100%;
    border: 0;
}

.jel-wallet-proof-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 20px;
    margin-top: 24px;
}

.jel-qr-card {
    padding: 24px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 38, 63, 0.08);
}

.jel-wallet-proof-card {
    box-shadow: none;
    margin: 0;
}

.jel-wallet-proof-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    margin: 22px 0 16px;
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f7fbfd 0%, #fff 100%);
    border: 1px dashed rgba(18, 38, 63, 0.14);
}

.jel-wallet-proof-preview img {
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
}

.jel-wallet-proof-proofbox {
    min-height: 220px;
    margin: 0;
}

.jel-wallet-note {
    margin: 0;
    text-align: center;
    color: #31516f;
    font-weight: 700;
}

.jel-wallet-quick-actions {
    margin-top: 12px;
    margin-bottom: 10px;
}

.jel-wallet-helper {
    margin: 0;
    text-align: center;
    color: #5e7085;
    font-size: 0.92rem;
    font-weight: 600;
}

.jel-wallet-countdown {
    margin-top: 16px;
    text-align: center;
    font-family: "Outfit", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #cc4758;
}

.jel-exam-page {
    padding-bottom: 24px;
}

.jel-exam-shell {
    display: grid;
    gap: 22px;
}

.jel-exam-header-bar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.jel-exam-header-bar-review {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jel-exam-stat,
.jel-exam-timer-card,
.jel-exam-sidebar-card,
.jel-exam-stage-card {
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(18, 38, 63, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 250, 252, 0.98) 100%);
    box-shadow: 0 24px 52px rgba(18, 38, 63, 0.1);
}

.jel-exam-stat span,
.jel-exam-timer-card span {
    display: block;
    color: #5e7085;
    font-size: 0.86rem;
    font-weight: 700;
}

.jel-exam-stat strong,
.jel-exam-timer-card strong {
    display: block;
    margin-top: 8px;
    font-family: "Outfit", sans-serif;
    font-size: 1.6rem;
}

.jel-exam-timer-card {
    text-align: center;
    background: linear-gradient(135deg, #173b63 0%, #285684 100%);
    color: #fff;
}

.jel-exam-timer-card span {
    color: rgba(255, 255, 255, 0.72);
}

.jel-exam-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 22px;
    align-items: start;
}

.jel-exam-layout-review {
    align-items: stretch;
}

.jel-exam-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 92px;
    align-self: start;
}

.jel-exam-subject-tabs {
    display: grid;
    gap: 10px;
}

.jel-exam-subject-tab {
    min-height: 46px;
    border: 1px solid rgba(18, 38, 63, 0.08);
    border-radius: 16px;
    background: #eef4f7;
    color: #21374f;
    font-weight: 800;
}

.jel-exam-subject-tab.is-active {
    background: linear-gradient(135deg, #0aa395 0%, #1ec5b5 100%);
    color: #fff;
    box-shadow: 0 18px 32px rgba(10, 163, 149, 0.2);
}

.jel-exam-palette-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.jel-exam-palette-btn {
    min-height: 46px;
    border: 1px solid rgba(18, 38, 63, 0.12);
    border-radius: 14px;
    background: #eef4f7;
    color: #21374f;
    font-family: "Outfit", sans-serif;
    font-weight: 800;
}

.jel-exam-palette-btn.is-answered {
    background: rgba(21, 115, 71, 0.14);
    border-color: rgba(21, 115, 71, 0.2);
    color: #157347;
}

.jel-exam-palette-btn.is-unanswered {
    background: rgba(204, 71, 88, 0.12);
    border-color: rgba(204, 71, 88, 0.2);
    color: #cc4758;
}

.jel-exam-palette-btn.is-correct {
    background: rgba(21, 115, 71, 0.14);
    border-color: rgba(21, 115, 71, 0.2);
    color: #157347;
}

.jel-exam-palette-btn.is-wrong {
    background: rgba(204, 71, 88, 0.12);
    border-color: rgba(204, 71, 88, 0.2);
    color: #cc4758;
}

.jel-exam-palette-btn.is-active {
    background: linear-gradient(135deg, #173b63 0%, #285684 100%);
    border-color: #173b63;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(23, 59, 99, 0.14);
}

.jel-exam-stage {
    display: grid;
}

.jel-exam-stage-card {
    display: grid;
    gap: 18px;
}

.jel-exam-question-card {
    display: none;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(18, 38, 63, 0.08);
    scroll-margin-top: 120px;
}

.jel-exam-question-card.is-active {
    display: block;
}

.jel-exam-question-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.jel-exam-question-head h2 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.5;
}

.jel-exam-question-translation {
    margin: 0 0 16px;
    color: #42566f;
    line-height: 1.7;
}

.jel-exam-options,
.jel-review-options {
    display: grid;
    gap: 12px;
}

.jel-exam-option {
    display: block;
    cursor: pointer;
}

.jel-exam-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.jel-exam-option-body,
.jel-review-option {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(18, 38, 63, 0.09);
    background: #f8fbfd;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.jel-exam-option:hover .jel-exam-option-body {
    transform: translateY(-1px);
    border-color: rgba(10, 163, 149, 0.26);
}

.jel-exam-option input:checked + .jel-exam-option-body {
    background: rgba(10, 163, 149, 0.08);
    border-color: rgba(10, 163, 149, 0.32);
    box-shadow: 0 12px 24px rgba(10, 163, 149, 0.12);
}

.jel-exam-option-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-height: 52px;
    border-radius: 16px;
    background: #173b63;
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
}

.jel-exam-option-copy {
    display: grid;
    gap: 6px;
}

.jel-exam-option-copy strong {
    color: #17304d;
    font-size: 1rem;
    font-weight: 700;
}

.jel-exam-option-copy small {
    color: #5e7085;
    font-size: 0.9rem;
    line-height: 1.6;
}

.jel-review-option.is-user-answer {
    box-shadow: inset 0 0 0 2px rgba(23, 59, 99, 0.12);
}

.jel-review-option.is-correct-answer {
    background: rgba(21, 115, 71, 0.08);
    border-color: rgba(21, 115, 71, 0.2);
}

.jel-review-option.is-user-wrong {
    background: rgba(204, 71, 88, 0.08);
    border-color: rgba(204, 71, 88, 0.18);
}

.jel-review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.jel-review-answer-user,
.jel-review-answer-correct {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #eef4f7;
    color: #27415f;
    font-weight: 700;
}

.jel-exam-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.jel-exam-actions .jel-portal-button[disabled] {
    opacity: 0.55;
    pointer-events: none;
}

.jel-exam-note {
    margin: 0;
    color: #5e7085;
    font-size: 0.94rem;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .jel-portal-hero,
    .jel-contest-hero,
    .jel-contest-reward-layout,
    .jel-portal-grid,
    .jel-wallet-proof-grid,
    .jel-exam-layout,
    .jel-exam-header-bar {
        grid-template-columns: 1fr;
    }

    .jel-portal-meta-grid,
    .jel-contest-stat-grid,
    .jel-wallet-grid,
    .jel-withdraw-stat-grid,
    .jel-payment-options,
    .jel-profile-grid,
    .jel-instruction-columns,
    .jel-result-summary-grid,
    .jel-exam-palette-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jel-exam-header-bar,
    .jel-exam-header-bar-review {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jel-exam-timer-card {
        grid-column: 1 / -1;
    }

    .jel-exam-palette-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .jel-contest-hero-panel,
    .jel-exam-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .jel-table-wrap {
        overflow: visible;
    }

    .jel-data-table-stack {
        min-width: 0;
    }

    .jel-data-table-stack thead {
        display: none;
    }

    .jel-data-table-stack,
    .jel-data-table-stack tbody,
    .jel-data-table-stack tr,
    .jel-data-table-stack td {
        display: block;
        width: 100%;
    }

    .jel-data-table-stack tbody {
        display: grid;
        gap: 14px;
    }

    .jel-data-table-stack tr {
        overflow: hidden;
        border: 1px solid rgba(18, 38, 63, 0.08);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 16px 28px rgba(18, 38, 63, 0.08);
    }

    .jel-data-table-stack td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        min-width: 0;
        padding: 14px 16px;
    }

    .jel-data-table-stack td::before {
        content: attr(data-label);
        flex: 0 0 108px;
        color: #4f6278;
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        line-height: 1.4;
        text-transform: uppercase;
    }

    .jel-data-table-stack td > * {
        max-width: calc(100% - 124px);
    }

    .jel-data-table-stack td.jel-empty-table-cell,
    .jel-data-table-stack td[colspan] {
        display: block;
        text-align: center;
    }

    .jel-data-table-stack td.jel-empty-table-cell::before,
    .jel-data-table-stack td[colspan]::before {
        content: none;
    }
}

@media (max-width: 640px) {
    .jel-portal-hero,
    .jel-contest-hero,
    .jel-portal-board,
    .jel-contest-reward-card,
    .jel-wallet-card,
    .jel-portal-empty {
        padding: 20px;
        border-radius: 22px;
    }

    .jel-portal-meta-grid,
    .jel-contest-stat-grid,
    .jel-wallet-grid,
    .jel-portal-stat-row,
    .jel-portal-hero-panel,
    .jel-portal-meta-grid-tight,
    .jel-withdraw-stat-grid,
    .jel-payment-options,
    .jel-profile-grid,
    .jel-instruction-columns,
    .jel-result-summary-grid,
    .jel-leaderboard-head,
    .jel-leaderboard-row {
        grid-template-columns: 1fr;
    }

    .jel-portal-board-head,
    .jel-contest-section-head,
    .jel-portal-progress-meta,
    .jel-contest-rank-card,
    .jel-portal-card-top,
    .jel-contest-price-row,
    .jel-history-card-head,
    .jel-form-panel-head,
    .jel-history-item,
    .jel-history-line,
    .jel-simple-pagination {
        flex-direction: column;
        align-items: flex-start;
    }

    .jel-wallet-button,
    .jel-portal-button {
        width: 100%;
    }

    .jel-profile-avatar-card,
    .jel-check-row,
    .jel-code-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .jel-profile-photo-preview {
        width: min(220px, 100%);
        height: 220px;
    }

    .jel-profile-photo-actions {
        width: 100%;
    }

    .jel-exam-question-head,
    .jel-review-meta,
    .jel-exam-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .jel-exam-option-body,
    .jel-review-option {
        grid-template-columns: 1fr;
    }

    .jel-exam-option-key {
        width: 44px;
        min-height: 44px;
    }

    .jel-exam-header-bar,
    .jel-exam-header-bar-review {
        grid-template-columns: 1fr;
    }

    .jel-exam-palette-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .jel-exam-palette-btn,
    .jel-exam-subject-tab {
        min-height: 42px;
    }
}
