:root {
    --ink: #242a35;
    --muted: #6f7784;
    --green: #405b8c;
    --pale: #eef2f8;
    --line: #d8dce4;
    --paper: #f5f6f8;
    --chat-width: 35vw;
    --chat-bottom: 26px;
    font-family: "Segoe UI", "Malgun Gothic", sans-serif;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.55;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--paper);
}
[hidden] {
    display: none !important;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--green);
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    padding: 8px 14px;
    border-radius: 2px;
    cursor: pointer;
    line-height: 1.4;
}
button:hover,
.button:hover {
    border-color: #8f9fbd;
    background: #f1f4f9;
}
.primary {
    color: white;
    background: var(--green);
    border-color: var(--green);
    font-weight: 600;
}
.primary:hover {
    color: white;
    background: #304a79;
}
.danger {
    color: #a63c3c;
}
.text-button {
    border: 0;
    background: none;
    padding: 4px;
    color: var(--muted);
}
button:disabled {
    opacity: 0.45;
    cursor: default;
}
:focus-visible {
    outline: 3px solid #cbad6c;
    outline-offset: 3px;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
select,
textarea {
    display: block;
    width: 100%;
    border: 1px solid #d6ddd2;
    border-radius: 2px;
    background: #fff;
    padding: 12px;
    color: var(--ink);
}
input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--green);
    width: 17px;
    height: 17px;
    vertical-align: middle;
}
input[type="file"] {
    width: 100%;
    padding: 14px;
    border: 1px dashed #b7c7b7;
    border-radius: 10px;
    background: #f6f8f2;
}
textarea {
    resize: vertical;
}
label {
    display: block;
    font-weight: 600;
    margin: 18px 0 7px;
}
small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 5px;
}
h1,
h2,
h3,
p {
    margin-top: 0;
}
h1 {
    font-size: 32px;
    letter-spacing: -1.2px;
    line-height: 1.3;
}
h2 {
    font-size: 22px;
    letter-spacing: -0.7px;
}
hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 28px 0;
}
.muted {
    color: var(--muted);
}
.eyebrow {
    font-size: 11px;
    letter-spacing: 2.5px;
    font-weight: 700;
    color: #71809b;
}
.wide {
    width: 100%;
    margin-top: 25px;
}
.compact {
    padding: 8px 12px;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 28px 24px 56px;
}
.site-header {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 34px;
    border-top: 4px solid var(--green);
    border-bottom: 1px solid var(--line);
    padding: 0 max(24px, calc((100vw - 1152px) / 2));
    background: white;
}
.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    flex-shrink: 0;
    line-height: 1.15;
}
.brand strong {
    color: #304a79;
    font-size: 22px;
    letter-spacing: 1.2px;
}
.brand small {
    margin: 2px 0 0;
    color: #89909b;
    font-size: 10px;
    letter-spacing: 0;
}
.main-nav {
    display: flex;
    gap: 26px;
    font-size: 13px;
    flex: 1;
}
.main-nav a {
    font-weight: 600;
}
.account-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}
.account-nav form {
    margin: 0;
}
.member-grade {
    font-size: 10px;
    padding: 3px 5px;
    background: #edf3e5;
    border-radius: 5px;
    color: #667b4e;
}
.server-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid currentColor;
    border-radius: 5px;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}
.server-juenn {
    color: #a64444 !important;
}
.server-badge.server-juenn {
    background: #f9e7e5;
    border-color: #ddb2ad;
}
.server-baspo {
    color: #287354 !important;
}
.server-badge.server-baspo {
    background: #e3f2e8;
    border-color: #a9d0b7;
}
.server-name {
    font-weight: 700;
}
.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid var(--line);
    padding: 25px 42px 45px;
    font-size: 11px;
    color: #8a919d;
    letter-spacing: 0.5px;
    background: white;
}
.footer-links {
    display: flex;
    gap: 18px;
}
.footer-links a {
    color: #69776e;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.board-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 18px;
    gap: 15px;
}
.board-heading h1 {
    margin: 0 0 3px;
    font-size: 27px;
    letter-spacing: -1px;
}
.board-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}
.board-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-bottom: 0;
    background: #f2f4f7;
}
.board-toolbar > strong {
    color: #344d7b;
    font-size: 12px;
}
.search-form {
    display: flex;
    gap: 7px;
    max-width: 360px;
    width: 100%;
}
.search-form input {
    font-size: 12px;
    padding: 8px 10px !important;
}
.search-form button {
    white-space: nowrap;
}
.trade-board {
    border-top: 2px solid var(--green);
    border-bottom: 1px solid var(--line);
    background: white;
}
.trade-row {
    display: grid;
    grid-template-columns: 52px 68px minmax(0, 1fr) 340px 90px 52px 88px;
    align-items: center;
    gap: 8px;
    min-height: 49px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}
