.glph-dashboard,
.glph-dashboard * {
    box-sizing: border-box;
}

.glph-dashboard {
    width: 100%;
    padding: 50px 30px;
    background: #000000;
    color: #ffffff;
    font-family: "Inter", sans-serif;
}

.glph-dashboard__intro {
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
}

.glph-dashboard__eyebrow {
    margin: 0 0 12px;
    color: #bf5388;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.glph-dashboard__intro h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-family: "Cinzel", serif;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.2;
}

.glph-dashboard__intro p {
    margin: 0 auto;
    max-width: 720px;
    color: #d4cdd2;
    font-size: 17px;
    line-height: 1.8;
}

.glph-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}

.glph-dashboard__card {
    min-width: 0;
    padding: 28px;
    border: 1px solid rgba(191, 83, 136, 0.45);
    background: #0b090a;
}

.glph-dashboard__number {
    display: block;
    margin-bottom: 14px;
    color: #bf5388;
    font-family: "Cinzel", serif;
    font-size: 42px;
    font-weight: 700;
}

.glph-dashboard__card h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-family: "Cinzel", serif;
    font-size: 20px;
    line-height: 1.4;
}

.glph-dashboard__card p {
    margin: 0;
    color: #bdb4ba;
    font-size: 15px;
    line-height: 1.7;
}

.glph-message {
    width: 100%;
    padding: 25px;
    border: 1px solid #bf5388;
    background: #000000;
    color: #ffffff;
    text-align: center;
}

