/* Shared Lyckis fields, including touch- and keyboard-friendly select menus. */
body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="file"]), body textarea {
  border: 1px solid #46503e; border-radius: 11px; background: linear-gradient(180deg, #192017, #151a14); color: #f0f4eb; box-shadow: inset 0 1px 0 #ffffff04; padding: 12px 14px; line-height: 1.5; transition: border-color .15s, box-shadow .15s;
}
body input::placeholder, body textarea::placeholder { color: #8c9982; opacity: 1; }
body input:not(:disabled):hover, body textarea:not(:disabled):hover { border-color: #708456; }
body input:focus-visible, body textarea:focus-visible { outline: 0; border-color: #b6df69; box-shadow: 0 0 0 3px #c6f36a1a; }
body input:disabled, body textarea:disabled { opacity: .6; cursor: default; }
body input[type="checkbox"] { appearance: none; display: inline-grid; place-content: center; width: 21px; min-width: 21px; height: 21px; min-height: 21px; padding: 0; border: 1px solid #687b50; border-radius: 6px; background: #1a2215; accent-color: var(--lime); cursor: pointer; }
body input[type="checkbox"]:checked { background: var(--lime); border-color: var(--lime); }
body input[type="checkbox"]:checked::after { content: ''; width: 8px; height: 12px; margin-top: -3px; border: solid #19240f; border-width: 0 2px 2px 0; transform: rotate(45deg); }
body input[type="checkbox"]:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
body input[type="file"]::file-selector-button { padding: 10px 14px; margin-right: 12px; border: 1px solid #566843; border-radius: 8px; background: #2c3921; color: var(--lime); font: inherit; cursor: pointer; }
.lyckis-select { position: relative; display: block; width: 100%; min-width: 0; margin: 0; }
body .lyckis-select > select.lyckis-select-native { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.lyckis-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-width: 0; min-height: 46px; margin: 0; padding: 12px 14px; border: 1px solid #46543a; border-radius: 11px; background: linear-gradient(180deg, #222a1d, #1b2217); color: #eaf1e1; font: inherit; font-size: 13px; line-height: 1.5; text-align: left; box-shadow: inset 0 1px 0 #ffffff05; cursor: pointer; }
.lyckis-select-trigger:hover:enabled { transform: none; border-color: #82955f; background: #283121; }
.lyckis-select-trigger:focus-visible, .lyckis-select-trigger[aria-expanded="true"] { outline: 0; border-color: var(--lime); box-shadow: 0 0 0 3px #c6f36a1a; }
.lyckis-select-trigger[aria-invalid="true"] { border-color: #e7ad86; }
.lyckis-select-trigger:disabled { opacity: .55; cursor: default; }
.lyckis-select-trigger.is-placeholder { color: #a7b39b; }
.lyckis-select-value { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.lyckis-select-trigger > svg { width: 20px; height: 20px; min-width: 20px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.lyckis-select-trigger[aria-expanded="true"] > svg { transform: rotate(180deg); }
.lyckis-select-menu { position: fixed; inset: auto; margin: 0; padding: 6px; overflow: auto; overscroll-behavior: contain; border: 1px solid #6c8052; border-radius: 12px; background: #1f271b; color: #eef2e8; box-shadow: 0 12px 40px #0007; scrollbar-width: thin; scrollbar-color: #6a7a51 #20271b; }
.lyckis-select-menu:popover-open { display: grid; gap: 3px; }
.lyckis-select-option { position: relative; display: block; width: 100%; min-height: 43px; padding: 10px 34px 10px 12px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #dce6d1; font: 13px/1.6 'Inter', sans-serif; text-align: left; overflow-wrap: anywhere; }
.lyckis-select-option:hover:enabled, .lyckis-select-option[data-active="true"] { transform: none; background: #35442a; color: #f3ffdf; border-color: #617b44; }
.lyckis-select-option[aria-selected="true"] { color: var(--lime); background: #2b3821; font-weight: 500; }
.lyckis-select-option[aria-selected="true"]::after { content: '✓'; position: absolute; top: 11px; right: 12px; color: var(--lime); }
.lyckis-select-option:disabled { opacity: .45; cursor: default; }
@media(max-width: 680px) {
  body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]), body textarea { font-size: 16px; }
  .lyckis-select-trigger { min-height: 46px; font-size: 13px; }
  .lyckis-select-option { min-height: 46px; font-size: 14px; }
}
@media(prefers-reduced-motion: reduce) { .lyckis-select-trigger > svg, body input, body textarea { transition: none; } }