.trade-row:last-child {
    border: 0;
}
.trade-row:not(.table-head):hover {
    background: #f6f8fb;
}
.trade-row[data-trade-detail-url] {
    cursor: pointer;
}
.table-head {
    font-size: 11px;
    color: #6f7784;
    min-height: 38px;
    padding-top: 7px;
    padding-bottom: 7px;
    text-align: center;
    background: #eef0f4;
}
.tag {
    display: inline-block;
    min-width: 52px;
    border: 1px solid #aebbd0;
    border-radius: 2px;
    color: #3d557f;
    background: #f2f5fa;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}
.tag.buy {
    border-color: #c2b7a4;
    background: #faf7f1;
    color: #775e38;
}
.title-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.title-cell > a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}
.photo-button {
    border: 0;
    padding: 4px 6px;
    background: #eef1f6;
    border-radius: 2px;
    color: #64728c;
    font-size: 10px;
    flex-shrink: 0;
}
.number-cell,
.author-cell,
.date-cell,
.view-cell {
    font-size: 11px;
    color: #707885;
}
.number-cell,
.date-cell,
.view-cell {
    text-align: center;
}
.author-cell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
.identity-name { white-space: nowrap; }
.user-guild {
    display: inline-block;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 2px 6px;
    border: 1px solid #c5c2df;
    border-radius: 3px;
    background: #f5f3fb;
    color: #63528a;
    font-size: 11px;
    line-height: 1.4;
    vertical-align: middle;
}
.admin-guild-form {
    grid-column: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.admin-guild-form input:not([type="hidden"]) { width: 175px; }
.admin-guild-form label { margin: 0; }
@media (max-width: 1000px) { .admin-guild-form { grid-column: 1 / -1; } }
.user-rank {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 6px;
    border: 1px solid #cbd3e0;
    border-radius: 2px;
    color: #465e88;
    background: #f1f4f9;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    vertical-align: middle;
    text-decoration: none;
}
.user-rank:hover {
    color: #294f3f;
    background: #e6f0df;
}
.user-rank.junior {
    color: #85765f;
    border-color: #e1d8ca;
    background: #f7f2e9;
}
.user-rank.admin,
.user-rank.admin:hover {
    color: #63468d;
    border-color: #cfc2df;
    background: #f1ecf8;
}
.chat-user-identity {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    min-width: 0;
}
.chat-user-identity .user-rank {
    flex-shrink: 0;
    margin-left: 0;
}
.chat-user-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.title-server {
    vertical-align: middle;
    font-size: 12px;
}
.status-cell {
    font-size: 10px;
    color: #52734a;
}
.status-cell:before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #6f9860;
    margin-right: 5px;
}
.status-cell.completed {
    color: #a5ada0;
}
.status-cell.completed:before {
    background: #b1b7aa;
}
.status-cell.reserved {
    color: #9a6a24;
}
.status-cell.reserved:before {
    background: #c58a36;
}
.status-cell.expired {
    color: #9d6f5d;
}
.status-cell.expired:before {
    background: #b8816c;
}
.trade-scroll-sentinel {
    height: 1px;
}
.trade-load-state {
    margin: 16px 0 10px;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}
.trade-load-state button {
    margin-left: 8px;
    padding: 5px 10px;
    border: 1px solid var(--line-dark);
    border-radius: 2px;
    background: #fff;
    color: var(--ink);
    font-size: 11px;
}
.board-note {
    text-align: center;
    font-size: 11px;
    color: #919b88;
}
.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 28px;
    margin-bottom: 24px;
    min-width: 0;
}
.form-card form > button {
    margin-top: 20px;
}
.form-card.narrow {
    max-width: 490px;
    margin: 32px auto;
}
.form-card.registration-card {
    max-width: 720px;
    margin: 32px auto;
}
.registration-guide {
    margin: 22px 0 26px;
    padding: 20px;
    border: 1px solid #cfd7e4;
    border-top: 3px solid var(--green);
    background: #f8f9fb;
}
.registration-guide h2 {
    margin: 0 0 16px;
    font-size: 17px;
}
.verification-steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: registration-step;
}
.verification-steps li {
    display: grid;
    grid-template-columns: 32px 108px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    counter-increment: registration-step;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}
