:root {
    --max: 1160px;
    --ink: #1a2027;
    --ink-soft: #4e5863;
    --muted: #606b76;
    --accent: #b31925;
    --accent-deep: #90121d;
    --bg: #f7f7f5;
    --line: #e1e3e2;
    --radius-lg: 16px;
}

:is(a, button, summary, input, select, textarea):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.site-header {
    animation: none;
    backdrop-filter: none;
    background: #fff;
}

.site-header .inside {
    min-height: 72px;
}

.site-header .logo-mark img {
    height: 38px;
}

.site-nav a.nav-link {
    font-size: 14px;
    padding: 8px 12px;
}

.site-nav a.nav-link[aria-current="page"] {
    background: #faf0f1;
    color: var(--accent);
}

#header #user a {
    line-height: 38px;
    font-size: 13px;
    border-radius: 8px;
}

#header #user a i {
    line-height: 38px;
    height: 38px;
}

.home {
    padding-top: 22px;
}

.home-hero {
    min-height: 460px;
    align-items: center;
    overflow: hidden;
    border-radius: 22px;
    background: #161b22;
}

.home-hero .hero-media {
    inset: 0 0 0 40%;
    background-position: 56% center;
    animation: none;
    transform: none;
}

.home-hero .hero-media::after {
    background:
        linear-gradient(90deg, #161b22 0%, #161b2229 40%, transparent 70%),
        linear-gradient(0deg, #161b223d, transparent 54%);
}

.home-hero .hero-inner {
    width: 62%;
    margin: 0;
    padding: clamp(32px, 5.2vw, 76px);
}

.home-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.15rem);
    line-height: 1.02;
    letter-spacing: -.054em;
    font-weight: 800;
    margin-bottom: 20px;
}

.home-hero h1 span {
    display: block;
    color: #ff8e94;
}

.home-hero .lead {
    color: #d4dae1;
    max-width: 37ch;
    font-size: clamp(1rem, 1.65vw, 1.16rem);
    margin-bottom: 27px;
}

.home-hero .btn {
    box-shadow: none;
}

.home-hero :focus-visible {
    outline-color: #fff;
}

.guides {
    padding-top: 36px;
}

.home .section-head {
    max-width: none;
    margin-bottom: 16px;
}

.home .section-head h2 {
    font-size: clamp(1.55rem, 3vw, 2.05rem);
    letter-spacing: -.036em;
    margin: 0;
}

.guides .section-head p {
    margin-top: 6px;
}

.guide-grid, .editorial-news {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.guide-card {
    min-height: 94px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius-lg);
    color: var(--ink);
    text-decoration: none;
}

.guide-card:hover {
    border-color: #cb7c83;
    color: var(--ink);
}

.guide-card .fa-map-marker {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #faf0f1;
    color: var(--accent);
    font-size: 20px;
}

.guide-card strong, .guide-card small {
    display: block;
}

.guide-card strong {
    font-size: 1.08rem;
}

.guide-card small {
    color: var(--muted);
    font-size: .88rem;
}

.guide-arrow {
    color: var(--accent);
}

.home-features {
    padding: 52px 0;
}

.home-features .features {
    gap: 16px;
}

.home-features .feature {
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius-lg);
}

.home-features .feature .img {
    aspect-ratio: 1.34;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.home-features .feature-copy {
    padding: 19px 20px;
}

.home-features .feature-copy h3 {
    margin-bottom: 5px;
}

.home-news {
    padding-top: 0;
    padding-bottom: 18px;
}

.home-news .news-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
}

