/* v1.17 feedback, Dev Notifications, sound settings, keyboard tester */
.fbm, .fbd, .fbw, .fbx-card, .fb-toast { --p: var(--primary-orange, #ff5fa2); --prgb: var(--primary-orange-rgb, 255, 95, 162); }
.fbm, .fbd { position: fixed; inset: 0; z-index: 2147481000; display: grid; place-items: center; padding: 16px; box-sizing: border-box; background: rgba(6, 3, 8, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.fbm.on, .fbd.on { opacity: 1; }
.fbm-box, .fbd-box { position: relative; box-sizing: border-box; color: #f4eaf0; text-align: left; border-radius: 22px; background: linear-gradient(180deg, rgba(36, 22, 33, .98), rgba(16, 11, 17, .99)); border: 1px solid rgba(var(--prgb), .45);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 50px rgba(var(--prgb), .18); transform: translateY(18px) scale(.96); transition: transform .4s cubic-bezier(.2, 1.3, .4, 1); }
.fbm.on .fbm-box, .fbd.on .fbd-box { transform: none; }
.fbm-box { width: min(460px, 100%); padding: 22px; max-height: calc(100vh - 32px); overflow-y: auto; }
.fbm-x { all: unset; position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #b9a9b2; }
.fbm-x:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.fbm-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-right: 34px; }
.fbm-top img { width: 46px; height: 46px; image-rendering: pixelated; }
.fbm-title { font-size: 1.18rem; font-weight: 800; color: #fff; }
.fbm-sub { font-size: .86rem; color: #b9a9b2; margin-top: 2px; }
.fbm-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.fbm-kinds button, .fbx-chips button, .fbd-tabs button { all: unset; box-sizing: border-box; padding: 7px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: #cbbcc6; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background .2s, color .2s, border-color .2s, transform .15s; white-space: nowrap; }
.fbm-kinds button:hover, .fbx-chips button:hover, .fbd-tabs button:hover { color: #fff; border-color: rgba(var(--prgb), .5); }
.fbm-kinds button.on, .fbx-chips button.on, .fbd-tabs button.on { color: #14060d; background: linear-gradient(135deg, #ffd3e6, var(--p)); border-color: transparent; }
.fbm-stars { display: flex; justify-content: center; gap: 6px; margin: 18px 0 2px; }
.fbm-stars button { all: unset; font-size: 2.1rem; color: rgba(255, 255, 255, .16); transition: transform .18s cubic-bezier(.2, 1.6, .4, 1), color .15s, filter .15s; }
.fbm-stars button:hover { transform: scale(1.25) rotate(-8deg); }
.fbm-stars button.on { color: #ffc93c; filter: drop-shadow(0 0 10px rgba(255, 201, 60, .7)); }
.fbm-stars.shake { animation: fbShake .4s; }
@keyframes fbShake { 25% { transform: translateX(-8px); } 50% { transform: translateX(8px); } 75% { transform: translateX(-4px); } }
.fbm-starmsg { text-align: center; min-height: 1.3em; font-size: .86rem; font-weight: 700; color: #ffc93c; margin-bottom: 12px; }
.fbm-box textarea { all: unset; display: block; box-sizing: border-box; width: 100%; min-height: 104px; padding: 12px 14px; border-radius: 14px; font-size: .95rem; line-height: 1.45; color: #f3ebf0; white-space: pre-wrap; overflow-wrap: anywhere; cursor: text;
  background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .12); transition: border-color .2s, box-shadow .2s; }
.fbm-box textarea:focus { border-color: rgba(var(--prgb), .7); box-shadow: 0 0 0 4px rgba(var(--prgb), .12); }
.fbm-box textarea::placeholder { color: #8f808a; }
.fbm-row { display: flex; justify-content: space-between; gap: 10px; margin: 8px 2px 14px; font-size: .8rem; color: #9c8d96; }
.fbm-msg { color: #ffb4c9; }
.fbm-link { all: unset; color: var(--p); font-weight: 700; text-decoration: underline; }
.fbm-send { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 13px; border-radius: 14px; font-weight: 800; color: #14060d; background: linear-gradient(135deg, #ffd3e6, var(--p)); box-shadow: 0 8px 22px rgba(var(--prgb), .4); transition: transform .15s, box-shadow .2s, opacity .2s; }
.fbm-send:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(var(--prgb), .6); }
.fbm-send:disabled { opacity: .5; pointer-events: none; }
.fbm-done { text-align: center; padding: 26px 10px; }
.fbm-done > span { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 14px; border-radius: 50%; font-size: 2rem; color: #14060d; background: linear-gradient(135deg, #b6f7cf, #3ddc84); box-shadow: 0 0 34px rgba(61, 220, 132, .6); animation: fbPop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes fbPop { from { transform: scale(0) rotate(-40deg); } }

/* reviews on the home page */
.fbw { width: min(980px, 100%); margin-top: 26px; }
.fbw-head { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px; margin-bottom: 14px; }
.fbw-score { display: flex; align-items: center; gap: 10px; color: #cbbcc6; }
.fbw-score b { font-size: 1.7rem; font-weight: 900; color: #fff; }
.fbw-score small { font-size: .84rem; }
.fbw-stars { display: inline-flex; gap: 2px; color: #ffc93c; font-size: .86rem; }
.fbw-stars .far { color: rgba(255, 255, 255, .22); }
.fbw-btn, .fbx-btn { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-size: .88rem; font-weight: 800; white-space: nowrap; color: #f3ebf0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.fbw-btn, .fbx-btn.main { color: #14060d; background: linear-gradient(135deg, #ffd3e6, var(--p)); border-color: transparent; box-shadow: 0 6px 18px rgba(var(--prgb), .35); }
.fbw-btn:hover, .fbx-btn:hover { transform: translateY(-2px); border-color: rgba(var(--prgb), .6); }
.fbx-btn.on { border-color: var(--p); color: var(--p); background: rgba(var(--prgb), .12); }
.fbx-btn.sm { padding: 6px 10px; font-size: .78rem; }
.fbw-strip { position: relative; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.fbw-track { display: flex; gap: 14px; justify-content: center; padding: 6px 2px 10px; }
.fbw-strip.run .fbw-track { justify-content: flex-start; width: max-content; animation: fbwRun 40s linear infinite; }
.fbw-strip.run:hover .fbw-track { animation-play-state: paused; }
@keyframes fbwRun { to { transform: translateX(calc(-50% - 7px)); } }
.fbw-card { flex: none; width: 270px; box-sizing: border-box; padding: 14px 16px; border-radius: 18px; text-align: left; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .2s, border-color .2s; }
.fbw-card:hover { transform: translateY(-4px); border-color: rgba(var(--prgb), .55); }
.fbw-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.fbw-top b { display: block; color: #fff; font-size: .92rem; }
.fbw-ava { flex: none; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-weight: 800; color: #14060d; background: var(--p); }
.fbw-ava img { width: 100%; height: 100%; object-fit: cover; }
.fbw-card p { margin: 0; font-size: .88rem; line-height: 1.45; color: #d9cbd3; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }

/* Dev Notifications */
.bl-nav-dev + .bl-nav-dev { margin-top: 4px; }
.fbd-nav { position: relative; }
.fbd-nav.hot i { animation: fbBell 1.6s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes fbBell { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20%, 40% { transform: rotate(-16deg); } }
.fbd-nav .bl-nav-dot[hidden] { display: none; }
.fbd-box { width: min(760px, 100%); height: min(86vh, 780px); display: flex; flex-direction: column; overflow: hidden; }
.fbd-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 16px 56px 14px 20px; font-size: 1.12rem; font-weight: 800; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.fbd-head i { color: var(--p); margin-right: 8px; }
.fbd-bar { flex: none; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.fbd-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.fbd-tabs button { padding: 6px 10px; font-size: .78rem; }
.fbd-tabs b { opacity: .7; font-weight: 800; margin-left: 2px; }
.fbd-tools { display: flex; gap: 6px; }
.fbd-tools button, .fbd-acts button { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; font-size: .78rem; font-weight: 700; color: #cbbcc6; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.fbd-tools button:hover, .fbd-acts button:hover { color: #fff; border-color: rgba(var(--prgb), .6); }
.fbd-acts button.main { color: #14060d; background: linear-gradient(135deg, #b6f7cf, #3ddc84); border-color: transparent; }
.fbd-acts button[data-a="delete"]:hover { color: #ff8a8a; border-color: #ff8a8a; }
.fbd-list { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: rgba(var(--prgb), .45) transparent; }
.fbd-empty { margin: auto; text-align: center; color: #9c8d96; font-size: .95rem; line-height: 2; }
.fbd-empty i { font-size: 2rem; color: var(--p); }
.fbd-item { padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); border-left: 4px solid var(--p); animation: fbItem .35s ease both; }
.fbd-item.k-idea { border-left-color: #ffc93c; } .fbd-item.k-bug { border-left-color: #ff7a7a; } .fbd-item.k-game { border-left-color: #7aa7ff; }
.fbd-item.done { opacity: .6; }
@keyframes fbItem { from { opacity: 0; transform: translateY(10px); } }
.fbd-ihead { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.fbd-ihead b { color: #fff; font-size: .95rem; }
.fbd-ihead small { margin-left: auto; color: #9c8d96; font-size: .76rem; }
.fbd-tag { padding: 2px 8px; border-radius: 999px; font-size: .7rem; font-weight: 800; color: #f3ebf0; background: rgba(255, 255, 255, .09); }
.fbd-live { padding: 2px 8px; border-radius: 999px; font-size: .68rem; font-weight: 800; color: #14060d; background: #3ddc84; }
.fbd-item p { margin: 8px 0 10px; font-size: .93rem; line-height: 1.45; color: #e6dae2; white-space: pre-wrap; overflow-wrap: anywhere; }
.fbd-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.fb-toast { all: unset; position: fixed; right: 18px; top: 18px; z-index: 2147480000; box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; font-size: .9rem; font-weight: 700; color: #fff;
  background: rgba(36, 22, 33, .97); border: 1px solid rgba(var(--prgb), .6); box-shadow: 0 16px 40px rgba(0, 0, 0, .5), 0 0 24px rgba(var(--prgb), .25); transform: translateX(120%); transition: transform .45s cubic-bezier(.2, 1.3, .4, 1); }
.fb-toast.on { transform: none; }
.fb-toast i { color: var(--p); animation: fbBell 1.6s ease-in-out infinite; transform-origin: 50% 0; }
.fb-toast small { padding: 3px 8px; border-radius: 8px; color: #14060d; background: var(--p); font-weight: 800; }

/* settings cards */
.fbx-card { box-sizing: border-box; margin: 18px auto 0; padding: 18px 20px; border-radius: 18px; text-align: left; color: #efe6ec; background: rgba(20, 14, 20, .78); border: 1px solid rgba(var(--prgb), .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.fbx-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 1.05rem; font-weight: 800; color: var(--p); }
.fbx-item { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.fbx-item > div:first-child { flex: 1 1 240px; min-width: 0; }
.fbx-item b { display: block; font-size: .95rem; color: #fff; }
.fbx-item small { display: block; margin-top: 3px; font-size: .82rem; line-height: 1.4; color: #b9a9b2; }
.fbx-chips, .fbx-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.fbx-switch { all: unset; flex: none; position: relative; width: 52px; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, .12); transition: background .25s; }
.fbx-switch i { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.2, 1.5, .4, 1); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.fbx-switch.on { background: var(--p); } .fbx-switch.on i { transform: translateX(22px); }
.fbx-switch:focus-visible, .fbx-btn:focus-visible, .fbw-btn:focus-visible, .fbm-send:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.fbx-vol { display: flex; align-items: center; gap: 10px; color: #b9a9b2; }
.fbx-vol input { width: 160px; accent-color: var(--p); }
.fbx-vol span { min-width: 28px; text-align: right; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

/* keyboard tester */
.kb-wrap { padding: 14px 0 4px; border-top: 1px solid rgba(255, 255, 255, .07); animation: fbItem .35s ease both; }
.kb-wrap[hidden] { display: none; }
.kb-info { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 12px; font-size: .84rem; color: #b9a9b2; }
.kb-info b { color: #fff; } .kb-info button { margin-left: auto; }
.kb { padding: 12px; border-radius: 16px; background: linear-gradient(180deg, #1c121c, #110b11); border: 1px solid rgba(255, 255, 255, .1); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .04), 0 14px 30px rgba(0, 0, 0, .35); user-select: none; -webkit-user-select: none; }
.kb-row { display: flex; gap: 5px; margin-bottom: 5px; } .kb-row:last-child { margin-bottom: 0; }
.kb-key { flex: 1 1 0; min-width: 0; height: 40px; display: grid; place-items: center; border-radius: 8px; font-size: .74rem; font-weight: 700; color: #d9cbd3; overflow: hidden; white-space: nowrap;
  background: linear-gradient(180deg, #33243299, #22172299); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 3px 0 rgba(0, 0, 0, .45); transition: transform .06s, box-shadow .06s, background .25s, color .25s, border-color .25s; }
.kb-row.fn .kb-key { height: 28px; font-size: .66rem; }
.kb-key.hit { color: #fff; border-color: rgba(var(--prgb), .55); background: linear-gradient(180deg, rgba(var(--prgb), .3), rgba(var(--prgb), .14)); }
.kb-key.down { transform: translateY(3px); box-shadow: 0 0 0 rgba(0, 0, 0, .45), 0 0 18px rgba(var(--prgb), .9); color: #14060d; background: linear-gradient(180deg, #ffd3e6, var(--p)); border-color: transparent; transition-duration: 0s; }
.kb-try { all: unset; display: block; box-sizing: border-box; width: 100%; margin-top: 12px; padding: 11px 14px; border-radius: 12px; font-size: .92rem; color: #f3ebf0; cursor: text; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .12); }
.kb-try:focus { border-color: rgba(var(--prgb), .7); }
.kb-try::placeholder { color: #8f808a; }
@media (max-width: 720px) {
  .kb { padding: 6px; } .kb-row { gap: 3px; margin-bottom: 3px; } .kb-key { height: 30px; font-size: .56rem; border-radius: 5px; } .kb-row.fn .kb-key { height: 22px; font-size: .5rem; }
  .fbx-vol input { width: 120px; } .fbw-card { width: 230px; } .fb-toast { left: 12px; right: 12px; top: 12px; } .fbd-nav > span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fbw-strip.run .fbw-track, .fbd-nav.hot i, .fb-toast i { animation: none !important; } .fbw-strip.run .fbw-track { flex-wrap: wrap; width: auto; justify-content: center; } }
.bl-nav-dot { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; display: inline-grid; place-items: center; border-radius: 999px; font-size: .7rem; font-weight: 800; color: #fff; background: #ff3b6b; box-shadow: 0 0 10px rgba(255, 59, 107, .8); }
@media (max-width: 720px) { .bl-nav-dot { position: absolute; top: 4px; right: 18%; margin: 0; min-width: 16px; height: 16px; padding: 0 4px; font-size: .6rem; } }
.fbd-nav { gap: 9px; padding: 0 12px; } .fbd-nav > span { white-space: nowrap; font-size: .95rem; }