@media screen and (max-width: 980px) {
    .glph-dashboard {
        padding: 42px 22px;
    }

    .glph-dashboard__grid {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
}

@media screen and (max-width: 600px) {
    .glph-dashboard {
        padding: 34px 16px;
    }

    .glph-dashboard__intro {
        margin-bottom: 30px;
    }

    .glph-dashboard__intro p {
        font-size: 15px;
        line-height: 1.7;
    }

    .glph-dashboard__card {
        padding: 23px 20px;
    }
}

.glph-review-card__wiki {
    margin: 22px 0;
    padding: 20px;
    border: 1px solid rgba(191, 83, 136, 0.42);
    background: #080607;
}

.glph-application,
.glph-application * {
    box-sizing: border-box;
}

.glph-application {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 48px 38px;
    border: 1px solid rgba(191, 83, 136, 0.48);
    background: #050405;
    color: #ffffff;
    font-family: "Inter", sans-serif;
}

.glph-application__header {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.glph-application__eyebrow {
    margin: 0 0 10px;
    color: #bf5388;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.glph-application__header h2 {
    margin: 0 0 15px;
    color: #ffffff;
    font-family: "Cinzel", serif;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
}

.glph-application__header p:last-child {
    margin: 0;
    color: #d4cdd2;
    font-size: 16px;
    line-height: 1.75;
}

.glph-application__notice {
    margin: 0 0 26px;
    padding: 16px 18px;
    border: 1px solid #bf5388;
    background: #110b0e;
    line-height: 1.6;
}

.glph-application__notice--error {
    border-color: #b64a4a;
}

.glph-application__form,
.glph-application__form label {
    display: block;
    min-width: 0;
}

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

.glph-application__form label {
    margin: 0 0 22px;
}

.glph-application__form label > span:first-child {
    display: block;
    margin: 0 0 9px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.glph-application__form input[type="text"],
.glph-application__form input[type="email"],
.glph-application__form input[type="url"],
.glph-application__form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 13px 14px;
    border: 1px solid #54444c;
    border-radius: 0;
    outline: 0;
    background: #0c090b;
    color: #ffffff;
    font: inherit;
}

.glph-application__form textarea {
    min-height: 170px;
    resize: vertical;
}

.glph-application__form input:focus,
.glph-application__form textarea:focus {
    border-color: #bf5388;
    box-shadow: 0 0 0 2px rgba(191, 83, 136, 0.16);
}

.glph-application__consent {
    display: flex !important;
    align-items: flex-start;
    gap: 11px;
    color: #c9c0c5;
    font-size: 13px;
    line-height: 1.6;
}

.glph-application__consent input {
    flex: 0 0 auto;
    margin-top: 4px;
    accent-color: #bf5388;
}

.glph-application__consent span {
    margin: 0 !important;
    font-weight: 400 !important;
}

.glph-application__form button {
    display: block;
    width: fit-content;
    min-width: 230px;
    margin: 8px auto 0;
    padding: 14px 24px;
    border: 1px solid #bf5388;
    background: #bf5388;
    color: #ffffff;
    font-family: "Cinzel", serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.glph-application__form button:hover,
.glph-application__form button:focus {
    background: transparent;
}

@media screen and (max-width: 760px) {
    .glph-application {
        padding: 38px 24px;
    }

    .glph-application__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media screen and (max-width: 480px) {
    .glph-application {
        padding: 32px 17px;
    }

    .glph-application__header p:last-child {
        font-size: 15px;
    }

    .glph-application__form button {
        width: 100%;
        min-width: 0;
    }
}

.glph-review-card__wiki legend {
    padding: 0 8px;
    color: #ffffff;
    font-family: "Cinzel", serif;
    font-weight: 700;
}

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

.glph-review-card__wiki-grid select {
    width: 100%;
}

.glph-reading-journal {
    width: 100%;
    padding: 45px 30px;
    background: #000000;
    color: #ffffff;
    font-family: "Inter", sans-serif;
}

.glph-reading-journal__header {
    max-width: 780px;
    margin: 0 auto 38px;
    text-align: center;
}

.glph-reading-journal__header h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-family: "Cinzel", serif;
    font-size: clamp(28px, 4vw, 44px);
}

.glph-reading-journal__header p {
    color: #d4cdd2;
    line-height: 1.75;
}

.glph-reading-journal__eyebrow {
    margin-bottom: 8px !important;
    color: #bf5388 !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.glph-reading-journal__grid {
    display: grid;
    gap: 22px;
    max-width: 1050px;
    margin: 0 auto;
}

.glph-reading-journal .glph-community-review {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: start;
    padding: 24px;
    border: 1px solid rgba(191, 83, 136, 0.3);
    background: #0b090a;
}

.glph-reading-journal .glph-community-review h3 {
    margin: 0 0 7px;
    color: #ffffff;
    font-family: "Cinzel", serif;
    font-size: 20px;
}

.glph-reading-journal .glph-community-review p {
    margin: 0;
    color: #c8bec3;
}

.glph-reading-journal .glph-community-review__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 15px;
    border: 1px solid #bf5388;
    color: #bf5388 !important;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.glph-reading-journal .glph-community-review__link:hover,
.glph-reading-journal .glph-community-review__link:focus-visible {
    background: #bf5388;
    color: #ffffff !important;
}

.glph-community-review__body {
    margin-top: 16px;
    color: #e9e3e7;
    line-height: 1.8;
}

.glph-community-review__author {
    color: #ffffff !important;
    font-weight: 700;
    text-decoration-color: #bf5388;
    text-underline-offset: 3px;
}

.glph-community-review__spoiler {
    margin-top: 18px;
    border: 1px solid rgba(191, 83, 136, 0.5);
    background: #050405;
}

.glph-community-review__spoiler summary {
    padding: 12px 15px;
    color: #bf5388;
    font-weight: 800;
    cursor: pointer;
}

.glph-community-review__spoiler > div {
    padding: 0 15px 15px;
    color: #e9e3e7;
    line-height: 1.8;
}

.glph-public-profile,
.glph-wiki-reviews {
    box-sizing: border-box;
}

.glph-public-profile__back {
    display: inline-flex;
    margin: 0 0 28px;
    color: #bf5388 !important;
    font-weight: 700;
}

.glph-public-profile__header {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 35px;
    padding: 28px;
    border: 1px solid rgba(191, 83, 136, 0.42);
    background: #0b090a;
}

.glph-public-profile__header h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-family: "Cinzel", serif;
}

.glph-public-profile__avatar {
    display: flex;
    width: 140px;
    height: 140px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #bf5388;
    border-radius: 50%;
    background: #050405;
    color: #ffffff;
    font-family: "Cinzel", serif;
    font-size: 44px;
    font-weight: 700;
}

.glph-public-profile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.glph-public-profile__favorites,
.glph-public-profile__reviews-title {
    max-width: 1050px;
    margin-right: auto;
    margin-left: auto;
}

.glph-public-profile__favorites {
    margin-bottom: 38px;
}

.glph-public-profile__favorites h3,
.glph-public-profile__reviews-title {
    color: #ffffff;
    font-family: "Cinzel", serif;
}

.glph-wiki-reviews {
    width: 100%;
    margin-top: 45px;
    padding: 35px 25px;
    border-top: 1px solid rgba(191, 83, 136, 0.55);
    background: #000000;
    color: #ffffff;
}

.glph-wiki-reviews > h2 {
    margin: 0 0 25px;
    color: #ffffff;
    font-family: "Cinzel", serif;
}

.glph-community-review__wiki {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.glph-community-review__wiki a {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 12px;
    border: 1px solid rgba(191, 83, 136, 0.55);
    color: #ffffff;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.glph-community-review__wiki a:hover,
.glph-community-review__wiki a:focus-visible {
    border-color: #bf5388;
    background: rgba(191, 83, 136, 0.12);
}

.glph-community-review__wiki span {
    color: #bf5388;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media screen and (max-width: 700px) {
    .glph-review-card__wiki-grid {
        grid-template-columns: 1fr;
    }

    .glph-reading-journal {
        padding: 34px 16px;
    }

    .glph-reading-journal .glph-community-review {
        grid-template-columns: 1fr;
    }

    .glph-reading-journal .glph-community-review__link {
        width: 100%;
    }

    .glph-public-profile__header {
        grid-template-columns: 1fr;
        padding: 22px 18px;
        text-align: center;
    }

    .glph-public-profile__avatar {
        width: 110px;
        height: 110px;
        margin: 0 auto;
    }

    .glph-wiki-reviews {
        padding: 30px 16px;
    }
}