.news-head > a, .article-back {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.news-head > a:hover, .article-back:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-card {
    border-radius: var(--radius-lg);
    box-shadow: none;
}

.news-card:hover {
    transform: none;
    box-shadow: 0 8px 24px #1a20270d;
}

.news-card-link {
    padding: 22px;
}

.news-card-link:focus-visible {
    outline-offset: -4px;
}

.news-card-link h2, .news-card-link h3 {
    color: var(--ink);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.34;
    margin: 0 0 10px;
}

.editorial {
    padding: clamp(32px, 5vw, 72px) 0 24px;
}

.editorial-heading {
    max-width: 830px;
    margin-bottom: clamp(22px, 4vw, 38px);
}

.editorial-heading h1 {
    font-size: clamp(2.1rem, 5.4vw, 3.95rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.04;
    overflow-wrap: break-word;
}

.article-back {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 19px;
}

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

.article-body, .editorial-aside, .faq-list details {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.article-body {
    padding: clamp(20px, 4.1vw, 48px);
    font-size: 1.04rem;
    line-height: 1.68;
    overflow-wrap: break-word;
}

.article-body h2, .article-body h3 {
    color: var(--ink);
    font-size: 1.32rem;
    line-height: 1.28;
    font-weight: 750;
    letter-spacing: -.018em;
    margin: 28px 0 10px;
}

.article-body p + p {
    margin-top: 16px;
}

.article-body > p:first-child {
    font-size: 1.15rem;
    color: var(--ink);
}

.article-body a, .faq-answer a {
    text-underline-offset: 3px;
}

.article-body :is(ol, ul), .faq-answer ul {
    margin: 12px 0 16px;
    padding-left: 26px;
}

.article-body li + li, .faq-answer li + li {
    margin-top: 8px;
}

.article-body li::marker {
    color: var(--accent);
    font-weight: 700;
}

.article-body small {
    color: var(--muted);
    font-size: .86rem;
}

.editorial-aside {
    padding: 20px;
}

.editorial-aside h2 {
    font-size: 1rem;
    padding-bottom: 10px;
}

.editorial-aside a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid var(--line);
    text-decoration: none;
    font-weight: 600;
}

.editorial-aside a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.faq-list summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 13px 20px;
    list-style: none;
    font-weight: 700;
    cursor: pointer;
    border-radius: var(--radius-lg);
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    color: var(--accent);
    font-size: 1.25rem;
}

.faq-list details[open] summary::after {
    content: '−';
}

.faq-answer {
    padding: 0 20px 15px;
    color: var(--ink-soft);
}

.error-page .page-panel {
    margin: 36px auto;
    padding: 42px clamp(20px, 5vw, 56px);
    max-width: 700px;
}

.error-page .page-panel h1 {
    font-size: clamp(1.65rem, 4.5vw, 2.8rem);
    line-height: 1.1;
}

#footer {
    margin-top: 42px;
    background: #161b22;
}

#footer .footer-logo {
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff;
}

#footer .footer-logo img {
    height: 30px;
}

@media (max-width: 760px) {
    .site-header .inside {
        min-height: 62px;
    }

    .site-header .logo-mark img {
        height: 32px;
    }

    .header-panel {
        visibility: hidden;
    }

    body.nav-open .header-panel {
        visibility: visible;
    }

    .home {
        padding-top: 12px;
    }

    .home-hero {
        display: grid;
        min-height: 0;
        border-radius: 17px;
    }

    .home-hero .hero-inner {
        width: 100%;
        padding: 30px 22px 8px;
    }

    .home-hero .hero-media {
        position: relative;
        inset: auto;
        min-height: clamp(140px, 36vw, 240px);
        background-position: 55% 56%;
    }

    .home-hero .hero-media::after {
        background: linear-gradient(180deg, #161b22 0%, transparent 58%);
    }

    .home-hero .hero-cta a {
        min-height: 46px;
        padding: 0 15px;
        font-size: 13px;
    }

    .guides {
        padding-top: 28px;
    }

    .guide-grid, .editorial-news, .editorial-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .guide-card {
        min-height: 78px;
        gap: 12px;
        padding: 14px;
    }

    .home-features {
        padding: 36px 0;
    }

    .editorial-layout {
        gap: 14px;
    }

    .faq-list summary {
        padding-inline: 17px;
    }

    .faq-answer {
        padding-inline: 17px;
    }

    #sideMenu {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .home :is(.feature img, .news-card), .header-panel, .nav-backdrop {
        transition: none;
    }
}

.fancybox-content.auth-dialog {
    width: min(740px, calc(100vw - 24px)) !important;
    max-width: 100%;
    min-height: 0;
    padding: 0 !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 24px 90px #10141d55;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(150px, 31%) minmax(0, 1fr);
}

