/* Monster card calculator. Self-contained like costume-bonus.css, including the common header and footer.
 * Guide sections follow mercenaries.html (content-section, data-table, note-box). */
*, *::before, *::after { box-sizing: border-box; }
body { position: relative; font-family: 'Montserrat', Arial, sans-serif; margin: 0; min-height: 100vh; display: flex; flex-direction: column; align-items: center; color: #F1D9A3; background: #3e2611; }
body, input, select, button { font-variant-numeric: tabular-nums; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select { font: inherit; }
button { cursor: pointer; background: none; color: inherit; border: 0; }
a { color: inherit; }
.hidden { display: none !important; }
.mc-site-header { padding: 2.5rem 1rem 0; text-align: center; }
.mc-site-header #site-logo { width: 160px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 2px 8px #5d050533); transition: transform .2s; }
.mc-site-header #site-logo:hover { transform: scale(1.05); }
.mc-site-header h1 { font-size: 1.875rem; color: #FECE58; margin: 1rem 0 .5rem; }
.mc-site-header p { color: #f1d9a3cc; margin-bottom: 2rem; line-height: 1.5; }
.mc-footer { text-align: center; padding: 1.5rem 1rem; color: #f1d9a3b3; font-size: .85rem; line-height: 1.25rem; }
.mc-footer p { margin-top: .5rem; display: flex; justify-content: center; align-items: center; gap: 4px .5rem; flex-wrap: wrap; padding-inline: 16px; }
/* Same row gap and padding as analytics.css for the privacy button row, so heatmap previews (without analytics.css) keep the height. */
.mc-footer a:hover { color: #FECE58; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .98; background: radial-gradient(ellipse at 65% 20%, #f1d9a3cc 0%, transparent 65%), radial-gradient(ellipse at 30% 85%, #5d050550 0%, transparent 70%), linear-gradient(135deg, #2d1a07 0%, #3e2611 45%, #f1d9a3 110%); }
.main-content { position: relative; z-index: 100; }
.dropdown { position: absolute; right: 2rem; top: 2rem; z-index: 110; }
#langBtn { display: flex; align-items: center; gap: .5rem; background: #341002; border-radius: .75rem; padding: .625rem 1.25rem; box-shadow: 0 4px 12px #0003; font-weight: 700; }
#langBtn svg { width: 1rem; height: 1rem; margin-left: .5rem; }
#langMenu { position: absolute; right: 0; margin-top: .5rem; width: 160px; background: #341002; border-radius: .75rem; overflow: hidden; box-shadow: 0 4px 12px #0003; }
#langMenu button { display: flex; align-items: center; gap: .5rem; text-align: left; width: 100%; padding: .5rem 1rem; }
#langBtn:hover, #langMenu button:hover { background: #5D0505; }
.flag-icon, #langIcon { display: inline-block; width: 1.25rem; height: 1.25rem; vertical-align: middle; }
.back-button { position: fixed; left: 2rem; top: 2rem; z-index: 1000; background: #341002; color: #F1D9A3; text-decoration: none; padding: .75rem; border-radius: 50%; box-shadow: 0 4px 12px rgba(93,5,5,.2); transition: all .3s ease; }
.back-button:hover { background: #5D0505; transform: scale(1.05); }
.back-button svg { display: block; width: 1.5rem; height: 1.5rem; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #FECE58; outline-offset: 2px; }
@media (max-width: 640px) { .back-button { left: 1rem; top: 1rem; } .dropdown { right: 1rem; top: 1rem; } .mc-site-header { padding-top: 4.5rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ── Layout, panels, buttons ─────────────────────────────────────────── */
.mc-main { max-width: 1280px; width: 100%; padding: 0 1rem 2rem; }
.mc-layout { display: grid; gap: 2rem; }
.mc-panel { background: #F1D9A3; border: 4px solid #FECE58; border-radius: .75rem; color: #341002; overflow: hidden; box-shadow: 0 4px 12px #5d05051a; min-width: 0; }
/* Brown section heads like yin-yang.css (.yy-panel-head) */
.mc-panel-head { background: #341002; color: #F1D9A3; padding: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.mc-panel-head h2 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.mc-panel-head .mc-sub { font-size: .8rem; opacity: .8; }
/* Buttons in a head stay within the 28px heading line, so every head is 60px high like on yin-yang */
.mc-panel-head .mc-btn { padding: .1rem .7rem; line-height: 1.25rem; }
.mc-panel-head .mc-seg button { padding: .1rem .75rem; line-height: 1.25rem; }
.mc-panel-body { padding: 1rem; }
.mc-btn { padding: .35rem .75rem; background: #341002; border: 2px solid #FECE58; border-radius: .5rem; color: #FECE58; font-weight: 700; font-size: .82rem; transition: background .12s, color .12s, border-color .12s; }
.mc-btn:hover { background: #5D0505; }
.mc-btn.is-light { background: #fffaf0; color: #341002; border-color: #341002; }
.mc-btn.is-light:hover { background: #341002; color: #FECE58; }
.mc-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.mc-seg { display: inline-flex; flex-wrap: wrap; border: 2px solid #FECE58; border-radius: .5rem; overflow: hidden; }
.mc-seg button { background: #fffaf0; color: #341002; padding: .4rem .8rem; font-weight: 700; font-size: .85rem; }
.mc-seg button + button { border-left: 1px solid #34100233; }
.mc-seg button[aria-pressed="true"] { background: #FECE58; color: #341002; }
.mc-muted { opacity: .7; font-size: .82rem; }
.mc-bar { height: 6px; border-radius: 3px; background: #34100226; overflow: hidden; }
.mc-bar > i { display: block; height: 100%; background: linear-gradient(90deg, #c8890a, #FECE58); }
.mc-hint { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; background: #fece5840; border: 2px dashed #c8890a; border-radius: .5rem; padding: .5rem .7rem; font-size: .85rem; }

/* ── Guide (like mercenaries.html) ───────────────────────────────────── */
.content-section { background: #F1D9A3; border: 4px solid #FECE58; border-radius: .75rem; margin-bottom: 2rem; overflow: hidden; box-shadow: 0 4px 12px rgba(93, 5, 5, .1); }
.section-header { background: #341002; padding: 1rem; color: #F1D9A3; }
.section-header h2 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.section-content { padding: 1.5rem; color: #341002; }
.section-content h3 { font-size: 1.125rem; font-weight: 600; color: #341002; margin: 1.5rem 0 .5rem; }
.section-content h3:first-child { margin-top: 0; }
.section-content p { line-height: 1.65; margin-bottom: .75rem; }
.mc-link { color: #5D0505; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.mc-link:hover { color: #7D0707; }
.mc-link:focus-visible { outline: 2px solid #5D0505; outline-offset: 2px; border-radius: 2px; }
.inline-icon { display: inline; width: 22px; height: 22px; object-fit: contain; vertical-align: -5px; margin: 0 2px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.note-box { background: rgba(52, 16, 2, .10); border-radius: .5rem; padding: 1rem; color: #341002; margin-top: 1rem; }
.note-box p { margin: 0; line-height: 1.6; }
.mc-assume { line-height: 1.65; }
.table-wrap { overflow-x: auto; border-radius: .5rem; border: 2px solid #FECE58; margin-bottom: 1rem; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead th { background: #341002; color: #F1D9A3; padding: .6rem 1rem; text-align: left; font-weight: 600; font-size: .875rem; border-right: 1px solid #FECE58; }
.data-table thead th:last-child { border-right: none; }
.data-table tbody tr { border-bottom: 1px solid rgba(52, 16, 2, .1); }
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:nth-child(even) { background: rgba(52, 16, 2, .05); }
.data-table tbody th { background: #341002; color: #F1D9A3; padding: .6rem 1rem; text-align: left; font-weight: 600; font-size: .875rem; border-right: 2px solid #FECE58; white-space: nowrap; vertical-align: middle; }
.data-table tbody td { padding: .5rem 1rem; color: #341002; font-size: .875rem; }
.data-table .num { text-align: right; white-space: nowrap; }
.data-table th.stars { color: #FECE58; letter-spacing: .05em; }
.mc-h-table td { text-align: center; }
.mc-deck { display: flex; flex-wrap: wrap; gap: .35rem; }
.mc-deck img { display: block; width: 52px; height: 63px; border-radius: .25rem; border: 1px solid #34100255; transition: transform .15s ease, border-color .15s, box-shadow .15s; }
.mc-deck img:hover { transform: translateY(-2px) scale(1.06); border-color: #FECE58; box-shadow: 0 4px 10px #34100266; }
@media (max-width: 760px) { .section-content { padding: 1rem; } .mc-deck img { width: 40px; height: 49px; } }

/* ── Calculator: field + dungeon achievements ───────────────────────── */
.mc-section { border-top: 3px solid #FECE58; }
.mc-section > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .7rem 1rem; background: #5D0505; color: #F1D9A3; }
.mc-section > summary::-webkit-details-marker { display: none; }
.mc-section > summary:hover { background: #6e0a0a; }
.mc-section > summary h3 { font-size: 1rem; font-weight: 700; color: #FECE58; }
.mc-section > summary h3::before { content: '▾'; display: inline-block; margin-right: .5rem; transition: transform .2s; }
.mc-section:not([open]) > summary h3::before { transform: rotate(-90deg); }
.mc-section > summary .mc-count { color: #F1D9A3; font-weight: 600; }
.mc-section > summary .mc-sub { font-size: .8rem; opacity: .85; }
.mc-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; padding-bottom: .5rem; }
.mc-ach { display: grid; grid-template-columns: 22.5rem minmax(0, 1fr) auto; gap: .4rem 1rem; align-items: center; padding: .7rem 1rem; border-bottom: 1px solid #34100222; }
.mc-ach.is-active { background: #fece5833; }
.mc-ach h4 { font-size: .95rem; }
.mc-ach .mc-muted { font-size: .78rem; }
.mc-ach-cards { display: grid; gap: .25rem; align-content: start; }
.mc-card-btn { position: relative; display: grid; justify-items: center; padding: 3px; border-radius: .45rem; background: #341002; border: 2px solid #6e3a12; transition: border-color .15s, transform .15s, box-shadow .15s; }
.mc-card-btn:hover { border-color: #FECE58; transform: translateY(-2px); box-shadow: 0 4px 10px #34100266; }
.mc-card-btn.is-needed { border-color: #c8890a; }
.mc-card-btn.is-done { border-color: #7fbf4d; }
.mc-card-btn img { display: block; width: 60px; height: 73px; }
.mc-card-btn span { font-size: .68rem; font-weight: 800; color: #FECE58; line-height: 1.3; }
.mc-card-btn.is-shared::after { content: '!'; position: absolute; top: -.35rem; right: -.35rem; width: 1rem; height: 1rem; display: grid; place-items: center; border-radius: 50%; background: #c8890a; color: #341002; font-size: .65rem; font-weight: 900; border: 2px solid #341002; }
.mc-shared { position: relative; display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; margin-right: .45rem; border-radius: 50%; background: #c8890a; color: #341002; font-size: .8rem; font-weight: 900; vertical-align: 1px; cursor: help; }
.mc-shared::after { content: attr(data-tip); position: absolute; left: 0; top: calc(100% + .4rem); z-index: 20; width: max-content; max-width: 22rem; padding: .45rem .6rem; border-radius: .45rem; background: #341002; color: #F1D9A3; border: 2px solid #FECE58; font-size: .75rem; font-weight: 600; line-height: 1.4; white-space: normal; box-shadow: 0 6px 18px #0006; opacity: 0; pointer-events: none; transition: opacity .12s; }
.mc-shared:hover::after, .mc-shared:focus-visible::after { opacity: 1; }
.mc-ach-stars { display: flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; justify-self: end; }
.mc-stars { display: inline-flex; gap: .1rem; }
.mc-stars button { width: 1.7rem; height: 1.7rem; font-size: 1.15rem; line-height: 1; color: #34100255; border-radius: .3rem; }
.mc-stars button.is-on { color: #c8890a; text-shadow: 0 0 6px #fece58aa; }
.mc-stars button:hover { background: #34100214; }
.mc-stars button.is-nobonus { opacity: .45; cursor: not-allowed; }
.mc-stars button.is-nobonus:hover { background: none; }
@media (max-width: 760px) {
  .mc-ach { grid-template-columns: minmax(0, 1fr); }
  .mc-ach-stars { justify-self: start; }
  .mc-card-btn img { width: 46px; height: 56px; }
}

/* ── Settings ────────────────────────────────────────────────────────── */
.mc-settings { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.mc-settings label { display: grid; gap: .2rem; font-size: .78rem; font-weight: 700; flex: 1 1 7.5rem; min-width: 0; }
.mc-settings input[type=number], .mc-settings select { padding: .45rem .6rem; border-radius: .5rem; border: 2px solid #341002; background: #fffaf0; color: #341002; width: 100%; min-width: 0; }
.mc-settings .mc-wide { flex: 1.8 1 13rem; }
.mc-settings .mc-check { display: flex; align-items: center; gap: .4rem; padding-bottom: .5rem; flex: 0 0 auto; }
.mc-check input { width: 1.1rem; height: 1.1rem; accent-color: #5D0505; }

/* ── Card grid ───────────────────────────────────────────────────────── */
.mc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); grid-auto-rows: 1fr; gap: .6rem; }
.mc-tile { position: relative; display: grid; justify-items: center; gap: .25rem; padding: .55rem .4rem .5rem; border-radius: .6rem; background: linear-gradient(180deg, #4a1a06, #341002); border: 2px solid #6e3a12; color: #F1D9A3; text-align: center; transition: border-color .15s, transform .15s; }
.mc-tile:hover { border-color: #FECE58; transform: translateY(-2px); }
.mc-tile.is-needed { border-color: #FECE58; box-shadow: 0 0 0 2px #fece5855; }
.mc-tile.is-done { border-color: #7fbf4d; }
.mc-tile img { width: 70px; height: 85px; }
.mc-tile { grid-template-rows: auto 1fr auto auto auto auto; }
.mc-tile-name { font-size: .72rem; font-weight: 700; line-height: 1.2; min-height: 2.4em; display: flex; align-items: center; justify-content: center; }
.mc-tile-stars { color: #FECE58; font-size: .8rem; letter-spacing: .05em; }
.mc-tile .mc-bar { width: 100%; background: #f1d9a333; }
.mc-tile-bar { font-size: .72rem; font-weight: 800; }
.mc-tile-stats { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-top: 1px solid #F1D9A333; padding-top: .3rem; }
.mc-tile-stats > span { display: grid; gap: .05rem; }
.mc-tile-stats > span + span { border-left: 1px solid #F1D9A333; }
.mc-tile-stats small { font-size: .6rem; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.mc-tile-stats b { font-size: .8rem; color: #FECE58; }
/* Empty state: no target chosen yet */
.mc-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.75rem 1rem; text-align: center; border: 2px dashed #34100244; border-radius: .75rem; background: #fffaf080; }
.mc-empty img { opacity: .8; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.mc-empty p { max-width: 28rem; font-size: .92rem; font-weight: 600; line-height: 1.5; color: #341002; }
.mc-badge { position: absolute; top: .3rem; right: .3rem; font-size: .62rem; font-weight: 800; padding: .05rem .3rem; border-radius: .3rem; background: #FECE58; color: #341002; }
@media (max-width: 760px) { .mc-grid { grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)); } }

/* ── Card dialog ─────────────────────────────────────────────────────── */
.mc-dialog { border: 4px solid #FECE58; border-radius: .9rem; padding: 0; background: #F1D9A3; color: #341002; width: min(38rem, calc(100% - 1.5rem)); box-shadow: 0 20px 60px #000a; }
.mc-dialog::backdrop { background: #1a0a02b3; }
.mc-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; background: #341002; padding: .9rem 1.1rem; border-bottom: 3px solid #FECE58; }
.mc-dialog-head h2 { font-size: 1.25rem; color: #FECE58; }
.mc-dialog-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.mc-dialog-tags span { font-size: .72rem; font-weight: 700; padding: .12rem .5rem; border-radius: 999px; background: #F1D9A31f; color: #F1D9A3; border: 1px solid #F1D9A355; }
.mc-dialog-x { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; border: 2px solid transparent; color: #F1D9A3; font-size: 1.1rem; }
.mc-dialog-x:hover { background: #5D0505; border-color: #FECE58; color: #FECE58; }
.mc-dialog-body { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.1rem; padding: 1.1rem; align-items: start; }
.mc-dialog-card { display: grid; gap: .35rem; justify-items: center; padding: .6rem; border-radius: .7rem; background: linear-gradient(180deg, #4a1a06, #341002); border: 2px solid #8a5a1c; }
.mc-dialog-card img { border-radius: .3rem; }
.mc-dialog-card .mc-bar { width: 100%; background: #f1d9a333; }
.mc-dialog-stars { display: flex; gap: .1rem; font-size: 1.05rem; color: #f1d9a344; }
.mc-dialog-stars .is-on { color: #FECE58; text-shadow: 0 0 6px #fece5899; }
.mc-dialog-bartext { font-size: .78rem; font-weight: 700; color: #F1D9A3; }
.mc-dialog-starsfor { font-size: .68rem; color: #F1D9A3; opacity: .75; text-align: center; line-height: 1.3; }
.mc-dialog-main { display: grid; gap: .7rem; align-content: start; }
.mc-dialog-label { font-weight: 700; font-size: .85rem; }
.mc-stepper { display: flex; align-items: stretch; border: 2px solid #341002; border-radius: .6rem; overflow: hidden; background: #fffaf0; width: 100%; } /* as wide as the stats below */
.mc-stepper button { flex: 1 1 0; padding: .45rem .5rem; font-weight: 800; font-size: .85rem; color: #341002; background: #34100210; transition: background .12s, color .12s; }
.mc-stepper button + button, .mc-stepper input + button { border-left: 1px solid #34100233; }
.mc-stepper button:hover { background: #341002; color: #FECE58; }
.mc-stepper button:active { background: #5D0505; }
.mc-stepper button:focus-visible, .mc-stepper input:focus-visible { outline-offset: -3px; }
.mc-stepper input { flex: 1.6 1 0; width: 0; min-width: 3.5rem; border: 0; border-left: 1px solid #34100233; padding: .5rem; text-align: center; font-weight: 800; font-size: 1.15rem; color: #341002; background: #fffaf0; -moz-appearance: textfield; }
.mc-stepper input::-webkit-outer-spin-button, .mc-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.mc-stat { display: grid; text-align: center; padding: .5rem .3rem; border-radius: .6rem; background: #fffaf0; border: 2px solid #34100222; }
.mc-stat b { font-size: 1.25rem; line-height: 1.2; }
.mc-stat span { font-size: .72rem; opacity: .75; }
.mc-stat.is-miss { border-color: #5D0505; }
.mc-stat.is-miss b { color: #5D0505; }
.mc-stat.is-ok { border-color: #2f6b1a; }
.mc-stat.is-ok b { color: #2f6b1a; }
.mc-dialog-hint { font-size: .74rem; opacity: .7; line-height: 1.4; }
.mc-dialog-info { display: grid; margin: 0 1.1rem 1rem; padding: 0; border-radius: .6rem; overflow: hidden; border: 2px solid #FECE58; }
.mc-dialog-info > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); }
.mc-dialog-info > div + div { border-top: 1px solid #34100222; }
.mc-dialog-info dt { background: #341002; color: #F1D9A3; padding: .45rem .7rem; font-size: .8rem; }
.mc-dialog-info dd { margin: 0; padding: .45rem .7rem; font-size: .84rem; display: flex; flex-wrap: wrap; gap: .3rem; }
.mc-chip { font-size: .74rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; background: #3410021a; }
.mc-dialog-foot { display: flex; justify-content: flex-end; padding: 0 1.1rem 1.1rem; }
@media (max-width: 520px) {
  .mc-dialog-body { grid-template-columns: 1fr; }
  .mc-dialog-card { grid-template-columns: auto 1fr; justify-items: start; align-items: center; }
  .mc-dialog-card img { grid-row: span 4; width: 70px; height: 85px; }
}

/* ── Sticky result bar ───────────────────────────────────────────────── */
.mc-result { position: sticky; bottom: 1rem; z-index: 900; background: #341002f2; border: 3px solid #FECE58; border-radius: .9rem; padding: .7rem 1.2rem; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .3rem 1.5rem; align-items: center; box-shadow: 0 8px 28px #0007; backdrop-filter: blur(4px); color: #F1D9A3; }
.mc-big { font-size: 1.9rem; font-weight: 800; color: #FECE58; line-height: 1.1; }
.mc-plan { display: grid; gap: .3rem; margin-top: .35rem; }
.mc-plan-boxes { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; }
.mc-box-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .25rem .65rem .25rem .3rem; border-radius: .55rem; background: #F1D9A314; border: 1px solid #FECE5866; }
.mc-box-chip img { width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); }
.mc-box-chip span { display: grid; line-height: 1.15; }
.mc-box-chip b { font-size: .82rem; color: #FECE58; }
.mc-box-chip small { font-size: .72rem; color: #F1D9A3; }
.mc-plan-next { display: inline-flex; align-items: center; gap: .5rem; }
.mc-plan-then { display: inline-grid; justify-items: center; gap: .05rem; color: #FECE58; }
.mc-plan-then small { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1; }
.mc-plan-then svg { display: block; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.mc-plan-hint { font-size: .64rem; opacity: .75; max-width: 38rem; }
.mc-q { display: flex; gap: .5rem 1.5rem; flex-wrap: wrap; align-items: flex-start; }
.mc-q-item { display: grid; gap: .15rem; white-space: nowrap; }
.mc-q-item small, .mc-plan-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.mc-q-item b { font-size: .95rem; color: #FECE58; }
.mc-modes { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: flex-end; }
.mc-modes button { padding: .3rem .65rem; border-radius: .45rem; border: 2px solid #FECE5866; color: #F1D9A3; font-size: .78rem; font-weight: 700; }
.mc-modes button.active { background: #FECE58; color: #341002; border-color: #FECE58; }
.mc-modes button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
@media (max-width: 760px) {
  .mc-result { grid-template-columns: 1fr; gap: .25rem; padding: .5rem .8rem; bottom: .5rem; }
  .mc-q-item b { font-size: .85rem; }
  .mc-q-item:not(:first-child) { display: none; }
  .mc-modes { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .mc-modes::-webkit-scrollbar { display: none; }
  .mc-modes button { white-space: nowrap; padding: .2rem .5rem; }
  .mc-big { font-size: 1.35rem; }
}
