/* แท็บ "ของแรร์" ในคู่มือ (guide-rare.js · rarity-display-1111) — เลื่อนใน .gd-main กรอบคงที่ · ใช้ตัวอักษรกลาง --fs-* */
.gr { display: flex; flex-direction: column; gap: 8px; }
.gr-rules { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fffdf7; box-shadow: inset 0 0 0 3px #fbf3df; }
.gr-rules p { margin: 0 0 4px; font-size: var(--fs-body, 1em); line-height: 1.5; }
.gr-rules p:last-child { margin: 0; }
.gr-t { display: inline-block; padding: 0 9px; border-radius: 999px; font: 700 var(--fs-sm, 1em)/1.6 var(--font-head, inherit); color: #6b5438; background: #fffdf6; box-shadow: inset 0 0 0 1.5px #d8c49a; }
.gr-t.t-r { background: #8752cf; color: #fff; box-shadow: none; }
.gr-t.t-b { background: linear-gradient(#f6d27a, #d99a26); color: #4a3008; box-shadow: none; }
.gr-h { margin: 4px 2px 0; font-size: var(--fs-body, 1em); color: var(--teal); }
.gr-boss { padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: #fffdf7; }
.gr-boss > header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.gr-boss > header b { font: 700 var(--fs-name, 1.1em) var(--font-head, inherit); color: #6b4510; }
.gr-boss > header small { color: #8a7a5c; font-size: var(--fs-sm, 1em); }
.gr-boss > header .gd-btn { margin-left: auto; }
.gr-cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px; }
.gr-c { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gr-c h5 { margin: 0; font-size: var(--fs-xs, .85em); color: #8a7a5c; }
.gr-it { display: flex; justify-content: space-between; gap: 6px; align-items: baseline; padding: 3px 8px; border-radius: 8px; border: 1.5px solid #e1ad3c; background: radial-gradient(circle at 50% 38%, #fffdf6 42%, #f8e7ae); color: #4a3008; cursor: pointer; text-align: left; min-height: 30px; }
.gr-it b { font-size: var(--fs-sm, 1em); overflow-wrap: anywhere; }
.gr-it small { font-size: var(--fs-xs, .85em); color: #8a5a0c; white-space: nowrap; }
.gr-none { color: #a8997a; font-size: var(--fs-sm, 1em); }
