/* The site forum (ForumController): sections, topics, posts signed by a character. */

.forum-page {
    display: grid;
    gap: 14px;
    padding: 20px 22px;
    border: 1px solid rgba(240, 198, 116, .3);
    border-radius: 14px;
    background: rgba(10, 12, 16, .9);
    color: rgba(238, 242, 255, .85);
}

.forum-page a {
    color: #f0c674;
    text-decoration: none;
}

.forum-post__text a:hover {
    text-decoration: underline;
}

/* Rows answer the pointer with their frame, not with underlined text (owner, 2026-10-25). */
.forum-section:hover,
.forum-topic:hover {
    border-color: rgba(240, 198, 116, .45);
    background: rgba(28, 23, 16, .85);
}

.forum-section__main:hover strong,
.forum-topic__main > a:hover {
    color: #f6d78b;
}

.forum-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.forum-trail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 14px;
}

.forum-trail b {
    overflow: hidden;
    max-width: 50ch;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-trail span {
    color: rgba(238, 242, 255, .4);
}


.forum-title {
    margin: 0;
    color: #fff;
    font-size: 26px;
    overflow-wrap: anywhere;
}

.forum-sub {
    margin: -6px 0 0;
    color: rgba(238, 242, 255, .65);
    font-size: 14px;
}

.forum-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.forum-note {
    margin: 0;
    padding: 10px 14px;
    border: 1px solid rgba(74, 222, 128, .4);
    border-radius: 10px;
    background: rgba(74, 222, 128, .07);
    color: #a7f0b4;
    font-size: 14px;
}

.forum-note--bad {
    border-color: rgba(248, 113, 113, .45);
    background: rgba(248, 113, 113, .08);
    color: #fca5a5;
}

.forum-note--soft {
    border-color: rgba(240, 198, 116, .3);
    background: rgba(240, 198, 116, .06);
    color: rgba(238, 242, 255, .8);
}

.forum-sign {
    display: flex;
    justify-content: flex-end;
    font-size: 13px;
}

.forum-sign label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(238, 242, 255, .65);
}

.forum-page select,
.forum-page input[type="text"],
.forum-page textarea {
    padding: 8px 10px;
    border: 1px solid rgba(240, 198, 116, .3);
    border-radius: 8px;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    font: inherit;
    font-size: 14px;
}

.forum-page textarea {
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    line-height: 1.5;
}

.forum-button,
.forum-modbar button,
.forum-post__tools button,
.forum-edit summary {
    padding: 7px 14px;
    border: 1px solid rgba(240, 198, 116, .5);
    border-radius: 8px;
    background: transparent;
    color: #f0c674;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.forum-button {
    background: linear-gradient(180deg, #f6d48a, #c9952f);
    color: #1a1206;
    font-weight: 800;
}

.forum-page .is-bad {
    border-color: rgba(248, 113, 113, .55);
    background: transparent;
    color: #fca5a5;
}

/* sections and topic lists: one row each */
.forum-sections,
.forum-topics {
    display: grid;
    gap: 8px;
}

.forum-section,
.forum-topic {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 80px 80px minmax(0, 240px);
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    background: rgba(20, 17, 13, .75);
}

.forum-topic.is-pinned {
    border-color: rgba(240, 198, 116, .45);
}

.forum-section__main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.forum-section__main img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex: none;
}