.auth-visual {
    background: linear-gradient(155deg, #161b226b, #161b220d), url("../images/hero.jpg") 57% center / cover;
}

.auth-main {
    padding: 34px clamp(22px, 5vw, 46px) 28px;
}

.auth-dialog [hidden] {
    display: none !important;
}

.auth-heading {
    margin-bottom: 22px;
}

.auth-heading h2 {
    margin: 0 0 6px;
    font-size: clamp(1.55rem, 4vw, 2rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.04em;
}

.auth-heading p {
    margin: 0;
    color: var(--muted);
}

.auth-field {
    margin-bottom: 13px;
}

.auth-field label {
    display: block;
    margin-bottom: 5px;
    font-size: .9rem;
    font-weight: 650;
    color: var(--ink);
}

.auth-field input {
    display: block;
    width: 100%;
    min-height: 46px;
    background: #fafaf9;
    padding: 8px 12px;
    color: var(--ink);
    border: 1px solid #d8dcde;
    border-radius: 9px;
    font-size: 16px;
}

.auth-field input:focus {
    background: #fff;
    border-color: var(--accent);
    outline: 2px solid var(--accent-soft);
    outline-offset: 0;
}

.auth-password {
    position: relative;
}

.auth-password input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    inset: 4px 4px 4px auto;
    width: 38px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
    font-size: 16px;
}

.password-toggle:hover {
    background: #eceeef;
    color: var(--ink);
}

.auth-text {
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.auth-text:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-recover {
    font-size: .88rem;
    margin-bottom: 16px;
}

.auth-form .auth-submit {
    width: 100%;
    min-height: 46px;
    box-shadow: none;
    font-weight: 700;
}

.auth-form .auth-submit:disabled {
    cursor: wait;
    opacity: .72;
}

.auth-form .auth-feedback {
    margin: 0 0 12px;
    padding: 9px 12px;
    border-radius: 8px;
    background: #faeef0;
    color: #8d1725;
    font-size: .86rem;
}

.auth-form .auth-feedback.is-success {
    background: #e9f6ee;
    color: #1f6b4a;
}

.auth-footer {
    margin-top: 17px;
    text-align: center;
    color: var(--muted);
    font-size: .91rem;
}

.auth-challenge {
    max-width: 10rem;
}

.member-area {
    padding: clamp(28px, 5vw, 58px) 0 20px;
}

.member-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 25px;
}

.member-heading h1 {
    font-size: clamp(2.15rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.05em;
}

.member-heading p {
    color: var(--muted);
    margin-top: 6px;
}

.member-area .stat-card {
    border-radius: var(--radius-lg);
    padding: 24px;
}

.member-area .stat-card:first-child {
    background: #161b22;
    border-color: #161b22;
}

.member-area .stat-card:first-child :is(.label, .meta, .value span) {
    color: #d0d6de;
}

.member-area .stat-card:first-child .value {
    color: #fff;
}

.member-area .stat-card:first-child .risk-meter .track {
    background: #414a57;
}

.member-area .risk-meter.safe .risk-badge {
    background: #233b33;
    color: #a3e1be;
}

.member-area .risk-meter.warn .risk-badge {
    background: #423023;
    color: #ffdc9d;
}

.member-area .risk-meter.crit .risk-badge {
    background: #4b2029;
    color: #ffd0d4;
}

.member-area .dash-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 30px;
    gap: 12px;
}

.member-area .dash-actions a {
    min-width: 0;
    border-radius: 12px;
    padding: 17px 15px 17px 60px;
    line-height: 1.36;
    box-shadow: none;
}

.member-area .dash-actions strong,
.member-area .dash-actions span {
    display: block;
}

.member-area .dash-actions strong {
    color: var(--ink);
    font-size: 1rem;
}

.member-area .dash-actions span {
    margin-top: 3px;
    color: var(--muted);
}

.member-area .dash-actions i {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    text-align: center;
    font-size: 22px;
    color: var(--accent);
}

.member-history h2 {
    margin-bottom: 12px;
    font-size: 1.45rem;
    letter-spacing: -.03em;
}

.member-history .empty-state {
    border-style: solid;
    padding: 32px 20px;
}

@media (max-width: 620px) {
    .auth-layout, .member-area .dash-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-visual {
        display: none;
    }

    .auth-main {
        padding: 28px 20px 22px;
    }

    .member-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .member-area .dash-actions a {
        padding-block: 13px;
    }
}

.member-header-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    order: 1;
}

