.tier-maker-help-overlay{z-index:4100;padding:16px;}
.tier-maker-help-dialog{--help-media-height:min(300px,calc((100vw - 144px) * 9 / 32));}
.tier-maker-help-dialog{width:min(1200px,100%);height:auto;max-height:calc(100svh - 32px);display:flex;flex-direction:column;padding:0;overflow:hidden;border-radius:8px;background:#151b24;}
.tier-maker-help-dialog .modal-header{flex:0 0 auto;gap:16px;padding:16px 20px 12px;}
.tier-maker-help-dialog .modal-title{margin:0;}
.tier-maker-help-dialog .modal-close{flex-shrink:0;}
.tier-maker-help-body{flex:0 1 auto;min-height:0;padding:0 20px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#4a5570 transparent;color:var(--text2);font-size:13px;line-height:1.65;}
.tier-maker-help-intro{margin:0;}
.tier-maker-help-page{display:flex;flex-direction:column;gap:12px;}
.tier-maker-help-page[hidden]{display:none;}
.tier-maker-help-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.tier-maker-help-method{min-width:0;padding:12px;border:1px solid var(--border);border-radius:8px;background:rgba(248,249,251,.025);}
.tier-maker-help-body h3{margin:0 0 6px;font-size:14px;font-weight:700;line-height:1.5;}
.tier-maker-help-method p{min-height:22px;margin-bottom:10px;}
.tier-maker-help-video{display:block;width:100%;height:var(--help-media-height);object-fit:contain;border-radius:5px;background:#0e1117;}
.tier-maker-help-tip,.tier-maker-help-image-note{margin:0;color:var(--text3);font-size:12px;line-height:1.65;}
.tier-maker-help-steps{margin:0 0 12px;padding-left:22px;line-height:1.7;}
.tier-maker-help-steps li+li{margin-top:4px;}
.tier-maker-help-steps li::marker{color:var(--text3);}
.tier-maker-help-sharing .tier-maker-help-method{display:flex;flex-direction:column;}
.tier-maker-help-sharing .tier-maker-help-methods{grid-template-columns:minmax(0,1fr);width:100%;max-width:900px;margin:0 auto;}
.tier-maker-help-share-figure{width:100%;min-width:0;margin:auto 0 0;}
.tier-maker-help-share-figure img{display:block;box-sizing:border-box;width:auto;max-width:100%;height:var(--help-media-height);margin:0 auto;object-fit:contain;border:1px solid var(--border);border-radius:5px;}
.tier-maker-help-footer{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:16px;padding:12px 20px 16px;}
.tier-maker-help-footer .btn-sm{min-width:96px;height:32px;padding:0 16px;font-size:12px;}
.tier-maker-help-footer .btn-sm:disabled{opacity:.35;cursor:default;}
.tier-maker-help-footer #tierMakerHelpNextBtn{background:var(--surface2);border-color:rgba(248,249,251,.42);font-weight:700;}
.tier-maker-help-page-count{min-width:40px;text-align:center;color:var(--text3);font-size:12px;}
@media(max-width:720px){
  .tier-maker-help-dialog{--help-media-height:min(300px,calc((100vw - 112px) * 9 / 16));}
  .tier-maker-help-dialog .modal-header{padding:16px 16px 12px;}
  .tier-maker-help-body{padding:0 16px;}
  .tier-maker-help-methods{grid-template-columns:minmax(0,1fr);}
  .tier-maker-help-method p{min-height:0;}
  .tier-maker-help-footer{gap:10px;padding-right:16px;padding-left:16px;}
}
