
.fmh { position: relative; margin: 0; }
.fmh-fold { margin: 8px 0 0; border: 2px solid var(--frame); border-radius: 12px; background: var(--panel); overflow: hidden; }
.fmh-fold > summary { min-height: 44px; padding: 10px 14px; font-weight: 650; list-style: none; display: flex; align-items: center; cursor: pointer; }
.fmh-fold > summary::-webkit-details-marker { display: none; }
.fmh-fold > summary::before { content: "?"; content: "?" / ""; display: inline-flex; align-items: center; justify-content: center;
  flex: none; width: 1.5em; height: 1.5em; margin-right: 8px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.fmh-fold[open] > summary { border-bottom: 1px solid var(--line); }
.fmh-fold-body { padding: 10px 12px 12px; }
.fmh-qrow { position: relative; }
.fmh-qrow > :first-child:not(details) { margin-inline-end: 52px; }
.fmh-fold.fmh-q { margin: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
.fmh-q > summary { position: absolute; top: 0; inset-inline-end: 0; width: 44px; height: 44px; min-height: 44px; padding: 0;
  justify-content: center; border-radius: 50%; }
.fmh-q > summary::before { width: 30px; height: 30px; margin: 0; font-size: 17px; }
.fmh-q > summary:hover::before { box-shadow: inset 0 0 0 2px var(--accent); }
.fmh-q > summary:focus-visible { outline: 3px solid var(--btn); outline-offset: -3px; }
.fmh-q[open] > summary { border-bottom: 0; }
.fmh-q[open] > summary::before { background: var(--accent); color: var(--panel); }
.fmh-q > .fmh-fold-body { margin: 0 0 8px; border: 2px solid var(--frame); border-radius: 12px; background: var(--panel); }
.fmh-qrow:has(> .srv-pick[hidden]) .fmh-q > summary { visibility: hidden; }
.sl-qrow { line-height: 44px; }
.sl-qrow > .sl-in:first-child { width: 160px; box-sizing: border-box; vertical-align: middle; }
.sl-qrow > .sl-svhow { line-height: normal; }
.sl-qrow .fmh-q > summary { inset-inline-end: auto; inset-inline-start: 164px; }
.sl-qrow .fmh-q > .fmh-fold-body { margin-top: 8px; }
.fmh-phone { position: relative; max-width: 320px; margin: 0 auto; padding: 7px; border: 2px solid var(--frame);
  border-radius: 26px; background: #0d0f14; }
.fmh-key { position: absolute; right: -6px; width: 4px; border-radius: 0 3px 3px 0; background: #0d0f14; }
.fmh-key.fmh-k1 { top: 22%; height: 12%; } .fmh-key.fmh-k2 { left: -6px; right: auto; top: 18%; height: 7%; border-radius: 3px 0 0 3px; }
.fmh-key.fmh-on { background: #ffd23f; box-shadow: 0 0 0 1.5px #000; }
.fmh-tap { position: relative; border-radius: 19px; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  -webkit-user-select: none; user-select: none; }
.fmh-js .fmh-tap { cursor: pointer; }
.fmh-tap:focus-visible { outline: 3px solid var(--btn); outline-offset: 3px; }
.fmh-steps { position: relative; }
.fmh-st { position: absolute; inset: 0; opacity: 0; display: none; }
.fmh-st.fmh-on { display: block; will-change: opacity; }
.fmh:not(.fmh-js):not(.fmh-rm) .fmh-st[data-i="0"] { opacity: 1; }   
.fmh-scr { position: absolute; inset: 0; overflow: hidden; border-radius: 19px; background: #0a72ad; }
.fmh-d { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; font-family: var(--game);
  line-height: 1; color: #000; }
.fmh-d img { display: block; }
.fmh-sign { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(0, 0, 0, .5); display: grid; place-items: center; opacity: 0; pointer-events: none; z-index: 20; }
.fmh-sign svg { width: 30px; height: 30px; fill: #fff; grid-area: 1 / 1; }
.fmh-sign .fmh-icpause, .fmh-paused .fmh-sign .fmh-icplay { display: none; }
.fmh-paused .fmh-sign .fmh-icpause { display: block; }
.fmh-sign.fmh-on { animation: fmhsign .6s ease-out forwards; }
@keyframes fmhsign { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
.fmh-d * { animation: none !important; }
.fmh-again { position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%); z-index: 25; display: inline-flex;
  align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 2px solid #fff; border-radius: 999px;
  background: var(--btn); color: #fff; font: 17px var(--game); white-space: nowrap; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.fmh-again[hidden] { display: none; }
.fmh-again svg { width: 18px; height: 18px; fill: currentColor; }
.fmh-again:focus-visible { outline: 3px solid #ffd23f; outline-offset: 2px; }
.fmh-ctl { margin-top: 4px; }
.fmh-ctl[hidden] { display: none; }
.fmh-bar { position: relative; display: flex; gap: 14px; max-width: 300px; margin: 0 auto; }
.fmh-grp { position: relative; display: flex; gap: 3px; min-width: 0; padding-bottom: 16px; }
.fmh-seg { position: relative; flex: 1; height: 44px; margin: 0 0 -14px; padding: 0; border: 0; background: none; cursor: pointer;
  box-shadow: none; }
.fmh-seg i { position: absolute; left: 0; right: 0; top: 14px; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.fmh-seg i b { position: absolute; inset: 0; background: var(--btn); transform-origin: 0 50%; transform: scaleX(0); }
.fmh-seg:focus-visible { outline: 3px solid var(--btn); outline-offset: -3px; border-radius: 8px; }
.fmh-glab { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font: calc(12px * var(--fit, 1))/14px var(--game);
  color: var(--muted); opacity: .7; pointer-events: none; white-space: nowrap; overflow: hidden; }
.fmh-grp.fmh-on .fmh-glab { color: var(--ink); opacity: 1; }
.fmh-hint { position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%); padding: 0 10px; border-radius: 999px;
  background: var(--btn); color: #fff; font: 12px/18px var(--game); white-space: nowrap; opacity: 0; pointer-events: none; }
.fmh-hinting .fmh-glab { visibility: hidden; }
.fmh-hint.fmh-on { animation: fmhhint 2.6s ease forwards; }
@keyframes fmhhint { 0% { opacity: 0; } 12% { opacity: .95; } 75% { opacity: .95; } 100% { opacity: 0; } }
.fmh-caps { position: relative; height: calc(2 * 1.25em + 2px); margin: 2px 0 0; font: 17px var(--game); font-synthesis: none; }
.fmh-cap { position: absolute; inset: 0; margin: 0; display: flex; justify-content: center; align-items: flex-start;
  opacity: 0; color: var(--ink); line-height: 1.25; }
.fmh-cap.fmh-on { opacity: 1; }
.fmh-cap span { max-width: 100%; text-align: center; text-wrap: balance; }
:root:is(:lang(ru), :lang(ja), :lang(ko), :lang(zh)) .fmh-cap { font-weight: 700; font-synthesis: weight; }
:root:lang(ja) .fmh-cap span { word-break: auto-phrase; }
.fmh-web { position: absolute; left: 0; width: 100%; }
.fmh-url { position: absolute; left: 0; top: 0; width: 100%; z-index: 7; display: flex; align-items: center; justify-content: center;
  background: #f1f3f4; border-bottom: 3px solid #dadce0; }
.fmh-url span { position: static; display: flex; align-items: center; justify-content: center; gap: 14px; width: 92.6%; height: 96px;
  border-radius: 48px; background: #fff; color: #3c4043; font: 44px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.fmh-url svg { position: static; width: 40px; height: 40px; fill: #5f6368; }
:root[data-theme="dark"] .fmh-url { background: #202124; border-bottom-color: #3c4043; }
:root[data-theme="dark"] .fmh-url span { background: #3c4043; color: #e8eaed; }
:root[data-theme="dark"] .fmh-url svg { fill: #bdc1c6; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .fmh-url { background: #202124; border-bottom-color: #3c4043; }
  :root:not([data-theme="light"]) .fmh-url span { background: #3c4043; color: #e8eaed; }
  :root:not([data-theme="light"]) .fmh-url svg { fill: #bdc1c6; }
}
.fmh-pg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.fmh-d .fmh-pg-dark { display: none; }
:root[data-theme="dark"] .fmh-d .fmh-pg-light { display: none; }
:root[data-theme="dark"] .fmh-d .fmh-pg-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .fmh-d .fmh-pg-light { display: none; }
  :root:not([data-theme="light"]) .fmh-d .fmh-pg-dark { display: block; }
}
.fmh-dim { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 8; opacity: 0; will-change: opacity; overflow: visible; }
.fmh-dim path.fmh-dk { fill: rgba(0, 0, 0, var(--l)); }
:root[data-theme="dark"] .fmh-dim path.fmh-dk { fill: rgba(0, 0, 0, var(--d)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fmh-dim path.fmh-dk { fill: rgba(0, 0, 0, var(--d)); } }
.fmh-frame { position: absolute; z-index: 9; box-sizing: border-box; border: 10px solid #ffd23f; box-shadow: 0 0 0 4px #000, inset 0 0 0 4px #000;
  opacity: 0; will-change: opacity; }
.fmh-hand { position: absolute; z-index: 11; left: 0; top: 0; width: 182px; height: 227.5px; transform-origin: 45.3% 5%; opacity: 0;
  will-change: transform, opacity; pointer-events: none; }
.fmh-hand svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.fmh-hand path { fill: #fff; stroke: #1b1d22; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.fmh-hand path.fmh-hs { fill: rgba(0, 0, 0, .16); stroke: rgba(0, 0, 0, .16); stroke-width: 3; }
.fmh-hand path.fmh-ln { fill: none; stroke-width: 1.3; }
.fmh-hand .fmh-tip { position: absolute; left: 45.3%; top: 5%; width: 0; height: 0; }   
.fmh-rip { position: absolute; z-index: 10; left: 0; top: 0; box-sizing: border-box; width: 120px; height: 120px; border-radius: 50%;
  border: 8px solid #fff; box-shadow: 0 0 0 4px rgba(0, 0, 0, .55); opacity: 0; will-change: transform, opacity; pointer-events: none; }
.fmh-flash { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 12; background: #fff; opacity: 0; will-change: opacity; }
.fmh-thumb { opacity: 0; will-change: opacity; }
.fmh-rm .fmh-phone { max-width: 420px; padding: 0; border: 0; background: none; }
.fmh-rm .fmh-key, .fmh-rm .fmh-ctl, .fmh-rm .fmh-sign, .fmh-rm .fmh-again, .fmh-rm .fmh-rip, .fmh-rm .fmh-st.fmh-nost { display: none; }
.fmh-rm .fmh-steps { aspect-ratio: auto !important; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fmh-rm .fmh-st { position: relative; inset: auto; opacity: 1; display: block; box-sizing: content-box; aspect-ratio: var(--ar);
  border: 5px solid #0d0f14; border-radius: 16px; outline: 2px solid var(--frame); }
.fmh-rm .fmh-scr { border-radius: 11px; }
.fmh-rm .fmh-caps { height: auto; display: grid; gap: 6px; margin-top: 12px; }
.fmh-rm .fmh-cap { position: static; opacity: 1; justify-content: flex-start; font-size: 15px; }
.fmh-rm .fmh-cap::before { content: attr(data-n); flex: none; display: grid; place-items: center; width: 1.5em; height: 1.5em;
  margin-right: 8px; border-radius: 50%; background: var(--btn); color: #fff; font-size: .85em; }
.fmh-rm .fmh-cap span { text-align: left; }
.fmh-rm.fmh-num .fmh-st::before { content: attr(data-n); position: absolute; left: -9px; top: -9px; z-index: 30; display: grid;
  place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--btn); color: #fff;
  font: 700 14px/1 var(--game); box-shadow: 0 0 0 2px #fff; }