.member-home-link,
.member-account summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 650;
    white-space: nowrap;
}

.member-home-link[aria-current="page"],
.member-home-link:hover,
.member-account[open] summary {
    color: var(--accent);
    background: #faf0f1;
    border-color: #ead4d7;
}

.member-account {
    position: relative;
}

.member-account summary {
    padding-left: 6px;
    list-style: none;
    cursor: pointer;
}

.member-account summary::-webkit-details-marker {
    display: none;
}

.member-avatar {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #1b222c;
    color: #fff;
    font-size: .875rem;
    font-weight: 750;
}

.member-account-menu {
    position: absolute;
    z-index: 5;
    inset: calc(100% + 9px) 0 auto auto;
    width: min(275px, calc(100vw - 30px));
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 36px #20273324;
}

.member-account-id {
    padding: 11px 11px 12px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 4px;
    overflow-wrap: anywhere;
}

.member-account-id > * {
    display: block;
}

.member-account-id small {
    margin-top: 2px;
    color: var(--muted);
}

.member-account-menu > button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 0 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.member-account-menu > button:hover {
    background: var(--bg);
}

.member-account-menu > button i,
.member-account-menu #logout {
    color: var(--accent);
}

.member-header .header-actions {
    margin-left: auto;
}

.member-header .nav-toggle {
    order: 2;
    flex-shrink: 0;
}

.member-page-feedback {
    width: min(var(--max), calc(100% - 32px));
    margin: 16px auto 0;
}

.member-feedback,
.member-page-feedback {
    padding: 9px 12px;
    border-radius: 8px;
    background: #fbeced;
    color: #90121d;
    font-size: .875rem;
    line-height: 1.45;
}

.member-feedback.is-success,
.member-page-feedback {
    background: #edf7ef;
    color: #1f6337;
}

.member-dialog[open] {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: auto;
    top: calc(var(--member-viewport-top, 0px) + var(--member-viewport-height, 100dvh) / 2);
    left: calc(var(--member-viewport-left, 0px) + var(--member-viewport-width, 100vw) / 2);
    transform: translate(-50%, -50%);
    width: min(510px, calc(var(--member-viewport-width, 100vw) - 24px));
    max-width: none;
    max-height: calc(var(--member-viewport-height, 100dvh) - 24px);
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 24px 64px #10131e40;
}

.member-dialog.is-compact .member-dialog-head {
    padding-top: 12px;
}

.member-dialog.is-compact .member-dialog-icon {
    display: none;
}

.member-dialog.is-compact .member-dialog-body {
    padding-block: 12px;
}

.member-dialog.is-compact .member-dialog-actions {
    padding-block: 8px;
}

.member-dialog::backdrop {
    background: #17202ac2;
}

html:has(.member-dialog[open]) {
    overflow: hidden;
}

.member-dialog-head {
    flex: none;
    position: relative;
    padding: 24px 26px 0;
}

.member-dialog-head h2 {
    margin: 9px 35px 0 0;
    font-size: clamp(1.4rem, 5vw, 1.72rem);
    line-height: 1.14;
    letter-spacing: -.04em;
}

.member-dialog-head p {
    margin: 7px 0 0;
    color: var(--muted);
    line-height: 1.45;
}

.member-dialog-icon,
.member-dialog-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.member-dialog-icon {
    background: #f0f2f5;
    color: var(--ink);
    font-size: 20px;
}

.member-dialog-icon.is-danger {
    background: #faedef;
    color: var(--accent);
}

.member-dialog-close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 17px;
    cursor: pointer;
}

.member-dialog-close:hover {
    background: var(--bg);
}

