﻿/*
 * =========================================================================
 * 檔案名稱：GuandiOracle.css
 * 系統版本：V0.62
 * 作者宣告：天璣居士 / Master Phecda (MP)
 * 系統說明：關帝聖君籤詩-線上抽籤卜卦 (UI 統一標準樣式版)
 * 重點說明：
 * 1. 完整保留所有動畫與 RWD 設定，不壓縮任何程式碼。
 * 2. 新增「六大維度」與「紅字叮嚀」的專屬層次排版 (.master-sub-label 等)。
 * 3. 新增圖卡專屬 QRCode、浮水印標題與網址的美化及垂直置中排版。
 * 4. 調整 RWD 陣法：平板維持兩欄式排版，新增手機專屬單欄斷點。
 * 5. 新增宮廟專屬雙色系：「紫氣東來」(temple-purple) 與「翡翠靈玉」(jade-green)。
 * =========================================================================
 */

:root {
   --bg-main: #0a0505; 
   --primary: #ff1a1a; 
   --primary-rgb: 255, 26, 26; 
   --accent: #ffd700; 
   --accent-rgb: 255, 215, 0; 
   --glass-bg: rgba(20, 10, 10, 0.75); 
   --glass-border: rgba(255, 26, 26, 0.3); 
   --danger: #ff4444; 
}

body[data-theme="cyan"] {
   --bg-main: #050a10;
   --primary: #00ffff;
   --primary-rgb: 0, 255, 255;
   --accent: #ffd700;
   --accent-rgb: 255, 215, 0;
   --glass-bg: rgba(5, 10, 16, 0.75);
   --glass-border: rgba(0, 255, 255, 0.3);
}

body[data-theme="wealth-gold"] {
   --bg-main: #141100;
   --primary: #ffcc00;
   --primary-rgb: 255, 204, 0;
   --accent: #ff0033;
   --accent-rgb: 255, 0, 51;
   --glass-bg: rgba(20, 17, 0, 0.75);
   --glass-border: rgba(255, 204, 0, 0.3);
}

/* --- 新增：宮廟專屬色系 - 紫氣東來 --- */
body[data-theme="temple-purple"] {
   --bg-main: #12051a;
   --primary: #b266ff;
   --primary-rgb: 178, 102, 255;
   --accent: #ffd700;
   --accent-rgb: 255, 215, 0;
   --glass-bg: rgba(18, 5, 26, 0.75);
   --glass-border: rgba(178, 102, 255, 0.3);
}

/* --- 新增：宮廟專屬色系 - 翡翠靈玉 --- */
body[data-theme="jade-green"] {
   --bg-main: #05120a;
   --primary: #00e676;
   --primary-rgb: 0, 230, 118;
   --accent: #ffd700;
   --accent-rgb: 255, 215, 0;
   --glass-bg: rgba(5, 18, 10, 0.75);
   --glass-border: rgba(0, 230, 118, 0.3);
}

* {
   box-sizing: border-box; 
   margin: 0; 
   padding: 0; 
}

body {
   background-color: var(--bg-main); 
   font-family: "Microsoft JhengHei", "PingFang TC", sans-serif; 
   color: #ffffff; 
   overflow-x: hidden; 
   background-image: radial-gradient(circle at center top, rgba(var(--primary-rgb), 0.15) 0%, var(--bg-main) 70%);
}

.main-container {
   max-width: 1000px; 
   margin: 60px auto 20px auto; 
   padding: 0 15px; 
}

.glass-panel {
   background: var(--glass-bg); 
   border: 1px solid var(--glass-border); 
   border-radius: 8px; 
   padding: 25px; 
   margin-bottom: 30px; 
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(var(--primary-rgb), 0.1); 
   backdrop-filter: blur(5px); 
}

.top-right-nav {
   position: absolute; 
   top: 15px; 
   right: 15px; 
   z-index: 1000; 
}

.menu-toggle-btn {
   background: rgba(var(--primary-rgb), 0.1); 
   color: var(--primary); 
   border: 1px solid var(--primary); 
   padding: 10px 15px; 
   border-radius: 4px; 
   cursor: pointer; 
   font-size: 1rem; 
   font-weight: bold; 
   transition: all 0.3s ease; 
   box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3); 
   display: flex; 
   align-items: center; 
   gap: 8px; 
   white-space: nowrap; 
}

