/* 홈 화면 앱 안내 (tools/web/a2hs.js 와 한 쌍; README '홈 화면 앱 안내'). 작품의 CSS 가 먼저 와도 흐트러지지 않게 a2hs- 안에서 다 정한다.
   글꼴은 기기 글꼴(쓰인 글자만 잘라 쓰는 작품이 있어서). 작품 글꼴을 쓰려면 --a2hs-font. */
.a2hs-tip, .a2hs-sheet { --a2hs-accent: #2f6fde; box-sizing: border-box; font-family: var(--a2hs-font, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Hiragino Sans", "PingFang TC", "Microsoft JhengHei", Roboto, "Noto Sans", sans-serif); font-size: 14px; line-height: 1.5; letter-spacing: normal; text-align: left; text-transform: none; -webkit-text-size-adjust: 100%; }
.a2hs-tip *, .a2hs-sheet * { box-sizing: border-box; }
.a2hs-tip:lang(ko), .a2hs-sheet:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
.a2hs-tip { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--a2hs-off, 12px) + env(safe-area-inset-bottom, 0px)); z-index: 2147483000; width: min(440px, calc(100vw - 24px)); display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 40px 14px 14px; border-radius: 16px; animation: a2hs-in .28s ease-out; }
.a2hs-dark { background: #1d2127; color: #f1f3f5; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.a2hs-light { background: #fff; color: #1d2127; border: 1px solid rgba(0, 0, 0, .1); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.a2hs-ic { flex: none; display: block; width: 40px; height: 40px; margin: 2px 0 0; border-radius: 10px; object-fit: cover; }
.a2hs-body { flex: 1; min-width: 0; }
.a2hs-tip p, .a2hs-sheet p { margin: 0 0 10px; padding: 0; font-size: 14px; color: inherit; }
.a2hs-tip p { margin: 0; }
.a2hs-tip b { font-weight: 700; }
.a2hs-act { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.a2hs-tip button, .a2hs-sheet button { all: unset; box-sizing: border-box; cursor: pointer; font-family: inherit; font-size: 14px; line-height: 1.2; -webkit-tap-highlight-color: transparent; }
.a2hs-tip .a2hs-go, .a2hs-sheet .a2hs-go { padding: 9px 14px; border-radius: 10px; background: var(--a2hs-accent); color: var(--a2hs-ink, #fff); font-weight: 700; }
.a2hs-tip .a2hs-no { padding: 9px 10px; border-radius: 10px; opacity: .75; }
.a2hs-tip .a2hs-x, .a2hs-sheet .a2hs-x { width: 32px; height: 32px; border-radius: 16px; text-align: center; line-height: 32px; font-size: 20px; opacity: .7; }
.a2hs-tip .a2hs-x { position: absolute; top: 6px; right: 6px; }
.a2hs-tip button:focus-visible, .a2hs-sheet button:focus-visible { outline: 2px solid var(--a2hs-accent); outline-offset: 2px; }
.a2hs-back { position: fixed; inset: 0; z-index: 2147483001; background: rgba(0, 0, 0, .45); }
.a2hs-sheet { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 2147483002; width: min(520px, 100vw); max-height: 85vh; overflow: auto; margin: 0; padding: 16px 20px calc(22px + env(safe-area-inset-bottom, 0px)); border-radius: 18px 18px 0 0; animation: a2hs-up .25s ease-out; }
.a2hs-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
.a2hs-sheet h2 { margin: 0; padding: 0; font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: normal; text-transform: none; color: inherit; }
.a2hs-steps { margin: 4px 0 10px; padding: 0 0 0 22px; list-style: decimal; }
.a2hs-steps li { margin: 0 0 8px; padding: 0 0 0 2px; font-size: 15px; display: list-item; }
.a2hs-sheet .a2hs-note { margin: 6px 0 0; font-size: 13px; opacity: .75; }
.a2hs-sheet .a2hs-act { margin: 4px 0 2px; }
.a2hs-tip.a2hs-top { bottom: auto; top: calc(var(--a2hs-off, 12px) + env(safe-area-inset-top, 0px)); animation-name: a2hs-down; }
@keyframes a2hs-down { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes a2hs-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes a2hs-up { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .a2hs-tip, .a2hs-sheet { animation: none; } }