.member-form {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.member-dialog-body {
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    display: grid;
    gap: 14px;
    padding: 20px 26px;
}

.member-dialog-body:has(> .member-feedback:only-child[hidden]) {
    display: none;
}

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

.member-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.member-field label {
    font-size: .875rem;
    font-weight: 700;
}

.member-field label span,
.member-field small {
    padding-left: 4px;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 400;
}

.member-field :is(input, select, textarea) {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #ccd1d5;
    border-radius: 9px;
    background: #f8f9fa;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
}

.member-field .auth-password input {
    padding-right: 50px;
}

.member-field textarea {
    min-height: 78px;
    resize: vertical;
}

.member-dialog-actions {
    flex: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 9px;
    padding: 14px 26px 19px;
    border-top: 1px solid var(--line);
    background: #f8f9fa;
}

.member-dialog-head + .member-form:has(.member-feedback:only-child[hidden]) .member-dialog-actions {
    margin-top: 18px;
}

.member-dialog-actions button {
    min-height: 44px;
    outline-offset: 2px;
    white-space: normal;
}

.member-dialog-actions .btn {
    margin: 0;
}

.member-dialog-actions button:disabled,
.member-account-menu button:disabled {
    cursor: wait;
    opacity: .6;
}

.member-secondary,
.member-danger-link {
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: .875rem;
    font-weight: 650;
    cursor: pointer;
}

.member-danger-link {
    margin-right: auto;
    padding-left: 0;
    border: 0;
    background: transparent;
    color: var(--accent);
}

.member-secondary:hover {
    background: #eff1f3;
}

.member-danger-link:hover {
    text-decoration: underline;
}

.member-history .point-row .puncteAc.sterge {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.member-history .point-row .puncteAc.sterge:hover {
    background: #faedef;
}

.member-history .point-row {
    overflow-wrap: anywhere;
}

.member-history .point-row.expirat {
    opacity: 1;
}

@media (max-width: 760px) {
    .member-header .inside {
        gap: 8px;
    }

    .member-header .logo-mark img {
        height: 31px;
    }

    .member-account-menu {
        position: fixed;
        inset: 69px 12px auto auto;
        width: min(275px, calc(100vw - 24px));
        max-height: calc(100dvh - 81px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .member-header-tools {
        margin-left: auto;
        z-index: 3;
    }

    .member-header .header-panel,
    body.nav-open .member-header-tools {
        visibility: hidden;
    }

    body.nav-open .member-header .header-panel {
        visibility: visible;
    }

    .member-home-link,
    .member-account summary {
        min-width: 44px;
        padding: 0 6px;
    }

    .member-home-link span,
    .member-account-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

@media (max-width: 620px) {
    .member-heading .btn {
        align-self: stretch;
        justify-content: center;
        text-align: center;
    }

    .member-dialog-head,
    .member-dialog-body,
    .member-dialog-actions {
        padding-inline: 18px;
    }

    .member-dialog-head {
        padding-top: 16px;
    }

    .member-dialog-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 380px) {
    .member-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .member-dialog-actions .btn {
        flex: 1 1 auto;
    }
}

.member-history .point-row .point-label {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 650;
}

.member-history .point-row .col::before {
    content: none;
}

@media (max-width: 799px) {
    .member-history .point-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 16px;
    }

    .member-history .point-row :is(.tip1, .tip4) {
        grid-column: 1 / -1;
    }

    .member-history .point-row .tip1 {
        padding-right: 50px;
    }
}

@media (max-width: 760px), (hover: none) and (pointer: coarse) {
    .form.modaller .line :is(input.text, select, textarea) {
        font-size: 16px;
    }
}

.home-rules {
    padding-top: 44px;
}

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

.home-rules-grid article {
    padding: clamp(16px, 2vw, 23px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
}

.home-rules-grid h3 {
    margin: 0 0 9px;
    font-size: 1.08rem;
    line-height: 1.3;
}

.home-rules-grid p,
.home-account-note {
    color: var(--ink-soft);
    line-height: 1.55;
}

.home-account-note {
    margin: 15px 0 0;
}

.home-rules a,
.breadcrumbs a {
    color: var(--accent-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.breadcrumbs {
    margin-bottom: 14px;
    font-size: .875rem;
    color: var(--muted);
}

.breadcrumbs ol {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs li:not(:first-child)::before {
    content: '/';
    margin-inline-end: 6px;
}

.article-date {
    color: var(--muted);
    font-size: .9rem;
}

@media (max-width: 760px) {
    .home-rules-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
