/* steamcommunity.report — "Found an issue? Let us know here!" (feedback.js).
   The footer line and the report window with its CS2 weapon captcha.

   Classic-Steam look, same recipes as classic-chrome.css: 1px bevels (light top-left,
   dark bottom-right), a 26px title band, sunken fields, raised buttons, square corners.
   Self-contained: every colour reads the classic-chrome token when the page defines it and
   falls back to its value otherwise, so the wiki pages (which may not load site.css or
   classic-chrome.css) render the same window. */

/* ---- footer line (every page, directly under .sfoot__nav) ------------------------------------ */
.sfoot__issue{ margin:0 0 4px; text-align:center; font:12px/1.4 var(--ui, Tahoma, Verdana, "Segoe UI", Geneva, sans-serif);
  color:var(--tx-2, #CCD3C2); }
.sfoot__issue-btn{ margin:0; padding:0; border:0; border-radius:0; background:none; cursor:pointer;
  font:inherit; font-weight:700; color:var(--hc-gold, #C4B550); text-decoration:none; }
.sfoot__issue-btn:hover{ color:var(--gold-hi, #E2D67A); text-decoration:underline; }
.sfoot__issue-btn:focus-visible{ outline:1px dotted var(--tx-hi, #F2F5EE); outline-offset:2px; }
/* the homepage has to fit a short laptop window without scrolling (see home-classic.css), so the
   extra line is tightened there */
@media (max-height:899px) and (min-width:901px){
  .home-classic .sfoot__issue{ margin:-4px 0 0; line-height:1.15; }
}

/* ---- the window ------------------------------------------------------------------------------- */
.fb{ --fb-win:var(--win, #4C5844); --fb-dk:var(--win-dk, #3E4637); --fb-well:var(--well, #22271C);
  --fb-hi:var(--hi, #8C9284); --fb-lo:var(--lo, #282E22); --fb-edge:var(--edge, #171B13); --fb-etch:var(--etch, #66705B);
  --fb-tx:var(--tx, #D8DED3); --fb-txhi:var(--tx-hi, #F2F5EE); --fb-tx2:var(--tx-2, #CCD3C2); --fb-tx3:var(--tx-3, #C4CCBA);
  --fb-gold:var(--hc-gold, #C4B550); --fb-goldhi:var(--gold-hi, #E2D67A); --fb-ok:var(--ok, #9fdba0);
  --fb-ui:var(--ui, Tahoma, Verdana, "Segoe UI", Geneva, sans-serif); --fb-mono:var(--hcmono, "Lucida Console", Consolas, "Courier New", monospace);
  position:fixed; inset:0; z-index:1200; display:flex; align-items:center; justify-content:center; padding:20px;
  font:13px/1.5 var(--fb-ui); color:var(--fb-tx); text-align:left; }
.fb[hidden]{ display:none; }
.fb *, .fb *::before, .fb *::after{ box-sizing:border-box; }
.fb [hidden]{ display:none !important; }
.fb h2, .fb p, .fb label, .fb button, .fb select, .fb input, .fb textarea{ text-transform:none; text-shadow:none; }
.fb__title{ padding:0; border:0; background:none; }
.fb__back{ position:absolute; inset:0; background:rgba(10,12,8,.62); }
.fb__win{ position:relative; z-index:1; display:flex; flex-direction:column; width:100%; max-width:460px; max-height:100%;
  background:var(--fb-win); border:1px solid; border-color:var(--fb-hi) var(--fb-lo) var(--fb-lo) var(--fb-hi);
  box-shadow:0 0 0 1px var(--fb-edge), 6px 6px 0 rgba(0,0,0,.3); }
.fb__bar{ flex:none; position:relative; height:26px; padding:0 34px 0 8px; background:var(--fb-dk);
  border-bottom:1px solid var(--fb-lo); box-shadow:0 1px 0 var(--fb-etch); }
.fb__title{ margin:0; font:700 12px/26px var(--fb-ui); letter-spacing:.04em; color:var(--fb-txhi);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.fb__x{ position:absolute; top:4px; right:5px; width:18px; height:17px; padding:0 0 1px; margin:0;
  display:flex; align-items:center; justify-content:center; cursor:pointer; border-radius:0;
  background:var(--fb-win); color:var(--fb-txhi); font:700 14px/1 var(--fb-ui);
  border:1px solid; border-color:var(--fb-hi) var(--fb-lo) var(--fb-lo) var(--fb-hi); box-shadow:0 0 0 1px var(--fb-edge); }
.fb__x:hover{ color:var(--fb-gold); }
.fb__x:active{ border-color:var(--fb-lo) var(--fb-hi) var(--fb-hi) var(--fb-lo); }
.fb__x:focus-visible{ outline:1px dotted var(--fb-txhi); outline-offset:-4px; }
.fb__body{ flex:1 1 auto; min-height:0; overflow-y:auto; padding:12px 14px 14px; scrollbar-width:auto; }
.fb__body::-webkit-scrollbar{ width:16px; background:#353C2F; }
.fb__body::-webkit-scrollbar-track{ background:#353C2F; }
.fb__body::-webkit-scrollbar-thumb{ background:var(--fb-win); min-height:24px; border-radius:0;
  border:1px solid; border-color:var(--fb-hi) var(--fb-lo) var(--fb-lo) var(--fb-hi); }

/* ---- fields ------------------------------------------------------------------------------------ */
.fb__f{ margin:0 0 10px; }
.fb__f label{ display:block; margin:0 0 3px; font:700 12px/1.4 var(--fb-ui); color:var(--fb-txhi); }
.fb input[type="text"], .fb select, .fb textarea{ display:block; width:100%; min-width:0; margin:0; border-radius:0;
  background:var(--fb-dk); color:var(--fb-txhi); font:13px/1.4 var(--fb-ui);
  border:1px solid; border-color:var(--fb-lo) var(--fb-hi) var(--fb-hi) var(--fb-lo); box-shadow:inset 1px 1px 0 #1d2218; }
.fb input[type="text"], .fb select{ min-height:28px; padding:4px 8px; }
.fb .fb__mono{ font:12px var(--fb-mono); }
.fb textarea{ min-height:84px; padding:6px 8px; resize:vertical; }
.fb input[type="text"]::placeholder, .fb textarea::placeholder{ color:var(--fb-tx3); }
.fb input[type="text"]:focus, .fb select:focus, .fb textarea:focus{ outline:none; background:#434C3B; }
.fb [aria-invalid="true"]{ border-color:#8E3B2E #C9786A #C9786A #8E3B2E; }
.fb__sel{ position:relative; }
.fb select{ appearance:none; -webkit-appearance:none; padding-right:26px; cursor:pointer; text-overflow:ellipsis; }
.fb select option{ background:var(--fb-dk); color:var(--fb-txhi); }
.fb__sel::after{ content:""; position:absolute; top:50%; right:9px; margin-top:-2px; pointer-events:none;
  border:4px solid transparent; border-top-color:var(--fb-gold); border-bottom-width:0; }
.fb__row{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.fb__count{ flex:none; margin:2px 0 0 auto; font:11px var(--fb-mono); color:var(--fb-tx3); }
.fb__err{ margin:3px 0 0; font-size:12px; line-height:1.4; color:#F4B7A9; }
.fb__row .fb__err{ flex:1 1 auto; min-width:0; }
.fb__err--form{ margin:8px 0 0; }

/* ---- buttons ----------------------------------------------------------------------------------- */
.fb__btn{ display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:28px; margin:0;
  padding:4px 14px; cursor:pointer; white-space:nowrap; border-radius:0;
  background:var(--fb-win); color:var(--fb-txhi); font:700 12px/1.2 var(--fb-ui); letter-spacing:.02em;
  border:1px solid; border-color:var(--fb-hi) var(--fb-lo) var(--fb-lo) var(--fb-hi); box-shadow:0 0 0 1px var(--fb-edge); }
.fb__btn:hover:not(:disabled){ color:var(--fb-gold); }
.fb__btn:active:not(:disabled){ border-color:var(--fb-lo) var(--fb-hi) var(--fb-hi) var(--fb-lo); }
.fb__btn:focus-visible{ outline:1px dotted currentColor; outline-offset:-4px; }
.fb__btn:disabled{ cursor:default; color:var(--fb-tx3); text-shadow:1px 1px 0 var(--fb-lo); }
.fb__btn--go{ min-width:84px; background:var(--fb-gold); color:#1C2014; border-color:#E6DC96 #5F5620 #5F5620 #E6DC96; box-shadow:0 0 0 1px #0E110A; }
.fb__btn--go:hover:not(:disabled){ background:#D2C35C; color:#1C2014; }
.fb__btn--go:active:not(:disabled){ border-color:#5F5620 #E6DC96 #E6DC96 #5F5620; background:#B8A948; }
.fb__btn--go:disabled{ background:#555b49; color:#8f9585; border-color:#767c6b #3a3f31 #3a3f31 #767c6b; box-shadow:0 0 0 1px var(--fb-edge); text-shadow:none; }
.fb__actions{ display:flex; justify-content:flex-end; gap:8px; margin:12px 0 0; }

/* ---- captcha ----------------------------------------------------------------------------------- */
.fb-cap{ width:100%; max-width:292px; margin:0 0 2px; background:#1A1E15;
  border:1px solid; border-color:var(--fb-lo) var(--fb-hi) var(--fb-hi) var(--fb-lo); box-shadow:inset 1px 1px 0 #11140D; }
.fb-cap__head{ min-height:32px; padding:7px 10px 7px 13px; background:var(--fb-dk); color:var(--fb-txhi);
  font:700 13px/1.4 var(--fb-ui); border-bottom:1px solid var(--fb-lo); box-shadow:inset 3px 0 0 var(--fb-gold), 0 1px 0 var(--fb-etch); }
.fb-cap__head b{ color:var(--fb-goldhi); }
.fb-cap__grid{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:4px; padding:6px; }
.fb-tile{ position:relative; display:block; width:100%; aspect-ratio:1 / 1; margin:0; padding:0; cursor:pointer; border-radius:0;
  background:#12150E; color:inherit; border:1px solid; border-color:var(--fb-lo) #4A5340 #4A5340 var(--fb-lo); }
.fb-tile:disabled{ cursor:default; }
.fb-tile:not(:disabled):hover{ border-color:var(--fb-lo) var(--fb-etch) var(--fb-etch) var(--fb-lo); background:#171A11; }
/* the tiles are picked from the keyboard (Tab, Space), so the focused one has to stand out against
   the gold of a picked one as well */
.fb-tile:focus-visible{ outline:2px solid var(--fb-txhi); outline-offset:-3px; background:#262B1C; }
.fb-tile img{ position:absolute; top:8%; left:8%; width:84%; height:84%; object-fit:contain; pointer-events:none; user-select:none; -webkit-user-drag:none; }
.fb-tile.is-on{ border-color:var(--fb-gold); box-shadow:inset 0 0 0 1px var(--fb-gold); background:#1F2315; }
.fb-tile__tick{ display:none; position:absolute; top:3px; right:3px; width:16px; height:16px; background:var(--fb-gold); }
.fb-tile__tick::after{ content:""; position:absolute; left:5px; top:1px; width:4px; height:9px;
  border:solid #1C2014; border-width:0 2px 2px 0; transform:rotate(45deg); }
.fb-tile.is-on .fb-tile__tick{ display:block; }
.fb-cap__foot{ display:flex; align-items:center; gap:6px; padding:0 6px 6px; }
.fb-cap__msg{ flex:1 1 auto; min-width:0; font-size:12px; line-height:1.3; color:#F4B7A9; }
.fb-cap__re{ flex:none; width:28px; padding:0; }
.fb-cap__foot .fb__btn{ flex:none; }
/* "I can't do the image check" under the captcha, and the box that stands in for it once chosen */
.fb-alt{ width:100%; max-width:292px; margin:6px 0 2px; }
.fb-alt__btn{ margin:0; padding:2px 0; border:0; border-radius:0; background:none; cursor:pointer; text-align:left;
  font:12px/1.4 var(--fb-ui); color:var(--fb-txhi); text-decoration:underline; text-underline-offset:2px; }
.fb-alt__btn:hover{ color:var(--fb-goldhi); }
.fb-alt__btn:focus-visible{ outline:1px dotted currentColor; outline-offset:2px; }
.fb-assist{ width:100%; max-width:292px; margin:0 0 2px; padding:7px 10px 8px 13px; background:var(--fb-dk);
  border:1px solid; border-color:var(--fb-lo) var(--fb-hi) var(--fb-hi) var(--fb-lo); box-shadow:inset 3px 0 0 var(--fb-gold); }
.fb-assist__t{ margin:0; font:700 13px/1.4 var(--fb-ui); color:var(--fb-txhi); }
.fb-assist__s{ margin:2px 0 4px; font:12px/1.45 var(--fb-ui); color:var(--fb-tx); }
.fb-ok{ display:flex; align-items:center; gap:8px; width:100%; max-width:292px; min-height:32px; margin:0 0 2px; padding:6px 10px; background:var(--fb-dk);
  font:700 13px/1.3 var(--fb-ui); color:var(--fb-ok);
  border:1px solid; border-color:var(--fb-lo) var(--fb-hi) var(--fb-hi) var(--fb-lo); box-shadow:inset 3px 0 0 var(--fb-ok); }
.fb-ok__tick{ position:relative; flex:none; width:16px; height:16px; margin-left:3px; background:var(--fb-ok); }
.fb-ok__tick::after{ content:""; position:absolute; left:5px; top:1px; width:4px; height:9px;
  border:solid #1C2014; border-width:0 2px 2px 0; transform:rotate(45deg); }

/* ---- Steam sign-in (same look as the header's Sign in button) ---------------------------------- */
.fb-steam{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:32px; margin:2px 0 0; padding:6px 14px;
  cursor:pointer; border-radius:0; white-space:nowrap; background:#2A3023; color:var(--fb-tx);
  font:700 12px/1.2 var(--fb-ui); border:1px solid; border-color:#6E7766 #0A0C07 #0A0C07 #6E7766; box-shadow:0 0 0 1px #000; }
.fb-steam__ico{ flex:none; color:#9fb6cc; }
.fb-steam:hover{ color:var(--fb-gold); }
.fb-steam:hover .fb-steam__ico{ color:var(--fb-gold); }
.fb-steam:active{ border-color:#0A0C07 #6E7766 #6E7766 #0A0C07; background:#20251A; }
.fb-steam:focus-visible{ outline:1px dotted var(--fb-txhi); outline-offset:-4px; }

/* ---- sent -------------------------------------------------------------------------------------- */
.fb__done-t{ margin:6px 0 4px; padding:8px 12px; font:13px/1.55 var(--fb-ui); color:var(--fb-txhi); background:var(--fb-dk);
  border:1px solid; border-color:var(--fb-lo) var(--fb-hi) var(--fb-hi) var(--fb-lo); box-shadow:inset 3px 0 0 var(--fb-gold); }
.fb__done-t:focus{ outline:none; }

.fb__sr{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* ---- phones: a full-width sheet ---------------------------------------------------------------- */
@media (max-width:560px){
  .fb{ padding:0; align-items:flex-end; }
  .fb__win{ max-width:none; max-height:92%; border-left-width:0; border-right-width:0; border-bottom-width:0;
    box-shadow:0 -2px 0 var(--fb-edge); }
  .fb__x{ width:26px; height:22px; top:2px; right:4px; font-size:17px; }
  .fb__bar{ padding-right:40px; }
  .fb__body{ padding:12px 16px 16px; }
  .fb input[type="text"], .fb select, .fb textarea{ font-size:16px; }
  .fb input[type="text"], .fb select{ min-height:38px; }
  .fb .fb__mono{ font-size:14px; }
  .fb__btn{ min-height:38px; }
  .fb-cap__re{ width:38px; }
  .fb-cap, .fb-ok, .fb-alt, .fb-assist{ max-width:none; }
  .fb-alt__btn{ padding:8px 0; }
  .fb-steam{ width:100%; min-height:40px; }
  .fb__actions .fb__btn--go{ flex:1 1 auto; }
  .sfoot__issue{ padding:0 8px; }
}
