.imago.sfd{min-height:100vh;min-height:100dvh;background:var(--bg);padding:max(env(safe-area-inset-top,16px),16px) var(--sp-lg) calc(168px + env(safe-area-inset-bottom, 0px))}.imago .sfd-grid{width:100%;max-width:440px;margin:0 auto}.imago .sfd-grid,.imago .sfd-hero{display:flex;flex-direction:column;gap:var(--sp-md)}.imago .sfd-hero{align-items:center;min-width:0}.imago .sfd-h{text-align:center;margin:2px 0 0}.imago .sfd-card{padding:0;overflow:hidden;display:inline-flex;max-width:100%}.imago .sfd-img{display:block;height:auto;width:auto;max-width:100%;max-height:52vh;max-height:52dvh}.imago .sfd-side{min-width:0}.imago .sfd-scroll,.imago .sfd-side{display:flex;flex-direction:column;gap:var(--sp-md)}.imago .sfd-scroll{min-height:0}.imago .sfd-qr{width:100%;display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px;text-align:center}.imago .sfd-qr-img{width:160px;height:160px;border-radius:var(--r-sm);background:var(--surface);padding:6px}.imago .sfd-qr-t{margin:0;font-size:15px;font-weight:800;color:var(--ink);word-break:keep-all}.imago .sfd-qr-s{margin:0;font-size:13px;line-height:1.55;color:var(--secondary);word-break:keep-all}.imago .sfd-retry{min-width:180px}.imago .sfd-links{display:flex;flex-wrap:wrap;justify-content:center;gap:0 var(--sp-xs)}.imago .sfd-link{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;min-height:var(--h-control);padding:0 var(--sp-md);font-family:var(--font);font-size:14px;font-weight:700;color:var(--secondary);cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;word-break:keep-all}.imago .sfd-link:hover{color:var(--ink)}.imago .sfd-link-accent{color:var(--accent-ink)}.imago .sfd-dom{text-align:center;color:var(--tertiary);margin:2px 0 0}.imago .sfd-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;background:var(--bg);border-top:1px solid var(--border);box-shadow:0 -8px 24px rgba(0,0,0,.04);padding:var(--sp-md) var(--sp-lg) max(env(safe-area-inset-bottom,12px),12px)}.imago .sfd-bar-in{width:100%;max-width:440px;margin:0 auto;display:flex;flex-direction:column;gap:var(--sp-sm)}.imago .sfd-bar .btn{width:100%}.imago .sfd-bar .btn-ghost{min-height:48px}@media (min-width:700px){.imago.sfd{height:100vh;height:100dvh;overflow:hidden;padding:var(--sp-xl)}.imago .sfd-grid{max-width:1240px;height:100%;flex-direction:row;align-items:stretch;justify-content:center;gap:var(--sp-2xl)}.imago .sfd-hero{flex:0 0 auto;justify-content:center}.imago .sfd-img{max-width:none;max-height:none;width:auto;height:min(calc(100vh - 150px),calc((100vw - 420px) * 1.7778));height:min(calc(100dvh - 150px),calc((100vw - 420px) * 1.7778))}.imago .sfd-side{flex:1 1;max-width:560px;min-height:0}.imago .sfd-scroll{flex:1 1 auto;overflow-y:auto;padding:2px}.imago .sfd-scroll>:first-child{margin-top:auto}.imago .sfd-scroll>:last-child{margin-bottom:auto}.imago .sfd-qr-img{width:220px;height:220px}.imago .sfd-bar{position:static;padding:0;background:transparent;border:0;box-shadow:none}.imago .sfd-bar-in{max-width:none}}@media (min-width:700px) and (max-height:620px){.imago .sfd-qr-img{width:150px;height:150px}}.imago.sfr .sfr-card{overflow:visible;min-height:calc(100vh - 40px);min-height:calc(100dvh - 40px)}.imago.sfr .sfr-bot{position:-webkit-sticky;position:sticky;bottom:0;z-index:5;background:var(--surface);border-radius:0 0 28px 28px;padding-top:var(--sp-md);padding-bottom:max(env(safe-area-inset-bottom,26px),26px)}.imago.sfr .sfr-mid{padding-top:var(--sp-lg);padding-bottom:var(--sp-lg)}.imago .sfr-pose-row{display:flex;justify-content:center;gap:var(--sp-sm);flex-wrap:wrap;margin-bottom:10px}.imago .sfr-prev{display:none}@media (max-height:700px){.imago.sfr .sfr-ic{width:52px;height:52px;margin-bottom:14px}.imago.sfr .sfr-h{font-size:26px;margin-bottom:10px}}@media (max-height:600px){.imago.sfr{padding-top:12px;padding-bottom:12px}.imago.sfr .sfr-card{min-height:calc(100vh - 24px);min-height:calc(100dvh - 24px)}.imago.sfr .sfr-ic{display:none}.imago.sfr .sfr-top{padding-top:14px}.imago.sfr .sfr-mid{padding-top:var(--sp-sm);padding-bottom:var(--sp-sm)}.imago.sfr .sfr-sub{font-size:14px}}@media (min-width:700px){.imago.sfr{padding:var(--sp-xl)}.imago.sfr .sfr-card{max-width:1040px;min-height:0;height:calc(100vh - 48px);height:calc(100dvh - 48px);max-height:860px;display:grid;grid-template-columns:auto minmax(300px,1fr);grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.imago.sfr .sfr-top{grid-column:1/-1;grid-row:1}.imago .sfr-prev{grid-column:1;grid-row:2/4;padding:var(--sp-lg) 0 var(--sp-xl) var(--sp-xl);min-height:0}.imago .sfr-prev,.imago .sfr-prev-box{display:flex;align-items:center;justify-content:center}.imago .sfr-prev-box{height:min(calc(min(100vh - 48px, 860px) - 136px),calc((min(100vw - 48px, 1040px) - 360px) * 1.7778));height:min(calc(min(100dvh - 48px, 860px) - 136px),calc((min(100vw - 48px, 1040px) - 360px) * 1.7778));width:auto;border-radius:var(--r-sm);overflow:hidden;background:var(--bg);border:1px solid var(--border)}.imago .sfr-prev-box img{width:100%;height:100%;object-fit:contain;display:block}.imago.sfr .sfr-mid{grid-column:2;grid-row:2;min-height:0;overflow-y:auto}.imago.sfr .sfr-bot{grid-column:2;grid-row:3;position:static;border-radius:0;padding-bottom:26px}.imago.sfr .sfr-h{font-size:34px}}.imago .sfc-inner,.imago .sfs-inner{max-width:440px}.imago .sfc-grid,.imago .sfs-grid{grid-template-columns:1fr 1fr}.imago .sfs-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;background:var(--bg);border-top:1px solid var(--border);box-shadow:0 -8px 24px rgba(0,0,0,.04);padding:var(--sp-md) var(--sp-lg) max(env(safe-area-inset-bottom,12px),12px)}.imago .sfs-bar-in{width:100%;max-width:440px;margin:0 auto;display:flex;flex-direction:column;gap:var(--sp-xs)}.imago .sfs-bar .btn{width:100%}.imago .sfs-later{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;min-height:var(--h-control);font-family:var(--font);font-size:14px;font-weight:700;color:var(--secondary);cursor:pointer}@media (min-width:700px){.imago .sfc-inner,.imago .sfs-inner{max-width:760px}.imago .sfc-grid,.imago .sfs-grid{grid-template-columns:repeat(3,1fr)}.imago .sfs-bar-in{max-width:760px}}@media (min-width:1000px){.imago .sfc-inner,.imago .sfs-inner{max-width:980px}.imago .sfc-grid,.imago .sfs-grid{grid-template-columns:repeat(4,1fr)}.imago .sfs-bar-in{max-width:980px;flex-direction:row-reverse;align-items:center;gap:var(--sp-md)}.imago .sfs-bar .btn{width:auto;flex:1 1 auto}.imago .sfs-later{flex:0 0 auto;padding:0 var(--sp-xl)}}