/* 羲和飛行巧思第三批（assets/fly3.css）
   打包清單 / 星圖神諭 / 藥師廣播卡。class 前綴 xh-fly3-。
   色票：晨光奶油 #F7F1E7、墨綠 #2F453C、鼠尾草 #97A48B、日落金 #DFA050、陶土 #C08552、海霧藍 #A9C2CF */

.xh-fly3-kicker{font-size:11px;letter-spacing:.35em;text-transform:uppercase;color:#C08552;font-weight:600}
.xh-fly3-kicker .xh-fly3-kicker-zh{letter-spacing:.2em}

/* ---------- 1. 行李箱打包清單 ---------- */
.xh-fly3-pack{position:relative;margin:34px 0;padding:22px 22px 16px;background:#F7F1E7;border:1px solid #DFA050;border-radius:14px;box-shadow:0 1px 0 rgba(47,69,60,.05)}
.xh-fly3-pack::after{content:"";position:absolute;top:0;bottom:0;left:10px;width:0;border-left:1px dashed rgba(192,133,82,.45)}
.xh-fly3-pack-hole{position:absolute;top:16px;right:18px;width:17px;height:17px;border-radius:50%;border:2px solid #DFA050;background:#fff;box-shadow:inset 0 0 0 2px #F7F1E7,0 0 0 1px rgba(47,69,60,.12)}
.xh-fly3-pack-hole::before{content:"";position:absolute;left:50%;top:-12px;width:1px;height:12px;background:rgba(192,133,82,.6)}
.xh-fly3-pack-title{font-family:"Noto Serif TC","Songti TC",serif;font-size:21px;font-weight:700;color:#2F453C;margin:7px 0 0;line-height:1.4}
.xh-fly3-pack-progress{display:inline-block;margin-top:8px;font-size:12px;letter-spacing:.18em;color:#C08552;border:1px solid rgba(223,160,80,.65);border-radius:99px;padding:3px 11px;background:rgba(255,255,255,.5)}
.xh-fly3-pack-list{list-style:none;margin:12px 0 0;padding:0}
.xh-fly3-pack-item{position:relative;display:flex;align-items:flex-start;gap:11px;padding:9px 2px;border-bottom:1px dashed rgba(47,69,60,.18);cursor:pointer}
.xh-fly3-pack-item:last-child{border-bottom:none}
.xh-fly3-pack-item input{position:absolute;opacity:0;width:20px;height:20px;margin:0;cursor:pointer}
.xh-fly3-box{flex:0 0 auto;width:19px;height:19px;margin-top:2px;border:1.5px solid #2F453C;border-radius:5px;background:#fff;position:relative;transition:background .15s ease,border-color .15s ease}
.xh-fly3-box::after{content:"";position:absolute;left:5px;top:1.5px;width:5px;height:10px;border:solid #DFA050;border-width:0 2.5px 2.5px 0;transform:rotate(45deg) scale(0);transition:transform .15s ease}
.xh-fly3-pack-item input:checked ~ .xh-fly3-box{background:#2F453C}
.xh-fly3-pack-item input:checked ~ .xh-fly3-box::after{transform:rotate(45deg) scale(1)}
.xh-fly3-pack-item input:focus-visible ~ .xh-fly3-box{outline:2px solid #DFA050;outline-offset:2px}
.xh-fly3-txt{font-size:15.5px;line-height:1.65;color:#2F453C;transition:color .15s ease}
.xh-fly3-pack-item input:checked ~ .xh-fly3-txt{color:#97A48B;text-decoration:line-through;text-decoration-color:rgba(151,164,139,.8)}
.xh-fly3-pack-note{margin:12px 0 2px;font-size:12.5px;line-height:1.8;color:#7A8A7E}

/* ---------- 星圖神諭・頻道頁 ---------- */
.ciel{
  margin-top:48px;position:relative;overflow:hidden;
  background:radial-gradient(ellipse 72% 44% at 50% -6%, rgba(198,161,91,.12), rgba(198,161,91,0) 62%),#22382F;
  border:1px solid #C6A15B;border-radius:16px;
  text-align:center;color:#F7F1E7;
}
/* 香檳金雙框（比照古典登機證） */
.ciel::before,.ciel::after{
  content:"";position:absolute;pointer-events:none;z-index:2;
}
.ciel::before{inset:8px;border:1px solid #C6A15B;border-radius:10px;}
.ciel::after{inset:14px;border:1px solid rgba(198,161,91,.5);border-radius:8px;}
.ciel-in{position:relative;z-index:3;padding:46px 28px 38px;}
.ciel-logo{display:block;width:48px;height:48px;margin:0 auto 12px;}
/* ---------- 星圖神諭・背景裝飾層（細金線描・法式古典） ---------- */
.ciel-decor{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;border-radius:16px;}
.ciel-branch{position:absolute;width:212px;height:auto;opacity:.58;}
.ciel-branch.tl{top:10px;left:10px;}
.ciel-branch.br{bottom:10px;right:10px;transform:rotate(180deg);}
/* 鈴蘭細金線描（比照 logo 線描氣質・只描線不填色） */
.ciel-lily{position:absolute;height:auto;pointer-events:none;}
.ciel-lily.right{top:52px;right:24px;width:100px;opacity:.62;}
.ciel-lily.left{bottom:46px;left:22px;width:92px;opacity:.55;}
.ciel-moon{position:absolute;top:26px;right:15%;width:30px;height:30px;opacity:.85;}
.ciel-const{position:absolute;opacity:.6;}
.ciel-const.tc-l{left:19%;top:14px;width:23%;height:54px;}
.ciel-const.tc-r{right:19%;top:14px;width:23%;height:54px;}
.ciel-const.edge-l{left:20px;top:35%;width:44px;height:280px;}
.ciel-const.edge-r{right:20px;top:39%;width:44px;height:280px;}
.cstar{position:absolute;display:block;}
.cstar.dot{background:#EFDCAC;border-radius:50%;}
.cstar.spark{fill:#EFDCAC;}
.cstar.glow{box-shadow:0 0 8px 2px rgba(239,220,172,.45);}
.cstar.spark.glow{box-shadow:none;filter:drop-shadow(0 0 5px rgba(239,220,172,.55));}
@keyframes cielTw{from{opacity:.5;}to{opacity:1;}}
.cstar.tw{animation:cielTw 3.6s ease-in-out infinite alternate;}
@media (prefers-reduced-motion: reduce){
  .cstar.tw{animation:none;}
}
@media (max-width:760px){
  .ciel-lily.right{width:74px;right:14px;top:58px;opacity:.55;}
  .ciel-lily.left{width:66px;left:12px;bottom:40px;opacity:.48;}
  .ciel-const.edge-l,.ciel-const.edge-r,.cstar.edge{display:none;}
  .ciel-const.tc-l{left:23%;width:19%;}
  .ciel-const.tc-r{right:23%;width:19%;}
}
@media (max-width:560px){
  .ciel-lily.right{width:54px;right:8px;top:66px;opacity:.5;}
  .ciel-lily.left{width:48px;left:8px;bottom:36px;opacity:.42;}
  .ciel-branch{width:98px;opacity:.5;}
  .ciel-branch.tl{top:7px;left:7px;}
  .ciel-branch.br{bottom:7px;right:7px;}
  .ciel-moon{top:20px;right:56px;width:21px;height:21px;}
  .ciel-const.tc-l{left:25%;width:16%;height:44px;}
  .ciel-const.tc-r{right:25%;width:16%;height:44px;}
}
.ciel-eyebrow{
  font-family:"Noto Serif Display",serif;font-size:12.5px;font-weight:500;
  letter-spacing:.55em;text-indent:.55em;color:#DFA050;text-transform:uppercase;
}
.ciel-title{
  font-family:"Noto Serif TC",serif;font-weight:600;font-size:clamp(28px,4.4vw,38px);
  letter-spacing:.3em;text-indent:.3em;color:#F7F1E7;margin-top:14px;line-height:1.4;
}
.ciel-lead{
  margin:16px auto 0;max-width:520px;font-size:15.5px;color:#EDE4D0;line-height:2;letter-spacing:.04em;
}
.ciel-btn{
  margin-top:26px;background:#DFA050;color:#2F453C;border:1px solid #DFA050;
  font-family:"Noto Serif TC",serif;font-size:15.5px;font-weight:600;letter-spacing:.3em;text-indent:.3em;
  padding:13px 38px;border-radius:999px;transition:background .2s;
}
.ciel-btn:hover{background:#E8B266;}
.ciel-btn:disabled{background:#C99A55;border-color:#C99A55;cursor:default;}
.ciel-result{margin-top:30px;}
.ciel-result.show{animation:cielIn .5s ease;}
@keyframes cielIn{0%{opacity:0;transform:translateY(8px);}100%{opacity:1;transform:translateY(0);}}
@media (prefers-reduced-motion: reduce){
  .ciel-result.show{animation:none;}
}
.ciel-card{
  width:230px;max-width:100%;margin:0 auto;border:1px solid #C6A15B;
  box-shadow:0 18px 38px rgba(0,0,0,.35);
}
.ciel-no{
  margin-top:20px;font-family:"Noto Serif Display",serif;font-size:11px;font-weight:500;
  letter-spacing:.45em;text-indent:.45em;color:#DFA050;text-transform:uppercase;
}
.ciel-herb{
  font-family:"Noto Serif TC",serif;font-weight:600;font-size:30px;
  letter-spacing:.14em;color:#F7F1E7;margin-top:8px;line-height:1.4;
}
.ciel-herb .en{
  font-family:"Noto Serif Display",serif;font-weight:400;font-size:16px;
  letter-spacing:.12em;color:#CDBFA3;
}
.ciel-slogan{
  font-family:"Noto Serif TC",serif;font-size:15px;color:#CDBFA3;
  letter-spacing:.1em;margin-top:8px;line-height:1.8;
}
.ciel-oracle{
  font-family:"Noto Serif TC",serif;font-weight:600;font-size:17.5px;
  color:#F7F1E7;line-height:1.9;letter-spacing:.05em;margin-top:12px;
}
.ciel-oracle span{display:block;}
.ciel-read{
  display:inline-block;margin-top:20px;background:transparent;color:#F7F1E7;
  border:1px solid #C6A15B;font-family:"Noto Serif TC",serif;font-size:14px;font-weight:600;
  letter-spacing:.16em;padding:11px 26px;border-radius:999px;transition:background .2s,color .2s;
}
.ciel-read:hover{background:#DFA050;color:#2F453C;border-color:#DFA050;}
.ciel-guard{
  margin-top:30px;padding-top:18px;border-top:1px solid rgba(198,161,91,.35);
  font-size:12px;color:#B9C4B4;letter-spacing:.05em;line-height:1.9;
}
/* ---------- 星圖神諭・動態能量（流星／流星雨／星塵／月光呼吸） ---------- */
/* 天空動態層：與裝飾層同級（z-index:1，雙框 2、內容 3 之下），不接受點擊 */
.ciel-sky{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;border-radius:16px;}
/* 面板光暈（抽牌時宇宙的回應，極輕微亮起再緩緩退去） */
.ciel-glow{
  position:absolute;inset:0;z-index:1;pointer-events:none;border-radius:16px;
  background:radial-gradient(ellipse 74% 52% at 50% 16%, rgba(239,220,172,.30), rgba(239,220,172,0) 66%);
  opacity:0;transition:opacity .6s ease;
}
.ciel-glow.on{opacity:1;}
/* 非常淡的星塵：只在上方天區，以幾乎察覺不到的幅度緩慢水平漂移 */
.ciel-dust{
  position:absolute;left:-4%;right:-4%;top:0;height:52%;opacity:.16;
  background-image:
    radial-gradient(circle, rgba(239,220,172,.6) 1px, transparent 1.7px),
    radial-gradient(circle, rgba(247,241,231,.45) 1px, transparent 1.6px),
    radial-gradient(circle, rgba(223,160,80,.4) 1.2px, transparent 1.9px);
  background-size:173px 121px, 229px 157px, 311px 211px;
  background-position:12px 8px, 64px 30px, 28px 58px;
  animation:cielDust 27s ease-in-out infinite alternate;
}
@keyframes cielDust{from{transform:translateX(-7px);}to{transform:translateX(7px);}}
/* 彎月光暈呼吸：約 6 秒一個週期，極輕微地明暗 */
.ciel-moon{animation:cielMoonBreathe 6s ease-in-out infinite;}
@keyframes cielMoonBreathe{
  0%,100%{opacity:.76;filter:drop-shadow(0 0 3px rgba(223,160,80,.22));}
  50%{opacity:.96;filter:drop-shadow(0 0 11px rgba(223,160,80,.55));}
}
/* 流星：暖金白色細光軌，頭部微亮、尾巴漸淡；只以 transform/opacity 移動 */
.meteor{
  position:absolute;height:2px;border-radius:999px;opacity:0;will-change:transform,opacity;
  background:linear-gradient(90deg, rgba(255,244,214,0) 0%, rgba(239,220,172,.14) 32%, rgba(255,248,225,.85) 86%, #FFF8E1 100%);
  filter:drop-shadow(0 0 6px rgba(239,220,172,.5));
}
.meteor::after{
  content:"";position:absolute;right:-1px;top:50%;width:7px;height:7px;border-radius:50%;
  transform:translate(50%,-50%);
  background:radial-gradient(circle, #FFFDF0 0%, rgba(239,220,172,.9) 38%, rgba(239,220,172,0) 72%);
}
.meteor.small{height:1.5px;filter:drop-shadow(0 0 4px rgba(239,220,172,.4));}
.meteor.shower{height:2px;filter:drop-shadow(0 0 7px rgba(239,220,172,.65));}
.meteor.bright{height:2.5px;filter:drop-shadow(0 0 10px rgba(239,220,172,.85));}
.meteor.fly{animation:cielMeteorFly var(--dur,1.2s) cubic-bezier(.22,.61,.36,1) forwards;}
@keyframes cielMeteorFly{
  0%{opacity:0;transform:translate3d(0,0,0) rotate(var(--ang,-28deg));}
  14%{opacity:1;}
  68%{opacity:.85;}
  100%{opacity:0;transform:translate3d(var(--dx,-150px),var(--dy,80px),0) rotate(var(--ang,-28deg));}
}
/* 抽牌結果改為緩慢浮現＋微微上升（600–800ms） */
.ciel-result.show{animation:cielIn .75s cubic-bezier(.22,.61,.36,1);}
@keyframes cielIn{0%{opacity:0;transform:translateY(14px);}100%{opacity:1;transform:translateY(0);}}
@media (prefers-reduced-motion: reduce){
  .ciel-moon{animation:none;}
  .ciel-dust{animation:none;}
  .meteor{display:none !important;}
  .ciel-glow{transition:none;}
  .ciel-result.show{animation:none;}
}
@media (max-width:480px){
  .ciel-in{padding:38px 20px 28px;}
  .ciel-card{width:200px;}
  .ciel-herb{font-size:26px;}
}

/* ---------- 3. 藥師廣播卡 ---------- */
.xh-fly3-pa{margin:30px 0;display:flex;gap:15px;align-items:flex-start;background:#2F453C;color:#F7F1E7;border:1px solid #DFA050;border-radius:14px;padding:19px 21px}
.xh-fly3-pa-btn{flex:0 0 auto;width:45px;height:45px;border-radius:50%;border:1.5px solid #DFA050;display:flex;align-items:center;justify-content:center;background:rgba(223,160,80,.08)}
.xh-fly3-pa-kicker{font-size:10.5px;letter-spacing:.3em;color:#DFA050;text-transform:uppercase;font-weight:600}
.xh-fly3-pa-text{font-family:"Noto Serif TC","Songti TC",serif;font-size:16.5px;line-height:1.85;margin-top:5px}

@media (max-width:560px){
  .xh-fly3-pack{padding:19px 16px 13px}
  .xh-fly3-pack::after{left:7px}
  .xh-fly3-pa{padding:16px 16px}
  .xh-fly3-pa-text{font-size:15.5px}
}
