#atwkg209f_root { width: 100%; margin: 0 auto; font-family: sans-serif; }
#atwkg209f_root button { padding: 6px 9px; font-size: 14px; }
#atwkg209f_root .atwkg209f_controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
#atwkg209f_root .atwkg209f_search { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1 1 auto; }
#atwkg209f_root .atwkg209f_search label { flex: 0 0 auto; font-size: 14px; }
#atwkg209f_root .atwkg209f_search input { min-width: 0; flex: 1 1 auto; padding: 6px; font-size: 16px; }
#atwkg209f_root .atwkg209f_categories { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
#atwkg209f_root .atwkg209f_categories span { display: inline-flex; }
#atwkg209f_root .atwkg209f_rarities { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 10px; }
#atwkg209f_root .atwkg209f_rarities label { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
#atwkg209f_root .atwkg209f_width { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; }
#atwkg209f_root .atwkg209f_width input { min-width: 80px; flex: 1 1 auto; }
#atwkg209f_root .atwkg209f_width output { min-width: 52px; text-align: right; }
#atwkg209f_root .atwkg209f_table_scroll { width: 100%; max-height: 75vh; overflow: auto; -webkit-overflow-scrolling: touch; }
#atwkg209f_root .atwkg209f_table { width: max-content; min-width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
#atwkg209f_root .atwkg209f_table th, #atwkg209f_root .atwkg209f_table td { border: 1px solid #b8b8b8; padding: 6px 8px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
#atwkg209f_root .atwkg209f_table th { position: sticky; top: 0; z-index: 1; padding: 0; background: #eeeeee; }
#atwkg209f_root .atwkg209f_table th button { width: 100%; border: 0; background: transparent; text-align: left; font-weight: bold; }
#atwkg209f_root .atwkg209f_table th:nth-child(2), #atwkg209f_root .atwkg209f_table td:nth-child(2) { width: var(--atwkg209f-effect-width, 240px); min-width: 80px; max-width: none; white-space: normal; }
#atwkg209f_root .atwkg209f_ra td { background: #f2f2f2; }
#atwkg209f_root .atwkg209f_rb td { background: #e7e7e7; }
#atwkg209f_root .atwkg209f_rN.atwkg209f_ra td { background: #f2f2f2; }
#atwkg209f_root .atwkg209f_rN.atwkg209f_rb td { background: #e7e7e7; }
#atwkg209f_root .atwkg209f_rR.atwkg209f_ra td { background: #eaf3ff; }
#atwkg209f_root .atwkg209f_rR.atwkg209f_rb td { background: #dceaff; }
#atwkg209f_root .atwkg209f_rE.atwkg209f_ra td { background: #f3eaff; }
#atwkg209f_root .atwkg209f_rE.atwkg209f_rb td { background: #e9dbff; }
#atwkg209f_root .atwkg209f_rL.atwkg209f_ra td { background: #fff8d9; }
#atwkg209f_root .atwkg209f_rL.atwkg209f_rb td { background: #fff0b8; }
#atwkg209f_root .atwkg209f_rM.atwkg209f_ra td { background: #e5f5e8; }
#atwkg209f_root .atwkg209f_rM.atwkg209f_rb td { background: #d3ecd9; }
#atwkg209f_root .atwkg209f_overlay { display: none; position: fixed; inset: 0; z-index: 999999; overflow-y: auto; padding: 8px; box-sizing: border-box; background: rgba(0,0,0,.45); }
#atwkg209f_root .atwkg209f_panel { width: min(560px, 100%); max-height: 75vh; overflow-y: auto; margin: 0 auto; padding: 12px; box-sizing: border-box; border: 1px solid #777; border-radius: 6px; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.25); }
#atwkg209f_root .atwkg209f_heading { position: sticky; top: -12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0 8px; background: #fff; }
#atwkg209f_root .atwkg209f_choices { display: grid; grid-template-columns: 1fr; gap: 8px; }
#atwkg209f_root .atwkg209f_choices label { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; }
#atwkg209f_root .atwkg209f_choices input { flex: 0 0 auto; margin-top: 2px; }
