/* ==============================
   システム/GM発言
============================== */

.chat-post.is-system-post {
    border-color: #2f6fd6;
}

.chat-post.is-system-post .chat-post__body,
.chat-post.is-system-post .chat-post__content {
    color: #005fcc;
}

.chat-post.is-system-post .chat-post__name,
.chat-post.is-system-post .chat-post__header strong {
    color: #004a99;
}


/* ==============================
   GM専用ページ
============================== */

.gm-status-card {
    box-sizing: border-box;
    width: 100%;
    padding: 16px;
    border: 1px solid #999;
    border-radius: 6px;
    background: #fff;
}

.gm-status-card__body {
    width: 100%;
}

.gm-status-card__title {
    margin: 0;
    padding: 0;
    border-bottom: none;
    font-size: 24px;
    line-height: 1.4;
}

.gm-status-card__divider {
    width: 100%;
    height: 1px;
    margin: 10px 0;
    background: #999;
}

.gm-status-card__text {
    margin: 0 0 12px;
    line-height: 1.7;
}

.gm-status-card__form {
    margin: 0;
}

.chat-post__eno-link--disabled {
    color: #666;
    text-decoration: none;
    cursor: default;
}


/* ==============================
   GMアナウンス管理
============================== */

.gm-announcement-delete-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -8px;
    margin-bottom: 12px;
}


/* ==============================
   GM専用ページ：リンクボタン
============================== */

.gm-dashboard-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 14px;
    border: 1px solid #777;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-weight: bold;
    text-decoration: none;
}

.gm-dashboard-link-button:hover {
    background: #eee;
    text-decoration: none;
}


/* ==============================
   GM専用ページ：エリア公開設定
============================== */

.gm-area-public-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    margin: 12px 0 14px;
}

.gm-area-public-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid rgba(120, 120, 120, 0.45);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.78);
    cursor: pointer;
}

.gm-area-public-item input {
    width: auto;
    max-width: none;
    margin: 0;
}

.gm-area-public-item__name {
    font-weight: bold;
}

.gm-area-public-item__note {
    margin-left: auto;
    color: #777;
    font-size: 12px;
}



/* ==============================
   GM専用ページ：AP手動配布
============================== */

.gm-ap-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 8px;
    margin: 12px 0 14px;
}

.gm-ap-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(120, 120, 120, 0.45);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.78);
}

.gm-ap-summary__row dt {
    margin: 0;
    color: #444;
    font-weight: bold;
}

.gm-ap-summary__row dd {
    margin: 0;
    font-weight: bold;
}

.gm-ap-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.gm-ap-form__label {
    font-weight: bold;
}

.gm-ap-form__input {
    width: 90px;
    max-width: 90px;
}

.gm-ap-reset-form {
    margin-top: 10px;
}

.gm-ap-reset-button {
    border-color: #9c3838;
    background: #fff4f4;
    color: #6f0000;
    font-weight: bold;
}

.gm-ap-reset-button:hover:not(:disabled) {
    background: #ffe5e5;
}

.gm-ap-reset-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ==============================
   GM専用ページ：全員を導く
============================== */

.gm-status-card--guide-all {
    border-color: rgba(150, 80, 80, 0.65);
}

.gm-guidance-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 8px;
    margin: 12px 0 14px;
}

.gm-guidance-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(120, 120, 120, 0.45);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.78);
}

.gm-guidance-summary__row dt {
    margin: 0;
    color: #444;
    font-weight: bold;
}

.gm-guidance-summary__row dd {
    margin: 0;
    font-weight: bold;
}

.gm-guide-all-button {
    border-color: #9c3838;
    background: #fff4f4;
    color: #6f0000;
    font-weight: bold;
}

.gm-guide-all-button:hover:not(:disabled) {
    background: #ffe5e5;
}

.gm-guide-all-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
