#overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); z-index: 998; display: none; touch-action: none; } body.modal-open { overflow: hidden !important; height: 100vh !important; position: relative; touch-action: none; } #bottomSheet { position: fixed; bottom: -100%; left: 0; width: 100%; max-height: 90%; background: #fff; border-top-left-radius: 24px; border-top-right-radius: 24px; box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.3); z-index: 999; transition: bottom 0.3s ease, transform 0.3s ease; display: flex; flex-direction: column; overflow: hidden; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } .sheet-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 20px; border-bottom: 1px solid #eee; position: relative; } .sheet-header::before { content: ''; display: block; width: 70px; height: 3.5px; background: #ccc; border-radius: 2.5px; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); } #sheetTitle { font-size: 18px; font-weight: 700; color: #222; flex: 1; text-align: center; margin-top: 12px; } #sheetClose { background: transparent; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: #888; transition: color 0.2s; } #sheetClose:hover { color: #222; } .sheet-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; flex: 1; } #sheetLinkInput { width: 100%; box-sizing: border-box; min-height: 60px; max-height: 220px; padding: 14px 16px; border: 1px solid #ccc; border-radius: 12px; font-size: 15px; background: #fefefe; color: #999; resize: none; overflow-y: auto; white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word; } .sheet-btns { display: flex; gap: 16px; flex-wrap: wrap; padding-bottom: 24px; } .sheet-btns button, .sheet-btns a { flex: 1 1 48%; padding: 14px 0; font-size: 15px; border-radius: 14px; text-align: center; cursor: pointer; transition: all 0.2s; border: none; text-decoration: none; box-sizing: border-box; } #sheetCopyBtn { background: #2b9be6; color: #fff; font-weight: 600; } #sheetCopyBtn:hover { background: #1783d1; } #sheetOpenBtn { background: #f5f5f5; color: #333; border: 1px solid #ddd; font-weight: 500; } #sheetOpenBtn:hover { background: #eaeaea; } #bottomSheet.show { bottom: 0; } .result-title a, .sheet-btns button, .sheet-btns a { -webkit-tap-highlight-color: transparent; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } body.modal-open { overflow: hidden; position: fixed; width: 100%; } #bottomSheet .sheet-body { overflow-y: auto; max-height: calc(90vh - 80px); -webkit-overflow-scrolling: touch; overscroll-behavior: contain; } #overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); display: none; z-index: 9998; } #bottomSheet { position: fixed; left: 0; right: 0; bottom: 0; transform: translateY(100%); transition: transform 300ms ease; z-index: 9999; } #bottomSheet.show { transform: translateY(0); } .bottom-sheet-copy-tip { will-change: opacity, transform; } .global-copy-tip { position: fixed; bottom: 250px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.75); color: #fff; padding: 6px 14px; border-radius: 12px; font-size: 14px; opacity: 0; pointer-events: none; z-index: 9999; transition: opacity 0.25s ease; } .side-toolbar { position: fixed; right: -60px; bottom: 12%; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: rgba(245,245,245,0.85); backdrop-filter: blur(4px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 2000; opacity: 0; transform: translateX(30px); transition: right 0.3s ease, opacity 0.3s ease, transform 0.3s ease; } .side-toolbar.show { right: 3px; opacity: 1; transform: translateX(0); } .tool-btn { width: 35px; height: 38px; border: none; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #999; font-size: 22px; transition: all 0.2s ease; } .tool-btn:not(:last-child) { border-bottom: 1px solid rgba(200,200,200,0.3); } .tool-btn:hover { color: #1783d1; transform: translateY(-2px); } .tool-btn i { display: block; } .result-item.announcement { display: flex; align-items: flex-start; padding: 5px 8px; border-bottom: 1px solid #eee; background: #fff; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } .result-item.announcement .result-icon { margin-right: 12px; font-size: 18px; line-height: 1.2; } .result-item.announcement .result-main { flex: 1; display: flex; flex-direction: column; gap: 6px; } .result-item.announcement .result-title { font-weight: 600; font-size: 16px; color: #222; line-height: 1.4; } .result-item.announcement .result-desc { font-size: 14px; color: #666; line-height: 1.4; } .highlight { color: #e94b3c; font-weight: 600; }