.ai-order-settings { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 10px 0; min-width: 0; }
.ai-order-settings[hidden], #reservationRuleNote[hidden] { display: none; }
#resultRegulars[hidden], .reservation-mode #tripleReward { display: none !important; }
.ai-order-settings label { font-size: 14px; min-width: 0; }
.ai-order-settings select { max-width: 100%; min-height: 44px; padding: 7px 10px; border: 1px solid #b98799; border-radius: 10px; background: #fff; color: #573e47; font: inherit; }
.ai-order-settings button { min-height: 44px; font-size: 14px; padding: 8px 12px; }
.ai-order-settings > p { flex-basis: 100%; margin: 0; font-size: 12px; line-height: 1.5; }
.order-recipe.reservation-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
.reservation-choice { min-width: 0; min-height: 44px; border: 1px solid #ad627f; border-radius: 9px; color: #573747; background: #fff1f7; padding: 3px 6px; font: inherit; line-height: 1.25; }
.reservation-choice > span { display: block; white-space: nowrap; font-size: 14px; }
.reservation-choice > small { display: block; white-space: nowrap; font-size: 11px; }
.reservation-choice:disabled { opacity: .55; }
.reservation-choice:focus-visible, .regulars-close:focus-visible { outline: 3px solid #405b92; outline-offset: 2px; }
.reservation-mode .skill-button, .reservation-mode #boosterButton { opacity: .4; }
.regulars-modal { width: min(820px,calc(100vw - 24px)); padding: 20px; max-height: calc(100dvh - 24px); overflow-x: hidden; overflow-y: auto; text-align: left; }
.regulars-header { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 10px; align-items: start; }
.regulars-header h2 { font-size: clamp(24px,5vw,32px); margin: 5px 0; }
.regulars-close { min-width: 44px; min-height: 44px; border: 0; border-radius: 50%; background: #efd2df; font-size: 28px; }
.regulars-intro { font-size: 16px; line-height: 1.5; }
.regulars-entry { border: 1px solid #dbbbc5; border-radius: 18px; padding: 16px; background: #fffdfa; margin: 12px 0; min-width: 0; }
.regulars-entry h3 { font-size: 21px; margin: 4px 0 12px; overflow-wrap: anywhere; }
.regulars-chapters { margin: 0; padding-inline-start: 24px; }
.regulars-chapters h4 { font-size: 17px; margin: 10px 0 5px; }
.regulars-entry p, .regulars-endings { font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.regulars-chapters .locked { color: #88717b; }
.regulars-answer { color: #8c355d; }
.regulars-badge { background: #fff0bd; border-radius: 12px; padding: 9px; }
.regulars-save-note { font-size: 14px; line-height: 1.6; background: #eee7f3; border-radius: 12px; padding: 12px; }
@media(max-width:760px), (max-height:650px) and (orientation:landscape) {
  .lobby-modal > .ai-order-settings { order: 3; }
  .reservation-mode .order-buttons { min-width: 92px; max-width: 108px; }
  .reservation-mode .order-buttons .packing-button { min-height: 44px; white-space: normal; line-height: 1.2; font-size: 12px; }
}
@media(max-height:650px) and (orientation:landscape) {
  .regulars-modal { padding: 14px; }
  .ai-order-settings { margin: 4px 0; }
  .reservation-mode .order-buttons { max-width: none; }
}
