/* neverlogoff/money.css — creator money blocks (/page-money) and Get paid settings (/me/money).
   Logical properties only (RTL-ready). One column at 360–430 px; two columns from 900 px in settings.
   Touch targets ≥ 44 px. No horizontal scroll: every row wraps, long words break. */
.m-root, .m-root * { box-sizing: border-box; }
[hidden] { display: none !important; }
.m-root { font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: #1d2433; overflow-wrap: anywhere; }
body.m-frame { margin: 0; background: #fff; }
body.m-frame .m-root { padding: 0.25rem 0.25rem 1rem; }
.m-root h2, .m-root h3 { margin-block: 0.5rem 0.4rem; line-height: 1.25; }
.m-root h3 { font-size: 1.02rem; }
.m-root p { margin-block: 0.35rem; }
.m-fine { color: #5b6475; font-size: 0.875rem; }
.m-status { min-block-size: 1.5em; color: #3d4757; }
.m-status.err { color: #a02323; }
.m-status.good { color: #19663a; }
.m-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.m-grid { display: grid; gap: 0.75rem; }
.m-card { border: 1px solid #e3e6eb; border-radius: 12px; padding: 0.85rem; background: #fff; min-inline-size: 0; }
.m-card.soft { background: #f6f7f9; }
.m-price { font-weight: 700; font-size: 1.05rem; }
.m-coins { font-weight: 700; color: #3d4757; }
.m-pill { display: inline-flex; align-items: center; min-block-size: 28px; padding-inline: 0.6rem; border-radius: 999px; background: #eef2f7; color: #3d4757; font-size: 0.85rem; font-weight: 600; }
.m-pill.active { background: #e3f4ea; color: #19663a; }
.m-pill.pending { background: #fff4d6; color: #7a5300; }
.m-root button, .m-root .m-btn { font: inherit; cursor: pointer; min-block-size: 44px; min-inline-size: 44px; border-radius: 10px; border: 1px solid #1d2433; background: #1d2433; color: #fff; padding-block: 0.4rem; padding-inline: 0.9rem; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; gap: 0.35rem; }
.m-root button.ghost, .m-root .m-btn.ghost { background: transparent; color: #1d2433; border-color: #cfd5de; }
.m-root button.choice[aria-pressed="true"] { background: #3573b8; border-color: #3573b8; color: #fff; }
.m-root button.choice { background: #fff; color: #1d2433; border-color: #cfd5de; }
.m-root button:disabled { opacity: 0.45; cursor: not-allowed; }
.m-root button:focus-visible, .m-root a:focus-visible, .m-root input:focus-visible, .m-root select:focus-visible, .m-root textarea:focus-visible { outline: 3px solid #ffd166; outline-offset: 2px; }
.m-root a { color: #3573b8; }
.m-root a.m-link { display: inline-flex; align-items: center; min-block-size: 44px; }
.m-field { display: grid; gap: 0.25rem; min-inline-size: 0; }
.m-field > span { font-weight: 600; font-size: 0.92rem; }
.m-root input[type="text"], .m-root input[type="email"], .m-root input[type="number"], .m-root input[type="url"], .m-root input[type="time"], .m-root input[type="file"], .m-root select, .m-root textarea { font: inherit; min-block-size: 44px; inline-size: 100%; max-inline-size: 100%; padding-block: 0.45rem; padding-inline: 0.6rem; border: 1px solid #cfd5de; border-radius: 10px; background: #fff; color: inherit; }
.m-root textarea { min-block-size: 88px; resize: vertical; }
.m-check { display: flex; gap: 0.6rem; align-items: flex-start; min-block-size: 44px; padding-block: 0.35rem; cursor: pointer; }
.m-check input { inline-size: 22px; block-size: 22px; margin-block-start: 0.15rem; flex: none; }
.m-radio { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.m-radio label { display: inline-flex; gap: 0.45rem; align-items: center; min-block-size: 44px; cursor: pointer; }
.m-radio input { inline-size: 20px; block-size: 20px; }
.m-hp { position: absolute; inset-inline-start: -10000px; inline-size: 1px; block-size: 1px; overflow: hidden; }
.m-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.m-list li { border-block-end: 1px solid #eef0f3; padding-block: 0.35rem; }
.m-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 7.5rem), 1fr)); gap: 0.4rem; }
.m-day { margin-block: 0.75rem 0.3rem; font-weight: 700; font-size: 0.95rem; }
.m-info { border-inline-start: 4px solid #3573b8; background: #f3f7fc; padding: 0.6rem 0.75rem; border-radius: 8px; font-size: 0.92rem; }
.m-info dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.15rem 0.75rem; }
.m-info dt { font-weight: 600; }
.m-info dd { margin: 0; min-inline-size: 0; }
.m-sep { border: 0; border-block-start: 1px solid #e3e6eb; margin-block: 0.75rem; }

/* settings page */
.ms-main { inline-size: min(1600px, 100%); margin-inline: auto; padding-inline: 0.75rem; padding-block-end: 3rem; }
.ms-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-block: 0.5rem 1rem; }
.ms-nav a { display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 0.75rem; border-radius: 999px; background: #eef2f7; color: #1d2433; text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.ms-cols { display: grid; gap: 1rem; }
@media (min-width: 900px) { .ms-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.ms-sec { scroll-margin-block-start: 1rem; }
.ms-sec > h2 { font-size: 1.15rem; }
.ms-table { inline-size: 100%; border-collapse: collapse; font-size: 0.92rem; }
.ms-table th, .ms-table td { text-align: start; padding: 0.35rem 0.4rem; border-block-end: 1px solid #eef0f3; vertical-align: top; }
.ms-wrap { overflow-x: auto; max-inline-size: 100%; }
.ms-fieldrow { display: grid; gap: 0.5rem; grid-template-columns: 1fr; border: 1px dashed #cfd5de; border-radius: 10px; padding: 0.6rem; }
@media (min-width: 600px) { .ms-fieldrow { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto auto; align-items: end; } }
.ms-win { display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr)); align-items: end; }
/* the site header on /me/money (site.css) — keep its link a 44 px target */
.top .mark { display: inline-flex; align-items: center; min-block-size: 44px; }
.skip { min-block-size: 44px; }
