#_copy {
    align-items: center;
    background: #4494d5;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    height: 30px;
    justify-content: center;
    position: absolute;
    width: 60px;
    z-index: 1000
}

#select-tooltip,
#sfModal,
.modal-backdrop,
div[id^=reader-helper] {
    display: none !important
}

.modal-open {
    overflow: auto !important
}

._sf_adjust_body {
    padding-right: 0 !important
}

.enable_copy_btns_div {
    position: fixed;
    width: 154px;
    left: 10px;
    top: 45%;
    background: #e7f1ff;
    border: 2px solid #4595d5;
    font-weight: 600;
    border-radius: 2px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
    z-index: 5000
}

.enable_copy_btns_logo {
    width: 100%;
    background: #4595d5;
    text-align: center;
    font-size: 12px;
    color: #e7f1ff;
    line-height: 30px;
    height: 30px
}

.enable_copy_btns_btn {
    display: block;
    width: 128px;
    height: 28px;
    background: #7f5711;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    border: 0;
    outline: 0;
    margin: 8px auto;
    font-weight: 700;
    cursor: pointer;
    opacity: .9
}

.enable_copy_btns_btn:hover {
    opacity: .8
}

.enable_copy_btns_btn:active {
    opacity: 1
}
/* iOS Web Clip install guide — bottom sheet + paged carousel */
.ios-guide {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.55);
}

.ios-guide__panel {
    position: relative;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 0 12px;
    border-radius: 16px 16px 0 0;
    background: #fff;
    box-shadow: none;
    box-sizing: border-box;
    overflow: hidden;
}

.ios-guide__header {
    position: relative;
    height: 52px;
    flex-shrink: 0;
    background: #fff;
}

.ios-guide__handle {
    position: absolute;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: #d0d0d0;
}

.ios-guide__close {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    z-index: 3;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
    font-size: 28px;
    font-weight: 400;
    line-height: 32px;
    color: #b0b0b0;
    cursor: pointer;
    padding: 0;
    text-align: center;
}

.ios-guide__body {
    /* left/right margin of the sheet content */
    padding: 0 16px 12px;
    box-sizing: border-box;
}

.ios-guide__viewport {
    display: flex;
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    background: transparent;
    box-sizing: border-box;
}

.ios-guide__viewport::-webkit-scrollbar {
    display: none;
}

.ios-guide__slide {
    /* all slides same width so aspect/height stay consistent */
    flex: 0 0 calc(100% - 96px);
    width: calc(100% - 96px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
    background: #fff;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 720 / 787;
}

/* last slide: snap to end so no empty white peek on the right */
.ios-guide__slide:last-child {
    scroll-snap-align: end;
}

.ios-guide__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    vertical-align: top;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}