.menu-toggle-btn:hover {
   background: var(--primary); 
   color: #000; 
}

.dropdown-list {
   visibility: hidden; 
   opacity: 0; 
   position: absolute; 
   right: 0; 
   top: 120%; 
   background: rgba(10, 5, 5, 0.95); 
   border: 1px solid var(--primary); 
   border-radius: 4px; 
   list-style: none; 
   min-width: 240px; 
   box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8); 
   transform: translateY(-15px); 
   transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
}

.dropdown-list.show {
   visibility: visible; 
   opacity: 1; 
   transform: translateY(0); 
}

.dropdown-list li a {
   color: #ddd; 
   text-decoration: none; 
   display: block; 
   padding: 15px 20px; 
   border-bottom: 1px dashed rgba(var(--primary-rgb), 0.3); 
   transition: 0.3s; 
}

.dropdown-list li a:hover {
   color: var(--accent); 
   background: rgba(var(--accent-rgb), 0.1); 
   padding-left: 25px; 
}

.floating-menu {
   position: fixed; 
   left: 0; 
   top: 40%; 
   transform: translateY(-50%); 
   display: flex; 
   flex-direction: column; 
   gap: 10px; 
   z-index: 999; 
   background: transparent; 
   padding: 10px; 
   border: none; 
}

.theme-selector {
   color: #fff; 
   text-decoration: none; 
   text-align: center; 
   border-radius: 50%; 
   width: 40px; 
   height: 40px; 
   line-height: 36px; 
   font-weight: bold; 
   border: 2px solid var(--btn-color); 
   box-shadow: 0 0 10px var(--btn-color); 
   backdrop-filter: blur(3px); 
   transition: 0.3s; 
}

.theme-selector:hover, 
.theme-selector.active {
   background: var(--btn-color); 
   color: #000; 
}

.header-title-area {
   text-align: center; 
}

.glow-title {
   font-size: 1.8rem; 
   color: var(--primary); 
   text-shadow: 0 0 15px var(--primary); 
   margin-bottom: 10px; 
   letter-spacing: 3px; 
}

.header-subtitle {
   font-size: 1.1rem; 
   color: var(--accent); 
}

.cyber-select {
   background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(10, 5, 5, 0.9) 100%); 
   color: var(--primary); 
   border: 1px solid var(--primary); 
   border-radius: 4px; 
   outline: none; 
   cursor: pointer; 
   text-shadow: 0 0 5px rgba(var(--primary-rgb), 0.5); 
   box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.2); 
   transition: all 0.3s ease; 
}

.cyber-select:hover, 
.cyber-select:focus {
   border-color: var(--accent); 
   color: var(--accent); 
   box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.4); 
}

.cyber-select option {
   background-color: #0a0505; 
   color: #ffffff; 
}

.system-prompt {
   background: rgba(var(--primary-rgb), 0.1); 
   border-left: 4px solid var(--primary); 
   color: #fff; 
   padding: 15px; 
   text-align: center; 
   font-size: 1.1rem; 
   border-radius: 4px; 
}

.cyber-btn {
   background: rgba(var(--primary-rgb), 0.15); 
   color: #fff; 
   border: 2px solid var(--primary); 
   padding: 12px 30px; 
   font-size: 1.2rem; 
   cursor: pointer; 
   border-radius: 4px; 
   transition: 0.3s; 
   text-shadow: 0 0 5px var(--primary); 
   box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.4); 
   margin: 5px; 
}

.cyber-btn:hover {
   background: var(--primary); 
   color: #000; 
   box-shadow: 0 0 20px var(--primary); 
}

.cyber-btn.accent {
   border-color: var(--accent);
   color: var(--accent);
   text-shadow: 0 0 5px var(--accent);
   box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.4);
}

.cyber-btn.accent:hover {
   background: var(--accent);
   color: #000; 
   box-shadow: 0 0 20px var(--accent);
}

.card-area.wide-card {
   background: rgba(5, 5, 5, 0.9); 
   border: 2px solid var(--primary); 
   padding: 30px; 
   border-radius: 8px; 
   width: 100%; 
   max-width: 1000px; 
   margin: 0 auto; 
   position: relative; 
   overflow: hidden; 
}

.lot-header {
   display: flex; 
   justify-content: space-between; 
   align-items: center; 
   border-bottom: 1px solid var(--glass-border); 
   padding-bottom: 15px; 
   margin-bottom: 20px; 
}

