/* Emoji-Auswahl (emoji_waehler.js) */
.rew-ov { position: fixed; inset: 0; z-index: 100080; background: transparent; pointer-events: none; }
.rew-ov .rew-box { pointer-events: auto; }
.rew-ov.rew-mobil { display: flex; align-items: flex-end; }
.rew-box { position: fixed; display: flex; flex-direction: column; background: #fff; border: 1px solid #e3d9d9; border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.28); overflow: hidden; color: #2a2222; font-family: system-ui, -apple-system, sans-serif; }
.rew-mobil .rew-box { position: static; width: 100%; border-radius: 16px 16px 0 0; border: 0; border-top: 1px solid #e3d9d9; box-shadow: 0 -6px 24px rgba(0,0,0,.18); padding-bottom: env(safe-area-inset-bottom, 0px); }
.rew-mobil .rew-kopf { display: none; }
.rew-x2 { display: none; }
.rew-mobil .rew-x2 { display: inline-flex; align-items: center; justify-content: center; flex: none; }
html.rew-offen body { padding-bottom: var(--rew-h, 0px) !important; }
.rew-kopf { display: flex; justify-content: space-between; align-items: center; padding: 7px 12px; border-bottom: 1px solid #eee; font-size: .9rem; }
.rew-x { border: 0; background: #f2f2f2; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; color: #555; font-size: 1rem; }
.rew-suchzeile { position: relative; display: flex; align-items: center; gap: 6px; padding: 7px 10px 4px; }
.rew-such { flex: 1; display: flex; align-items: center; gap: 6px; background: #f3f3f3; border: 2px solid #cfe0f5; border-radius: 9px; padding: 0 8px; min-width: 0; }
.rew-such:focus-within { border-color: #8f0707; }
.rew-such i { color: #777; }
.rew-q { flex: 1; border: 0; background: none; outline: none; padding: 7px 0; font-size: 16px; min-width: 0; }
.rew-ton { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; cursor: pointer; font-size: 1.25rem; color: #555; padding: 4px 6px; border-radius: 8px; }
.rew-ton i { font-size: .7rem; }
.rew-ton:hover { background: #f3eded; }
.rew-tonmenue { position: absolute; right: 8px; top: 46px; z-index: 5; background: #fff; border: 1px solid #e3d9d9; border-radius: 12px; box-shadow: 0 6px 22px rgba(0,0,0,.22); padding: 6px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; }
.rew-tonmenue[hidden] { display: none; }
.rew-tonopt { border: 0; background: none; font-size: 1.35rem; padding: 4px; border-radius: 8px; cursor: pointer; }
.rew-tonopt.an, .rew-tonopt:hover { background: #fbeeee; }
.rew-tabs { display: flex; gap: 0; overflow-x: auto; padding: 2px 6px 0; border-bottom: 1px solid #e8e0e0; scrollbar-width: none; flex: none; }
.rew-tabs::-webkit-scrollbar { display: none; }
.rew-tab { flex: none; border: 0; background: none; font-size: 1.1rem; padding: 4px 8px 5px; cursor: pointer; border-bottom: 3px solid transparent; color: #666; }
.rew-tab.an { border-bottom-color: #2f6fd1; }
.rew-liste { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px 12px; -webkit-overflow-scrolling: touch; }
.rew-kat { font-size: .68rem; font-weight: 800; color: #8a7a7a; text-transform: uppercase; letter-spacing: .04em; padding: 7px 4px 2px; }
.rew-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); gap: 1px; }
.rew-e { border: 0; background: none; font-size: 1.45rem; line-height: 1; padding: 4px 0; border-radius: 9px; cursor: pointer; font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; }
.rew-e:hover, .rew-e:active { background: #f3eded; }
.rew-puls { animation: rewpuls .22s; }
@keyframes rewpuls { 50% { transform: scale(1.35); background: #fbeeee; } }
.rew-hinweis { color: #999; text-align: center; padding: 26px 10px; font-size: .9rem; }