.forum-section__main span,
.forum-topic__main {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.forum-section__main strong,
.forum-topic__main > a {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.forum-section__main small,
.forum-topic__main small,
.forum-section__last small {
    color: rgba(238, 242, 255, .6);
    font-size: 12px;
}

.forum-section__count {
    display: grid;
    text-align: center;
    line-height: 1.2;
}

.forum-section__count b {
    color: #fff;
    font-size: 16px;
}

.forum-section__count small {
    color: rgba(238, 242, 255, .5);
    font-size: 11px;
}

.forum-section__last {
    display: grid;
    gap: 3px;
    min-width: 0;
    font-size: 13px;
}

.forum-section__last > a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-flag {
    margin-right: 4px;
    font-style: normal;
}

.forum-empty,
.forum-foot {
    margin: 0;
    color: rgba(238, 242, 255, .6);
    font-size: 14px;
}

/* a character signature */
.forum-who {
    display: grid;
    justify-items: center;
    gap: 4px;
    text-align: center;
}

.forum-who__class {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.forum-who__name {
    font-size: 15px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.forum-who small {
    color: rgba(238, 242, 255, .6);
    font-size: 11px;
}

.forum-who__stats {
    display: flex;
    gap: 10px;
    font-size: 12px;
}

.forum-who__stats b {
    color: #fff;
}

.forum-who--line {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    vertical-align: middle;
}

.forum-who--line img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.forum-badge {
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.forum-badge--staff {
    background: linear-gradient(180deg, #f6d48a, #c9952f);
    color: #1a1206;
}

.forum-badge--mod {
    border: 1px solid rgba(96, 165, 250, .6);
    color: #93c5fd;
}

/* posts */
.forum-posts {
    display: grid;
    gap: 10px;
}

.forum-post {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(20, 17, 13, .75);
    scroll-margin-top: 90px;
}

.forum-post:target {
    border-color: rgba(240, 198, 116, .6);
}

.forum-post__who {
    padding: 16px 10px;
    border-right: 1px solid rgba(255, 255, 255, .06);
    background: rgba(0, 0, 0, .2);
    border-radius: 12px 0 0 12px;
}

.forum-post__body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 10px;
    min-width: 0;
    padding: 14px 16px;
}

.forum-post__head {
    display: flex;
    gap: 10px;
    font-size: 12px;
}

.forum-post__head a {
    color: rgba(238, 242, 255, .55);
}

.forum-post__head small {
    color: rgba(238, 242, 255, .4);
}

.forum-post__text {
    color: rgba(238, 242, 255, .9);
    font-size: 15px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.forum-quote {
    margin: 6px 0;
    padding: 8px 12px;
    border-left: 3px solid #c9952f;
    border-radius: 0 8px 8px 0;
    background: rgba(240, 198, 116, .07);
    color: rgba(238, 242, 255, .75);
    font-size: 14px;
}

.forum-quote cite {
    display: block;
    margin-bottom: 4px;
    color: #f0c674;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.forum-post__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
}

.forum-post__tools form {
    margin: 0;
}

/* Likes and reputation (owner, 2026-10-25). */
.forum-post__tools .forum-like,
.forum-like.is-static {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
    font-weight: 700;
}

.forum-post__tools .forum-like.is-on {
    border-color: rgba(232, 92, 92, .6);
    color: #ff7b7b;
}

.forum-post__tools .forum-like:hover {
    border-color: rgba(232, 92, 92, .6);
}

.forum-post__tools .forum-rep {
    border-color: rgba(120, 200, 140, .5);
    color: #8fd9a0;
}

.forum-who__rep b {
    color: #8fd9a0;
}

.forum-edit summary {
    display: inline-block;
    list-style: none;
}

.forum-edit summary::-webkit-details-marker {
    display: none;
}

.forum-edit[open] {
    flex-basis: 100%;
}

.forum-edit form {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    justify-items: start;
}

.forum-ban {
    grid-template-columns: auto minmax(0, 1fr) auto;
    width: 100%;
}

.forum-modbar {
    display: flex;
    gap: 6px;
}

/* forms */
.forum-form {
    display: grid;
    gap: 8px;
}

.forum-form[hidden] {
    display: none;
}

.forum-form__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.forum-form__row small {
    color: rgba(238, 242, 255, .5);
    font-size: 12px;
}

.forum-form--inline {
    display: flex;
    flex-wrap: wrap;
}

.forum-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.forum-pages a,
.forum-pages b,
.forum-pages span {
    min-width: 32px;
    padding: 5px 8px;
    border: 1px solid rgba(240, 198, 116, .3);
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

.forum-pages b {
    background: rgba(240, 198, 116, .2);
    color: #fff;
}

.forum-pages span {
    border-color: transparent;
}

/* News: a site post as a topic, with its picture in the list and the post as the first message. */
.forum-topic.has-thumb {
    grid-template-columns: 112px minmax(0, 1fr) 80px 80px minmax(0, 240px);
}

.forum-topic__thumb {
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    background: center / cover no-repeat rgba(0, 0, 0, .3);
}

.forum-news__hero {
    display: block;
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 14px;
}

.forum-news__lead {
    margin: 0 0 12px;
    font-size: 1.05rem;
    color: #f0dfb8;
}

.forum-topic__thumb.is-icon {
    background-size: contain;
    background-color: transparent;
}

.forum-info .class-detail,
.forum-info .class-reference .content-panel {
    margin-top: 14px;
}

.forum-info__source {
    margin: 14px 0 0;
    font-size: .9rem;
}

.forum-post--news {
    border-color: rgba(240, 198, 116, .3);
}

/* Under the sections: latest posts and the reputation top. */
.forum-board {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.forum-panel {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    background: rgba(20, 17, 13, .75);
}

.forum-panel h2 {
    margin: 0 0 10px;
    font-size: 15px;
    color: #f0c674;
    letter-spacing: .02em;
}

.forum-panel h2:not(:first-child) {
    margin-top: 18px;
}

.forum-panel__empty {
    margin: 0;
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
}

.forum-feed,
.forum-top {
    margin: 0;
    padding: 0;
    list-style: none;
}

.forum-feed li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 12px;
    padding: 7px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.forum-feed li:first-child {
    border-top: 0;
    padding-top: 0;
}

.forum-feed a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.forum-feed small {
    color: rgba(255, 255, 255, .5);
}

.forum-top li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
}

.forum-top__place {
    color: rgba(255, 255, 255, .45);
    font-weight: 700;
}

.forum-top__rep {
    color: #8fd9a0;
}


.forum-who--house b {
    color: #f0c674;
}

.forum-who__logo {
    width: 120px;
    max-width: 100%;
    height: auto;
}

/* Notices (owner, 2026-10-25): the bell in the forum head and the list. */
.forum-bell {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
}

.forum-bell.has-new {
    border-color: rgba(255, 77, 77, .6);
    color: #fff;
}

.forum-bell b {
    display: inline-block;
    min-width: 18px;
    margin-left: 4px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ff4d4d;
    color: #fff;
    text-align: center;
}

.forum-notices {
    display: grid;
    gap: 6px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.forum-notice {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    background: rgba(20, 17, 13, .75);
}

.forum-notice.is-new {
    border-color: rgba(240, 198, 116, .45);
    background: rgba(40, 32, 18, .85);
}

.forum-notice__mark {
    font-size: 17px;
    text-align: center;
    color: #f0c674;
}

.forum-notice--like .forum-notice__mark {
    color: #ff7b7b;
}

.forum-notice--rep .forum-notice__mark {
    color: #8fd9a0;
}

.forum-notice__text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.forum-notice small {
    color: rgba(255, 255, 255, .5);
}

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

    .forum-topic.has-thumb {
        grid-template-columns: 72px minmax(0, 1fr) 56px 56px;
    }

    .forum-topic.has-thumb .forum-section__last {
        grid-column: 2 / -1;
    }

    .forum-page {
        padding: 16px 14px;
    }

    .forum-section,
    .forum-topic {
        grid-template-columns: minmax(0, 1fr) 56px 56px;
    }

    .forum-section__last {
        grid-column: 1 / -1;
    }

    .forum-post {
        grid-template-columns: minmax(0, 1fr);
    }

    .forum-post__who {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
        border-radius: 12px 12px 0 0;
        padding: 10px;
    }

    .forum-post__who .forum-who {
        grid-template-columns: auto minmax(0, 1fr);
        justify-items: start;
        text-align: left;
        column-gap: 10px;
    }

    .forum-post__who .forum-who__class {
        grid-row: 1 / span 4;
        width: 48px;
        height: 48px;
    }

    .forum-ban {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* A moderator's pin in the topic list: small, under the title. */
.forum-topic__pin {
    margin: 2px 0 0;
}

.forum-topic__pin button {
    padding: 2px 8px;
    border: 1px solid rgba(240, 198, 116, .35);
    border-radius: 6px;
    background: transparent;
    color: #f0c674;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.forum-topic__pin button:hover {
    border-color: #f0c674;
}

/* guilds: the guild's own topic, its card, requests, the marks beside authors (owner, 2026-10-25) */
.forum-button--ghost {
    background: transparent;
    color: #f0c674;
    text-decoration: none;
}

.forum-who__mark,
.forum-who__guild {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.forum-who__mark svg,
.forum-who__guild svg {
    border-radius: 2px;
    image-rendering: pixelated;
}

.forum-who__guild {
    margin-top: 2px;
    color: rgba(238, 242, 255, .7);
    font-size: 12px;
}

.forum-who__guild:hover span {
    color: #f0c674;
}

.forum-topic__thumb.is-guild {
    display: grid;
    place-items: center;
    background: rgba(240, 198, 116, .06);
}

.forum-topic__thumb.is-guild svg {
    image-rendering: pixelated;
}

.forum-guild-badge {
    margin-right: 6px;
    padding: 1px 8px;
    border: 1px solid rgba(240, 198, 116, .5);
    border-radius: 999px;
    color: #f0c674;
    font-size: 11px;
    font-weight: 800;
    vertical-align: 2px;
}

.forum-form__guild {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border: 1px solid rgba(240, 198, 116, .35);
    border-radius: 10px;
    background: radial-gradient(ellipse at 0% 50%, rgba(240, 198, 116, .1), transparent 60%), rgba(5, 9, 14, .6);
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.forum-form__guild:has(input:checked) {
    border-color: rgba(240, 198, 116, .8);
    background: radial-gradient(ellipse at 0% 50%, rgba(240, 198, 116, .2), transparent 65%), rgba(5, 9, 14, .6);
}

/* The real checkbox stays for the form and the keyboard; the switch on the right shows it. */
.forum-form__guild input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.forum-form__guild-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(240, 198, 116, .45);
    border-radius: 8px;
    background: rgba(0, 0, 0, .35);
    color: #f0c674;
    font-size: 22px;
}

.forum-form__guild-mark svg {
    image-rendering: pixelated;
}

.forum-form__guild-text {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.forum-form__guild-text b {
    color: #f6d48a;
    font-size: 15px;
}

.forum-form__guild-text small {
    color: rgba(238, 242, 255, .6);
    font-size: 12px;
    line-height: 1.4;
}

.forum-form__switch {
    position: relative;
    width: 44px;
    height: 24px;
    border: 1px solid rgba(240, 198, 116, .45);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    transition: background .15s;
}

.forum-form__switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(238, 242, 255, .55);
    transition: transform .15s, background .15s;
}

.forum-form__guild input:checked ~ .forum-form__switch {
    background: linear-gradient(180deg, #f6d48a, #c9952f);
}

.forum-form__guild input:checked ~ .forum-form__switch::after {
    transform: translateX(20px);
    background: #1a1206;
}

.forum-form__guild input:focus-visible ~ .forum-form__switch {
    outline: 2px solid #f0c674;
    outline-offset: 2px;
}

.forum-guild {
    display: grid;
    gap: 16px;
    margin-bottom: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(240, 198, 116, .4);
    border-radius: 10px;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(240, 198, 116, .12), transparent 60%),
        rgba(5, 9, 14, .82);
}

.forum-guild__head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.forum-guild__mark svg {
    display: block;
    border: 2px solid rgba(240, 198, 116, .55);
    border-radius: 6px;
    image-rendering: pixelated;
}

.forum-guild__name {
    display: grid;
    gap: 4px;
}

.forum-guild__name small {
    color: rgba(238, 242, 255, .55);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.forum-guild__name > a {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
}

.forum-guild__name > a:hover {
    color: #f0c674;
}

.forum-guild__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.forum-guild__tag {
    padding: 2px 10px;
    border: 1px solid rgba(147, 197, 253, .45);
    border-radius: 999px;
    color: #bfdbfe;
    font-size: 12px;
}

.forum-guild__tag.is-castle {
    border-color: rgba(240, 198, 116, .7);
    background: rgba(240, 198, 116, .12);
    color: #f6d48a;
    font-weight: 700;
}

.forum-guild__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
}

.forum-guild__stats span {
    display: grid;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
}

.forum-guild__stats b {
    color: #f0c674;
    font-size: 18px;
}

.forum-guild__stats small {
    color: rgba(238, 242, 255, .55);
    font-size: 12px;
}

.forum-guild__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

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

.forum-guild h3 {
    margin: 0 0 8px;
    color: #eef2ff;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.forum-guild__people {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.forum-guild__people li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.forum-guild__people img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.forum-guild__people a {
    overflow: hidden;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-guild__people small,
.forum-guild__join small {
    color: rgba(238, 242, 255, .55);
    font-size: 12px;
}

.forum-guild__join {
    display: grid;
    gap: 4px;
    margin: 0;
}

.forum-guild__join b {
    color: #fff;
}

.forum-guild__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.forum-guild__actions small,
.forum-guild__wait,
.forum-guild__state {
    color: rgba(238, 242, 255, .65);
    font-size: 13px;
}

.forum-guild__state.is-good {
    color: #7ee08a;
    font-weight: 700;
}

.forum-guild__apps {
    padding-top: 14px;
    border-top: 1px solid rgba(240, 198, 116, .2);
}

.forum-guild__apps ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.forum-guild__apps li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
}

.forum-guild__apps li form {
    display: flex;
    gap: 6px;
}

.forum-guild__app-who {
    display: grid;
    gap: 2px;
}

.forum-guild__app-who small,
.forum-guild__apps li > small {
    color: rgba(238, 242, 255, .55);
    font-size: 12px;
}

@media (max-width: 560px) {
    .forum-guild__apps li {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* market lots: Trade's Lots tab, the lot at the head of its discussion, offered prices (owner, 2026-10-25) */
.forum-tabs {
    display: flex;
    gap: 6px;
    margin: 4px 0 12px;
}

.forum-tabs a {
    padding: 6px 14px;
    border: 1px solid rgba(240, 198, 116, .3);
    border-radius: 999px;
    color: rgba(238, 242, 255, .75);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.forum-tabs a.is-on {
    border-color: rgba(240, 198, 116, .8);
    background: rgba(240, 198, 116, .14);
    color: #f6d48a;
}

.forum-lot {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
    padding: 16px 20px;
    border: 1px solid rgba(240, 198, 116, .4);
    border-radius: 10px;
    background: radial-gradient(ellipse at 0% 0%, rgba(240, 198, 116, .1), transparent 60%), rgba(5, 9, 14, .82);
}

.forum-lot:not(.is-active) {
    border-color: rgba(238, 242, 255, .18);
}

.forum-lot__main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 16px;
}

@media (max-width: 700px) {
    .forum-lot__main {
        grid-template-columns: auto minmax(0, 1fr);
    }
}

.forum-lot__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 1px solid rgba(240, 198, 116, .4);
    border-radius: 10px;
    background: radial-gradient(circle, rgba(240, 198, 116, .12), rgba(0, 0, 0, .4));
}

.forum-lot__icon > img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.forum-lot__what,
.forum-lot__price {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.forum-lot__what small,
.forum-lot__price small {
    color: rgba(238, 242, 255, .55);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.forum-lot__what > a,
.forum-lot__what > b {
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    text-decoration: none;
}

.forum-lot__what > span {
    color: rgba(238, 242, 255, .7);
    font-size: 13px;
}

.forum-lot__name--excellent { color: #7ee08a !important; }
.forum-lot__name--ancient { color: #4fc3ff !important; }
.forum-lot__name--socket { color: #c084fc !important; }
.forum-lot__name--high { color: #f6d48a !important; }

.forum-lot__price b {
    color: #f0c674;
    font-size: 20px;
    white-space: nowrap;
}

.forum-lot__state {
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(238, 242, 255, .08);
    color: rgba(238, 242, 255, .8);
    font-weight: 800;
    white-space: nowrap;
}

.forum-lot.is-sold .forum-lot__state {
    background: rgba(126, 224, 138, .12);
    color: #7ee08a;
}

.forum-lot__offer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(240, 198, 116, .2);
}

@media (max-width: 700px) {
    .forum-lot__offer {
        grid-template-columns: minmax(0, 1fr);
    }
}

.forum-lot__offer label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f6d48a;
    font-weight: 700;
    white-space: nowrap;
}

.forum-lot__offer label input {
    width: 150px;
}

.forum-lot__offer em {
    color: rgba(238, 242, 255, .6);
    font-style: normal;
    font-weight: 400;
}

.forum-lot__offer input {
    padding: 8px 10px;
    border: 1px solid rgba(240, 198, 116, .35);
    border-radius: 8px;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    font: inherit;
}

.forum-lot__hint,
.forum-lot__gone {
    margin: 0;
    color: rgba(238, 242, 255, .6);
    font-size: 13px;
}

.forum-offer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding: 6px 12px;
    border: 1px solid rgba(240, 198, 116, .55);
    border-radius: 8px;
    background: rgba(240, 198, 116, .1);
}

.forum-offer span {
    color: rgba(238, 242, 255, .7);
    font-size: 12px;
    text-transform: uppercase;
}

.forum-offer b {
    color: #f6d48a;
    font-size: 16px;
}
