/* Кнопка «Помощь» и окно обращения (php/support.php). Держится в углу экрана,
   не перекрывая боковую кнопку «Об игре». */

.support-tab {
    position: fixed; right: 18px; bottom: 18px; z-index: 60;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
    background: rgba(18, 16, 15, .92); color: #f3eee5;
    font: 600 14px/1 'Golos Text', system-ui, sans-serif; cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45); backdrop-filter: blur(6px);
}
.support-tab svg { width: 18px; height: 18px; }
.support-tab:hover { border-color: rgba(244, 119, 53, .6); color: #ffd99a; }

.support-modal {
    position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
    padding: 20px; background: rgba(4, 4, 6, .72); backdrop-filter: blur(4px);
}
.support-modal[hidden] { display: none; }
.support-modal__panel {
    width: min(560px, 100%); max-height: 90vh; overflow: auto;
    padding: 22px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 20px;
    background: #14120f; color: #f3eee5;
    font: 15px/1.6 'Golos Text', system-ui, sans-serif;
}
.support-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.support-modal__head h2 { margin: 0; font-size: 22px; }
.support-modal__close {
    border: 0; background: none; color: #aaa49b; font-size: 20px; cursor: pointer; line-height: 1;
}
.support-modal__close:hover { color: #f3eee5; }

.support-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.support-kind input { position: absolute; opacity: 0; pointer-events: none; }
.support-kind span {
    display: inline-block; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px; font-size: 14px; cursor: pointer; color: #cfc8bd;
}
.support-kind input:checked + span { border-color: #f47735; color: #ffd99a; background: rgba(244, 119, 53, .12); }
.support-kind input:focus-visible + span { outline: 2px solid #ffa047; outline-offset: 2px; }

.support-field { display: block; margin-bottom: 12px; }
.support-field > span { display: block; margin-bottom: 6px; font-size: 14px; color: #cfc8bd; }
.support-field small { color: #7d7a75; }
.support-field textarea, .support-field input {
    width: 100%; box-sizing: border-box; padding: 11px 13px; border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .32);
    color: #f3eee5; font: inherit; resize: vertical;
}
.support-field textarea:focus, .support-field input:focus { outline: none; border-color: #f47735; }

.support-note { margin: 0 0 14px; font-size: 13px; color: #7d7a75; }
.support-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.support-send {
    padding: 12px 22px; border: 0; border-radius: 12px; cursor: pointer;
    background: linear-gradient(135deg, #f47735, #ffa047); color: #140d06; font: 700 15px/1 'Golos Text', system-ui, sans-serif;
}
.support-status { font-size: 14px; color: #aaa49b; }
body.support-open { overflow: hidden; }

@media (max-width: 560px) {
    .support-tab { right: 12px; bottom: 12px; padding: 10px 14px; font-size: 13px; }
    .support-tab span { display: none; }
    .support-modal__panel { padding: 18px; }
}
