/* Надписи рисуются без поворота и размытия; фактура остаётся у предметов. */
.modal.object-modal{--object-ink:#343e2c;--paper-copy:#454d34;--paper-muted:#50543a}
.modal.object-modal .object-paper{transform:none;filter:none;text-shadow:none}
.modal-quests .folder-register,.modal-quests .folder-papers{transform:none;filter:none}
.modal-quests .folder-papers{box-shadow:3px 5px 8px #0005}
.modal.object-modal .object-header,.modal.object-modal .object-paper,
.modal-quests .folder-register,.modal-quests .folder-sheet{text-shadow:none}

/* Чёрные чернила на светлой бумаге. */
.modal.object-modal .object-paper p{font-size:16px;line-height:1.6;color:var(--paper-copy)}
.modal.object-modal .object-meter>div:first-child{font-size:14px;color:#50543a}
.modal.object-modal .object-meter strong{color:#354b28}
.modal.object-modal .object-meter strong>small{font-size:13px;color:#50543a}
.modal.object-modal .object-offer-gain{color:#425b30;font-size:15px}
.modal.object-modal .object-header h2{font-weight:550}
.modal.object-modal .object-paper h3{font-weight:550;color:#35472b}
.modal.object-modal .object-kicker{font-size:12px;line-height:1.5;letter-spacing:1px;color:#c0c9ad}
.modal.object-modal .object-paper .object-kicker{color:#50543a}
.modal.object-modal .prescription-mark{font-size:12px;line-height:1.5;letter-spacing:.8px;color:#50543a}
.modal.object-modal .tea-rule{font-size:13px;line-height:1.6;color:#50543a}
.modal.object-modal .tea-cups>span{color:#4e6236}
.modal.object-modal .tea-cups>span.used{color:#696e50;background:#a4aa8324}
.modal.object-modal .object-unavailable{font-size:13px;line-height:1.6;color:#6a432c}
.modal.object-modal .object-button{font-size:15px;color:#fff5d9}
.modal.object-modal .object-button:disabled{color:#454b32;background:#c8c2a7;border-color:#8e946d;border-style:dashed}
.modal.object-modal .object-secondary{font-size:14px;color:#dee4c6}
.modal.object-modal .object-footer{font-size:13px;line-height:1.6;color:#bac6a7}
.modal.object-modal .object-footer>span:last-child{font-size:13px}
.modal.object-modal .object-wallet{font-size:14px}
.modal.object-modal .object-paper .object-footer{color:#50543a}
.modal.object-modal .object-paper .object-wallet b{color:#425931}
.modal.object-modal .object-night>div>span{font-size:11px;line-height:1.5;letter-spacing:.5px;color:#c0cbb0}
.modal.object-modal .object-night strong{font-size:15px;color:#e5e8ce}
.modal.object-modal .object-night small{font-size:14px;line-height:1.5;color:#c2ceb2}
.modal.object-modal .prescription-stamp,.modal.object-modal .menu-stamp,.modal.object-modal .police-stamp{transform:none;color:#40532f}
.modal.object-modal .prescription-stamp{font-size:19px}
.modal.object-modal .menu-stamp{color:#6a432c;font-size:18px}

/* Меню и милицейский планшет: цены, ограничения и примечания читаются целиком. */
.modal.object-modal .menu-rule,.modal.object-modal .police-file-line{font-size:11px;line-height:1.5;letter-spacing:.4px;flex-wrap:wrap;color:#50543a}
.modal.object-modal .object-dish-copy p{font-size:15px;line-height:1.5}
.modal.object-modal .object-dish-copy>span{font-size:14px;line-height:1.5;color:#40532f}
.modal.object-modal .police-subject>div>span{font-size:11px;letter-spacing:1px;color:#50543a}
.modal.object-modal .police-stamp{font-size:17px}
.modal.object-modal .police-stamp.danger{color:#8e422c;border-color:#99533f}
.modal.object-modal .police-option:disabled{opacity:1;background:#a3a47c17;border-style:dashed;box-shadow:none}
.modal.object-modal .police-option strong{font-size:16px;color:#40532f}
.modal.object-modal .police-option small{font-size:14px;color:#50543a}
.modal.object-modal .police-option em{font-size:13px;color:#50543a}
.modal.object-modal .police-option>b{font-size:15px;color:#40572c}
.modal.object-modal .police-option:disabled em{color:#6a432c;font-weight:500}
.modal.object-modal .police-used{font-size:12px;line-height:1.6;letter-spacing:.4px;color:#6a432c}
.modal.object-modal .police-raid-note>strong{font-size:11px;letter-spacing:.7px;color:#6a432c}
.modal.object-modal .police-raid-note>p{font-size:14px;color:#454d34}
.modal.object-modal .sleep-notepad-line{font-size:11px;line-height:1.5;letter-spacing:.5px;color:#50543a}
.modal.object-sleep .sleep-work>div:first-child>span,.modal.object-sleep .sleep-work b{font-size:14px;color:#40532f}
.modal.object-sleep .sleep-work small,.modal.object-sleep .sleep-effects>div>span,
.modal.object-sleep .sleep-breakdown,.modal.object-sleep .sleep-food{font-size:13px;color:#50543a}
.modal.object-sleep .sleep-warning{font-size:14px!important;color:#6a432c!important}
.modal.object-sleep .sleep-wakeup,.modal.object-sleep .sleep-effects strong small{color:#50543a}

/* Футляр: подписи в ячейках остаются отчётливыми и на телефоне. */
.modal.object-rankcase .rank-profile-copy p{font-size:16px;line-height:1.5;color:#c2ceb7}
.modal.object-rankcase .rank-profile-copy>.eyebrow{font-size:11px;color:#c5ccaa;letter-spacing:.8px}
.modal.object-rankcase .rank-profile-rep>span{font-size:12px;color:#c0ccb2}
.modal.object-rankcase .rank-next>div:first-child>span{font-size:14px;color:#c0cdb5}
.modal.object-rankcase .rank-next b{font-size:13px;color:#e7cc91}
.modal.object-rankcase .rank-card>strong{font-size:14px;line-height:1.4;min-height:40px;color:#d9e3cf}
.modal.object-rankcase .rank-card.is-locked>strong{color:#bac9ae}
.modal.object-rankcase .rank-card>small{font-size:12px;color:#bbc9ad}
.modal.object-rankcase .rank-card-state{font-size:11px;line-height:1.3;color:#b3c6a7}
.modal.object-rankcase .rank-card.is-locked .rank-card-state{color:#a7ba9f}
.modal.object-rankcase .rank-tier{font-size:13px;color:#b8c9ab}
.modal.object-rankcase .rank-modal-footer>span{font-size:13px;color:#bdcdb0}

/* Папка: повернуты только декоративные листы под основным текстом. */
.modal-quests .folder-paper-description{color:#454d34}
.modal-quests .folder-paper-heading,.modal-quests .folder-paper-heading>b{font-size:12px;line-height:1.4;color:#50543a;letter-spacing:.4px;flex-wrap:wrap}
.modal-quests .folder-kicker,.modal-quests .folder-register-heading{font-size:12px;line-height:1.4;letter-spacing:1px;color:#50543a}
.modal-quests .folder-index-item small{font-size:12px;line-height:1.4;color:#50543a}
.modal-quests .folder-index-item.is-done strong{color:#50543a}
.modal-quests .folder-progress-note,.modal-quests .folder-slip-caption,
.modal-quests .folder-paper-footnote,.modal-quests .folder-register-footer{font-size:13px;line-height:1.6;color:#50543a}
.modal-quests .folder-slip-label{font-size:12px;letter-spacing:1px;color:#50543a}
.modal-quests .folder-section-title{color:#40532f}
.modal-quests .folder-index-item strong{color:#3d4b2e}
.modal-quests .folder-index-item>i{right:0}
.modal-quests .folder-reward-slip strong{color:#35472b}
.modal-quests .folder-reward-slip>div>span{color:#40532f}
.modal-quests .folder-reward-slip small{font-size:13px;color:#50543a}
.modal-quests .folder-paper-button{color:#40532f}
.modal-quests .folder-index-empty{color:#454d34}
.modal-quests .folder-stamp{transform:none;opacity:1;color:#6a432c;border-color:#9b7959;font-size:18px}
.modal-quests .folder-stamp.is-claimed{color:#4e6536;border-color:#74865b}
.modal-quests .folder-paid{font-size:13px;color:#40532f}
.modal-quests .folder-owner>span{font-size:11px;color:#acb799}

/* Монохромный экран сохраняет характер без ореола вокруг букв. */
.modal-phone .handset-screen{--lcd-ink:#23391f;text-shadow:none;background:radial-gradient(ellipse at 45% 40%,#c4cb9c,#b1bf8b 85%)}
.modal-phone .phone-messages{scrollbar-gutter:stable;padding-right:4px}
.modal-phone .handset-message{font-size:14px;line-height:1.4}
.modal-phone .handset-message strong{font-weight:500}.modal-phone .handset-message.unread strong{font-weight:700}
.modal-phone .handset-message small{font-size:11px;line-height:1.5;opacity:1}
.modal-phone .handset-message.selected,.modal-phone .handset-message:hover{color:#d5e4b4;background:#30472e}
.modal-phone .handset-sms,.modal-phone .handset-sms>p{font-size:14px;line-height:1.6}
.modal-phone .handset-sms>h3{font-size:15px;line-height:1.4}
.modal-phone .handset-sms-meta,.modal-phone .handset-resolved{font-size:11px}
.modal-phone .handset-screen-title>h2{font-size:15px}
.modal-phone .handset-soft-labels>button,.modal-phone .handset-menu>button{font-size:12px}
.modal-phone .handset-target{font-size:12px;line-height:1.4}
@media(max-width:450px){
 .modal.object-modal .object-kicker{font-size:11px;letter-spacing:.7px}
 .modal.object-modal .object-header{align-items:flex-start}
 .modal.object-modal .object-header-mark{margin-top:4px}
 .modal.object-modal .object-footer{gap:9px}
 .modal.object-modal .object-wallet{font-size:13px}
 .modal.object-modal .object-night small{font-size:13px}
 .modal.object-modal .object-night strong{font-size:14px}
 .modal-quests .folder-paper-heading,.modal-quests .folder-paper-heading>b{font-size:11px}
 .modal-quests .folder-kicker{font-size:11px;letter-spacing:.7px}
 .modal-quests .folder-index-item small{max-width:76px}
 .modal-phone .handset-message{font-size:13px}
 .modal-phone .handset-soft-labels>button{font-size:11px}
}

.modal.object-modal .object-button:not(:disabled){background:linear-gradient(165deg,#5d7046,#3f5730)}
.modal.object-modal .object-button:hover:not(:disabled){background:linear-gradient(165deg,#637747,#4a6336)}
.modal-quests .folder-paper-button.claim{background:linear-gradient(165deg,#53653a,#40542e);color:#fff5d9}