.lot-badge {
   background: linear-gradient(135deg, var(--danger), var(--primary)); 
   color: #fff; 
   padding: 8px 15px; 
   border-radius: 4px; 
   font-weight: bold; 
   border: 1px solid var(--accent); 
}

.lot-title {
   font-size: 2rem; 
   color: var(--accent); 
}

.lot-story {
   font-size: 1.4rem; 
   font-weight: bold; 
   color: #fff; 
   background: rgba(var(--primary-rgb), 0.15); 
   border: 1px solid var(--primary); 
   border-left: 5px solid var(--primary); 
   padding: 6px 15px; 
   border-radius: 4px; 
   letter-spacing: 2px; 
   text-shadow: 0 0 5px var(--primary); 
}

.lot-poem-box {
   text-align: center; 
   padding: 20px; 
   background: rgba(0, 0, 0, 0.4); 
   border-top: 1px dashed var(--primary); 
   border-bottom: 1px dashed var(--primary); 
   margin-bottom: 25px; 
}

.lot-poem-box p {
   font-size: 1.6rem; 
   color: #fff; 
   letter-spacing: 4px; 
   line-height: 1.8; 
}

.lot-grid-dimensions {
   display: grid; 
   grid-template-columns: 1fr 1fr; 
   gap: 20px; 
   margin-bottom: 25px; 
}

.dim-item {
   background: rgba(var(--primary-rgb), 0.05); 
   border-left: 3px solid var(--primary); 
   padding: 15px; 
}

.dim-item.full-width {
   grid-column: span 2; 
}

.dim-label {
   color: var(--primary); 
   font-size: 1.1rem; 
   margin-bottom: 8px; 
   display: block; 
   font-weight: normal; 
   text-shadow: 0.5px 0 0 var(--primary), -0.5px 0 0 var(--primary); 
}

