body { padding: 0; margin: 0; height: 100%; line-height:230%; font-size: 8.5pt; font-family: "Carlito", "Calibri", "Verdana", sans-serif; letter-spacing: 1.7pt; text-shadow: 0 0 1px white, -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white, -2px 0 0 white, 2px 0 0 white, 0 -2px 0 white, 0 2px 0 white; } .header-decor { position: fixed; /* 固定不隨捲動 */ top: 0; left: 0; width: 100%; height: 120px; /* 吊飾高度 */ background-image: url('https://miaoni.neocities.org/gb/de.png'); background-repeat: repeat-x; /* 橫向平鋪 */ background-position: top center; background-size: auto 25px; /* 高度對齊 120px,自動等比例縮放 */ z-index: 9999; /* 確保覆蓋在內容上方 */ pointer-events: none; /* 不阻擋點擊與滾動 */ } /* 外層蕾絲背景 */ .lace-wrapper { background: url("https://miaoni.neocities.org/enews_pic/left.png") repeat-y left top, url("https://miaoni.neocities.org/enews_pic/right.png") repeat-y right top; background-size: 120px auto; max-width: 600px; /* 桌機最大寬度 */ margin: 0 auto; padding: 0 87.5px; box-sizing: border-box; } /* 上方中心內容 */ .content { background: white url("https://miaoni.neocities.org/gb/bgg.jpg") repeat; background-size: 300px auto; margin: 0px auto; /* 置中 */ max-width: 500px; min-height: 100vh; } .inner-box { position: relative; background-image: url("https://miaoni.neocities.org/gb/wei.png"); background-repeat: no-repeat; background-position: center 0px; /* 向下10px,依圖片大小微調 */ background-size: 55px 35px; /* 調整大小 */ margin-top: 10px; margin-bottom: 20px; background-color: #fff; border-radius: 100px; padding-top: 20px; padding-bottom: 27px; max-width: 360px; justify-content: center; align-items: center; line-height: 260%; opacity: 0.8; position: relative; z-index: 1; transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.6s ease; } /* 新增這段:柔和的覆蓋層 */ .inner-box::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0); /* 初始透明 */ border-radius: inherit; transition: background 2s ease; /* 緩慢淡入 */ z-index: -1; /* 不影響內部內容 */ } .inner-box:hover { opacity: 1; z-index: 10000; transform: scale(1.01); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12); } .inner-box:hover::after { background: rgba(255,255,255,0.6); /* 白色柔光漸層淡入 */ } @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500&display=swap'); .toggle-btn { font-family: 'Great Vibes', cursive; background: #f4f4f4; border: none; border-radius: 15px; margin-top: 8px; font-size: 15px; color: #c1c1c1; letter-spacing: 2px; cursor: pointer; width: 135px; /* 統一按鈕寬度 */ height: 20px; display: inline-block; transition: all 0.3s ease; text-align: center; /* 按鈕文字置中 */ text-shadow: 0 0 2px white, -2px -2px 0 white, 2px -2px 0 white, -2px 2px 0 white, 2px 2px 0 white, -3px 0 0 white, 3px 0 0 white, 0 -3px 0 white, 0 3px 0 white; } .toggle-btn:hover { color: #a5a5a5; position: relative; top: 1px; left: 1px; text-decoration: none; text-shadow: 1px 1px 1px #f4f4f4; } /* 展開內容 */ .submenu { max-height: 0; overflow: hidden; transition: max-height 1.2s cubic-bezier(0.4, 0, 0.2, 1); /* 柔和彈性曲線 */ line-height: 25px; margin-top: 8px; padding: 0 10px; } /* 展開狀態 */ .submenu.open { max-height: 200px; padding: 0 10px; } /* 只讓SubMenu1有捲動軸 */ #SubMenu1.open { max-height: 150px; /* 限制高度 */ overflow-y: auto; /* 超出才出現捲軸 */ padding: 0 10px; } /* 置頂置底 */ #scrollControl { position: fixed; right: 150px; bottom: 20px; z-index: 999; display: flex; flex-direction: row; /* 左右排版 */ align-items: center; /* 貓咪與箭頭垂直置中對齊 */ gap: 15px; /* 貓咪與箭頭的距離 */ } /* 左邊箭頭上下排列 */ #scrollButtons { display: flex; flex-direction: column; /* 上下排版 */ align-items: center; /* 水平置中 */ gap: 10px; /* 上下間距 */ } /* 按鈕共用樣式 */ .scrollBtn { cursor: pointer; opacity: 0; transition: opacity 0.3s; } .scrollBtn.show { opacity: 1; } /* 箭頭圓形按鈕 */ .scrollBtn .arrow { font-family: Arial, sans-serif; font-weight: 400; width: 18px; height: 19px; background: #FFECEC; color: #FFB9B7; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; border: 2px solid #fff; transition: transform 0.2s, background 0.2s; padding-left: 2px; } .scrollBtn:hover .arrow { border-radius: 50%; transform: scale(1.1); background: #FFE1E0; border: 2px solid #fff; } /* 共用小貓 */ #scrollCat { width: 90px; display: block; } /* 留言外框 */ table[width="420"][cellspacing="1"] { position: relative; /* 讓 ::before 定位依附留言框 */ border-collapse: separate; border-radius: 15px; overflow: hidden; background: #f4f4f4; margin-bottom: 28px; opacity: 0.73; /* 整体淡化效果 */ transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.6s ease; } /* 右上角蝴蝶結 */ table[width="420"][cellspacing="1"]::before { content: ""; position: absolute; top: -5px; right: -20px; width: 170px; height: 150px; background: url("https://miaoni.neocities.org/gb/la6.png") no-repeat center/contain; transform: rotate(-7deg); /* 初始角度 */ transition: transform 0.6s ease; pointer-events: none; } /* 框本身微放大 */ table[width="420"][cellspacing="1"]:hover, table[width="420"][cellspacing="1"].active { opacity: 1; transform: scale(1.01); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12); } /* 蝴蝶結(保持淡淡的) */ table[width="420"][cellspacing="1"]::before { opacity: 0.6; /* 一開始就淡淡的 */ } table[width="420"][cellspacing="1"]:hover::before { transform: rotate(-4deg) scale(1.05); opacity: 0.6; } /* 底部頁數顯示樣 */ table[bgcolor="000000"] { background-color: #fff !important; border-radius: 25px; } /* 頁數字型大小 */ table[bgcolor="000000"] th { background-color: #fff; border-radius: 25px; font-size: 7pt; font-family: Calibri; } /* 游標移入頁數背景色 */ table[bgcolor="000000"] th[bgcolor="e2e8f3"]:hover { background-color: #fff !important; } td { font-size: 8.5pt; letter-spacing: 1.7pt; } /* 換小房子圖 */ td img[src="http://images.kikia.net/images/url.gif"] { content: url("https://miaoni.neocities.org/gb/home.gif"); width: 22px; /* 依實際大小調整 */ height: auto; vertical-align: middle; } /* 新留言圖示間距 */ td img[src$="heart.gif"] { margin-left: 10px; vertical-align: middle; } /* 首篇留言 */ td[height="50"][valign="top"] { padding-top:15px; padding-right: 30px; } /* 回應留言區塊 */ td[colspan="3"][height="20"] { padding-top:10px; padding-right: 30px; } /* 縮減左側寬度 */ td[rowspan="2"][width="80"][height="80"][align="center"][valign="bottom"] { width: 50px !important; /* 改成你要的寬度 */ } /* 日期時間 */ td[colspan="3"][align="right"], div[align="right"] { padding-top:15px; padding-right: 15px; padding-bottom:10px; font-family: Calibri; font-size: 7.6pt; color: #e5e5e5; transition: color 0.5s ease; } /* 滑鼠移上去時變深色 */ td[colspan="3"][align="right"]:hover, div[align="right"]:hover { color: #999999; } font { line-height: 25px; } /* 簽寫留言邊框圖 */ td[background*="images.kikia.net"] { background-image: url("https://miaoni.neocities.org/gb/white.png") ; background-repeat: repeat; /* 鋪滿 */ } table[border="0"][cellspacing="0"][cellpadding="1"][bgcolor="f9f9f9"] { background-color: #ffffff; } /* 針對特定欄位隱藏) */ table[border="0"][cellspacing="0"][cellpadding="1"][bgcolor="f9f9f9"] td:has(select[name="sex"]), table[border="0"][cellspacing="0"][cellpadding="1"][bgcolor="f9f9f9"] tr:has(input[name="user"]), table[border="0"][cellspacing="0"][cellpadding="1"][bgcolor="f9f9f9"] tr:has(select[name="color"]), table[border="0"][cellspacing="0"][cellpadding="1"][bgcolor="f9f9f9"] tr:has(input[name="yahoo"]), table[border="0"][cellspacing="0"][cellpadding="1"][bgcolor="f9f9f9"] tr:has(input[name="icq"]), table[border="0"][cellspacing="0"][cellpadding="1"][bgcolor="f9f9f9"] td:has(select[name="pic"]) { display: none !important; } /* 隱藏表情預覽 */ td[colspan="3"][align="center"][valign="bottom"][height="50"] { display: none; } /* 吊飾 */ .hanging-decoration { position: fixed; top: -10px; right: 100px; width: 200px; z-index: 999; pointer-events: none; animation: gentleSwing 6s ease-in-out infinite; /* ← 新增搖擺動畫 */ transform-origin: top center; /* 從吊飾頂部當作旋轉軸心 */ } .hanger-img { width: 103%; display: block; } /* 搖擺動畫效果 */ @keyframes gentleSwing { 0% { transform: rotate(0deg); } 10% { transform: rotate(2.5deg); } 25% { transform: rotate(-3.5deg); } 40% { transform: rotate(2deg); } 55% { transform: rotate(-2deg); } 70% { transform: rotate(1deg); } 85% { transform: rotate(-1deg); } 100% { transform: rotate(0deg); } } /* 手機版調整:縮小並避免遮擋留言框 */ @media (max-width: 768px) { .hanging-decoration { top: 5px; right: 5px; width: 120px; animation: swing 4s ease-in-out infinite; } .hanger-links { font-size: 9px; transform: translate(-50%, -50%) rotate(-4deg); } } /* 上相框圖 */ .frame-image-top { position: absolute; top: 46%; /* 根據吊飾圖調整垂直位置(上層) */ left: 72%; transform: translate(-50%, -50%) rotate(-10deg); width: 70px; border-radius: 12px; overflow: hidden; pointer-events: auto; } .frame-image-top a { position: relative; display: block; } .frame-image-top img { display: block; width: 105%; height: auto; transition: filter 0.4s ease, transform 0.4s ease; } /* 上框愛心 */ .frame-image-top .caption { position: absolute; top: 11%; left: 50%; transform: translate(-50%, -50%); font-size: 7.5pt; white-space: nowrap; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; } .frame-image-top a:hover .caption { opacity: 1; } /* 手機板微調上相框 */ @media (max-width: 768px) { .frame-image-top { top: 20%; left: 52%; width: 56px; transform: translate(-50%, -50%) rotate(-2deg); } .frame-image-top .caption { font-size: 7.5pt; } } /* 下相框圖 */ .frame-image { position: absolute; top: 81%; /* 根據吊飾圖型,約略居中 */ left: 39%; transform: translate(-50%, -50%) rotate(17deg); width: 70px; /* 控制圖片大小 */ border-radius: 12px; overflow: hidden; pointer-events: auto; /* 允許點擊連結 */ } /* 讓 a 成為定位參照點 */ .frame-image a { position: relative; display: block; } /* 圖片灰白處理 */ .frame-image img { display: block; width: 100%; height: auto; filter: grayscale(40%) brightness(1.05); transition: filter 0.4s ease, transform 0.4s ease; } /* hover 恢復色彩 */ .frame-image a:hover img { filter: grayscale(0%) brightness(1); } /* 下白底橫條文字 */ .frame-image .caption { position: absolute; top: 75%; left: 45%; transform: translate(-50%, -50%); background: rgba(255, 255, 255, 0.5); color: #E990A1; font-family: 'Great Vibes', cursive; font-size: 13pt; letter-spacing: 2px; border-radius: 6px; /* 原本10改6會更精緻 */ padding: 0 6px; /* 只保留微邊距 */ line-height: 1; /* 👈 壓低背景高度關鍵! */ display: inline-block; /* 👈 讓背景緊貼文字邊界 */ white-space: nowrap; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; } /* hover 顯示文字 */ .frame-image a:hover .caption { opacity: 1; } /* 手機板微調位置與大小 */ @media (max-width: 768px) { .frame-image { top: 29%; left: 51%; width: 58px; transform: translate(-50%, -50%) rotate(-1deg); } .frame-image .caption { font-size: 8.5pt; letter-spacing: 1px; } } /* 控制留言區顯示,隱藏動畫 */ @keyframes fadeSlideIn { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } } /* 顯示動畫 */ #messageBox.fade-in { animation: fadeSlideIn 0.6s ease forwards; } /* 隱藏狀態(在 cat 開啟時) */ #messageBox.hidden { display: none; } select { font-size: 10pt; background-color: #ffffff; } input, textarea, select { font-size: 9pt; color: #888888; font-family:Calibri, Verdana, sans-serif; letter-spacing: 1pt; } ::selection { background-color: #f8f8f8; /* 反白 */ color: #F4A6B6; text-shadow: 0 0 1px white, -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white, -2px 0 0 white, 2px 0 0 white, 0 -2px 0 white, 0 2px 0 white; } a:link { color: #999; text-decoration: none; text-shadow: 0 0 1px white, -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white, -2px 0 0 white, 2px 0 0 white, 0 -2px 0 white, 0 2px 0 white; } a:visited { color: #999; } a:hover { color: #999; position: relative; top: 1px; left: 1px; text-decoration: none; text-shadow: 1px 1px 1px #f4f4f4; } hr { display:none; } hr[size="1"][color="000000"] { visibility: hidden; } * { color: #919191; cursor: url('https://cur.cursors-4u.net/cursors/cur-9/cur817.cur') 0 0, default; } /* 輸入欄預設字 */ textarea.placeholder { font-style: italic; text-shadow: 0 0 1px white, -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white, -2px 0 0 white, 2px 0 0 white, 0 -2px 0 white, 0 2px 0 white; } /* 表情列表文字 */ #emojiToggle { cursor: pointer; font-size: 8.5pt; letter-spacing: 1.5pt; } #emojiToggle:hover { position: relative; top: 1px; left: 1px; text-decoration: none; } /* === Emoji 外層容器 === */ #emojiContainer { position: relative; display: inline-block; margin-left: 18px; vertical-align: middle; } /* === Emoji 展開框 === */ #emojiBox { position: absolute; top: -405%; left: -219px; z-index: 99; background: #fff; border: 1px solid #e1e1e1; padding: 4px 4px; border-radius: 6px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* 新增以下三行:讓圖片自動換行排列 */ display: flex; flex-wrap: wrap; width: 400px; max-width: 400px; } /* === Emoji 圖片樣式 === */ #emojiBox img { margin: 4px; cursor: pointer; vertical-align: middle; max-width: 60px; transition: transform 0.2s ease, filter 0.2s ease; } #emojiBox img:hover { transform: scale(1.18); filter: drop-shadow(0 0 3px #ffccee); } /* === 轉譯留言中emoji對齊 === */ img[data-emoji] { vertical-align: middle; position: relative; top: -4px; /* 微微上移對齊文字 */ margin: 0 1.5px; /* 微間距,避免文字貼太緊 */ } /* 互動元素:連結、彈窗觸發圖、關閉鈕… → 手型游標 */ a[href], .popup-trigger, .close-btn, button, [role="button"], input[type="button"], input[type="submit"], #backToTopWrapper, /* 整個回頂端按鈕區 */ #backToTop, #emojiToggle, #emojiBox, #emojiBox img, .emoji-tabs button, .emoji-box .emoji { cursor: url('https://miaoni.neocities.org/cursor_hand1a.gif') 0 0, pointer !important; } /* 所有元素預設捲軸樣式(不含 div) */ *::-webkit-scrollbar { width: 1px; } *::-webkit-scrollbar-thumb { background-color: #FFF8F7; border-radius: 5px; } .demo { text-align: center; } .demo .tooltip { position: relative; display: inline-block; } .demo .tooltip:before { position: absolute; left: 115%; top: 60%; transform: translateY(-50%); display: block; content: attr(data-tooltip); font-size: 8.5pt; background: #f4f4f4; padding: 3px 10px; border-radius: 10px; z-index: 99; text-align: center; color: #999; border: 2px solid #fff; white-space: nowrap; opacity: 0; transition: opacity 0.25s; pointer-events: none; } .demo .tooltip:hover:before { opacity: 1; } .popup-trigger { transition: transform 0.3s ease; cursor: pointer; } .popup-trigger:hover { animation: cute-bounce 0.6s ease; transform: scale(1.2) rotate(10deg); } /* 彈窗外框 */ .popup { position: fixed; top: 330px; left: 100px; width: 300px; display: none; border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAABDElEQVR4AaTOXYrCQBAEYDfsgfZ9z++7BxKUL9BS02YygoGiu+tvsl0W3/16e3QsIpfTUmW//38/Hfiz4mmpoLKjMJ5+pOHeSplBkKGAq92k48CdGEoZmCFNxZvJ80Hnh9IM5F5BM/nZ/ir1WobcGUoNnzot770UQWAu9Lv4ml1366FvFoTjW+jRt/9pliHzXu1H/qGUoV5bldFn/qG0Ck2hFfiqOL1DKYHR/BRH/g3ptU9Lznx69O1/akFkoN+p2bvu1kPbSy0Igh3cZiE1XOq0vF+ljDNUyJx5kh9KvSYIaSreTJ4POj+UCjAAs7uAq92k48CdeCstkVmw7px4enK5T0uZBBV04OkzPAEAAP//FZKhqwAAAAZJREFUAwBoku37d9h+KQAAAABJRU5ErkJggg==") 7 / 7px / 0 round; border-width: 7px; border-style: solid; overflow: hidden; z-index: 9999; font-family: "Microsoft JhengHei", "Arial Rounded MT Bold", sans-serif; animation: popupBounce 0.4s ease; } /* 彈出動畫 */ @keyframes popupBounce { 0% { transform: scale(0.7); opacity: 0; } 60% { transform: scale(1.05); opacity: 1; } 100% { transform: scale(1); } } /* 標題列 */ .popup-header { display: flex; align-items: center; padding: 8px 12px; justify-content: space-between; border-radius: 8px; background: #ffe4e9; cursor: move; } .popup-title { letter-spacing: 3px; font-size: 13px; color: #999; font-weight: bold; } /* 關閉按鈕 */ .popup-close { background: #ffb6c1; border: none; border-radius: 50%; width: 24px; height: 24px; cursor: pointer; font-size: 14px; line-height: 22px; color: white; transition: background 0.2s; } .popup-close:hover { background: #FFCCD3; transform: scale(1.2) rotate(10deg); } /* 內容 */ .popup-inner { padding: 12px; letter-spacing: 1.5px; text-align: center; font-size: 8.5pt; background: #ffffff; line-height: 190%; overflow: auto; } .emoji-tabs { margin-bottom: 8px; } .emoji-tabs button { margin: 2px; padding: 2px 4px; font-size: 8.7pt; letter-spacing: 1.3pt; border: 1px solid #EFEFEF; border-radius: 6px; background: #f1f1f1; color: #999; text-shadow: 0 0 1px white, -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white, -2px 0 0 white, 2px 0 0 white, 0 -2px 0 white, 0 2px 0 white; cursor: pointer; transition: all 0.3s ease; } /* hover 效果(只有未被選中的按鈕才有效) */ .emoji-tabs button:hover:not(.active) { background: #fff; } /* 被選中的按鈕 */ .emoji-tabs button.active { background: #FFEAE9; color: #ED949E; font-weight: bold; } /* 表情符號 */ .emoji-box .emoji { cursor: pointer; padding: 2px 4px; margin: 2px; border-radius: 6px; display: inline-block; transition: all 0.2s ease; } .emoji-box .emoji:hover { background-color: #FFF1F1; color: #f393a9; } /* 1. 替換訪客回應按鈕 */ a[href*="aft=re"] img[src*="re.gif"] { display: none; /* 隱藏原本圖片 */ } a[href*="aft=re"]::after { content: "\1F4AC 回應"; display: inline-block; color: #999; font-family: Verdana; background-color: #f4f4f4; padding: 5px 5px; border-radius: 5px; margin:3px 10px; margin-bottom:15px; } /* 3. 替換觀看密語按鈕 */ a[href^="javascript:look"] img[src*="look.gif"] { display: none; } a[href^="javascript:look"]::after { content: "觀看密語"; display: inline-block; color: #999; font-family: Verdana; background-color: #f4f4f4; padding: 5px; border-radius: 5px; text-decoration: none; /* 取消連結下劃線 */ margin:0px 6px; margin-bottom:15px; } /* 4. 替換回留言板按鈕 */ a[href="/book.php?A=fed118216"] img[src="http://images.kikia.net/images/back.gif"] { display: none; } a[href="/book.php?A=fed118216"]::after { content: "\1F43E 回留言板"; display: inline-block; color: #999; font-family: Verdana; background-color: #f4f4f4; padding: 5px; border-radius: 5px; margin:0px 6px; margin-bottom:15px; } input, select { background-color: #fff; border: 0; outline: none; } /* 留言性質 */ select[name="hsu"] { background-color: #f9f9f9; border: 1px dotted #d1d1d1; padding: 1px; border-radius: 8px; } /* ===== 留言輸入框 (含右下角貓咪) ===== */ textarea[name="mess"] { color: #898989 !important; letter-spacing: 1.3pt; margin: 5px 0px; background: linear-gradient(#f9f9f9b3, #f9f9f9b3), url("https://miaoni.neocities.org/enews_pic/mim.png") no-repeat right bottom; background-color: #f9f9f9; background-size: 153px auto; /* 調整貓咪大小 */ border: 3px solid #fff; border-radius: 8px; width: 340px; height: 160px; padding: 6px 10px; outline: none; box-sizing: border-box; } /* 三欄 */ input[name="name"], input[name="urlname"], input[name="url"] { background-color: #f9f9f9; border: 3px solid #fff; border-radius: 5px; outline: none; box-sizing: border-box; padding: 6px 10px; margin-top: 1px; width: 130px; height: 27px; } /* 驗證碼+悄話密碼 */ input[name="hsupass"], input[name="authinput"] { background-color: #f9f9f9; border-radius: 5px; padding: 7px; width: 60px; height: 25px; border: 3px solid #fff; } /* 留言三按鈕 */ input[type="submit"], input[type="reset"], input[type="button"] { background-color: #f7f7f7; color: #888; text-shadow: 0 0 1px white, -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white, -2px 0 0 white, 2px 0 0 white, 0 -2px 0 white, 0 2px 0 white; border: none; border-radius: 8px; padding: 4px 12px; font-size: 12px; cursor: pointer; transition: background 0.3s, transform 0.2s; margin: 5px 10px; } input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover { background-color: #f1f1f1; transform: translateY(-1px); } input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active { transform: translateY(1px); box-shadow: inset 0 0 3px rgba(0,0,0,0.2); } /* 像素表格 */ .pixel-frame { display: none; /* 初始隱藏 */ opacity: 0; margin: 40px 4px; transform: translateY(10px); transition: opacity 0.8s ease, transform 0.1s ease; padding: 20px; background: rgba(255, 255, 255, 0.70); /* ← 半透明白色,0.85 是透明度 */ border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAABMklEQVR4AezWS2rEMBCE4SS73CGL3P9UWeQOWSZ48RlTIFpjlIE2HhDlVj+k+j0Lv700+fW96M/X9+9xzQI/9hyfz/ZnX1+inLx/frxuCx37qf+dd14foohQDiod1W9vYVvZP6rPOrF62ocoBxuF47I/q3oREM/2V3V9iHKORGrlVF5fzpM/q+b1Icqpm48UMaovdTavbnSeffP7EXXzkXK4Wkfn5f71iKbDZ8c30dXEb6I30dUEVs+73H90NaCH591EH0ZWNFyPqO/H1VqA3NP9iFak8jt0txoP6mJ7D+Vpda7GPkQ5cvOzmoTEs/PUp7pfH6Kzjqs6zhERV32Z10fl+xBFgHJQ6ag+SZgzqpdPVU/7EE0nGXOU++JV+dGbcE5foghRjipVn1r1yVd9bYj+AQAA//9nUAlzAAAABklEQVQDAFf+wGTex3CgAAAAAElFTkSuQmCC") 14 / 14px / 0 round; border-width: 14px; border-style: solid; border-radius: 20px; width: 345px; text-align: left; line-height: 25px; background-clip: border-box; background-origin: border-box; } /* 顯示狀態:使用 visibility + opacity 避免 display 造成 transition 失效 */ .pixel-frame.show { display: block; opacity: 1; transform: translateY(0); } #searchInput { width: 180px; margin-bottom: 6px; padding: 5px 8px; border: 1px solid #f1f1f1; border-radius: 15px; font-size: 9pt; letter-spacing: 1.5pt; background: rgba(255, 255, 255, 0.55); transition: all 0.25s ease; }