dialog.keytips-dialog{--keytip-soft:var(--soft);--keytip-line:var(--line);--keytip-card:var(--card);--keytip-text:var(--text);--keytip-muted:var(--muted);direction:rtl;flex-direction:column;width:min(600px,100vw - 24px);max-height:min(690px,100dvh - 24px);padding:18px 20px 16px;display:flex;overflow:hidden}dialog.keytips-dialog[open]{display:flex}.keytips{flex:1;grid-template-rows:auto minmax(0,1fr) auto;gap:14px;min-height:0;display:grid}.keytip-art{aspect-ratio:16/9;background:var(--panel);border:.5px solid var(--line);width:100%;max-height:200px;animation:keytip-in .26s var(--ease) both;border-radius:14px;place-items:center;display:grid;overflow:hidden}.keytip-svg{width:100%;height:100%;display:block}.keytip-body{min-height:0;animation:keytip-in .26s var(--ease) 40ms both;padding-inline-end:4px;overflow-y:auto}.keytip-body h3{margin:0 0 8px;font-size:17px;line-height:1.5}.keytip-body p{color:var(--text-soft);margin:0 0 10px;font-size:14px;line-height:1.9}.keytip-body ul{color:var(--text-soft);margin:0 0 10px;padding-inline-start:20px;font-size:14px;line-height:1.9}.keytip-links{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px;list-style:none;display:grid;padding:0!important}.keytip-links a{border:.5px solid var(--line);background:var(--card);color:var(--text);border-radius:10px;padding:6px 12px;font-size:13px;line-height:1.7;text-decoration:none;display:block}.keytip-links a:hover{background:var(--hover)}.keytip-more{color:var(--accent-strong);align-items:center;gap:6px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.keytip-more:hover{text-decoration:underline}.keytip-nav{border-top:.5px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding-top:12px;display:flex}.keytip-nav>button{justify-content:center;align-items:center;gap:6px;min-width:96px;display:inline-flex}.keytip-dots{align-items:center;gap:6px;display:flex}.keytip-dots button{background:var(--line);width:8px;height:8px;min-height:0;transition:width .2s var(--ease), background .2s var(--ease);border:0;border-radius:4px;padding:0}.keytip-dots button[aria-current=step]{background:#d97757;width:20px}.keytip-dots .fine{margin-inline-start:6px;font-size:12px}.keytip-pet-stage{background:radial-gradient(circle at 50% 70%,#d9775724,#0000 60%);place-items:center;width:100%;height:100%;display:grid;position:relative}.keytip-pet-stage .tars-pet-wrap{position:relative;top:0;left:0}.keytip-pet-stage .tars-pet{perspective:220px;perspective-origin:50% 40%;width:46px;height:50px;display:block;scale:2}@keyframes keytip-in{0%{opacity:0;translate:0 6px}to{opacity:1;translate:0}}@media (max-width:520px){dialog.keytips-dialog{padding:14px 14px 12px}.keytip-art{max-height:150px}.keytip-nav>button{min-width:0;padding-inline:12px}.keytip-dots .fine{display:none}}@media (prefers-reduced-motion:reduce){.keytip-art,.keytip-body{animation:none}}.keytip-body .code-snippet{margin:4px 0 8px}.keytip-body .code-snippet figcaption{padding:6px 12px}.keytip-body .code-snippet figcaption button{min-height:0;padding:2px 10px}.keytip-body .code-snippet pre{white-space:pre-wrap;word-break:break-word;padding:10px 14px;font-size:12px;line-height:1.7}.keytip-body .code-snippet>p{min-height:0;padding:0 12px}.keytip-body .code-snippet>p:empty{display:none}dialog.keytips-dialog.is-locked .dialog-heading>button{visibility:hidden}.keytip-timer{background:var(--soft);border-radius:2px;height:3px;margin-top:-8px;overflow:hidden}.keytip-timer span{background:#d97757;height:100%;transition:width .25s linear;display:block}.keytip-next{min-width:120px}.keytip-next:disabled{opacity:1;cursor:not-allowed;background:var(--soft);color:var(--muted);border-color:#0000}.keytip-countdown{font-variant-numeric:tabular-nums;align-items:center;gap:6px;display:inline-flex}.keytip-dots button:disabled{opacity:.4;cursor:not-allowed}@media (prefers-reduced-motion:reduce){.keytip-timer span{transition:none}}.keytip-body:focus,.keytip-body:focus-visible,.keytips:focus{outline:none}