.verification-steps li::before {
    content: counter(registration-step);
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #fff;
    background: var(--green);
    font-weight: 700;
    line-height: 1;
}
.verification-steps strong {
    color: var(--ink);
    font-size: 13px;
}
.password-safety {
    margin-top: 18px;
    padding: 13px 15px;
    border: 1px solid #e2d3ba;
    background: #fcf7ed;
}
.password-safety strong {
    color: #805b26;
    font-size: 12px;
}
.password-safety p {
    margin: 4px 0 0;
    color: #675945;
    font-size: 12px;
    line-height: 1.65;
}
.form-legal-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 11px !important;
}
.form-legal-links a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.legal-document {
    max-width: 920px;
    margin: 0 auto;
}
.legal-document > section {
    margin-bottom: 18px;
    padding: 26px 30px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fffefb;
}
.legal-document h2 {
    margin-bottom: 14px;
    font-size: 19px;
}
.legal-document p,
.legal-document li {
    font-size: 13px;
    line-height: 1.85;
}
.legal-document ul {
    margin: 0;
    padding-left: 20px;
}
.legal-highlight {
    border-color: #cbdcc7 !important;
    background: #eef5e9 !important;
}
.legal-highlight.warning,
.consent-summary.warning {
    border-color: #e5d4b8 !important;
    background: #faf4e8 !important;
}
.legal-highlight p {
    margin: 8px 0 0;
}
.legal-table th:first-child {
    width: 105px;
}
.legal-table th:nth-child(2) {
    width: 48%;
}
.legal-dialog {
    width: min(780px, calc(100vw - 32px));
    max-width: none;
    height: min(820px, 90dvh);
    max-height: 90dvh;
    padding: 0;
    border: 0;
    border-radius: 16px;
    color: var(--ink);
    background: #fffefb;
    box-shadow: 0 20px 80px #102d2444;
}
.legal-dialog[open] {
    display: block;
}
.legal-dialog::backdrop {
    background: #12261e99;
    backdrop-filter: blur(3px);
}
.legal-dialog-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    height: 100%;
}
.legal-dialog header,
.legal-dialog footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
}
.legal-dialog header {
    border-bottom: 1px solid var(--line);
}
.legal-dialog header h2 {
    margin: 2px 0 0;
}
.legal-dialog footer {
    border-top: 1px solid var(--line);
}
.legal-dialog footer > div {
    display: flex;
    gap: 8px;
}
.legal-dialog-content {
    min-height: 0;
    padding: 18px 24px;
    overflow-y: auto;
}
.consent-summary {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #f7f9f3;
}
.consent-summary + .consent-summary {
    margin-top: 14px;
}
.consent-summary h3 {
    margin: 0 0 10px;
    font-size: 16px;
}
.consent-summary p,
.consent-summary dd,
.consent-summary dt,
.consent-summary a {
    font-size: 12px;
}
.consent-summary p {
    line-height: 1.75;
}
.consent-summary a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.consent-summary dl {
    margin: 0 0 10px;
}
.consent-summary dl > div {
    display: grid;
    grid-template-columns: 85px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #dfe6d9;
}
.consent-summary dt {
    font-weight: 700;
}
.consent-summary dd {
    margin: 0;
}
.legal-consent-checks {
    padding: 14px 24px;
    border-top: 1px solid var(--line);
    background: #fafbf7;
}
.legal-consent-checks label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 7px 0;
    font-size: 12px;
    cursor: pointer;
}
.legal-consent-checks input {
    flex: 0 0 auto;
    margin-top: 1px;
}
.legal-consent-checks strong {
    color: #a34c43;
}
.form-card p {
    font-size: 13px;
}
.form-row,
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.form-row > div {
    min-width: 0;
}
.settings-grid {
    align-items: start;
}
.page-heading {
    margin: 12px 0 32px;
}
.page-heading h1 {
    margin: 10px 0;
}
.actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.actions form {
    margin: 0;
}
.post-detail .actions form > button {
    margin-top: 0;
}
.post-detail .actions > .button,
.post-detail .actions > button,
.post-detail .actions > form > button {
    min-height: 42px;
}
.notice {
    background: #f1f4f9;
    color: #405578;
    border: 1px solid #d5dce8;
    padding: 16px;
    border-radius: 3px;
    margin-bottom: 22px;
    font-size: 13px;
}
.notice a {
    font-weight: 700;
    text-decoration: underline;
}
.validation {
    color: #a03e36;
    font-size: 13px;
}
.validation ul {
    padding-left: 20px;
}
.validation:empty,
.validation-summary-valid {
    display: none;
}
.back-link {
    display: inline-block;
    margin: 0 0 20px;
    font-size: 13px;
    color: var(--muted);
}
.post-detail h1 {
    margin: 13px 0 8px;
    font-size: 24px;
    line-height: 1.35;
}
.post-labels {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 12px;
}
.trade-status-form {
    display: inline-flex;
    margin: 0;
}
.trade-status-select {
    width: auto;
    min-width: 104px;
    padding: 5px 28px 5px 9px;
    border-color: #b8c8b2;
    color: #365d36;
    background-color: #f5f9f2;
    font-size: 11px;
    font-weight: 700;
}
.chat-post-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.chat-post-link:hover {
    color: var(--green);
}
.post-detail {
    border-top: 3px solid var(--green);
}
.post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 16px;
    margin: 0;
    padding: 12px 0 16px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
}
.post-meta > span {
    white-space: nowrap;
}
.post-content {
    min-height: 180px;
    padding: 28px 2px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.85;
}
.post-images {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}
.image-thumb {
    padding: 0;
    overflow: hidden;
    max-width: 240px;
}
.image-thumb img {
    width: 100%;
    height: auto;
    display: block;
}
.edit-images,
.image-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}
.edit-images img,
.image-picker-item img {
    width: 110px;
    height: 80px;
    object-fit: cover;
    border-radius: 7px;
}
.edit-images label {
    margin: 0;
}
.image-picker-item {
    position: relative;
    width: 110px;
    height: 92px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f3f5ee;
}
.image-picker-item img {
    width: 100%;
    height: 100%;
    border-radius: 0;
}
.image-picker-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid #ffffffa8;
    border-radius: 50%;
    color: white;
    background: #263b36c7;
    font-size: 18px;
    line-height: 1;
}
.image-picker-remove:hover {
    color: white;
    background: #9f443d;
    border-color: white;
}
.image-picker-add {
    width: 110px;
    height: 92px;
    padding: 10px;
    flex-direction: column;
    gap: 0;
    border: 1px dashed #9caf9b;
    background: #f5f8f1;
}
.image-picker-add strong {
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
}
.image-picker-add span {
    font-size: 12px;
}
.image-picker-add small {
    margin: 1px 0 0;
    font-size: 10px;
}
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.inline-form {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}
.inline-form label {
    font-size: 12px;
    margin: 0;
}
.admin-member {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
}
.admin-member-identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    overflow-wrap: anywhere;
}
.member-telegram-status {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
}
.member-telegram-status.is-registered {
    color: #166534;
    background: #f0fdf4;
    border-color: #bbdfc6;
}
.member-telegram-status.is-unregistered {
    color: #565f6b;
    background: #f4f5f7;
}
.member-statistics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0 0;
}
.member-statistics > div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #f8fafc;
}
.member-statistics dt { font-size: 13px; color: #565f6b; }
.member-statistics dd { margin: 10px 0 0; font-size: 26px; font-weight: 700; overflow-wrap: anywhere; }
.member-statistics dd small { margin-left: 5px; font-size: 12px; font-weight: 400; }
@media (max-width: 600px) {
    .member-statistics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .member-statistics > div { padding: 12px; }
}
.code-cell {
    grid-column: 2;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
code {
    font-size: 14px;
    padding: 5px 8px;
    background: #f0f2e8;
    border-radius: 5px;
    white-space: nowrap;
}
.audit-line {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
    font-size: 12px !important;
}
.audit-line small {
    overflow-wrap: anywhere;
}
.steps {
    padding-left: 23px;
    font-size: 13px;
    color: #6a7a6b;
    line-height: 2;
}
.check-label {
    display: flex;
    gap: 10px;
    align-items: center;
}
.empty-state {
    text-align: center;
    padding: 44px 20px;
    color: #88957b;
    font-size: 13px;
}
.empty-state h3 {
    font-size: 16px;
}
.chat-launcher {
    position: fixed;
    bottom: var(--chat-bottom);
    right: 28px;
    z-index: 30;
    box-shadow: 0 7px 25px #263b5a24;
    background: var(--green);
    color: white;
    border: 0;
    border-radius: 40px;
    padding: 13px 21px;
    font-size: 14px;
    gap: 9px;
    transition: bottom 140ms ease;
}
.chat-launcher:hover {
    background: #304a79;
    color: white;
}
.plus {
    font-size: 25px;
    font-weight: 300;
    line-height: 1;
}
.badge {
    background: #cd7858;
    color: white;
    font-size: 10px;
    border-radius: 20px;
    padding: 2px 6px;
    min-width: 19px;
    text-align: center;
}
.chat-panel {
    position: fixed;
    right: 24px;
    bottom: calc(var(--chat-bottom) + 64px);
    width: 360px;
    height: min(590px, calc(100dvh - var(--chat-bottom) - 88px));
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 12px 50px #263b5a22;
    display: flex;
    flex-direction: column;
    z-index: 40;
    min-width: 0;
}
.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    padding: 20px;
    flex-shrink: 0;
    height: 91px;
}
.chat-header h2 {
    margin: 0;
    font-size: 18px;
}
.chat-header small {
    margin: 0;
    font-size: 11px;
    max-width: 220px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.chat-header > div {
    flex: 1;
    min-width: 0;
}
.icon-button {
    border: 0;
    background: transparent;
    font-size: 23px;
    padding: 3px 8px;
}
.chat-divider {
    display: none;
}
.pinned-rooms {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
}
.pinned-rooms .room-button + .room-button {
    border-top: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
}
.room-button {
    display: flex;
    text-align: left;
    gap: 12px;
    width: 100%;
    padding: 15px;
    border: 0;
    background: transparent;
    border-radius: 10px;
}
.room-avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #eaf0df;
    color: #739160;
    font-size: 17px;
}
.room-info {
    flex: 1;
    min-width: 0;
}
.room-info strong {
    display: block;
    font-size: 13px;
}
.room-info strong.chat-user-identity {
    display: flex;
}
.room-info small {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    margin: 4px 0 0;
}
.room-info .last-preview {
    color: #9ca791;
}
.section-label {
    padding: 15px 22px 6px;
    letter-spacing: 1px;
    font-size: 11px;
    color: #8b977d;
    flex-shrink: 0;
}
#chat-list {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}
.trade-rooms {
    overflow-y: auto;
    overscroll-behavior: contain;
    min-height: 0;
    padding: 0 7px 10px;
    flex: 1;
}
#conversation {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
.messages {
    flex: 1;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 15px 19px;
    min-height: 0;
    background: #f5f7ef;
}
.message {
    margin-bottom: 17px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.message small {
    font-size: 10px;
    margin: 0 0 4px;
}
.message p {
    margin: 0;
    max-width: 90%;
    font-size: 13px;
    line-height: 1.65;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    border: 1px solid #e0e7d6;
    border-radius: 0 12px 12px 12px;
    padding: 11px 13px;
    background: white;
}
.message.mine {
    align-items: flex-end;
}
.message > .chat-user-identity {
    color: var(--ink);
    font-size: 10px;
    font-weight: 700;
}
.message.mine > .chat-user-identity {
    justify-content: flex-end;
}
.message > .chat-user-identity .server-badge {
    padding: 0 5px;
    font-size: 9px;
}
.message.mine p {
    border: 0;
    background: #e5ebf5;
    border-radius: 12px 0 12px 12px;
}
.message.mentioned p {
    border: 2px solid #bd6c55;
    background: #fff2e8;
    box-shadow: 0 0 0 3px #f3d9cd88;
}
.message.mentioned.mine p {
    background: #fff2e8;
}
.mention-marker {
    display: inline-flex;
    align-items: center;
    margin: 0 0 5px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #a94f3d;
    color: white;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.3px;
}
.message.system {
    align-items: stretch;
}
.message.system p {
    max-width: 100%;
    border-radius: 10px;
    background: #eef2e7;
    color: #526350;
    text-align: center;
}
.message.system small {
    text-align: center;
}
.message time {
    font-size: 9px;
    color: #a1a995;
    margin-top: 4px;
}
#message-form {
    display: flex;
    gap: 10px;
    padding: 16px;
    background: #fff;
    border-top: 1px solid var(--line);
    align-items: flex-end;
    position: relative;
}
#message-input {
    resize: none;
    border: 0;
    background: #f2f4f8;
    font-size: 13px;
    max-height: 140px;
}
#message-form button {
    font-size: 12px;
    white-space: nowrap;
    padding: 12px;
}
#older-messages {
    font-size: 11px;
    padding: 9px;
    background: #f5f7ef;
}
#chat-error {
    color: #a95141;
    font-size: 12px;
    padding: 0 15px;
}
.mention-suggestions {
    position: absolute;
    z-index: 5;
    left: 16px;
    right: 16px;
    bottom: calc(100% - 1px);
    max-height: min(280px, 40dvh);
    overflow-y: auto;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 11px 11px 0 0;
    background: #fffefb;
    box-shadow: 0 -10px 28px #263b261c;
}
.mention-suggestions[hidden] {
    display: none;
}
.mention-suggestion-empty {
    display: block;
    padding: 11px 12px;
    color: var(--muted);
    font-size: 12px;
}
.mention-suggestion-caption {
    padding: 7px 10px 8px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}
