/* Mchongoano page. Sits inside the post shell (.forum-post-view) and uses the
   post typography: 18px/28px slate body, red section heads, grey 14px meta. */

.mc-body {
    float: left;
    width: 100%;
    padding-left: 75px;      /* 60px avatar + 15px gutter, same as .usr_quest */
    padding-bottom: 30px;
    color: #2C353C;
    box-sizing: border-box;
}
.mc-body *, .mc-body *::before, .mc-body *::after { box-sizing: border-box; }

.mc-p { font-size: 18px; line-height: 28px; color: #2C353C; margin: 0 0 15px; }
.mc-p strong { font-weight: 700; }
.mc-p em { font-style: italic; }

.mc-section { margin-top: 36px; }
.mc-h2 { font-size: 26px; line-height: 32px; font-weight: 700; color: #e75348; margin: 0; padding: 0; }
.mc-sub { font-size: 16px; line-height: 24px; color: #8a9096; margin: 4px 0 8px; }

/* Line */
.mc-list { margin: 0; }
.mc-line { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid #ededed; scroll-margin-top: 90px; }
.mc-list > .mc-line:last-child { border-bottom: 0; }
.mc-line.is-focus { background: #f2fbf6; box-shadow: 0 0 0 10px #f2fbf6; border-radius: 2px; }
.mc-line__num { flex: 0 0 34px; font-size: 22px; line-height: 28px; font-weight: 700; color: #e75348; }
.mc-line__body { flex: 1 1 auto; min-width: 0; }
.mc-line__text { font-size: 18px; line-height: 28px; font-weight: 600; color: #2C353C; margin: 0; overflow-wrap: anywhere; }
.mc-line__tr { font-size: 16px; line-height: 24px; font-weight: 400; color: #6f777d; margin: 2px 0 0; }

.mc-line__foot { list-style: none; margin: 8px 0 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 22px; }
.mc-line__foot li { margin: 0; }
/* Reaction pill + picker */
.mc-react { position: relative; }
.mc-react__pill {
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid #dbdbdb; background: #fff; border-radius: 999px; padding: 3px 10px 3px 8px;
    font-size: 14px; font-weight: 700; line-height: 20px; color: #6f777d; cursor: pointer;
    transition: border-color .12s ease, background .12s ease, transform .12s ease;
}
.mc-react__pill:hover { border-color: #e44d3a; color: #2C353C; }
.mc-react__pill.is-on { border-color: #53d690; background: #f2fbf6; color: #2C353C; }
.mc-react__pill.is-bump { transform: scale(1.08); }
.mc-react__pill:focus:not(:focus-visible) { outline: none; }
.mc-react__emoji { font-size: 15px; line-height: 20px; letter-spacing: -2px; }
.mc-react__emoji i { color: #b2b2b2; font-size: 15px; letter-spacing: 0; }
.mc-react__pill:hover .mc-react__emoji i { color: #e44d3a; }
.mc-react__picker {
    position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 30;
    display: flex; gap: 2px; padding: 6px; background: #fff; border: 1px solid #dbdbdb; border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.mc-react__opt { border: 0; background: none; font-size: 22px; line-height: 1; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: transform .1s ease, background .1s ease; }
.mc-react__opt:hover { background: #f7f8fa; transform: scale(1.25); }
.mc-react__opt.is-mine { background: #f2fbf6; box-shadow: inset 0 0 0 2px #53d690; }

.mc-vote, .mc-link {
    display: inline-flex; align-items: center; gap: 7px;
    border: 0; background: none; padding: 0; cursor: pointer;
    font-size: 14px; font-weight: 600; line-height: 22px; color: #b2b2b2; text-decoration: none;
}
.mc-vote i, .mc-link i { font-size: 15px; }
.mc-vote:hover, .mc-link:hover { color: #e44d3a; text-decoration: none; }
.mc-vote:focus:not(:focus-visible), .mc-link:focus:not(:focus-visible), .mc-more > summary:focus:not(:focus-visible) { outline: none; }
.mc-vote:focus-visible, .mc-link:focus-visible { outline: 2px solid #53d690; outline-offset: 2px; border-radius: 3px; }
.mc-link--thread { gap: 5px; }
.mc-vote.is-on { color: #e44d3a; }
.mc-vote.is-bump i { transform: scale(1.25); }
.mc-vote i { transition: transform .12s ease; }
.mc-link--reply:hover { color: #2fb86f; }
.mc-line__sig { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: #8a9096; }
.mc-line__sig .mc-line__who { color: #2fb86f; font-weight: 700; text-decoration: none; }
.mc-line__sig a:hover { text-decoration: underline; }
.mc-line__when { color: #8a9096; font-weight: 400; }
.mc-line__who + .mc-line__when::before { content: '\00b7'; margin: 0 6px; color: #b2b2b2; }
.mc-proof { margin: -4px 0 16px; font-size: 15px; line-height: 24px; color: #6f777d; }
.mc-proof i { color: #2fb86f; margin-right: 4px; }
.mc-proof b { color: #2C353C; }
.mc-link--thread.is-open { color: #2C353C; }

/* Replies */
.mc-replies { margin-top: 12px; padding-left: 16px; border-left: 3px solid #53d690; }
.mc-line--reply { padding: 10px 0; border-bottom: 0; }
.mc-replies__more[hidden] { display: none; }
.mc-replies .mc-reply-form { margin-top: 6px; }
.mc-line--reply .mc-line__text { font-size: 17px; font-weight: 400; }
.mc-reply-form { margin-top: 12px; }
.mc-reply-form__row { display: flex; align-items: center; gap: 18px; margin-top: 10px; }

/* Battle: two cards, a VS badge, a pick affordance, crowd bars after the pick */
.mc-battle { margin-top: 36px; }
.mc-battle__pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; margin-top: 14px; }
.mc-battle__opt {
    position: relative; text-align: left; background: #fff; color: #2C353C;
    border: 2px solid #e5e5e5; border-radius: 10px; padding: 0; cursor: pointer;
    display: flex; flex-direction: column; min-height: 150px; overflow: hidden;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.mc-battle__opt:hover:not(:disabled) { border-color: #53d690; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.07); }
.mc-battle__opt:hover:not(:disabled) .mc-battle__pick { color: #2fb86f; }
.mc-battle__opt:focus-visible { outline: 3px solid rgba(83,214,144,0.5); outline-offset: 2px; }
.mc-battle__opt:disabled { cursor: default; }
.mc-battle__body { display: block; padding: 18px 18px 12px; flex: 1 1 auto; }
.mc-battle__t { display: block; font-size: 18px; line-height: 26px; font-weight: 600; }
.mc-battle__tr { display: block; margin-top: 6px; font-size: 15px; line-height: 22px; color: #6f777d; }
.mc-battle__bar { display: block; height: 6px; background: #f0f1f2; }
.mc-battle__bar-fill { display: block; height: 100%; width: 0; background: #53d690; transition: width .5s ease; }
.mc-battle__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 18px 12px; font-size: 13.5px; font-weight: 700; }
.mc-battle__pick { color: #b2b2b2; transition: color .15s ease; }
.mc-battle__pick i { margin-right: 4px; }
.mc-battle__crowd { color: #8a9096; font-weight: 600; }
.mc-battle__opt.is-winner { border-color: #53d690; background: #f7fdf9; }
.mc-battle__opt.is-winner .mc-battle__pick { color: #2fb86f; }
.mc-battle__opt.is-winner .mc-battle__pick i::before { content: "\f00c"; }
.mc-battle__opt.is-loser { opacity: .6; }
.mc-battle__opt.is-loser .mc-battle__pick { visibility: hidden; }
.mc-battle__opt.is-loser .mc-battle__bar-fill { background: #dbdbdb; }
.mc-battle__vs {
    align-self: center; width: 44px; height: 44px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #e44d3a; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em;
    box-shadow: 0 4px 12px rgba(228,77,58,0.35);
}
.mc-battle__result { margin: 12px 0 0; font-size: 16px; line-height: 24px; font-weight: 600; color: #2fb86f; }
.mc-battle__result:empty { display: none; }
.mc-battle__streak { margin: 6px 0 0; font-size: 14px; color: #b2b2b2; }
.mc-battle__streak[hidden] { display: none; }
.mc-battle__streak b { color: #2C353C; }

/* Submit */
.mc-submit__count { color: #2fb86f; font-weight: 600; }
.mc-label { display: block; font-size: 15px; font-weight: 600; color: #2C353C; margin: 14px 0 6px; }
.mc-label span { font-weight: 400; color: #8a9096; }
/* Scoped to our own forms: the newsletter block below shares the page and keeps the theme's inputs. */
.mc-form textarea, .mc-form input[type="text"], .mc-form input[type="email"],
.mc-reply-form textarea, .mc-report-form input[type="text"] {
    display: block; width: 100%; border: 1px solid #dbdbdb; border-radius: 3px; background: #fff;
    padding: 10px 14px; font-size: 16px; line-height: 24px; color: #2C353C; font-family: inherit;
    height: auto; box-shadow: none; margin: 0;
}
.mc-form input[type="text"], .mc-form input[type="email"], .mc-report-form input[type="text"] { min-height: 46px; }
.mc-form textarea:focus, .mc-form input:focus, .mc-reply-form textarea:focus, .mc-report-form input:focus { outline: none; border-color: #e75348; box-shadow: 0 0 8px rgba(231,83,72,0.25); }
.mc-hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.mc-form .cf-turnstile { margin-top: 14px; }
.mc-form__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.mc-form__msg { font-size: 15px; color: #e44d3a; font-weight: 600; }
.mc-form__msg a { color: #2fb86f; text-decoration: underline; }
.mc-form__done { margin: 0; font-size: 18px; line-height: 28px; color: #2fb86f; font-weight: 600; }
.mc-btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: #e75348; color: #fff; border: 0; border-radius: 4px;
    min-height: 46px; padding: 6px 28px; font-size: 16px; font-weight: 600; cursor: pointer; line-height: normal;
    white-space: nowrap; transition: background .2s;
}
.mc-btn:hover { background: #e44d3a; color: #fff; }
.mc-btn:disabled { opacity: .6; cursor: default; }

/* Newsletter block: same look as inside a post */
.mc-newsletter { margin-top: 36px; float: left; width: 100%; }
.mc-newsletter h3.post-title { font-size: 24px; font-weight: 700; line-height: 32px; color: #e75348; padding: 8px 0; margin: 0; }
.mc-newsletter p { font-size: 18px; line-height: 28px; color: #2C353C; margin-bottom: 15px; }

/* Sidebar contributors */
.mc-contributors ol { list-style: none; clear: both; float: left; width: 100%; padding: 8px 20px 12px; margin: 0; box-sizing: border-box; }
.mc-contributors li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.mc-contributors li span { color: #777; font-weight: 700; }
.mc-contributors__sub { display: block; font-size: 12px; font-weight: 400; color: #8a9096; margin-top: 2px; }

/* Toast (same pattern as heroes/show) */
.hl-toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    background: #1a1a1a; color: #fff; padding: 11px 22px; border-radius: 999px;
    font-size: 13px; font-weight: 700; z-index: 9999;
    opacity: 0; pointer-events: none; transition: opacity .18s ease;
    box-shadow: 0 12px 24px rgba(0,0,0,0.25); max-width: 90vw; text-align: center;
}
.hl-toast.show { opacity: 1; pointer-events: auto; }
.hl-toast--error { background: #c73d2b; }

@media (max-width: 767px) {
    .mc-body { padding-left: 0; }
    .mc-h2 { font-size: 24px; }
    .mc-line { gap: 10px; padding: 16px 0; }
    .mc-line__num { flex-basis: 26px; font-size: 20px; }
    .mc-line__text { font-size: 17px; line-height: 26px; }
    .mc-line__foot { gap: 4px 18px; }
    .mc-battle__pair { grid-template-columns: 1fr; gap: 10px; }
    .mc-battle__vs { justify-self: center; width: 38px; height: 38px; font-size: 12px; }
    .mc-battle__opt { min-height: 0; }
}

/* ---- Daily line ---- */
.mc-daily { margin-top: 28px; padding: 18px 20px; border-left: 4px solid #53d690; background: #f7fbf8; border-radius: 0 4px 4px 0; }
.mc-daily__label { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #2fb86f; }
.mc-daily__label i { margin-right: 6px; }
.mc-daily__label span { font-weight: 400; color: #8a9096; letter-spacing: 0; text-transform: none; margin-left: 6px; }
.mc-daily__text { margin: 0; font-size: 22px; line-height: 32px; font-weight: 600; color: #2C353C; }
.mc-daily__tr { margin: 4px 0 0; font-size: 16px; line-height: 24px; color: #6f777d; }
.mc-daily .mc-line__foot { margin-top: 10px; }

/* ---- Long list filter ---- */
.mc-line[data-filtered="out"] { display: none; }

/* ---- Theme chips ---- */
.mc-chips { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mc-chip { border: 1px solid #dbdbdb; background: #fff; color: #2C353C; border-radius: 30px; padding: 6px 14px; font-size: 14px; font-weight: 600; cursor: pointer; line-height: 20px; }
.mc-chip span { color: #b2b2b2; font-weight: 400; margin-left: 2px; }
.mc-chip:hover { border-color: #53d690; }
.mc-chip.is-on { background: #53d690; border-color: #53d690; color: #fff; }
.mc-chip.is-on span { color: rgba(255,255,255,.8); }

/* ---- Battle arc ---- */
.mc-battle__agree b { color: #2fb86f; }
.mc-battle__arc { margin-top: 14px; padding: 18px 20px; border: 1px solid #dbdbdb; border-radius: 4px; background: #fff; }
.mc-battle__arc-title { margin: 0; font-size: 22px; line-height: 30px; font-weight: 700; color: #2C353C; }
.mc-battle__arc-title b { color: #e75348; }
.mc-battle__arc-line { margin: 4px 0 0; font-size: 18px; line-height: 28px; color: #2C353C; }
.mc-battle__arc-fav { margin: 8px 0 0; font-size: 16px; line-height: 24px; color: #6f777d; }
.mc-battle__arc-fav a { color: #2fb86f; font-weight: 600; }
.mc-battle__arc-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.mc-battle__arc-actions .mc-btn { text-decoration: none; }
.mc-battle__arc-actions .mc-btn:hover { color: #fff; }

/* ---- Reply for guests ---- */
.mc-reply-form__note { font-size: 14px; color: #8a9096; }

/* ---- Recorder + playback ---- */
.mc-recorder { margin-top: 12px; padding: 14px 16px; border: 1px dashed #dbdbdb; border-radius: 4px; }
.mc-recorder__row, .mc-recorder__preview { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mc-recorder__preview { margin-top: 10px; }
.mc-recorder__preview audio { height: 36px; max-width: 100%; }
.mc-recorder__time { font-size: 15px; font-weight: 600; color: #e75348; min-width: 44px; }
.mc-recorder__start.is-live { background: #2C353C; }
.mc-recorder__msg { margin: 8px 0 0; font-size: 15px; font-weight: 600; color: #2fb86f; }
.mc-recorder__msg:empty { display: none; }
.mc-recorder__msg.is-error { color: #e44d3a; }
.mc-play.is-playing { color: #2fb86f; }
.mc-mine { margin: 0 0 6px; font-size: 15px; color: #8a9096; }
.mc-mine b { color: #2C353C; }
.mc-mine i { color: #e44d3a; margin-right: 4px; }

@media (max-width: 767px) {
    .mc-daily { padding: 14px 14px; }
    .mc-daily__text { font-size: 19px; line-height: 28px; }
    }

/* ---- Report ---- */
.mc-report-form { margin-top: 10px; }
.mc-report-form input[type="text"] { font-size: 15px; min-height: 40px; }
.mc-btn--sm { min-height: 38px; padding: 4px 18px; font-size: 14px; }

@media (max-width: 767px) { .mc-link--report { margin-left: 0; } }

/* ---- Submit box (composer) ---- */
.mc-submit .mc-sub { margin-bottom: 14px; }
.mc-submit #mc-text { font-size: 18px; line-height: 28px; padding: 12px 14px; min-height: 84px; resize: vertical; }
.mc-form__more { display: grid; gap: 10px; margin-top: 10px; }
.mc-form__more input[type="text"], .mc-form__more input[type="email"] { font-size: 15px; min-height: 42px; }
.mc-form__hint { margin: 6px 0 0; font-size: 13px; line-height: 20px; color: #8a9096; }
@media (min-width: 768px) { .mc-form__more { grid-template-columns: 1fr 1fr; } .mc-form__more input:only-child { grid-column: 1 / -1; } .mc-form__more input:first-child:nth-last-child(3) { grid-column: 1 / -1; } }

/* ---- Review page: sits on the shared admin design system (.ha) ---- */
.mc-ha .ha-statcard.is-muted { opacity: .6; }
.mc-ha .ha-statcard__num, .mc-ha .ha-statcard__label { display: block; }
.mc-ha-filter { margin: 0 0 14px; }
.mc-ha-filter .ha-input { max-width: 420px; }
.mc-ha-row[data-match="0"] { display: none; }
.mc-ha-nomatch { color: var(--muted); font-size: 14px; padding: 8px 0; }
.mc-ha-n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 800; margin-left: 4px; }
.mc-ha-row { display: flex; gap: 18px; align-items: flex-start; }
.mc-ha-row__main { flex: 1 1 auto; min-width: 0; }
.mc-ha-row__actions { display: flex; flex-direction: column; gap: 6px; flex: 0 0 auto; }
.mc-ha-row__actions form { margin: 0; }
.mc-ha-row__actions .ha-btn { width: 100%; }
.mc-ha-row__parent { margin-bottom: 4px; }
.mc-ha-row__text { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.mc-ha-row__tr { font-size: 14px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.mc-ha-row__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.mc-ha-row__meta a.ha-item__meta { text-decoration: none; }
.mc-ha-row__meta a.ha-item__meta:hover { color: var(--green-ink); }
.mc-ha-row__meta .ha-item__meta i { margin-right: 3px; }
.mc-ha-reports { list-style: none; margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: rgba(228,77,58,0.06); border: 1px solid rgba(228,77,58,0.2); font-size: 13.5px; color: var(--ink); }
.mc-ha-reports li { padding: 2px 0; }
.mc-ha-reports i { color: var(--red); margin-right: 4px; }
.mc-ha-audio { display: block; height: 36px; max-width: 100%; margin: 8px 0 4px; }
.mc-ha-edit { margin-top: 8px; }
.mc-ha-edit > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.mc-ha-edit > summary::-webkit-details-marker { display: none; }
.mc-ha-edit > summary:hover { color: var(--green-ink); }
.mc-ha-edit[open] > summary { color: var(--ink); }
.mc-ha-edit__form { margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.mc-ha-edit__grid { display: grid; grid-template-columns: 1fr 200px; gap: 12px; }
.mc-ha-details > summary { list-style: none; cursor: pointer; }
.mc-ha-details > summary::-webkit-details-marker { display: none; }
.mc-ha-details > summary .ha-card__title::after { content: 'Show'; margin-left: auto; font-size: 12px; font-weight: 700; color: var(--muted); }
.mc-ha-details[open] > summary .ha-card__title::after { content: 'Hide'; }
@media (max-width: 767px) {
    .mc-ha-row { flex-direction: column; gap: 10px; }
    .mc-ha-row__actions { flex-direction: row; width: 100%; }
    .mc-ha-row__actions form { flex: 1; }
    .mc-ha-edit__grid { grid-template-columns: 1fr; }
}

/* ---- "More" menu (native details, no library) ---- */
.mc-more { position: relative; }
.mc-more > summary { list-style: none; }
.mc-more > summary::-webkit-details-marker { display: none; }
.mc-more__label { display: none; }
.mc-more__menu {
    position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; min-width: 190px;
    background: #fff; border: 1px solid #dbdbdb; border-radius: 6px; box-shadow: 0 10px 24px rgba(0,0,0,0.10); padding: 6px;
}
.mc-more__item {
    display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
    border: 0; background: none; padding: 9px 10px; border-radius: 4px; cursor: pointer;
    font-size: 14px; font-weight: 600; color: #2C353C;
}
.mc-more__item i { width: 16px; text-align: center; color: #8a9096; }
.mc-more__item:hover { background: #f7f8fa; color: #e44d3a; }
.mc-more__item:hover i { color: #e44d3a; }
.mc-more__item.is-done { color: #b2b2b2; cursor: default; }
.mc-more__menu.is-left { left: auto; right: 0; }
@media (max-width: 767px) { .mc-line__foot { gap: 4px 16px; } .mc-line__foot > li:has(.mc-more) { margin-left: -4px; } }

/* ---- Anonymity choice: the theme hides native checkboxes globally, so force it back ---- */
.mc-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #6f777d; cursor: pointer; margin: 0; font-weight: 400; }
.mc-check__note { color: #b2b2b2; font-size: 13px; }
.mc-check input[type="checkbox"] { display: inline-block !important; appearance: auto; -webkit-appearance: auto; width: 16px; height: 16px; margin: 0; accent-color: #53d690; cursor: pointer; }
