/* 寵寶幸運星 － 點燈／神祇頁樣式  assets/lamp.css（7-2） */
.lp-hero{background:radial-gradient(circle at 20% 0,#5b3a99 0,transparent 50%),linear-gradient(180deg,#24124a,#3b1f6b);color:#fff;padding:56px 0 44px;text-align:center}
.lp-hero .en{display:block;color:#ffd77a;letter-spacing:.15em;font-size:13px;text-transform:uppercase;margin-bottom:6px}
.lp-hero h1{color:#fff;font-size:clamp(28px,4vw,42px);margin:0 0 10px}
.lp-hero p{color:rgba(255,255,255,.88);max-width:720px;margin:0 auto;line-height:1.8}
.lp-emoji{font-size:64px;line-height:1;display:block;margin-bottom:8px;filter:drop-shadow(0 0 18px rgba(255,214,110,.6))}
.lp-crumb{font-size:13px;color:rgba(255,255,255,.7);margin-bottom:14px}.lp-crumb a{color:#ffd77a}
.lp-tabs{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:20px}
.lp-tabs a{padding:8px 18px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,224,150,.35);text-decoration:none}
.lp-tabs a:hover{background:rgba(255,255,255,.22);color:#fff}
.lamps-sec .section-head h1{color:#fff;font-size:clamp(26px,3vw,36px)}

/* 神祇 */
.lp-deities{display:grid;gap:22px}
.lp-deity{display:grid;grid-template-columns:140px 1fr;gap:22px;background:#fff;border:1px solid #eee3cf;border-radius:16px;padding:22px;scroll-margin-top:90px;box-shadow:0 4px 18px rgba(59,31,107,.06)}
.lp-deity:target{border-color:#e8b64c;box-shadow:0 0 0 3px rgba(232,182,76,.35)}
.lp-d-img{width:140px;height:140px;border-radius:50%;object-fit:cover;background:#f6efe0}
.lp-deity h3{margin:0 0 4px;font-size:22px;color:#3b1f6b}
.lp-d-title{color:#a8741a;font-weight:bold;margin:0 0 10px}
.lp-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px;padding:0;list-style:none}
.lp-tags li{background:#f3ecff;color:#5b3a99;border-radius:999px;padding:3px 12px;font-size:13px}
.lp-d-bg{color:#555;line-height:1.8;margin:0 0 12px}
.lp-bless{margin:0 0 12px;padding:12px 16px;background:#fff8e6;border-left:4px solid #e8b64c;border-radius:8px;color:#5a4410;line-height:1.8}
.lp-d-loc{font-size:14px;color:#777;margin:0 0 12px}
.lp-d-lamps{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.lp-d-lamps b{font-size:14px;color:#3b1f6b}
.lp-chip{display:inline-block;padding:6px 14px;border-radius:999px;background:#3b1f6b;color:#fff;font-size:14px;text-decoration:none}
.lp-chip:hover{background:#5b3a99;color:#fff}

/* 點燈 */
.lp-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}
.lp-step{background:#fff;border:1px solid #eee3cf;border-radius:14px;padding:18px;text-align:center}
.lp-step b{display:block;font-size:30px;margin-bottom:6px}
.lp-step strong{display:block;color:#3b1f6b;margin-bottom:4px}
.lp-step small{color:#777;line-height:1.6}
.lp-info{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:10px}
.lp-box{background:#fff;border:1px solid #eee3cf;border-radius:16px;padding:22px;line-height:1.8}
.lp-box h2{margin:0 0 10px;color:#3b1f6b;font-size:20px}
.lp-box ul{margin:0;padding-left:0;list-style:none}
.lp-form h2{font-size:20px;color:#3b1f6b;margin:30px 0 12px}
.lp-form h2 span{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e8b64c;color:#3b1f6b;margin-right:8px;font-size:16px}
.lp-opts{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.lp-opt{position:relative;cursor:pointer;display:block}
.lp-opt input{position:absolute;opacity:0;pointer-events:none}
.lp-opt-box{display:block;height:100%;background:#fff;border:2px solid #eee3cf;border-radius:14px;padding:16px;transition:.15s}
.lp-opt:hover .lp-opt-box{border-color:#d9c08a}
.lp-opt input:checked+.lp-opt-box{border-color:#e8b64c;background:#fffaf0;box-shadow:0 0 0 3px rgba(232,182,76,.25)}
.lp-opt input:focus-visible+.lp-opt-box{outline:2px solid #5b3a99}
.lp-opt-box b{display:block;color:#3b1f6b;font-size:17px}
.lp-opt-box small{display:block;color:#777;font-size:13px}
.lp-price{display:block;font-size:22px;font-weight:bold;color:#c0392b;margin:6px 0}
.lp-gift{display:block;font-size:13px;color:#a8741a;margin-top:4px}
.lp-opt-box.dy{display:flex;gap:12px;align-items:center}
.lp-opt-box.dy img{width:56px;height:56px;border-radius:50%;object-fit:cover;flex:none;background:#f6efe0}
.lp-note{background:#f3ecff;border-radius:12px;padding:12px 16px;color:#4a2f80;margin:16px 0;line-height:1.7}
.lp-note.rb{background:linear-gradient(90deg,#fde2e4,#e2ecfd,#e6f6ea);color:#444}
.lp-note.warn{background:#fff3e0;color:#8a4b00}
.lp-submit{margin-top:26px;text-align:center}
.lp-submit .btn[disabled]{opacity:.55;cursor:not-allowed}
.lp-submit p{color:#777;font-size:14px;margin-top:10px}

@media(max-width:760px){.lp-info{grid-template-columns:1fr}}
@media(max-width:640px){
  .lp-deity{grid-template-columns:1fr;text-align:center}
  .lp-d-img{margin:0 auto;width:110px;height:110px}
  .lp-tags,.lp-d-lamps{justify-content:center}
  .lp-bless{text-align:left}
}
/* END-OF-FILE lamp.css 7.2 */
/* ===== 7-3 點燈結帳 ===== */
.lp-opt-box.tg{display:flex;gap:12px;align-items:center}
.lp-opt-box.tg .pic{width:52px;height:52px;border-radius:50%;background:#f6efe0;display:grid;place-items:center;font-size:28px;overflow:hidden;flex:none}
.lp-opt-box.tg .pic img{width:100%;height:100%;object-fit:cover}
.lo-manual{margin-top:12px}
.lo-sum .lo-lamp{display:flex;gap:12px;align-items:center;margin-bottom:12px}
.lo-sum .lo-lamp span{font-size:42px;line-height:1}
.lo-sum .lo-lamp b{display:block;color:#3b1f6b;font-size:18px}
.lo-sum dl{margin:0 0 12px;display:grid;grid-template-columns:auto 1fr;gap:6px 12px;font-size:14px}
.lo-sum dt{color:#888}.lo-sum dd{margin:0;color:#333}
.lo-sum .lo-tip{font-size:13px;color:#777;line-height:1.7;margin:10px 0}
@supports selector(:has(*)){
  .lo-manual{display:none}
  .lo-tg:has(input[value="manual"]:checked)~.lo-manual{display:block}
  .lo-inv{display:none}
  .lo-invsel:has(input[value="3"]:checked)~.lo-inv{display:grid}
}
/* END-OF-FILE lamp.css 7.3 */
/* ===== 7-4 我的點燈 ===== */
.ml-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 18px}
.ml-tabs a{padding:7px 16px;border-radius:999px;background:#f6efe0;color:#5a4410;text-decoration:none;font-size:14px}
.ml-tabs a.on{background:#3b1f6b;color:#fff}
.ml-tabs a i{font-style:normal;display:inline-block;min-width:20px;padding:0 6px;margin-left:4px;border-radius:999px;background:rgba(0,0,0,.08);font-size:12px;text-align:center}
.ml-tabs a.on i{background:rgba(255,255,255,.25)}
.ml-list{display:grid;gap:14px}
.ml-card{display:grid;grid-template-columns:72px 1fr auto;gap:16px;align-items:start;background:#fff;border:1px solid #eee3cf;border-left:5px solid #e8b64c;border-radius:14px;padding:16px}
.ml-card.rb{border-left-color:#c39be0}
.ml-card.st-soon{border-left-color:#e5484d}
.ml-card.st-pending{border-left-color:#1d5fbf}
.ml-card.st-ended{border-left-color:#9aa0a6;background:#fbfaf7}
.ml-card.st-void{border-left-color:#ccc;opacity:.7}
.ml-pic{width:72px;height:72px;border-radius:50%;background:#f6efe0;display:grid;place-items:center;font-size:34px;overflow:hidden}
.ml-pic img{width:100%;height:100%;object-fit:cover}
.ml-top{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px;color:#888;margin-bottom:4px}
.ml-badge{padding:2px 10px;border-radius:999px;background:#fff3d6;color:#8a5a00;font-weight:bold}
.st-soon .ml-badge{background:#fde8e8;color:#c0392b}
.st-pending .ml-badge{background:#e6efff;color:#1d5fbf}
.st-ended .ml-badge,.st-void .ml-badge{background:#eee;color:#555}
.ml-card h3{margin:0 0 4px;font-size:18px;color:#3b1f6b}
.ml-who{margin:0 0 6px;color:#555;font-size:14px;line-height:1.7}
.ml-date{font-size:14px;color:#555}
.ml-date b{color:#c0392b}
.ml-bar{height:8px;background:#f1ece2;border-radius:999px;overflow:hidden;margin:6px 0 4px;max-width:360px}
.ml-bar span{display:block;height:100%;background:linear-gradient(90deg,#ffd77a,#e8b64c)}
.st-soon .ml-bar span{background:linear-gradient(90deg,#ffb4a8,#e5484d)}
.ml-wish{margin:8px 0 0;padding:8px 12px;background:#fffaf0;border-radius:8px;font-size:14px;color:#5a4410;white-space:pre-line}
.ml-act{display:flex;flex-direction:column;gap:8px;min-width:150px}
.ml-act .m-btn{text-align:center}
.ml-act .off{opacity:.55;pointer-events:none}
.ml-act small{text-align:center}.ml-act small a{color:#888}
.ml-empty{text-align:center;padding:40px 10px;color:#777}
.ml-empty b{display:block;font-size:48px;margin-bottom:8px}
@media(max-width:640px){
  .ml-card{grid-template-columns:56px 1fr}
  .ml-pic{width:56px;height:56px;font-size:28px}
  .ml-act{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;min-width:0}
  .ml-act>*{flex:1 1 140px}
}
/* END-OF-FILE lamp.css 7.4 */