.mention-suggestion {
    display: block;
    width: 100%;
    padding: 10px 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    text-align: left;
}
.mention-suggestion:hover,
.mention-suggestion[aria-selected="true"] {
    background: #eef3e9;
}
.mention-suggestion-body,
.mention-suggestion-identity,
.mention-suggestion-details {
    display: flex;
    align-items: center;
}
.mention-suggestion-body {
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
}
.mention-suggestion-identity {
    gap: 7px;
}
.mention-suggestion strong {
    font-size: 13px;
}
.mention-suggestion-details {
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 10px;
}
.mention-online::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 5px;
    border-radius: 50%;
    background: #a8afa4;
    vertical-align: 1px;
}
.mention-online.online {
    color: #397650;
    font-weight: 700;
}
.mention-online.online::before {
    background: #3fa266;
    box-shadow: 0 0 0 2px #dff2e6;
}
body.chat-docked #main-shell {
    margin-right: var(--chat-width);
}
body.chat-docked .chat-panel {
    top: 0;
    right: 0;
    bottom: 0;
    height: 100dvh;
    width: var(--chat-width);
    border-radius: 0;
    border-right: 0;
    box-shadow: -4px 0 15px #263b2610;
}
body.chat-docked .chat-divider {
    display: block;
    position: absolute;
    left: -5px;
    top: 0;
    bottom: 0;
    width: 10px;
    cursor: col-resize;
    touch-action: none;
    z-index: 2;
}
body.chat-docked .chat-divider:before {
    content: "";
    position: absolute;
    top: 46%;
    left: 3px;
    width: 3px;
    height: 48px;
    border-radius: 10px;
    background: #c8d1bf;
}
body.chat-docked .chat-launcher {
    right: calc(var(--chat-width) + 20px);
}
body.chat-docked .container {
    padding-left: 28px;
    padding-right: 28px;
}
body.chat-docked .site-header {
    height: auto;
    min-height: 96px;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 28px;
}
body.chat-docked .main-nav {
    order: 3;
    flex-basis: 100%;
}
body.chat-docked .account-nav {
    margin-left: auto;
}
body.chat-docked .board-toolbar > .muted {
    display: none;
}
body.chat-docked .trade-row {
    grid-template-columns: 56px minmax(0, 1fr) 78px;
}
body.chat-docked .number-cell,
body.chat-docked .date-cell,
body.chat-docked .view-cell {
    display: none;
}
body.chat-docked .type-cell {
    grid-column: 1;
    grid-row: 1 / 3;
}
body.chat-docked .title-cell {
    grid-column: 2 / 4;
}
body.chat-docked .author-cell {
    grid-column: 2;
}
body.chat-docked .status-cell {
    grid-column: 3;
}
body.chat-docked .table-head {
    display: none;
}
body.resizing {
    cursor: col-resize;
    user-select: none;
}
.image-dialog {
    max-width: 1100px;
    width: calc(100vw - 60px);
    height: min(820px, 90dvh);
    border: 0;
    border-radius: 16px;
    padding: 0;
    background: #f7f8f2;
    box-shadow: 0 20px 80px #102d2444;
    color: var(--ink);
}
.mention-dialog {
    width: min(470px, calc(100vw - 32px));
    border: 0;
    border-radius: 16px;
    padding: 0;
    background: #fffefb;
    box-shadow: 0 20px 80px #102d2444;
    color: var(--ink);
}
.mention-dialog::backdrop {
    background: #12261e88;
    backdrop-filter: blur(2px);
}
.mention-dialog form > header,
.mention-dialog form > footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
}
.mention-dialog form > header {
    border-bottom: 1px solid var(--line);
}
.mention-dialog form > footer {
    justify-content: flex-end;
    border-top: 1px solid var(--line);
}
.mention-dialog header small {
    margin: 2px 0 0;
}
.mention-dialog header code {
    padding: 0;
    background: none;
}
.mention-options {
    max-height: min(450px, 60dvh);
    overflow-y: auto;
    padding: 10px 22px 22px;
}
.mention-options fieldset {
    border: 0;
    border-bottom: 1px solid var(--line);
    margin: 0;
    padding: 14px 0;
}
.mention-options fieldset:last-child {
    border-bottom: 0;
}
.mention-options legend {
    font-size: 13px;
    font-weight: 700;
    padding: 0;
}
.mention-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    cursor: pointer;
}
.mention-option:has(input:checked) {
    border-color: #86a893;
    background: #f0f5ed;
}
.image-dialog[open] {
    display: flex;
    flex-direction: column;
}
.image-dialog::backdrop {
    background: #12261edd;
    backdrop-filter: blur(4px);
}
.image-dialog header,
.image-dialog footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    gap: 12px;
    flex-shrink: 0;
}
.image-dialog .actions {
    margin: 0;
}
.image-dialog header small {
    max-width: 60vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.image-stage {
    flex: 1;
    min-height: 0;
    overflow: auto;
    background: #192a26;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.image-stage img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.image-stage.zoomed {
    display: block;
}
.image-stage.zoomed img {
    max-width: none;
    max-height: none;
    margin: auto;
}
#image-counter {
    font-size: 12px;
    color: #7b8975;
}
#toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: #304a79;
    color: white;
    padding: 13px 22px;
    border-radius: 12px;
    max-width: 90vw;
    font-size: 13px;
}
.check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0;
}
.check-row input {
    width: auto;
}
.check-row small {
    margin: 0;
}
.session-history {
    margin-top: 24px;
}
.table-scroll {
    overflow-x: auto;
}
.table-scroll table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.table-scroll th,
.table-scroll td {
    padding: 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.ua-cell {
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.policy-note {
    margin-top: 18px;
}
.page-heading.compact {
    margin-bottom: 16px;
}
.revision-history {
    margin-top: 32px;
}
.revision-item {
    padding: 0;
    overflow: hidden;
}
.revision-item summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
}
.revision-item summary span {
    color: var(--muted);
    font-size: 11px;
}
.revision-body {
    border-top: 1px solid var(--line);
    padding: 22px;
}
@media (max-width: 1000px) {
    .site-header {
        padding: 20px 25px;
        height: auto;
        flex-wrap: wrap;
        gap: 18px;
    }
    .main-nav {
        order: 3;
        flex-basis: 100%;
        gap: 24px;
    }
    .account-nav {
        margin-left: auto;
    }
    .container {
        padding: 25px;
    }
    .board-toolbar > .muted {
        display: none;
    }
    .settings-grid {
        grid-template-columns: 1fr;
    }
    .admin-member {
        grid-template-columns: 1fr;
    }
    .code-cell {
        grid-column: 1;
    }
}
@media (max-width: 760px) {
    .container,
    body.chat-docked .container {
        padding: 22px 16px 55px;
    }
    .site-header {
        padding: 18px 16px;
        gap: 18px;
    }
    .brand {
        font-size: 20px;
    }
    .brand-mark {
        width: 32px;
        height: 35px;
        font-size: 24px;
    }
    .main-nav {
        font-size: 12px;
    }
    .account-nav {
        gap: 8px;
        font-size: 11px;
    }
    .account-nav .member-grade {
        display: none;
    }
    .account-nav .button {
        font-size: 11px;
        padding: 7px 9px;
    }
    .board-heading h2 {
        font-size: 23px;
    }
    .board-heading .button {
        font-size: 12px;
        padding: 11px;
    }
    .board-toolbar .search-form {
        max-width: none;
    }
    .trade-row,
    body.chat-docked .trade-row {
        grid-template-columns: 54px minmax(0, 1fr) 52px 70px;
        gap: 7px 8px;
        min-height: 78px;
        padding: 11px 9px;
    }
    .table-head {
        display: none;
    }
    .title-cell {
        grid-column: 2/5;
    }
    .title-cell > a {
        font-size: 12px;
    }
    .type-cell {
        grid-column: 1;
        grid-row: 1/3;
    }
    .tag {
        padding: 3px 8px;
        font-size: 10px;
    }
    .author-cell {
        grid-column: 2;
        font-size: 10px;
    }
    .number-cell {
        display: none;
    }
    .date-cell {
        display: none;
    }
    .view-cell {
        grid-column: 3;
        font-size: 9px;
        text-align: center;
    }
    .view-cell::before {
        content: "조회 ";
    }
    .status-cell {
        grid-column: 4;
        font-size: 9px;
    }
    .site-footer {
        padding: 25px 18px 85px;
        flex-direction: column;
        font-size: 10px;
        gap: 5px;
    }
    .footer-links {
        gap: 12px;
        flex-wrap: wrap;
    }
    .legal-document > section {
        padding: 21px 18px;
    }
    .legal-dialog {
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        margin: 0;
        border-radius: 0;
    }
    .legal-dialog header,
    .legal-dialog footer,
    .legal-dialog-content,
    .legal-consent-checks {
        padding-left: 16px;
        padding-right: 16px;
    }
    .legal-dialog footer {
        align-items: flex-start;
        flex-direction: column;
        padding-bottom: max(14px, env(safe-area-inset-bottom));
    }
    .legal-dialog footer > div,
    .legal-dialog footer button {
        width: 100%;
    }
    .consent-summary {
        padding: 15px;
    }
    .consent-summary dl > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }
    .chat-launcher {
        right: 18px;
        bottom: max(var(--chat-bottom), calc(env(safe-area-inset-bottom) + 20px));
        padding: 13px 17px;
    }
    .chat-panel {
        right: 12px;
        bottom: 85px;
        width: min(360px, calc(100vw - 24px));
        height: min(620px, 78dvh);
    }
    body.chat-open {
        overflow: hidden;
    }
    body.chat-open .chat-panel {
        inset: 0;
        width: 100vw;
        height: 100dvh;
        max-height: none;
        border: 0;
        border-radius: 0;
        z-index: 100;
    }
    body.chat-docked #main-shell {
        display: none;
        margin: 0;
    }
    body.chat-open .chat-launcher,
    body.chat-docked .chat-divider {
        display: none;
    }
    .chat-header {
        padding-top: max(15px, env(safe-area-inset-top));
        height: 78px;
    }
    .chat-header small {
        max-width: 65vw;
    }
    #message-form {
        padding-bottom: max(15px, env(safe-area-inset-bottom));
    }
    .form-card {
        padding: 24px 19px;
    }
    .form-card.narrow {
        margin-top: 12px;
    }
    .form-card.registration-card {
        margin-top: 12px;
    }
    .registration-guide {
        padding: 17px 15px;
    }
    .verification-steps li {
        grid-template-columns: 30px minmax(0, 1fr);
    }
    .verification-steps li span {
        grid-column: 2;
    }
    .form-card h1 {
        font-size: 27px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .post-detail h1 {
        font-size: 25px;
    }
    .image-dialog {
        width: 100vw;
        height: 100dvh;
        max-width: none;
        max-height: none;
        border-radius: 0;
        margin: 0;
    }
    .image-dialog header,
    .image-dialog footer {
        padding: 12px;
    }
    .image-dialog footer {
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
    .image-dialog button {
        padding: 9px 11px;
    }
    .image-stage {
        padding: 8px;
    }
    .image-thumb {
        max-width: 100%;
    }
    .board-note {
        font-size: 10px;
    }
    .audit-line {
        gap: 8px;
    }
}
@media (prefers-reduced-motion: no-preference) {
    button,
    a {
        transition:
            background 0.15s,
            color 0.15s;
    }
}

.telegram-link-result[data-ready="false"] {
    display: none;
}
.telegram-connection-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0.83em;
}
.telegram-connection-heading h2 {
    margin: 0;
}
.telegram-connection-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    line-height: 1;
}
.telegram-connection-status.connected {
    border-color: #9eb9a5;
    color: #2e6841;
    background: #edf6ef;
}
.telegram-registration-required {
    margin-bottom: 14px;
    padding: 15px 17px;
    border-left: 3px solid #a98c4d;
    background: #faf7ef;
}
.telegram-registration-required strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}
.telegram-registration-required p {
    margin: 0;
    color: var(--muted);
}
.telegram-connected-summary {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 19px;
    border: 1px solid #b9d2bf;
    background: #f2f8f3;
}
.telegram-connected-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: white;
    background: #39734d;
    font-size: 22px;
    font-weight: 700;
}
.telegram-connected-summary strong {
    display: block;
    margin: 2px 0 6px;
    font-size: 15px;
}
.telegram-connected-summary p {
    margin-bottom: 7px;
    color: #516557;
    line-height: 1.6;
}
.telegram-connected-actions {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.telegram-connected-actions > form > button {
    margin-top: 0;
}
.telegram-reconnect {
    flex: 1 1 250px;
    min-width: 0;
}
.telegram-reconnect summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 37px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: white;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
    list-style: none;
}
.telegram-reconnect summary::-webkit-details-marker {
    display: none;
}
.telegram-reconnect summary::after {
    content: "▾";
    margin-left: 8px;
    color: var(--muted);
}
.telegram-reconnect[open] summary::after {
    content: "▴";
}
.telegram-reconnect summary:hover {
    border-color: #8f9fbd;
    background: #f1f4f9;
}
.telegram-reconnect-content {
    margin-top: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    background: #f8f9f7;
}
.telegram-reconnect-content h3 {
    margin-bottom: 6px;
    font-size: 15px;
}
.telegram-alerts-locked ul {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}
.telegram-alerts-locked li {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: #f8f9f7;
}
.telegram-alerts-locked li strong {
    font-size: 13px;
}
.telegram-alerts-locked li span {
    color: var(--muted);
    font-size: 12px;
}
.telegram-connect-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.telegram-connect-choices button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 76px;
    padding: 14px 16px;
    text-align: left;
}
.telegram-connect-choices .telegram-connect-primary {
    box-shadow: 0 4px 12px rgba(49, 73, 116, 0.2);
}
.telegram-connect-choices button strong {
    font-size: 13px;
}
.telegram-connect-choices button small {
    margin: 0;
    color: inherit;
    font-size: 10px;
    opacity: 0.76;
}
.telegram-qr-dialog {
    width: min(430px, calc(100vw - 32px));
    border: 0;
    border-radius: 16px;
    padding: 0;
    background: #fffefb;
    box-shadow: 0 20px 80px #102d2444;
    color: var(--ink);
}
.telegram-qr-dialog::backdrop {
    background: #12261e88;
    backdrop-filter: blur(2px);
}
.telegram-qr-dialog header,
.telegram-qr-dialog footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 20px;
}
.telegram-qr-dialog header {
    border-bottom: 1px solid var(--line);
}
.telegram-qr-dialog header div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.telegram-qr-dialog header small {
    margin: 0;
}
.telegram-qr-dialog footer {
    justify-content: flex-end;
    border-top: 1px solid var(--line);
}
.telegram-qr-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    padding: 22px;
    text-align: center;
}
.telegram-qr-content img {
    display: block;
    width: min(270px, 70vw);
    height: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
}
.telegram-qr-content p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
}
@media (max-width: 520px) {
    .telegram-connect-choices {
        grid-template-columns: 1fr;
    }
    .telegram-connected-summary {
        grid-template-columns: 36px minmax(0, 1fr);
        padding: 16px;
    }
    .telegram-connected-icon {
        width: 36px;
        height: 36px;
        font-size: 19px;
    }
    .telegram-connected-actions,
    .telegram-connected-actions > form,
    .telegram-connected-actions > form > button,
    .telegram-reconnect,
    .telegram-reconnect summary {
        width: 100%;
    }
}

/* 길드가 있는 긴 작성자 정보는 모바일/채팅 도킹 시 별도 행의 폭을 사용한다. */
@media (min-width: 761px) {
    body.chat-docked .trade-row:has(.user-guild) .author-cell { grid-column: 2 / 4; grid-row: 2; }
    body.chat-docked .trade-row:has(.user-guild) .status-cell { grid-row: 3; }
}
@media (max-width: 760px) {
    .trade-row:has(.user-guild) .author-cell,
    body.chat-docked .trade-row:has(.user-guild) .author-cell { grid-column: 2 / 5; grid-row: 2; }
    .trade-row:has(.user-guild) .view-cell,
    .trade-row:has(.user-guild) .status-cell { grid-row: 3; }
    .trade-row:has(.user-guild) .type-cell { grid-row: 1 / 4; }
}