.dim-text { color: #ddd; line-height: 1.6; display: block; }

.lot-master-box {
   background: rgba(var(--accent-rgb), 0.05); 
   border: 1px solid rgba(var(--accent-rgb), 0.3); 
   padding: 20px; 
   border-radius: 8px; 
}

.master-title { color: var(--accent); border-bottom: 1px dashed var(--accent); padding-bottom: 10px; margin-bottom: 15px; }

.master-label { color: var(--accent); font-weight: bold; display: block; margin-bottom: 8px; font-size: 1.15rem; }
.master-text { color: #fff; line-height: 1.8; font-size: 1.05rem; }
.master-section.highlight { margin-top: 25px; }

/* --- 核心擴充：六大維度與紅字叮嚀 --- */
.master-divider {
   border-top: 1px dashed rgba(var(--accent-rgb), 0.4); 
   margin: 25px 0; 
}

.master-sub-label {
   color: var(--accent); 
   font-weight: bold; 
   display: block; 
   margin-top: 20px; 
   margin-bottom: 8px; 
   font-size: 1.1rem; 
   text-shadow: 0 0 5px rgba(var(--accent-rgb), 0.5); 
}

.master-warning {
   color: var(--danger) !important; 
   font-weight: bold; 
   display: block; 
   margin-top: 25px; 
   margin-bottom: 8px; 
   font-size: 1.1rem; 
   text-shadow: 0 0 8px rgba(255, 68, 68, 0.4); 
}

.card-qrcode { text-align: center; margin-top: 25px; display: none; }
.card-qrcode img { border: 2px solid var(--accent); border-radius: 4px; padding: 5px; background: #fff; box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.5); max-width: 120px; height: auto; }

/* --- 新增：圖卡 QRCode、浮水印排版與美化 --- */
.card-qr-layout {
   display: flex; 
   flex-direction: column; 
   align-items: center; 
   justify-content: center; 
   gap: 8px; 
   padding: 15px 0;
}

.card-watermark-title {
   color: var(--accent); 
   font-size: 1.3rem; 
   font-weight: bold; 
   letter-spacing: 3px; 
   text-shadow: 0 0 8px rgba(var(--accent-rgb), 0.8); 
   border-bottom: 1px dashed var(--primary); 
   padding-bottom: 5px; 
   margin-top: 5px; 
}

.card-watermark-url {
   color: #ddd; 
   font-size: 0.85rem; 
   font-family: monospace; 
   letter-spacing: 1px; 
   opacity: 0.8; 
}

aside h2 {
   color: var(--accent); 
   text-align: center; 
   margin-bottom: 20px; 
}

.ad-grid {
   display: grid; 
   grid-template-columns: repeat(3, 1fr); 
   gap: 15px; 
}

.text-ad {
   display: flex; 
   align-items: center; 
   color: #fff; 
   text-decoration: none; 
   background: rgba(0, 0, 0, 0.5); 
   padding: 12px 15px; 
   border-radius: 4px; 
   border: 1px solid rgba(var(--primary-rgb), 0.3); 
   transition: all 0.3s ease; 
}

.text-ad:hover {
   color: var(--accent); 
   border-color: var(--accent); 
   transform: translateY(-2px); 
   box-shadow: 0 4px 10px rgba(var(--accent-rgb), 0.2); 
}

.red-icon {
   color: var(--primary); 
   margin-right: 10px; 
}

.ad-carousel-wrapper {
   width: 100%; 
   aspect-ratio: 16 / 9; 
   position: relative; 
   overflow: hidden; 
   border: 2px solid var(--primary); 
   border-radius: 8px; 
}

.ad-slider-track {
   display: flex; 
   width: 500%; 
   height: 100%; 
   transition: transform 0.5s ease-in-out; 
}

.ad-slide {
   width: 20%; 
   position: relative; 
}

.ad-slide img {
   width: 100%; 
   height: 100%; 
   object-fit: cover; 
   opacity: 0.7; 
   transition: 0.3s; 
}

.ad-slide:hover img { opacity: 1; }

.ad-slide-title {
   position: absolute; 
   top: 20px; 
   left: 20px; 
   background: rgba(0, 0, 0, 0.8); 
   color: #fff; 
   padding: 10px 20px; 
   border-left: 4px solid var(--accent); 
   font-size: 1.2rem; 
}

.ad-slide-link {
   position: absolute; 
   bottom: 20px; 
   right: 20px; 
   background: rgba(var(--primary-rgb), 0.8); 
   color: #fff; 
   padding: 10px 20px; 
   text-decoration: none; 
   border: 1px solid var(--primary); 
   border-radius: 4px; 
   transition: 0.3s; 
}

.ad-slide-link:hover {
   background: var(--accent); 
   color: #000; 
}

.ad-arrow {
   position: absolute; 
   top: 50%; 
   transform: translateY(-50%); 
   background: rgba(0, 0, 0, 0.6); 
   color: var(--primary); 
   border: none; 
   font-size: 2rem; 
   padding: 15px 10px; 
   cursor: pointer; 
   z-index: 10; 
}

.ad-arrow-prev { left: 0; }
.ad-arrow-next { right: 0; }

.cyber-footer-info {
   text-align: center; 
   padding: 40px 20px; 
   background: rgba(0, 0, 0, 0.8); 
   border-top: 2px solid var(--primary); 
   color: #ccc; 
   line-height: 1.8; 
}

.cyber-footer-info h3 { color: var(--primary); margin-bottom: 15px; }
.cyber-footer-info strong { color: var(--accent); }

.info-content-box {
   display: inline-block; 
   text-align: left; 
   border: 1px dashed var(--accent); 
   padding: 20px 30px; 
   border-radius: 8px; 
   background: rgba(var(--accent-rgb), 0.05); 
   margin-bottom: 25px; 
}

.info-content-box p { margin-bottom: 10px; font-size: 1.1rem; color: #ccc; }
.info-content-box p:last-child { margin-bottom: 0; }

.footer-action-buttons {
   display: flex; 
   justify-content: center; 
   gap: 15px; 
   margin: 25px 0; 
}

.cyber-action-btn {
   background: transparent; 
   border: 1px solid var(--accent); 
   color: var(--accent); 
   padding: 8px 20px; 
   text-decoration: none; 
   border-radius: 4px; 
   transition: 0.3s; 
   cursor: pointer; 
}

.cyber-action-btn:hover {
   background: var(--accent); 
   color: #000; 
}

.cyber-footer-copyright { margin-top: 20px; font-size: 0.9rem; color: #777; }

.counter-footer {
   width: 100%; 
   background: #000; 
   padding: 12px 0; 
   border-top: 1px solid var(--primary); 
}

.counter-group { display: flex; justify-content: center; gap: 20px; }

.counter-item {
   display: flex; 
   flex-direction: column; 
   align-items: center; 
   color: #aaa; 
   font-size: 0.9rem; 
   background: rgba(255, 255, 255, 0.05); 
   padding: 8px 25px; 
   border-radius: 4px; 
   border: 1px solid #333; 
   min-width: 120px; 
}

.count-val {
   color: var(--accent); 
   font-weight: bold; 
   font-size: 1.3rem; 
   margin-top: 5px; 
   text-shadow: 0 0 5px rgba(var(--accent-rgb), 0.5); 
}

.qr-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 1001; display: none; justify-content: center; align-items: center; }
.qr-modal-content { background: var(--bg-main); border: 2px solid var(--primary); padding: 30px; border-radius: 8px; text-align: center; position: relative; width: 90%; max-width: 350px; }
.qr-close-btn { position: absolute; top: 10px; right: 15px; color: #fff; font-size: 1.5rem; cursor: pointer; }
.qr-modal-content h3 { margin-bottom: 20px; }
#qrImage, #qrPlaceholder { margin-top: 20px !important; margin-bottom: 20px !important; }

/* --- 動畫引擎 --- */
.taichi-circle { width: 150px; height: 150px; margin: 0 auto; position: relative; }
.taichi-circle::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50%; border: 4px dashed var(--primary); animation: taichi-pulse 3s ease-in-out infinite; }
.taichi-circle::before { content: ""; position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px; border-radius: 50%; border: 2px solid var(--accent); animation: taichi-pulse-inner 3s ease-in-out infinite; }
.taichi-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: var(--accent); font-size: 1.8rem; font-weight: bold; line-height: 1.1; z-index: 10; animation: text-breathe-standby 3s ease-in-out infinite; }

.taichi-circle.fast-spin::after { animation: spin-fast 0.5s linear infinite !important; }
.taichi-circle.fast-spin::before { animation: spin-reverse-fast 0.5s linear infinite !important; }
.taichi-circle.fast-spin .taichi-text { animation: text-breathe-active 0.8s ease-in-out infinite !important; }

.coin-container { display: flex; justify-content: center; align-items: center; gap: 40px; width: 100%; margin: 40px auto 30px auto; perspective: 800px; }
.copper-coin { width: 60px; height: 60px; position: relative; transform-style: preserve-3d; transition: transform 1s ease-out; }
.coin-face { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; backface-visibility: hidden; box-shadow: 0 5px 10px rgba(0,0,0,0.8), inset 0 0 10px rgba(0,0,0,0.5); }
.coin-front { background: radial-gradient(circle at 30% 30%, #ffd700 0%, #b32400 60%, #4d0000 100%); border: 2px solid #ffcc00; transform: rotateY(0deg); }
.coin-back { background: radial-gradient(circle at 30% 30%, #8b0000 0%, #4d0000 60%, #1a0000 100%); border: 2px solid #5a0000; transform: rotateY(180deg); }
.coin-face::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 15px; height: 15px; background: var(--bg-main); }
.coin-front::after { border: 1px solid #ffcc00; box-shadow: inset 0 0 5px rgba(0,0,0,0.9); }
.coin-back::after { border: 1px solid #3a0000; box-shadow: inset 0 0 8px rgba(0,0,0,0.9); }

.copper-coin.tossing { animation: toss-flip 1s ease-in-out forwards; }
.copper-coin.yang { transform: rotateY(0deg); }
.copper-coin.yin { transform: rotateY(180deg); }

@keyframes taichi-pulse { 0%, 100% { box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4); transform: scale(1); } 50% { box-shadow: 0 0 35px rgba(var(--primary-rgb), 0.9); transform: scale(1.03); } }
@keyframes taichi-pulse-inner { 0%, 100% { box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.3); } 50% { box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.7); } }
@keyframes spin-fast { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes spin-reverse-fast { 0% { transform: rotate(0deg); } 100% { transform: rotate(-360deg); } }
@keyframes text-breathe-standby { 0%, 100% { transform: translate(-50%, -50%) scale(1); text-shadow: 0 0 10px var(--accent); } 50% { transform: translate(-50%, -50%) scale(1.05); text-shadow: 0 0 20px var(--accent); } }
@keyframes text-breathe-active { 0%, 100% { transform: translate(-50%, -50%) scale(1.1); text-shadow: 0 0 15px var(--accent), 0 0 30px var(--primary); color: #fff; } 50% { transform: translate(-50%, -50%) scale(1.5); text-shadow: 0 0 25px var(--accent), 0 0 50px var(--primary), 0 0 70px #fff; color: var(--accent); } }
@keyframes toss-flip { 0% { transform: translateY(0) rotateY(0deg) scale(1); } 50% { transform: translateY(-100px) rotateY(1800deg) scale(1.5); } 100% { transform: translateY(0) rotateY(3600deg) scale(1); } }

/* =========================================================================
 * 【十三、專屬 RWD 平板版優化 (max-width: 1024px)】
 * ========================================================================= */
@media (max-width: 1024px) {
   
   .main-container { padding: 0 8px; }
   .glass-panel { padding: 15px 12px; }
   .menu-toggle-btn { padding: 8px 12px; gap: 0; }
   .dropdown-list li a { padding: 15px 20px; font-size: 1rem; line-height: normal; }
   .system-prompt { font-size: 1rem; padding: 12px; }
   aside h2 { font-size: 1.3rem; margin-bottom: 15px; }
   .card-area.wide-card { padding: 15px 10px; }
   .lot-header { flex-direction: column; gap: 12px; text-align: center; }
   .lot-title { font-size: 1.6rem; }
   .lot-story { font-size: 1.2rem; }
   
   .lot-grid-dimensions { gap: 15px; }
   .dim-item { padding: 15px 12px; }
   .dim-label { font-size: 1.05rem; }
   .dim-text { font-size: 0.95rem; }
   
   .lot-master-box { padding: 15px 12px; }
   .master-label { font-size: 1.05rem; }
   .master-text { font-size: 1rem; }
   
   .master-sub-label { font-size: 1.05rem; }
   .master-warning { font-size: 1.05rem; }

   #btn-draw-lot, #btn-toss-coin { padding: 10px 20px; font-size: 1.05rem; }
   .action-group { display: flex; justify-content: center; gap: 10px; }
   .action-group .cyber-btn { font-size: 0.95rem; padding: 10px 5px; margin: 0; flex: 1; white-space: nowrap; }

   .ad-grid { grid-template-columns: 1fr; gap: 10px; }
   .text-ad { padding: 15px 10px; font-size: 0.95rem; justify-content: flex-start; }
   .ad-section.glass-panel { padding: 6px; margin-left: 0; margin-right: 0; border: 1px solid var(--glass-border); border-radius: 8px; }
   .ad-carousel-wrapper { border-width: 1px; border-radius: 8px; }
   .ad-slide-title { font-size: 0.95rem; top: 10px; left: 10px; padding: 5px 10px; }
   .ad-slide-link { bottom: 10px; right: 10px; padding: 6px 15px; font-size: 0.85rem; }
   .ad-arrow { font-size: 1.5rem; padding: 10px 5px; }

   .lot-poem-box { padding: 15px 10px; }
   .cyber-footer-info { padding: 30px 10px; }
   .info-content-box { padding: 15px 12px; width: 100%; margin-bottom: 20px; }
   .info-content-box p { font-size: 0.95rem; }
   .footer-action-buttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; margin: 0; }
   .cyber-action-btn { width: 100%; padding: 12px 0; text-align: center; font-size: 0.95rem; }
   .glow-title { font-size: 1.6rem; }
   .header-subtitle { font-size: 0.9rem; }
   .menu-text { display: inline-block; max-width: 0; opacity: 0; overflow: hidden; vertical-align: middle; margin: 0; transition: max-width 0.4s ease, opacity 0.4s ease, margin 0.4s ease; }
   .menu-toggle-btn.expanded .menu-text { max-width: 150px; opacity: 1; margin-left: 8px; }
   .dropdown-list { position: fixed; top: 60px; right: 15px; width: calc(100% - 30px); max-width: 320px; max-height: 0; overflow: hidden; visibility: hidden; opacity: 0; transform: none; transition: max-height 0.5s ease-in-out, opacity 0.4s ease, visibility 0.5s; }
   .dropdown-list.show { max-height: 400px; visibility: visible; opacity: 1; }
   .counter-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 8px; }
   .counter-item { min-width: 0; padding: 5px 10px; }
   .count-val { font-size: 1.1rem; }
}

/* =========================================================================
 * 【十四、專屬 RWD 手機版優化 (max-width: 767px)】
 * ========================================================================= */
@media (max-width: 767px) {
   .lot-grid-dimensions { grid-template-columns: 1fr; }
   .dim-item.full-width { grid-column: span 1; }
}