@font-face {
    font-family: "Ghastly Panic";
    src: url("fonts/GhastlyPanic.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   GENERAL
   ========================================================= */

html {
    background: #000000;
}


body {
    margin: 0;
    padding: 0;

    background: #000000;
    color: #c8c8c8;

    font-family: "Times New Roman", Times, serif;
    font-size: 16px;
}


/* =========================================================
   PAGE
   ========================================================= */

.page {
    width: 92%;
    max-width: 1050px;

    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.top {
    padding-top: 35px;
    padding-bottom: 80px;

    text-align: center;
}


.site-name {
    font-family: "Ghastly Panic", serif;

    color: #cc3333;

    font-size: 60px;
    font-weight: normal;

    letter-spacing: 4px;

    line-height: 1;
}


/* =========================================================
   ACCOUNT BAR
   ========================================================= */

.account-links {
    position: absolute;

    top: 14px;
    left: 18px;

    font-family: "Times New Roman", Times, serif;

    font-size: 13px;

    z-index: 10;
}


.account-links a {
    color: #3366cc;

    text-decoration: underline;
}


.account-links a:visited {
    color: #3366cc;
}


.account-links a:hover {
    color: #ffffff;
}


.account-links span {
    color: #555555;

    margin: 0 5px;
}


.account-name {
    text-decoration: underline;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.layout {
    display: flex;

    align-items: flex-start;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.side {
    width: 170px;

    flex-shrink: 0;

    padding-right: 55px;
}


.side p {
    margin-top: 0;
    margin-bottom: 38px;
}


.side-section {
    margin-top: 65px;
}


/* =========================================================
   PUBLIC / PRIVATE
   ========================================================= */

.public-section {
    margin-bottom: 70px;
}


.private-section {
    margin-top: 20px;
}


.side-title {
    color: #777777;
}


.public-title {
    color: #777777;

    font-size: 13px;

    letter-spacing: 1px;
}


.private-title {
    color: #777777;

    font-size: 13px;

    letter-spacing: 2px;
}


.private-mark {
    display: block;

    margin-top: 6px;

    color: #555555;

    font-size: 10px;

    letter-spacing: 1px;
}


.private-section p {
    margin-bottom: 38px;
}


/* =========================================================
   MAIN
   ========================================================= */

.main {
    width: 100%;
    max-width: 650px;

    padding-bottom: 40px;

    line-height: 1.9;
}


.main h1 {
    margin-top: 0;
    margin-bottom: 45px;

    color: #cc3333;

    font-size: 23px;
    font-weight: normal;
}


.main h2 {
    margin-top: 70px;
    margin-bottom: 35px;

    color: #cc3333;

    font-size: 19px;
    font-weight: normal;
}


.main p {
    margin-top: 0;
    margin-bottom: 45px;
}


.intro {
    color: #eeeeee;
}


.date {
    color: #777777;
}


/* =========================================================
   LINKS
   ========================================================= */

a {
    color: #cc3333;

    text-decoration: underline;
}


a:visited {
    color: #8d2525;
}


a:hover {
    color: #ffffff;
}


/* =========================================================
   STATUS
   ========================================================= */

.status {
    color: #777777;

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 60px !important;
}


.status span {
    color: #cc3333;
}


/* =========================================================
   NOTICE
   ========================================================= */

.notice {
    color: #999999;

    margin-top: 65px !important;
    margin-bottom: 70px !important;
}


/* =========================================================
   END MARK
   ========================================================= */

.end-mark {
    margin-top: 100px !important;

    color: #555555;

    font-size: 13px;

    letter-spacing: 1px;
}


/* =========================================================
   RETURN
   ========================================================= */

.return {
    margin-top: 80px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    padding-top: 70px;
    padding-bottom: 35px;

    color: #555555;

    font-size: 12px;
}


/* =========================================================
   UPDATES
   ========================================================= */

.update-entry {
    margin-bottom: 70px;
}


.update-date {
    color: #777777;

    margin-bottom: 20px !important;
}


/* =========================================================
   RESTRICTED PAGE
   ========================================================= */

.restriction-code {
    color: #666666;

    font-size: 13px;

    line-height: 1.8;

    margin-bottom: 65px !important;
}


.permission-message {
    color: #cc3333;

    font-size: 18px;

    margin-bottom: 45px !important;
}


.restriction-warning {
    color: #777777;

    margin-top: 65px !important;
}


/* =========================================================
   FORMS
   ========================================================= */

.old-form {
    margin-top: 55px;
    margin-bottom: 65px;
}


.form-row {
    margin-bottom: 32px;
}


.form-row label {
    display: block;

    margin-bottom: 8px;

    color: #999999;
}


.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"] {

    width: 260px;

    padding: 4px 5px;

    background: #000000;
    color: #cccccc;

    border: 1px solid #666666;

    font-family: "Times New Roman", Times, serif;

    font-size: 15px;

    outline: none;
}


.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus,
.form-row input[type="password"]:focus {

    border-color: #999999;
}


.form-submit {
    margin-top: 45px;
}


.form-submit input {
    padding: 3px 12px;

    background: #d4d0c8;
    color: #000000;

    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;

    border-right: 2px solid #555555;
    border-bottom: 2px solid #555555;

    font-family: "Times New Roman", Times, serif;

    font-size: 14px;

    cursor: pointer;
}


.form-submit input:active {
    border-top: 2px solid #555555;
    border-left: 2px solid #555555;

    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}


.login-note,
.registration-note {
    color: #cc3333;
}


.form-info {
    color: #666666;

    font-size: 13px;

    max-width: 480px;
}


.form-error {
    color: #cc3333;

    margin-top: 40px;
    margin-bottom: 40px;
}


.form-success {
    color: #888888;

    margin-top: 35px;
    margin-bottom: 35px;
}


/* =========================================================
   PRIVATE AREA
   ========================================================= */

.private-status {
    color: #777777;

    font-size: 13px;

    line-height: 1.9;

    margin-bottom: 60px !important;
}


.private-status span {
    color: #cc3333;
}


.private-welcome {
    color: #cc3333;

    font-size: 18px;

    margin-bottom: 40px !important;
}


/* =========================================================
   PROFILE
   ========================================================= */

.profile-section-title {
    margin-top: 70px !important;
}


.profile-header {
    display: flex;

    align-items: flex-start;

    gap: 35px;

    margin-top: 45px;
    margin-bottom: 70px;
}


.profile-avatar {
    width: 130px;
    height: 130px;

    flex-shrink: 0;
}


.profile-avatar img {
    display: block;

    width: 130px;
    height: 130px;

    object-fit: cover;

    border: 1px solid #555555;
}


.no-avatar {
    width: 128px;
    height: 128px;

    border: 1px solid #555555;

    color: #555555;

    font-size: 11px;

    display: flex;

    align-items: center;
    justify-content: center;
}


.profile-information {
    color: #777777;

    font-size: 13px;

    line-height: 2;
}


.profile-username {
    font-size: 20px !important;

    margin-bottom: 20px !important;
}


.profile-bio {
    max-width: 550px;
}


.profile-empty {
    color: #666666;

    font-style: italic;
}


.profile-form textarea {
    display: block;

    width: 380px;
    max-width: 100%;

    padding: 6px;

    background: #000000;
    color: #cccccc;

    border: 1px solid #666666;

    font-family: "Times New Roman", Times, serif;

    font-size: 15px;

    resize: vertical;

    outline: none;
}


.profile-form textarea:focus {
    border-color: #999999;
}


.profile-form input[type="file"] {
    color: #999999;

    font-family: "Times New Roman", Times, serif;
}


.field-note {
    margin-top: 8px;

    color: #555555;

    font-size: 12px;
}


/* =========================================================
   MEMBER DIRECTORY
   ========================================================= */

.members-list {
    margin-top: 65px;
}


.member-entry {
    display: flex;

    align-items: flex-start;

    gap: 25px;

    margin-bottom: 55px;
}


.member-avatar-small {
    width: 70px;
    height: 70px;

    flex-shrink: 0;
}


.member-avatar-small img {
    display: block;

    width: 70px;
    height: 70px;

    object-fit: cover;

    border: 1px solid #444444;
}


.member-no-avatar {
    width: 68px;
    height: 68px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #444444;

    color: #555555;

    font-size: 20px;
}


.member-data p {
    margin-bottom: 12px;
}


.member-name {
    font-size: 17px;
}


.member-meta {
    color: #666666;

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================================
   RANK SYSTEM
   ========================================================= */

.user-rank {
    display: inline-block;

    font-size: 12px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* MEMBER */

.rank-member {
    color: #55bb66;
}


/* ELDER MEMBER */

.rank-elder {
    color: #3fd6cf;
}


/* MODERATOR */

.rank-moderator {
    color: #ff6fae;
}


/* ADMINISTRATOR */

.rank-administrator {
    color: #d4af37;

    background: linear-gradient(
        90deg,
        #8c6a16,
        #d4af37,
        #fff1a8,
        #d4af37,
        #8c6a16
    );

    background-size: 300% 100%;

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    animation:
        administrator-shimmer
        3s
        linear
        infinite;
}


@keyframes administrator-shimmer {

    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: -100% 50%;
    }

}


/* =========================================================
   RANK USERNAMES
   ========================================================= */

.rank-username {
    text-decoration: underline;
}


a.rank-member {
    color: #55bb66;
}


a.rank-elder {
    color: #3fd6cf;
}


a.rank-moderator {
    color: #ff6fae;
}


a.rank-administrator {
    color: #d4af37;
}


.account-links a.rank-member {
    color: #55bb66;
}


.account-links a.rank-elder {
    color: #3fd6cf;
}


.account-links a.rank-moderator {
    color: #ff6fae;
}


.account-links a.rank-administrator {
    color: #d4af37;
}


.rank-username:hover {
    filter: brightness(1.35);
}


/* =========================================================
   ADMINISTRATION
   ========================================================= */

.admin-title {
    margin-top: 70px !important;

    color: #d4af37 !important;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 1px;
}


.admin-panel-link {
    font-weight: bold !important;

    letter-spacing: 1px;
}


.admin-heading {
    font-weight: bold !important;

    background: linear-gradient(
        90deg,
        #8c6a16,
        #d4af37,
        #fff1a8,
        #d4af37,
        #8c6a16
    );

    background-size: 300% 100%;

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    animation:
        administrator-shimmer
        3s
        linear
        infinite;
}


.admin-message {
    color: #999999;

    margin-top: 40px !important;
    margin-bottom: 40px !important;
}


.new-invitation {
    margin-top: 50px;
    margin-bottom: 70px;
}


.invite-code {
    color: #3366cc;

    font-size: 20px;

    letter-spacing: 2px;
}


.admin-users {
    margin-top: 50px;
}


.admin-user-entry {
    margin-bottom: 70px;
}


.admin-user-name {
    margin-bottom: 15px !important;
}


.admin-user-name a {
    font-size: 18px;
}


.admin-user-name .user-rank {
    margin-left: 15px;
}


.admin-user-meta {
    color: #666666;

    font-size: 12px;

    line-height: 1.8;

    margin-bottom: 25px !important;
}


.admin-rank-form {
    margin-top: 20px;
    margin-bottom: 35px;
}


.admin-rank-form select {
    margin-right: 10px;

    padding: 3px;

    background: #000000;
    color: #cccccc;

    border: 1px solid #666666;

    font-family: "Times New Roman", Times, serif;
}


.admin-rank-form input[type="submit"],
.admin-inline-form input[type="submit"] {

    padding: 3px 10px;

    background: #d4d0c8;
    color: #000000;

    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;

    border-right: 2px solid #555555;
    border-bottom: 2px solid #555555;

    font-family: "Times New Roman", Times, serif;

    font-size: 13px;

    cursor: pointer;
}


.admin-inline-form {
    margin-top: 25px;
    margin-bottom: 35px;
}


.invitation-history {
    margin-top: 45px;
}


.invite-entry {
    margin-bottom: 55px;
}


.invite-used {
    color: #777777;
}


.invite-unused {
    color: #55bb66;
}


/* =========================================================
   BAN SYSTEM
   ========================================================= */

.ban-form {
    margin-top: 35px;
    margin-bottom: 50px;
}


.ban-form label {
    display: block;

    margin-top: 18px;
    margin-bottom: 7px;

    color: #777777;
}


.ban-form select {
    padding: 3px;

    background: #000000;
    color: #cccccc;

    border: 1px solid #666666;

    font-family: "Times New Roman", Times, serif;
}


.ban-form textarea {
    display: block;

    width: 360px;
    max-width: 100%;

    padding: 6px;

    background: #000000;
    color: #cccccc;

    border: 1px solid #666666;

    font-family: "Times New Roman", Times, serif;

    resize: vertical;

    margin-bottom: 20px;
}


.ban-form input[type="submit"] {
    padding: 3px 10px;

    background: #d4d0c8;
    color: #000000;

    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;

    border-right: 2px solid #555555;
    border-bottom: 2px solid #555555;

    font-family: "Times New Roman", Times, serif;

    cursor: pointer;
}


.user-banned {
    color: #cc3333;

    font-size: 13px;

    letter-spacing: 1px;
}


.ban-reason {
    color: #999999;
}


.ban-review {
    color: #d4af37;

    font-size: 13px;

    letter-spacing: 1px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .page {
        width: 88%;
    }


    .top {
        padding-top: 60px;
        padding-bottom: 60px;
    }


    .site-name {
        font-size: 45px;

        letter-spacing: 2px;
    }


    .account-links {
        position: absolute;

        top: 12px;
        left: 6%;

        right: 6%;

        line-height: 1.8;
    }


    .layout {
        display: block;
    }


    .side {
        width: auto;

        padding-right: 0;
        padding-bottom: 50px;
    }


    .side p {
        margin-bottom: 25px;
    }


    .side-section {
        margin-top: 45px;
    }


    .main {
        max-width: none;
    }


    .profile-header {
        display: block;
    }


    .profile-information {
        margin-top: 30px;
    }


    .member-entry {
        gap: 18px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .rank-administrator,
    .admin-heading {
        animation: none;
    }

}