/* 彩蛋圖鑑、每日猜盒組（使用者 11/18：讓大家多逛的功能，不用抽卡）
 * 沿用卡冊的深藍卡套風（薄荷綠、珊瑚色），不用黃黑配色、不放頂端大搜尋框和膠囊標籤列（避開競品的樣式）。 */
body.pl { background: radial-gradient(circle at 50% -10%, #17305a, var(--bg) 60%) fixed var(--bg); min-height: 100vh; color: var(--ink); font-family: var(--font); }
.pl-main { max-width: 1080px; margin: 0 auto; padding: 18px 16px 120px; }
.pl-main h1 { font-size: 26px; margin: 6px 0 6px; letter-spacing: .04em; }
.pl-main h2 { font-size: 17px; margin: 26px 0 12px; color: var(--muted); font-weight: 700; }

/* ── 彩蛋圖鑑 ── */
.eg-head p { margin: 0 0 14px; color: var(--muted); max-width: 640px; line-height: 1.7; }
.eg-progress { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.eg-progress b { font-size: 26px; color: var(--ink); }
.eg-progress i { position: relative; flex: 0 1 260px; height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.eg-progress i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #94eeff, #b7a1ff, #ffe3a1, #fda9d8); }
.eg-progress span { color: #ffe3a1; font-weight: 700; }
.eg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.eg-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; }
.eg-card { text-align: center; }
.eg-face { position: relative; aspect-ratio: 2 / 3; border-radius: 3.1% / 2.1%; overflow: hidden; background: #08101e; box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.eg-face > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eg-card:not(.got) .eg-face > img { filter: grayscale(1) brightness(.22) blur(1.5px); }
.eg-card:not(.got) .eg-face > b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; font-weight: 800; color: rgba(255,255,255,.28); text-shadow: 0 0 20px rgba(183,161,255,.35); }
.eg-card.got .eg-face { box-shadow: 0 14px 30px rgba(0,0,0,.5), 0 0 0 2px rgba(255,227,161,.55), 0 0 26px rgba(183,161,255,.35); }
.eg-card h3 { margin: 10px 0 2px; font-size: 16px; }
.eg-card:not(.got) h3 { color: var(--faint); letter-spacing: .2em; }
.eg-where { margin: 0; color: var(--mint); font-size: 13px; font-weight: 700; }
.eg-hint { margin: 4px 0 6px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.eg-date { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }
.eg-go { color: var(--mint); font-size: 13px; font-weight: 700; text-decoration: none; }
@media (max-width: 760px) { .eg-grid, .eg-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }

/* ── 每日猜盒組 ── */
.gs-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.gs-sub { margin: 0 0 14px; color: var(--muted); }
.gs-pic { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #f4f7fb, #d7dfea); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 18px 40px rgba(0,0,0,.45); }
.gs-pic img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .8s; }
.gs-pic .gs-lv { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(8,16,30,.78); color: #e9eff9; font-size: 12.5px; font-weight: 700; }
.gs-side { display: flex; flex-direction: column; gap: 14px; }
.gs-box { padding: 16px; border-radius: 18px; background: rgba(20,40,74,.72); border: 1px solid rgba(176,208,255,.16); }
.gs-tries { display: flex; gap: 6px; margin: 0 0 12px; }
.gs-tries i { flex: 1; height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); }
.gs-tries i.bad { background: var(--coral); } .gs-tries i.ok { background: var(--mint); }
.gs-form { position: relative; }
.gs-form input { width: 100%; box-sizing: border-box; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(176,208,255,.3); background: #0d1a31; color: var(--ink); font: 600 15px var(--font); }
.gs-form input::placeholder { font-size: 13px; }  /* 1.7.55：提示字尾不再被切（固定檢查 11/25） */
@media (max-width: 380px) { .gs-form input::placeholder { font-size: 12px; } }
.gs-form input:focus { outline: 2px solid var(--mint); outline-offset: 1px; }
.gs-sugg { position: absolute; left: 0; right: 0; top: 50px; z-index: 5; margin: 0; padding: 6px; list-style: none; border-radius: 12px; background: #0f1d38; border: 1px solid rgba(176,208,255,.25); box-shadow: 0 16px 30px rgba(0,0,0,.5); max-height: 320px; overflow: auto; }
.gs-sugg li button { display: flex; gap: 10px; align-items: center; width: 100%; padding: 8px 10px; border: 0; border-radius: 9px; background: none; color: var(--ink); font: 600 14px var(--font); text-align: left; cursor: pointer; }
.gs-sugg li button b { color: var(--mint); min-width: 58px; }
.gs-sugg li button small { color: var(--muted); font-weight: 500; margin-left: auto; white-space: nowrap; }
.gs-sugg li button:hover, .gs-sugg li button[aria-selected="true"] { background: rgba(111,214,196,.14); }
.gs-hints { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.gs-hints li { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.04); color: var(--muted); font-size: 14px; }
.gs-hints li b { color: var(--ink); }
.gs-hints li.locked b { color: var(--faint); letter-spacing: .2em; }
.gs-guesses { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.gs-guesses li { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255,138,118,.1); font-size: 13.5px; }
.gs-guesses li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-guesses li em { font-style: normal; padding: 2px 7px; border-radius: 7px; background: rgba(255,255,255,.07); color: var(--muted); font-size: 12px; white-space: nowrap; }
.gs-guesses li em.hit { background: rgba(111,214,196,.2); color: var(--mint); }
.gs-result { text-align: center; }
.gs-result h3 { margin: 0 0 6px; font-size: 20px; }
.gs-result .gs-name { margin: 0 0 12px; font-size: 16px; }
.gs-result .gs-name b { color: var(--mint); margin-right: 6px; }
.gs-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.gs-btns a, .gs-btns button { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 11px; border: 1px solid rgba(176,208,255,.28); background: none; color: var(--ink); font: 700 14px var(--font); text-decoration: none; cursor: pointer; }
.gs-btns .main { background: var(--mint); border-color: var(--mint); color: #062520; }
.gs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.gs-stats b { display: block; font-size: 24px; } .gs-stats small { color: var(--muted); font-size: 12px; }
.gs-next { margin: 10px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
@media (max-width: 860px) { .gs-wrap { grid-template-columns: 1fr; } .gs-pic { max-width: 520px; margin: 0 auto; width: 100%; } }

/* ── 我的徽章（11/18） ── */
.bg-sum { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: 14px; }
.bg-sum span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.bg-sum b { font-size: 22px; color: var(--ink); }
.bg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.bg-card { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(20,40,74,.6); border: 1px solid rgba(176,208,255,.14); color: var(--ink); text-decoration: none; transition: transform .15s, border-color .15s; }
.bg-card:hover { transform: translateY(-2px); border-color: rgba(111,214,196,.5); }
.bg-card.t0 { opacity: .78; }
.bg-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.bg-txt b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bg-txt em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.bg-card.t1 em { color: #e2a06e; } .bg-card.t2 em { color: #b9cce3; } .bg-card.t3 em { color: #ffd85a; } .bg-card.t4 em { background: linear-gradient(90deg, #94eeff, #b7a1ff, #ffe3a1, #fda9d8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bg-txt small { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.bg-txt i { position: relative; height: 6px; margin-top: 4px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.bg-txt i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: var(--mint); }
.bg-empty { color: var(--muted); } .bg-empty a { color: var(--mint); }
/* 我的成就（成就系統 11/21）：區塊標題右邊的小字、逛逛類的「這個瀏覽器」標、最下面 App 圖示 */
.bg-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bg-h small { font-size: 13px; font-weight: 500; color: var(--muted); }
.bg-only { display: inline-block; padding: 0 7px; border-radius: 99px; background: rgba(143,182,255,.18); color: #a9c6ff; font-size: 11.5px; font-weight: 700; line-height: 1.6; vertical-align: 1px; white-space: nowrap; } .bg-txt em .bg-only { margin-left: 6px; } .bg-apponly em .bg-only { margin-left: 0; } .bg-card.bg-apponly { opacity: 1; cursor: default; } .bg-card.bg-apponly:hover { transform: none; border-color: rgba(176,208,255,.14); }
.bg-local { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 99px; background: rgba(255,216,90,.14); color: #ffd85a; font-size: 11.5px; font-weight: 700; line-height: 1.6; vertical-align: 1px; }
.bg-icon-note { display: block; margin-top: 2px; color: #e9c75f; font-size: 11px; }
.bg-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 16px 10px; }
.bg-icon { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.bg-icon-tile { position: relative; width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 6px 16px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.14); }
.bg-icon-tile img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.bg-icon:not(.on) .bg-icon-tile img { filter: grayscale(1) brightness(.55); }
.bg-icon:not(.on) .bg-icon-tile { filter: grayscale(1) brightness(.55); }
.bg-icon:not(.on) .bg-icon-tile:has(img) { filter: none; }
.bg-icon-tile i { position: absolute; right: -4px; bottom: -4px; font-style: normal; font-size: 20px; filter: grayscale(0); }
.bg-icon b { font-size: 13.5px; color: var(--ink); }
.bg-icon:not(.on) b { color: var(--muted); }
.bg-icon small { font-size: 11.5px; line-height: 1.45; color: var(--muted); }
/* 徽章總數：手機上四種一排擠不下時縮小圖示和間距，「0 彩虹」不會自己掉到第二行（11/19 巡檢） */
@media (max-width: 480px) { .bg-sum { gap: 8px 12px; } .bg-sum span { gap: 5px; } .bg-sum .bd { --s: 26px !important; } .bg-sum b { font-size: 19px; } }

/* ── 一起組的任務頁 /build-together/（縮時錄影協作第 3 階段，11/22）：一張邀請卡，置中，卡冊同一套深藍卡套風 ── */
.bt { display: flex; justify-content: center; padding: 28px 0 10px; }
.bt-card { width: min(520px, 100%); box-sizing: border-box; padding: 26px 26px 22px; border-radius: 22px; background: linear-gradient(160deg, rgba(31,54,96,.9), rgba(14,24,44,.95)); border: 1px solid rgba(176,208,255,.18); box-shadow: 0 18px 44px rgba(0,0,0,.45); }
.bt-kicker { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--mint); }
.bt-title { margin: 0 0 6px; font-size: 24px; line-height: 1.45; letter-spacing: .02em; word-break: break-word; }
.bt-host { color: #ffd85a; }
.bt-set { display: inline; }
.bt-pieces { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.bt-you { display: flex; flex-direction: column; gap: 4px; margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; background: rgba(111,214,196,.1); border: 1px solid rgba(111,214,196,.35); }
.bt-label { font-size: 12.5px; font-weight: 700; color: var(--mint); }
.bt-job { font-size: 18px; line-height: 1.5; word-break: break-word; }
.bt-facts { margin: 0 0 18px; display: grid; gap: 8px; }
.bt-facts div { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 8px; border-bottom: 1px dashed rgba(176,208,255,.16); }
.bt-facts dt { color: var(--muted); font-size: 13.5px; flex: none; }
.bt-facts dd { margin: 0; text-align: right; font-weight: 700; word-break: break-word; }
.bt-app { display: block; margin: 0 0 12px; padding: 13px 16px; border-radius: 14px; background: #ffd85a; color: #2a1f00; font-weight: 800; font-size: 16px; text-align: center; text-decoration: none; }
.bt-app:hover { filter: brightness(1.05); }
.bt-note { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; word-break: break-word; }
.bt-msg .bt-title { margin-bottom: 10px; }
.bt-msg .bt-note { margin-bottom: 16px; }
.bt-loading { color: var(--muted); }
.bt-privacy { max-width: 520px; margin: 4px auto 0; text-align: center; color: var(--muted); font-size: 12.5px; }
@media (max-width: 480px) { .bt { padding-top: 14px; } .bt-card { padding: 20px 18px 18px; border-radius: 18px; } .bt-title { font-size: 21px; } }
html.theme-light .bt-card { background: #fff; border-color: rgba(24,48,96,.14); box-shadow: 0 10px 28px rgba(24,48,96,.1); }
html.theme-light .bt-host { color: #8a5a00; }
html.theme-light .bt-you { background: rgba(19,143,128,.08); border-color: rgba(19,143,128,.35); }
html.theme-light .bt-label, html.theme-light .bt-kicker { color: #0a6b5f; }
html.theme-light .bt-facts div { border-bottom-color: rgba(24,48,96,.12); }
