/* 百家樂研究所 Final Static Edition */
:root{--green-950:#062820;--green-900:#08372d;--green-800:#0c4a3b;--green-700:#145b49;--cream:#f5f0e6;--paper:#fffdf8;--gold:#c99f52;--gold-2:#e2c98f;--ink:#15241f;--muted:#627069;--red:#a84f4f;--line:#e2ddd3;--shadow:0 14px 38px rgba(27,47,38,.08);--radius:22px;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,sans-serif;color:var(--ink);background:var(--cream);line-height:1.75}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input{font:inherit}svg{width:1.35em;height:1.35em}.container{width:min(var(--max),calc(100% - 40px));margin:auto}.section{padding:72px 0}.section.compact{padding:48px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:26px}.section-head h2{margin:4px 0 0;font:800 clamp(28px,3vw,40px)/1.25 "Noto Serif TC","PMingLiU",serif}.section-sub{max-width:580px;margin:0;color:var(--muted)}.kicker{font-size:12px;font-weight:900;letter-spacing:.22em;color:#a67320;text-transform:uppercase}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.primary-btn,.outline-btn,.text-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 20px;border-radius:999px;font-weight:800;transition:.25s}.primary-btn{background:var(--green-900);color:white}.primary-btn:hover{background:var(--green-800);transform:translateY(-2px)}.outline-btn{border:1px solid #d4bd8c;background:#fffdf8;color:var(--green-950)}.outline-btn:hover{border-color:var(--gold);transform:translateY(-2px)}.text-btn{padding:0;color:var(--green-800)}
/* header */.site-header{position:sticky;top:0;z-index:100;background:rgba(255,253,248,.93);backdrop-filter:blur(16px);border-bottom:1px solid rgba(200,185,153,.45)}.header-inner{height:72px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:10px;min-width:max-content}.brand img{width:42px;height:42px;object-fit:contain}.brand-text{font:800 22px/1 "Noto Serif TC","PMingLiU",serif}.main-nav{display:flex;gap:22px;align-items:center;margin-left:auto;font-weight:750}.main-nav>a,.nav-trigger{font-size:15px}.nav-wrap{position:relative}.nav-trigger{border:0;background:none;padding:22px 0;cursor:pointer;font-weight:750;color:var(--ink)}.mega{position:absolute;top:58px;right:-120px;width:630px;padding:16px;background:var(--paper);border:1px solid var(--line);border-radius:20px;box-shadow:0 22px 50px rgba(6,40,32,.16);display:grid;grid-template-columns:1fr 1fr;gap:8px;opacity:0;visibility:hidden;transform:translateY(-6px);transition:.2s}.nav-wrap:hover .mega,.nav-wrap:focus-within .mega{opacity:1;visibility:visible;transform:none}.mega a{padding:13px;border-radius:14px;display:grid;grid-template-columns:38px 1fr;gap:10px}.mega a:hover{background:#f3eee4}.mega .mi{width:38px;height:38px;border-radius:12px;background:#ecf2ee;color:var(--green-800);display:grid;place-items:center}.mega b{display:block}.mega small{display:block;color:var(--muted);font-weight:500}.header-actions{display:flex;align-items:center;gap:10px}.icon-btn{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;background:var(--paper)}.mobile-toggle{display:none;border:0}.mobile-menu{display:none}
/* hero */.hero{padding:36px 0 24px}.hero-shell{display:grid;grid-template-columns:.9fr 1.1fr;min-height:500px;overflow:hidden;border:1px solid #d9c79f;border-radius:30px;background:linear-gradient(125deg,#f9f5ec 0%,#fffdf8 46%,#eef2ed 100%);box-shadow:var(--shadow)}.hero-copy{padding:64px 20px 58px 54px;align-self:center}.hero-copy h1{font:900 clamp(43px,5.4vw,72px)/1.05 "Noto Serif TC","PMingLiU",serif;margin:12px 0 22px;letter-spacing:-.04em;color:var(--green-950)}.hero-copy h1 em{font-style:normal;color:var(--gold)}.hero-copy p{font-size:18px;color:#52635b;max-width:520px;margin:0 0 30px}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.hero-visual{position:relative;padding:18px}.hero-visual:before{content:"";position:absolute;inset:42px 10px 20px 80px;border-radius:35px;background:#0b3b31}.hero-visual img{position:relative;width:100%;height:100%;object-fit:cover;border-radius:24px;box-shadow:0 20px 40px rgba(6,40,32,.22)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}.stat-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:18px 20px;display:flex;align-items:center;gap:14px}.stat-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--green-900);color:#e9d49a;flex:none}.stat-label{font-size:13px;color:var(--muted);display:block}.stat-value{font-size:24px}.daily-link{font-weight:850;color:var(--green-800)}
/* service strip */.service-strip{display:grid;grid-template-columns:repeat(4,1fr);background:#262725;color:white;border-radius:22px;overflow:hidden}.service-item{padding:20px;display:flex;gap:13px;align-items:center;border-right:1px solid rgba(255,255,255,.09)}.service-item:last-child{border:0}.service-icon{width:44px;height:44px;border:1px solid rgba(201,159,82,.28);border-radius:12px;display:grid;place-items:center;color:#d8c07f;flex:none}.service-item b{display:block;font-size:15px}.service-item small{color:#c8c9c7}.service-note{font-size:12px;color:#7b807d;margin-top:10px;text-align:right}
/* categories */.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.category-card{min-height:230px;padding:26px 22px;background:var(--paper);border:1px solid var(--line);border-radius:20px;position:relative;transition:.25s}.category-card:hover{transform:translateY(-5px);border-color:#cfb16c;box-shadow:var(--shadow)}.category-card .symbol{width:52px;height:52px;border-radius:15px;display:grid;place-items:center;background:#edf2ee;color:var(--green-800);margin-bottom:22px}.category-card h3{font-size:20px;margin:0 0 8px}.category-card p{font-size:14px;color:var(--muted);margin:0}.category-card .arrow{position:absolute;bottom:20px;right:20px;color:var(--gold);font-size:20px}
/* steps */.starter{position:relative;overflow:hidden;background:linear-gradient(130deg,var(--green-950),#0d493b);color:white;border-radius:28px;padding:46px 40% 46px 44px;min-height:400px}.starter h2{font:850 36px/1.2 "Noto Serif TC","PMingLiU",serif;margin:8px 0 10px}.starter p{color:#d7dfdb;max-width:650px}.step-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:24px}.step{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:16px}.step b{color:#f2d893}.starter-character{position:absolute;right:4%;bottom:-70px;height:470px;max-width:34%;object-fit:contain;filter:drop-shadow(0 18px 25px rgba(0,0,0,.24));animation:float 4.2s ease-in-out infinite}@keyframes float{50%{transform:translateY(-9px)}}
/* recommendations */.recommend-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.recommend-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.25s;min-width:0}.recommend-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.recommend-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.recommend-card .rc-body{padding:14px}.recommend-card h3{font-size:16px;margin:0}.recommend-card span{font-size:12px;color:var(--muted)}
/* article cards */.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.article-card{overflow:hidden;background:var(--paper);border:1px solid var(--line);border-radius:20px;display:flex;flex-direction:column;min-height:100%;transition:.25s}.article-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.article-card img{aspect-ratio:16/9;width:100%;object-fit:cover}.article-card-body{padding:20px;display:flex;flex:1;flex-direction:column}.article-card .meta{font-size:12px;color:#a17223;font-weight:850}.article-card h3{font-size:20px;line-height:1.45;margin:8px 0}.article-card p{color:var(--muted);font-size:14px;margin:0 0 18px}.article-card .more{margin-top:auto;font-weight:850;color:var(--green-800)}
/* info */.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ranking,.topics{padding:28px}.ranking-list{display:grid;gap:8px;margin-top:14px}.rank-row{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #ece7dc}.rank-no{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eee8dc;font-weight:900;color:#75561f}.rank-row:first-child .rank-no{background:var(--gold);color:white}.rank-views{font-size:12px;color:var(--muted)}.tag-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.tag{padding:10px 15px;background:#f4efe5;border:1px solid #e5dcc9;border-radius:999px;font-weight:800;font-size:14px}.tag:hover{background:#e9f0ec;color:var(--green-800)}

/* about-links */.closing-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.author-teaser{display:grid;grid-template-columns:1fr 220px;align-items:center;min-height:330px;padding:34px;overflow:hidden}.author-teaser p{color:var(--muted)}.author-teaser figure{margin:0;align-self:stretch;position:relative}.author-teaser img{height:300px;object-fit:contain;position:absolute;bottom:-20px;right:0;transition:.3s}.author-teaser a:hover img{transform:translateY(-7px) scale(1.02)}.link-panel{padding:32px}.external-links{display:grid;gap:10px;margin-top:16px}.external-link{min-height:54px;border:1px solid var(--line);border-radius:14px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;font-weight:800}.external-link span:first-child{display:flex;align-items:center;gap:10px}.external-link .el-icon{width:32px;height:32px;border-radius:10px;background:#edf2ee;color:var(--green-800);display:grid;place-items:center}.external-link:hover{border-color:var(--gold);background:#fbf7ef}
/* page */.page-hero{padding:44px 0 20px}.page-hero-card{background:var(--paper);border:1px solid var(--line);border-radius:26px;padding:42px;display:grid;grid-template-columns:1fr auto;gap:30px;align-items:end}.page-title{font:900 clamp(38px,5vw,58px)/1.08 "Noto Serif TC","PMingLiU",serif;margin:8px 0 10px}.page-hero-card p{max-width:700px;color:var(--muted);margin:0}.crumbs{font-size:13px;color:#7a817e}.feature-band{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.feature-card{padding:23px;background:var(--paper);border:1px solid var(--line);border-radius:18px}.feature-card h3{margin:8px 0 5px}.feature-card p{margin:0;color:var(--muted);font-size:14px}
/* article page */.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px}.article-main{min-width:0;max-width:100%;overflow:hidden;background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:36px}.article-main h1{font:900 clamp(32px,3vw,40px)/1.2 "Noto Serif TC","PMingLiU",serif;margin:12px 0 16px}.article-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:13px;margin-bottom:24px}.article-cover{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:18px;margin-bottom:28px}.article-content{font-size:17px;min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}.article-content a{color:#0c5b49;text-decoration:underline;text-decoration-color:#bca369;text-underline-offset:4px}.article-content .article-tool-cta{margin:24px 0 28px}.article-content .article-tool-cta .primary-btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 26px;border-radius:999px;background:var(--green-900);color:#fff!important;font-size:17px;font-weight:800;line-height:1;text-decoration:none!important;text-underline-offset:0;box-shadow:0 10px 24px rgba(12,91,73,.14)}.article-content .article-tool-cta .primary-btn:hover{background:var(--green-800);transform:translateY(-2px)}.article-content .article-tool-cta .primary-btn:visited{color:#fff!important}.article-content .article-tool-cta .primary-btn *{color:#fff!important;text-decoration:none!important}
.article-points{padding:0;list-style:none;display:grid;gap:10px;margin:22px 0}.article-points li{padding:14px 16px;background:#f6f2e9;border-left:3px solid var(--gold);border-radius:10px}.article-cta{margin-top:30px;padding:22px;background:#082f27;border-radius:18px;color:white}.article-cta h3{margin:0 0 12px}.cta-links{display:grid;gap:9px}.cta-links a{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:11px 13px;text-decoration:none;color:white;display:flex;justify-content:space-between;align-items:center}.article-source{font-size:12px;color:var(--muted);margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.article-side{display:grid;gap:14px;align-content:start;position:sticky;top:94px;height:max-content}.side-card{padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:18px}.side-card h3{margin:0 0 12px}.side-card a{display:block;padding:8px 0;border-bottom:1px solid #eee9df;font-size:14px}.side-card>a:last-child{border:0}.related-grid{display:grid;grid-template-columns:1fr;gap:10px}.related-mini{position:relative;display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;align-items:center;border:1px solid var(--line);border-radius:13px;padding:7px;background:var(--paper);overflow:visible}.related-mini>img{width:82px;aspect-ratio:16/9;object-fit:contain;background:#f5f1e8;border-radius:9px}.related-mini-body{min-width:0}.related-mini b{display:block;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.related-hover-preview{position:absolute;right:calc(100% + 12px);top:0;z-index:30;width:480px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fffdf8;box-shadow:0 14px 34px rgba(24,45,37,.16);display:grid;grid-template-columns:200px minmax(0,1fr);gap:16px;align-items:center;opacity:0;visibility:hidden;transform:translateX(8px);transition:.16s ease;pointer-events:none}.related-mini:hover .related-hover-preview,.related-mini:focus-visible .related-hover-preview{opacity:1;visibility:visible;transform:translateX(0)}.related-hover-preview img{width:200px;aspect-ratio:16/9;object-fit:contain;background:#f5f1e8;border-radius:10px}.related-hover-preview strong{font-size:18px;line-height:1.5;overflow-wrap:anywhere}.related-hover-preview em{grid-column:1/-1;font-style:normal;font-size:16px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
/* about */.about-lead{display:grid;grid-template-columns:1fr 360px;gap:30px;align-items:center;overflow:hidden;padding:40px}.about-lead p{color:var(--muted)}.author-click{position:relative;height:390px}.author-click img{position:absolute;inset:auto 0 -35px auto;height:430px;object-fit:contain;transition:.35s;filter:drop-shadow(0 14px 24px rgba(15,45,35,.15))}.author-click:hover img{transform:translateY(-9px) rotate(.6deg)}.principle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.principle{padding:24px;background:var(--paper);border:1px solid var(--line);border-radius:18px}.principle .picon{width:44px;height:44px;border-radius:13px;background:#edf2ee;color:var(--green-800);display:grid;place-items:center}.principle h3{margin:14px 0 6px}.principle p{margin:0;color:var(--muted);font-size:14px}.numbers{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.number-card{padding:28px 18px;text-align:center;background:var(--paper);border:1px solid #e4d7bd;border-radius:16px}.number-card strong{font:850 30px/1.1 "Noto Serif TC",serif;color:#93691e}.number-card span{display:block;color:var(--muted);font-size:13px;margin-top:7px}.trust-box{padding:34px}.trust-box p{margin:0;color:#53625b}.badge-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.badge{border:1px solid #d4a84c;padding:8px 14px;border-radius:999px;font-size:13px;font-weight:850;color:#8d651f;background:#fffaf0}
/* FAQ */.faq-layout{display:grid;grid-template-columns:1fr 280px;gap:22px}.faq-list{display:grid;gap:10px}.faq-item{background:var(--paper);border:1px solid var(--line);border-radius:16px;overflow:hidden}.faq-q{width:100%;border:0;background:none;padding:17px 18px;display:flex;align-items:center;gap:12px;text-align:left;font-weight:850;cursor:pointer}.faq-q .fq-icon{width:35px;height:35px;border-radius:11px;background:#edf2ee;color:var(--green-800);display:grid;place-items:center;flex:none}.faq-plus{margin-left:auto}.faq-a{display:none;padding:0 18px 18px 65px;color:var(--muted)}.faq-item.open .faq-a{display:block}.faq-item.open .faq-plus{transform:rotate(45deg)}
/* policy */.policy-layout{display:grid;grid-template-columns:220px 1fr;gap:18px}.policy-index{padding:20px;background:var(--green-900);color:white;border-radius:18px;height:max-content;position:sticky;top:92px}.policy-index a{display:block;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.14)}.policy-card{padding:30px;margin-bottom:14px;scroll-margin-top:95px}.policy-card h2{margin-top:0}
/* search */.search-box{display:flex;gap:10px}.search-box input{flex:1;min-height:52px;border:1px solid var(--line);border-radius:14px;padding:0 16px;background:var(--paper);outline:none}.search-box input:focus{border-color:var(--gold)}.empty{padding:30px;text-align:center;color:var(--muted);background:var(--paper);border:1px dashed #d6cdbb;border-radius:18px}
/* footer */.site-footer{margin-top:72px;background:var(--green-950);color:white;padding:54px 0 20px}.footer-main{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:28px}.footer-brand p{color:#b9c5c0;font-size:14px;max-width:320px}.footer-col h4{margin:0 0 12px;color:#e1c477}.footer-col a{display:block;color:#d6ddd9;font-size:14px;padding:4px 0}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid rgba(255,255,255,.12);margin-top:36px;padding-top:18px;color:#9fb1aa;font-size:12px}.age-note{max-width:760px}
/* animation */[data-reveal]{opacity:0;transform:translateY(12px);transition:.6s}[data-reveal].revealed{opacity:1;transform:none}
@media(max-width:980px){.main-nav{display:none}.mobile-toggle{display:grid}.header-actions .primary-btn{display:none}.mobile-menu.open{display:grid;background:var(--paper);padding:16px 20px;border-bottom:1px solid var(--line);gap:8px}.mobile-menu a{padding:10px 4px}.hero-shell{grid-template-columns:1fr}.hero-copy{padding:48px 40px 20px}.hero-visual{min-height:390px}.category-grid{grid-template-columns:repeat(3,1fr)}.recommend-grid{grid-template-columns:repeat(3,1fr)}.article-grid{grid-template-columns:repeat(2,1fr)}.service-strip{grid-template-columns:repeat(2,1fr)}.starter{padding-right:38%;}.footer-main{grid-template-columns:1.5fr repeat(2,1fr)}.article-layout,.faq-layout{grid-template-columns:1fr}.article-side{position:static;grid-template-columns:1fr 1fr}.about-lead{grid-template-columns:1fr 300px}.numbers{grid-template-columns:repeat(2,1fr)}.policy-layout{grid-template-columns:1fr}.policy-index{position:static;display:flex;flex-wrap:wrap;gap:10px}.policy-index a{border:0;padding:5px}}
@media(max-width:680px){.container{width:min(100% - 24px,var(--max))}.section{padding:48px 0}.header-inner{height:64px}.brand-text{font-size:19px}.hero{padding-top:16px}.hero-copy{padding:34px 24px 12px}.hero-copy h1{font-size:42px}.hero-copy p{font-size:16px}.hero-visual{min-height:260px;padding:12px}.hero-visual:before{inset:26px 5px 10px 40px}.stats{grid-template-columns:1fr}.category-grid,.recommend-grid,.article-grid,.feature-band,.principle-grid{grid-template-columns:1fr 1fr}.service-strip{grid-template-columns:1fr}.service-item{border-right:0;border-bottom:1px solid rgba(255,255,255,.09)}.starter{padding:34px 24px 260px}.starter-character{max-width:78%;height:330px;right:10%;bottom:-40px}.step-grid{grid-template-columns:1fr}.info-grid,.closing-grid{grid-template-columns:1fr}.author-teaser{grid-template-columns:1fr 140px;padding:24px}.author-teaser img{height:240px;right:-20px}.page-hero-card{padding:28px;grid-template-columns:1fr}.page-title{font-size:40px}.article-main{padding:22px}.article-content{font-size:16px}.article-side{grid-template-columns:1fr}.related-grid{grid-template-columns:1fr}.related-hover-preview{display:none}.about-lead{grid-template-columns:1fr;padding:28px}.author-click{height:300px}.author-click img{height:350px;left:50%;transform:translateX(-50%)}.author-click:hover img{transform:translateX(-50%) translateY(-7px)}.numbers{grid-template-columns:1fr 1fr}.footer-main{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-bottom{flex-direction:column}.section-head{align-items:flex-start;flex-direction:column}}
@media(max-width:430px){.category-grid,.recommend-grid,.feature-band,.principle-grid,.numbers{grid-template-columns:1fr}.footer-main{grid-template-columns:1fr}.footer-col{border-top:1px solid rgba(255,255,255,.1);padding-top:15px}}

/* ==========================================================================\n   首頁最終精修 2026-08-26\n   只在 .home-header / 首頁專屬 class 下生效，避免影響內頁。\n   ========================================================================== */

/* Header：品牌、導覽、文字搜尋按鈕 */
.home-header .header-inner{
  min-height:82px;
  height:auto;
  gap:28px;
}
.home-header .brand{
  gap:12px;
  padding-right:26px;
  margin-right:4px;
  border-right:1px solid #e7decf;
  flex-shrink:0;
}
.home-header .brand img{width:46px;height:46px;object-fit:contain}
.home-header .brand-text{
  font-family:"Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif;
  font-size:26px;
  line-height:1;
  font-weight:900;
  letter-spacing:.025em;
  color:var(--green-950);
  white-space:nowrap;
}
.home-header .main-nav{
  margin-left:4px;
  margin-right:auto;
  gap:28px;
  align-items:center;
}
.home-header .main-nav>a,
.home-header .nav-trigger{
  position:relative;
  padding:10px 0;
  border:0;
  background:transparent;
  color:#263a33;
  font-family:"Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif;
  font-size:15px;
  font-weight:750;
  white-space:nowrap;
  cursor:pointer;
  transition:color .2s ease;
}
.home-header .main-nav>a:hover,
.home-header .nav-trigger:hover,
.home-header .nav-wrap.is-open>.nav-trigger{color:var(--green-800)}
.home-header .nav-home::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:2px;
  height:2px;
  border-radius:999px;
  background:var(--gold);
}
.home-header .nav-wrap .mega{
  top:62px;
  left:50%;right:auto;
  transform:translate(-50%,-7px);
}
.home-header .nav-wrap:hover .mega,
.home-header .nav-wrap:focus-within .mega,
.home-header .nav-wrap.is-open .mega{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translate(-50%,0);
}
.home-header .about-mega{width:390px;grid-template-columns:1fr}
.home-header .article-mega{width:620px;grid-template-columns:1fr 1fr}
.home-header .header-actions{margin-left:auto;gap:10px;flex-shrink:0}
.home-search-text-btn{
  min-height:44px;
  padding:0 18px;
  border:1px solid #d9cfbc;
  border-radius:999px;
  background:#fffdf8;
  color:var(--green-900);
  font:820 14px/1 "Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif;
  cursor:pointer;
  transition:.22s ease;
  white-space:nowrap;
}
.home-search-text-btn:hover{border-color:#c9a254;background:#f7f2e8;transform:translateY(-1px)}
.home-header .header-casino-btn{min-height:44px;padding-inline:19px;font-size:14px}

/* Hero */
.hero-shell{grid-template-columns:.92fr 1.08fr}
.hero-copy{padding:62px 24px 58px 54px}
.hero-copy h1,
.hero-copy h1 span,
.hero-copy h1 em{
  font-family:"Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif;
  font-style:normal;
  font-weight:900;
}
.hero-copy h1{
  font-size:clamp(42px,4.55vw,62px);
  line-height:1.07;
  letter-spacing:-.035em;
  margin:12px 0 22px;
}
.hero-copy h1 span,.hero-copy h1 em{display:inline-block;white-space:nowrap}
.hero-copy h1 span{color:var(--green-950)}
.hero-copy h1 em{color:var(--gold)}
.hero-visual{
  position:relative;
  padding:18px 18px 18px 8px;
  overflow:hidden;
  border-radius:0 30px 30px 0;
}
.hero-visual::before,.hero-visual::after{content:none!important;display:none!important}
.hero-visual img{
  position:relative;
  display:block;
  width:100%;height:100%;
  object-fit:cover;
  object-position:center;
  border-radius:24px;
  box-shadow:0 18px 34px rgba(6,40,32,.16);
  transform:none!important;
}

/* 服務列統一深綠金配色 */
.service-strip{
  background:linear-gradient(135deg,var(--green-950),var(--green-800));
  border:1px solid rgba(201,159,82,.22);
  box-shadow:0 14px 34px rgba(6,40,32,.12);
}
.service-item{border-right-color:rgba(226,201,143,.14)}
.service-icon{background:rgba(255,255,255,.035);border-color:rgba(226,201,143,.34);color:var(--gold-2)}
.service-item small{color:#c9d6d0}

/* START HERE：人物整張可點 */
.starter-character-link{
  position:absolute;
  right:3%;bottom:0;
  width:37%;height:100%;
  z-index:2;
}
.starter-character-link .starter-character{
  right:0;width:100%;max-width:none;
  pointer-events:none;
}

/* 首頁標題字重 */
.section-head h2,
.home-latest-grid .article-card h3{
  font-family:"Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif;
}
.section-head h2{font-weight:900}
.home-latest-grid .article-card h3{font-weight:850}

/* 最新文章：每頁 6 篇，頁碼依實際文章總數自動產生 */
.home-pagination{
  min-height:40px;
  margin-top:30px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
}
.home-page-btn{
  width:38px;height:38px;
  display:grid;place-items:center;
  border:1px solid #ded4c0;
  border-radius:50%;
  background:#fffdf8;
  color:var(--green-900);
  font-weight:850;
  cursor:pointer;
  transition:.2s ease;
}
.home-page-btn:hover,.home-page-btn.is-active{
  background:var(--green-900);color:#fff;border-color:var(--green-900);transform:translateY(-1px)
}

/* 每月熱門：左右等高，右側 1 / 234 / 567 / 8910 */
.info-grid{position:relative}
.info-grid>.panel{min-height:440px}
.monthly-update-note{
  width:100%;margin-top:14px;text-align:center;
  color:#8b8d86;font-size:12px;letter-spacing:.08em
}
.popular-tags-panel{display:flex;flex-direction:column}
.popular-tag-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  margin-top:18px;
}
.popular-search-tag{
  min-width:0;min-height:66px;
  padding:10px 11px;
  border:1px solid #e7dfcf;
  border-radius:14px;
  background:#faf7f0;
  color:var(--ink);
  display:grid;
  grid-template-columns:31px minmax(0,1fr);
  grid-template-rows:auto auto;
  column-gap:9px;
  text-align:left;
  cursor:pointer;
  transition:.22s ease;
}
.popular-search-tag:hover{transform:translateY(-2px);border-color:#d1b36d;background:#f0f5f1}
.popular-tag-no{
  grid-row:1/3;
  width:30px;height:30px;
  border-radius:50%;
  display:grid;place-items:center;
  align-self:center;
  background:#ece6d9;
  color:#65532e;
  font-size:11px;font-weight:900;
}
.popular-search-tag:first-child{
  grid-column:1/-1;
  width:calc((100% - 18px)/3);
  min-width:150px;
  justify-self:center;
  border-color:#d4ab55;
  background:linear-gradient(135deg,#fffaf0,#f7ecd2);
}
.popular-search-tag:first-child .popular-tag-no{
  width:35px;height:35px;
  background:#c99a3e;color:#fff;
  box-shadow:0 4px 12px rgba(178,127,31,.18)
}
.popular-search-tag:nth-child(2) .popular-tag-no{background:#dfe2e3;color:#596267}
.popular-search-tag:nth-child(3) .popular-tag-no{background:#d9a37a;color:#6f3c20}
.popular-search-tag:nth-child(4) .popular-tag-no{background:#d9ebe4;color:#0c5b49}
.popular-search-tag b{
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:14px;line-height:1.35
}
.popular-search-tag>span:last-child{color:var(--muted);font-size:11px}

/* 作者卡：新版平衡排版，人物貼底並放大 */
.author-teaser{
  position:relative;
  grid-template-columns:minmax(0,1fr) 300px;
  min-height:440px;
  padding:42px 24px 34px 40px;
  align-items:stretch;
  overflow:hidden;
}
.author-teaser::after{content:none!important;display:none!important}
.author-teaser>div{
  position:relative;
  z-index:2;
  align-self:center;
  padding:0 6px 0 0;
}
.author-teaser h2{
  font-family:"Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif;
  font-size:clamp(34px,3vw,44px);
  line-height:1.16;
  font-weight:900;
  margin:12px 0 20px;
  color:var(--ink);
}
.author-teaser p{
  max-width:520px;
  margin:0 0 28px;
  font-size:16.5px;
  line-height:1.95;
  color:var(--muted);
}
.author-teaser>a{
  position:relative;
  min-height:100%;
  align-self:stretch;
  overflow:visible;
}
.author-teaser figure{
  position:absolute;
  inset:0;
  min-height:100%;
  margin:0;
  display:flex;
  justify-content:flex-end;
  align-items:flex-end;
}
.author-teaser img{
  position:absolute;
  right:-2px;
  bottom:-6px;
  width:auto;
  height:432px;
  max-width:none;
  object-fit:contain;
  object-position:right bottom;
  transform-origin:center bottom;
  filter:drop-shadow(0 10px 20px rgba(6,40,32,.08));
  transition:transform .25s ease;
}
.author-teaser a:hover img{transform:translateY(-5px) scale(1.012)}

/* 即時站內搜尋：同頁搜尋標題＋標籤 */
.home-search-layer[hidden]{display:none}
.home-search-layer{position:fixed;inset:82px 0 0;z-index:99}
.home-search-backdrop{position:absolute;inset:0;background:rgba(6,40,32,.32);backdrop-filter:blur(2px)}
.home-search-panel{
  position:relative;
  width:min(900px,calc(100% - 36px));
  max-height:min(660px,calc(100vh - 112px));
  overflow:auto;
  margin:18px auto 0;
  padding:26px;
  border:1px solid #ded4c0;
  border-radius:24px;
  background:var(--paper);
  box-shadow:0 26px 70px rgba(6,40,32,.24)
}
.home-search-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px}
.home-search-top h2{margin:2px 0 0;font:900 30px/1.25 "Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif}
.home-search-close{
  width:40px;height:40px;border-radius:50%;border:1px solid var(--line);
  background:#fff;color:var(--ink);font-size:24px;line-height:1;cursor:pointer
}
.home-search-box{
  min-height:58px;display:flex;align-items:center;gap:12px;padding:0 18px;
  border:1px solid #d8ccb3;border-radius:17px;background:#fff
}
.home-search-box svg{width:22px;height:22px;flex:none;color:var(--green-800)}
.home-search-box input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:16px;color:var(--ink)}
.home-search-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0 18px;color:var(--muted);font-size:13px}
.home-search-tags button{
  border:1px solid #e5dcc9;border-radius:999px;background:#f4efe5;color:var(--ink);
  padding:7px 11px;font-weight:750;cursor:pointer
}
.home-search-tags button:hover{background:#e9f0ec;color:var(--green-800)}
.home-search-results{display:grid;gap:8px}
.home-search-hint,.home-search-empty{
  padding:22px;border:1px dashed #d9cfbc;border-radius:16px;background:#faf7f0;color:var(--muted);text-align:center
}
.home-search-result{
  display:grid;grid-template-columns:92px 1fr auto;gap:14px;align-items:center;
  padding:10px;border:1px solid #ebe4d7;border-radius:15px;background:#fff;transition:.2s ease
}
.home-search-result:hover{border-color:#cfb16c;transform:translateY(-1px)}
.home-search-result img{width:92px;aspect-ratio:16/9;object-fit:cover;border-radius:10px}
.home-search-result b{display:block;line-height:1.45;margin-bottom:2px}
.home-search-result small{color:var(--muted)}
.home-search-result .search-arrow{color:var(--gold);font-size:20px;padding-right:6px}
.mobile-search-link{border:0;background:none;text-align:left;padding:10px 4px;color:var(--ink);font-weight:700}

@media(max-width:1080px){
  .home-header .main-nav{gap:16px;margin-left:0}
  .home-header .brand{padding-right:18px}
  .home-header .header-casino-btn{padding-inline:14px}
}
@media(max-width:980px){
  .home-search-layer{inset:72px 0 0}
  .hero-visual{padding:12px 18px 18px;border-radius:0 0 30px 30px}
  .hero-copy h1 span,.hero-copy h1 em{white-space:normal}
  .info-grid>.panel{min-height:0}
  .home-header .brand{border-right:0;padding-right:0}
  .home-search-text-btn{display:none}
}
@media(max-width:680px){
  .home-search-layer{inset:64px 0 0}
  .home-search-panel{width:calc(100% - 20px);margin-top:10px;padding:20px;border-radius:20px}
  .home-search-result{grid-template-columns:78px 1fr}
  .home-search-result img{width:78px}
  .home-search-result .search-arrow{display:none}
  .popular-tag-list{grid-template-columns:1fr}
  .popular-search-tag:first-child{grid-column:auto;width:100%;min-width:0}
  .author-teaser{grid-template-columns:minmax(0,1fr) 220px;min-height:410px;padding:30px 18px 28px 26px}
  .author-teaser h2{font-size:34px}
  .author-teaser p{font-size:15.5px;line-height:1.85}
  .author-teaser img{height:355px;max-width:none;right:-18px;bottom:-5px}
}
@media(max-width:470px){
  .author-teaser{grid-template-columns:1fr;padding:26px 22px 325px;min-height:610px}
  .author-teaser figure{position:absolute;right:8px;left:8px;bottom:0;min-height:305px}
  .author-teaser img{left:50%;right:auto;bottom:-6px;height:320px;transform:translateX(-50%)}
  .author-teaser a:hover img{transform:translateX(-50%) translateY(-4px) scale(1.01)}
}


/* ==========================================================================
   首頁互動精修 v2：搜尋按鈕、圖片連結、熱門文章 Hover 預覽
   ========================================================================== */

/* Header 右側兩顆按鈕同高同寬，搜尋保留放大鏡 */
.home-header .home-search-text-btn,
.home-header .header-casino-btn{
  width:148px;
  min-width:148px;
  height:46px;
  min-height:46px;
  padding:0 16px;
  border-radius:999px;
  justify-content:center;
}
.home-search-text-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.home-search-text-btn svg{
  width:18px;
  height:18px;
  flex:none;
}
.home-search-text-btn span{
  line-height:1;
}

/* Hero 圖片整張可點，維持原本外觀 */
.hero-image-link{
  position:relative;
  display:block;
  width:100%;
  height:100%;
  border-radius:24px;
}
.hero-image-link img{
  width:100%;
  height:100%;
}
.hero-image-link:focus-visible{
  outline:3px solid rgba(201,154,62,.55);
  outline-offset:4px;
}

/* 熱門文章：滑鼠移上去顯示完整標題 + 封面 */
.ranking{
  position:relative;
  overflow:visible;
}
.ranking-list{
  position:relative;
}
.rank-row{
  position:relative;
}
.rank-row:hover,
.rank-row:focus-visible{
  z-index:40;
}
.rank-preview{
  position:absolute;
  left:calc(100% + 16px);
  top:50%;
  width:300px;
  padding:10px;
  border:1px solid #d9c79f;
  border-radius:16px;
  background:#fffdf8;
  box-shadow:0 18px 45px rgba(6,40,32,.18);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate(10px,-50%);
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.rank-row:hover .rank-preview,
.rank-row:focus-visible .rank-preview{
  opacity:1;
  visibility:visible;
  transform:translate(0,-50%);
}
.rank-preview img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:11px;
  margin-bottom:9px;
}
.rank-preview b{
  display:block;
  color:var(--ink);
  font-size:14px;
  line-height:1.55;
  white-space:normal;
}
.rank-preview small{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:11px;
}

/* 熱門搜尋第 1 名改成清楚的趨勢圖示，不再使用皇冠/獎盃符號 */
.popular-tag-no.is-top{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px;
}
.popular-tag-no.is-top svg{
  width:16px;
  height:16px;
}
.popular-tag-no.is-top small{
  color:#fff;
  font-size:10px;
  font-weight:900;
  line-height:1;
}

@media(max-width:1080px){
  .home-header .home-search-text-btn,
  .home-header .header-casino-btn{
    width:138px;
    min-width:138px;
  }
}
@media(max-width:980px){
  .rank-preview{display:none}
}

/* ==========================================================================\n   2026-08-26 全站最終排版 / SEO 內容版型強化\n   ========================================================================== */

/* 全站可讀性 */
body{font-size:16px}
.section-sub{font-size:16px;line-height:1.8}
.kicker{font-size:13px}

/* Header：品牌、導覽、搜尋按鈕統一放大 */
.site-header .header-inner{height:82px;gap:24px}
.site-header .brand{gap:12px;padding-right:20px;border-right:1px solid #e7decf}
.site-header .brand img{width:46px;height:46px}
.site-header .brand-text{font-family:"Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif;font-size:26px;font-weight:900;letter-spacing:.02em}
.site-header .main-nav{gap:20px;margin-left:0}
.site-header .main-nav>a,.site-header .nav-trigger{font-size:16px;font-weight:800}
.site-header .mega{top:66px}
.site-header .about-mega{width:410px;grid-template-columns:1fr;right:-120px}
.site-header .article-mega{width:660px;grid-template-columns:1fr 1fr;right:-210px}
.site-header .mega a{padding:14px;grid-template-columns:42px 1fr;gap:12px}
.site-header .mega .mi{width:42px;height:42px;font-size:17px}
.site-header .mega b{font-size:16px;line-height:1.4}
.site-header .mega small{font-size:14px;line-height:1.55;margin-top:2px}
.site-search-btn,.header-casino-btn{width:150px;min-width:150px;height:48px;min-height:48px;border-radius:999px;justify-content:center;font-size:16px;font-weight:850}
.site-search-btn{display:inline-flex;align-items:center;gap:9px;padding:0 16px;border:1px solid #d8ccb3;background:#fffdf8;color:var(--ink);cursor:pointer;transition:.2s ease}
.site-search-btn svg{width:19px;height:19px;flex:none}
.site-search-btn:hover{border-color:var(--gold);background:#faf5e9;transform:translateY(-1px)}

/* Hero：標題改為厚黑體、移除右側裝飾色塊 */
.page-home .hero-copy h1{font-family:"Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif;font-weight:900;letter-spacing:-.045em}
.page-home .hero-visual:before{display:none!important}
.page-home .hero-copy p{font-size:18px;line-height:1.9}

/* 首頁統計與服務資訊 */
.page-home .stat-label{font-size:16px}
.page-home .daily-link{font-size:16px}
.page-home .service-strip{background:linear-gradient(90deg,#073b31,#0b5142)}
.page-home .service-item{padding:22px 20px}
.page-home .service-icon{width:48px;height:48px}
.page-home .service-item b{font-size:17px}
.page-home .service-item small{display:block;font-size:16px;line-height:1.5;margin-top:2px}

/* 首頁分類卡與 START HERE */
.page-home .category-card{min-height:250px}
.page-home .category-card h3{font-size:20px}
.page-home .category-card p{font-size:17px;line-height:1.75;padding-right:8px}
.page-home .starter p{font-size:17px;line-height:1.8}
.page-home .step{font-size:16px}
.page-home .recommend-card h3{font-size:18px}
.page-home .recommend-card span{font-size:17px;line-height:1.55;display:block;margin-top:4px}

/* 文章卡片：摘要、標題、日期與閱讀時間放大 */
.article-card .meta{font-size:15px;line-height:1.5}
.article-card h3{font-size:18px;line-height:1.5}
.article-card p{font-size:17px;line-height:1.8}
.article-card .more{font-size:15px}
.article-meta{font-size:15px;gap:14px}

/* 熱門排行 */
.rank-row{font-size:17px;line-height:1.45}
.rank-views{font-size:15px;white-space:nowrap}
.rank-preview{width:292px;padding:10px;left:12px;top:calc(100% + 8px);transform:translateY(6px)}
.rank-row:hover .rank-preview,.rank-row:focus-visible .rank-preview{transform:none}
.rank-preview b{font-size:17px;line-height:1.5}
.rank-preview small{display:none!important}
.monthly-update-note{font-size:14px;letter-spacing:.03em}
.popular-search-tag b{font-size:15px}
.popular-search-tag>span:last-child{font-size:14px}
.popular-tag-no{font-size:13px}

/* 真人遊戲與延伸語意入口 */

.live-topic-links{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:18px;font-size:15px;color:var(--muted)}
.live-topic-links>span{font-weight:850;color:var(--ink)}
.live-topic-links a{padding:7px 12px;border:1px solid #ded4c0;border-radius:999px;background:#fffdf8;color:var(--green-800);font-weight:800;transition:.2s}
.live-topic-links a:hover{border-color:var(--gold);background:#f8f2e6;transform:translateY(-1px)}

/* 線上真人品牌：4+3 置中，未來可直接改成文章連結 */
.live-brand-section{padding-top:34px}
.brand-section-head{align-items:center}
.brand-section-head .section-sub{max-width:680px;margin-top:7px}
.brand-go-btn{font-size:16px;min-height:48px;padding-inline:22px}
.live-brand-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
.live-brand-card{width:calc(25% - 12px);min-width:220px;min-height:126px;padding:18px 20px;border:1px solid #d7b86f;border-radius:20px;background:linear-gradient(145deg,#073b31,#0b5646);color:#fff;display:grid;grid-template-columns:78px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:16px;text-align:left;box-shadow:0 12px 28px rgba(6,40,32,.1);cursor:default;transition:.22s ease}
.live-brand-card:hover{transform:translateY(-3px);border-color:#e1c477;box-shadow:0 16px 34px rgba(6,40,32,.17)}
.live-brand-card img{grid-row:1/3;width:78px;height:58px;object-fit:contain;filter:drop-shadow(0 4px 9px rgba(0,0,0,.08))}
.live-brand-card b{font-size:19px;line-height:1.25;color:#f4dea6}
.live-brand-card span{font-size:13px;color:#bcd1ca;margin-top:4px}

/* 作者 / 快速連結 */
.author-teaser p{font-size:17px;line-height:1.9}
.link-panel .section-sub{font-size:16px;line-height:1.8}

/* 分類頁：五個分類統一字級 */
.page-category .page-hero-card p{font-size:17px;line-height:1.8}
.page-category .feature-card .kicker{font-size:16px}
.page-category .feature-card h3{font-size:19px}
.page-category .feature-card p{font-size:16px;line-height:1.75}
.page-category .article-card p{font-size:16px}
.page-category .article-card h3{font-size:18px}


/* About */
.page-about .page-hero-card p,.page-about .about-lead p,.page-about .principle p,.page-about .number-card span{font-size:16px;line-height:1.85}
.centered-section-head{justify-content:center;text-align:center;align-items:center}
.centered-section-head>div{margin-inline:auto}
.page-about .number-card span{font-size:16px}
.page-about .trust-box p{font-size:16px;line-height:1.85}

/* FAQ */
.page-faq .page-hero-card p{font-size:17px;line-height:1.8}
.page-faq .faq-q{font-size:18px;line-height:1.55;padding:19px 20px}
.page-faq .faq-a{font-size:17px;line-height:1.9;padding:0 20px 20px 67px}
.page-faq .side-card h3{font-size:18px}
.page-faq .side-card a{font-size:16px}

/* 搜尋頁 */
.page-search .page-hero-card .kicker{font-size:16px}
.page-search .page-hero-card p{font-size:17px;line-height:1.8}
.page-search .search-box input{font-size:16px}

/* 搜尋彈窗：熱門搜尋 16px + 全站可用 */
.site-search-layer[hidden]{display:none!important}
.site-search-layer{position:fixed;inset:82px 0 0;z-index:120}
.site-search-backdrop{position:absolute;inset:0;background:rgba(6,40,32,.34);backdrop-filter:blur(3px)}
.site-search-panel{position:relative;width:min(900px,calc(100% - 36px));max-height:min(690px,calc(100vh - 112px));overflow:auto;margin:18px auto 0;padding:26px;border:1px solid #ded4c0;border-radius:24px;background:var(--paper);box-shadow:0 26px 70px rgba(6,40,32,.24)}
.site-search-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px}
.site-search-top h2{margin:2px 0 0;font:900 30px/1.25 "Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif}
.site-search-close{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:25px;line-height:1;cursor:pointer}
.site-search-box{min-height:58px;display:flex;align-items:center;gap:12px;padding:0 18px;border:1px solid #d8ccb3;border-radius:17px;background:#fff}
.site-search-box svg{width:22px;height:22px;color:var(--green-800);flex:none}
.site-search-box input{width:100%;border:0;outline:0;background:transparent;font-size:16px;color:var(--ink)}.site-search-submit{flex:none;min-width:84px;height:40px;padding:0 16px;border:1px solid #d8ccb3;border-radius:999px;background:#f6f1e6;color:var(--green-800);font-weight:800;cursor:pointer;transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease}.site-search-submit:hover{transform:translateY(-1px);background:#efe5d3;box-shadow:0 8px 16px rgba(8,55,45,.08)}
.site-search-tags{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0 18px;color:var(--muted);font-size:16px}
.site-search-tags>span{font-size:16px;font-weight:600}
.site-search-tags button{border:1px solid #e5dcc9;border-radius:999px;background:#f4efe5;color:var(--ink);padding:10px 16px;font-size:16px;font-weight:750;line-height:1.2;cursor:pointer}
.site-search-tags button:hover{background:#e9f0ec;color:var(--green-800)}
.site-search-results{display:grid;gap:8px}
.site-search-hint,.site-search-empty{padding:22px;border:1px dashed #d9cfbc;border-radius:16px;background:#faf7f0;color:var(--muted);text-align:center;font-size:16px}
.site-search-result{display:grid;grid-template-columns:92px 1fr auto;gap:14px;align-items:center;padding:10px;border:1px solid #ebe4d7;border-radius:15px;background:#fff;transition:.2s ease}
.site-search-result:hover{border-color:#cfb16c;transform:translateY(-1px)}
.site-search-result img{width:92px;aspect-ratio:16/9;object-fit:cover;border-radius:10px}
.site-search-result b{display:block;font-size:16px;line-height:1.45;margin-bottom:2px}
.site-search-result small{font-size:14px;color:var(--muted)}
.site-search-result .search-arrow{color:var(--gold);font-size:20px;padding-right:6px}

/* 404 */
.page-404 .site-footer{margin-top:20px}
.error-section{padding:54px 0 40px}
.error-panel{min-height:520px;padding:48px 54px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr);align-items:center;gap:20px;overflow:hidden;background:linear-gradient(130deg,#fffdf8,#f7f1e5 58%,#edf3ef)}
.error-copy{padding-left:16px;max-width:650px}
.error-copy .kicker{font-size:14px}
.error-copy h1{font:900 clamp(38px,4.4vw,62px)/1.15 "Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif;margin:10px 0 16px;color:var(--green-950);letter-spacing:-.035em}
.error-copy p{font-size:17px;line-height:1.9;color:var(--muted);margin:0 0 28px}
.error-actions{display:flex;justify-content:center;gap:14px;max-width:420px}
.error-actions .primary-btn,.error-actions .outline-btn{min-height:54px;padding-inline:27px;font-size:17px;border-width:1px;cursor:pointer}
.error-visual{align-self:end;display:flex;justify-content:center;align-items:flex-end;min-height:430px}
.error-visual img{width:min(100%,520px);max-height:470px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 18px 30px rgba(6,40,32,.12))}

/* 行動版漢堡選單：右側滑入、文字 17px */
.mobile-toggle{width:46px;height:46px;border:1px solid #b9ad97;border-radius:50%;background:#fffdf8;display:none;place-items:center;position:relative;padding:0;cursor:pointer}
.mobile-toggle span{position:absolute;width:18px;height:2px;border-radius:2px;background:var(--ink);transition:.25s ease}
.mobile-toggle span:nth-child(1){transform:translateY(-6px)}
.mobile-toggle span:nth-child(3){transform:translateY(6px)}
body.menu-open .mobile-toggle span:nth-child(1){transform:rotate(45deg)}
body.menu-open .mobile-toggle span:nth-child(2){opacity:0}
body.menu-open .mobile-toggle span:nth-child(3){transform:rotate(-45deg)}
.mobile-menu-backdrop{display:none}
.mobile-menu{display:block;position:fixed;top:82px;right:0;bottom:0;width:min(390px,92vw);z-index:119;background:rgba(255,253,248,.985);border-left:1px solid #e1d8c7;box-shadow:-18px 24px 50px rgba(6,40,32,.14);padding:20px 22px 24px;transform:translateX(104%);opacity:0;visibility:hidden;transition:transform .28s ease,opacity .2s ease,visibility .28s;overflow:auto}
.mobile-menu.open{transform:none;opacity:1;visibility:visible}
.mobile-menu-head{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 14px;border-bottom:1px solid #e7dfd0}
.mobile-menu-head>span{font-size:14px;font-weight:900;letter-spacing:.16em;color:#9d742e}
.mobile-menu-head button{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff;font-size:24px;cursor:pointer}
.mobile-menu-links{display:grid;margin-top:8px}
.mobile-menu-links a{min-height:58px;padding:0 8px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ede7dc;font-size:17px;font-weight:820;transition:.18s ease}
.mobile-menu-links a span{font-size:11px;color:#b28c48;letter-spacing:.08em}
.mobile-menu-links a:hover{padding-left:14px;background:linear-gradient(90deg,#f4eee2,transparent);color:var(--green-800)}
.mobile-menu-foot{display:grid;gap:10px;padding:18px 8px 0;color:var(--muted);font-size:13px}
.mobile-menu-foot a{font-size:15px;font-weight:800;color:var(--green-800)}
.mobile-menu-foot span{padding-top:8px;border-top:1px dashed #ded4c0}

/* Footer 可讀性 */
.footer-brand p,.footer-col a{font-size:15px;line-height:1.75}
.footer-bottom{font-size:13px}

@media(max-width:1100px){
  .site-header .header-inner{gap:16px}
  .site-header .brand{padding-right:14px}
  .site-header .main-nav{gap:14px}
  .site-search-btn,.header-casino-btn{width:138px;min-width:138px;padding-inline:12px}
  .live-brand-card{width:calc(33.333% - 11px)}
}
@media(max-width:980px){
  .site-header .header-inner{height:72px}
  .site-header .brand{border-right:0;padding-right:0}
  .site-header .main-nav{display:none}
  .site-header .header-casino-btn{display:none}
  .site-header .site-search-btn{display:inline-flex;width:138px;min-width:138px;height:46px}
  .mobile-toggle{display:grid}
  .mobile-menu{top:72px}
  .mobile-menu-backdrop{position:fixed;inset:72px 0 0;z-index:118;background:rgba(6,40,32,.28);backdrop-filter:blur(2px)}
  body.menu-open .mobile-menu-backdrop{display:block}
  .site-search-layer{inset:72px 0 0}
  .rank-preview{display:none}
  .live-brand-card{width:calc(50% - 8px)}
  .error-panel{grid-template-columns:1fr 360px;padding:40px 34px}
  .error-visual{min-height:350px}
}
@media(max-width:680px){
  .site-header .header-inner{height:68px}
  .site-header .brand-text{font-size:22px}
  .site-header .brand img{width:42px;height:42px}
  .site-header .site-search-btn{width:132px;min-width:132px;height:44px;font-size:15px}
  .mobile-menu{top:68px;width:min(360px,94vw)}
  .mobile-menu-backdrop{inset:68px 0 0}
  .site-search-layer{inset:68px 0 0}
  .site-search-panel{width:calc(100% - 20px);margin-top:10px;padding:20px;border-radius:20px}
  .site-search-result{grid-template-columns:76px 1fr}
  .site-search-result img{width:76px}
  .site-search-result .search-arrow{display:none}
  .page-home .category-card p,.article-card p{font-size:16px}
  .page-home .recommend-card span{font-size:16px}
  .live-brand-card{width:100%;min-width:0;min-height:112px}
  .brand-section-head{align-items:flex-start}
  .error-section{padding-top:26px}
  .error-panel{grid-template-columns:1fr;padding:34px 24px 20px;text-align:left}
  .error-copy{padding-left:0}
  .error-copy h1{font-size:39px}
  .error-actions{justify-content:flex-start}
  .error-visual{min-height:280px;margin-top:8px}
  .error-visual img{max-height:320px}
  .page-category .feature-band{grid-template-columns:1fr}
}
@media(max-width:480px){
  .site-header .header-inner{gap:8px}
  .site-header .brand-text{font-size:20px}
  .site-header .brand img{width:38px;height:38px}
  .site-header .site-search-btn{width:112px;min-width:112px;padding:0 10px;font-size:14px}
  .site-header .site-search-btn svg{width:17px;height:17px}
  .mobile-toggle{width:44px;height:44px}
  .error-actions{flex-direction:column;max-width:100%}
  .error-actions .primary-btn,.error-actions .outline-btn{width:100%}
}
.live-topic-links .topic-pill{padding:7px 12px;border:1px dashed #d8ccb3;border-radius:999px;background:#f8f4eb;color:#6d756f;font-weight:750}

/* 2026-08-26 Header alignment hotfix: keep nav centered-left and actions anchored to the right */
@media(min-width:981px){
  .site-header .header-inner{
    display:flex;
    align-items:center;
  }
  .site-header .main-nav{
    margin-left:0;
    margin-right:0;
    flex:0 1 auto;
  }
  .site-header .header-actions{
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:10px;
    flex:0 0 auto;
  }
  .site-header .site-search-btn,
  .site-header .header-casino-btn{
    width:166px;
    min-width:166px;
    white-space:nowrap;
    flex-wrap:nowrap;
  }
}
@media(min-width:981px) and (max-width:1100px){
  .site-header .site-search-btn,
  .site-header .header-casino-btn{
    width:156px;
    min-width:156px;
  }
}

/* 2026-08-26 responsive header + recommendation bridge art hotfix */
@media(max-width:980px){
  .site-header .header-inner{
    display:flex;
    align-items:center;
    width:min(100% - 32px,var(--max));
  }
  .site-header .brand{
    flex:0 1 auto;
    min-width:0;
  }
  .site-header .header-actions{
    margin-left:auto;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:10px;
  }
}
@media(max-width:520px){
  .site-header .header-inner{width:min(100% - 20px,var(--max));gap:7px}
  .site-header .brand{gap:7px}
  .site-header .brand-text{font-size:18px;letter-spacing:0;white-space:nowrap}
  .site-header .brand img{width:36px;height:36px}
  .site-header .site-search-btn{width:104px;min-width:104px;height:42px;padding:0 9px;font-size:14px}
  .mobile-toggle{width:42px;height:42px}
}
@media(max-width:390px){
  .site-header .brand-text{font-size:17px}
  .site-header .site-search-btn{width:96px;min-width:96px;font-size:13px}
}

.recommendation-section{
  position:relative;
  overflow:hidden;
}
.recommendation-section>.container{
  position:relative;
}
.recommend-guide-art{
  position:absolute;
  z-index:0;
  right:18px;
  top:-132px;
  width:250px;
  max-height:230px;
  pointer-events:none;
  user-select:none;
  opacity:.98;
}
.recommend-guide-art img{
  display:block;
  width:100%;
  height:auto;
  max-height:230px;
  object-fit:contain;
  object-position:right bottom;
  filter:drop-shadow(0 14px 18px rgba(6,40,32,.12));
  transform-origin:72% 70%;
  animation:recommendGuideFloat 4.4s ease-in-out infinite;
}
.recommendation-section .section-head,
.recommendation-section .recommend-grid{
  position:relative;
  z-index:1;
}
@keyframes recommendGuideFloat{
  0%,100%{transform:translateY(0) rotate(0deg)}
  48%{transform:translateY(-7px) rotate(-1deg)}
  58%{transform:translateY(-6px) rotate(.8deg)}
}
@media(max-width:980px){
  .recommend-guide-art{right:8px;top:-112px;width:205px;max-height:190px}
  .recommend-guide-art img{max-height:190px}
}
@media(max-width:680px){
  .recommend-guide-art{right:-4px;top:-78px;width:145px;max-height:135px;opacity:.9}
  .recommend-guide-art img{max-height:135px}
}
@media(max-width:430px){
  .recommend-guide-art{display:none}
}


/* ==========================================================================
   2026-08-27 本輪統一細修
   ========================================================================== */
.site-header .brand-text,.site-footer .brand-text{font-weight:900!important}

.site-header .nav-trigger{display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1}
.site-header .nav-chevron{width:15px;height:15px;flex:0 0 15px;display:block;transform:translateY(.5px);opacity:.76;transition:transform .2s ease,opacity .2s ease}
.site-header .nav-wrap:hover>.nav-trigger .nav-chevron,.site-header .nav-wrap:focus-within>.nav-trigger .nav-chevron,.site-header .nav-wrap.is-open>.nav-trigger .nav-chevron{transform:translateY(.5px) rotate(180deg);opacity:1}

.site-search-btn{position:relative;display:inline-flex;align-items:center;justify-content:center!important;gap:0!important;padding:0!important}
.site-search-btn>span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);white-space:nowrap;line-height:1}
.site-search-btn>svg{position:absolute;right:17px;top:50%;transform:translateY(-50%);margin:0}

.page-search .page-hero-card{position:relative;overflow:hidden;min-height:282px;padding-right:350px}
.page-search .page-hero-card>div:first-child{position:relative;z-index:2}
.page-search .search-guide-art{position:absolute;z-index:1;right:0;bottom:0;width:330px;height:100%;display:flex;align-items:flex-end;justify-content:flex-end;overflow:visible;pointer-events:auto}
.page-search .search-guide-art img{width:520px;max-width:none;height:auto;max-height:300px;object-fit:contain;object-position:right bottom;transform-origin:right bottom;filter:drop-shadow(0 12px 22px rgba(6,40,32,.10));transition:transform .26s ease,filter .26s ease}
.page-search .search-guide-art:hover img{transform:translateY(-4px) rotate(-1deg) scale(1.025);filter:drop-shadow(0 16px 26px rgba(6,40,32,.14))}
.recommend-guide-art{display:none!important}



.site-footer{padding-top:58px}
.site-footer .footer-main{display:grid;grid-template-columns:minmax(300px,1.5fr) repeat(4,minmax(126px,.82fr));column-gap:42px;row-gap:26px;align-items:start}
.site-footer .footer-brand p{max-width:370px;margin:17px 0 0;line-height:1.88}
.site-footer .footer-col h4{margin:4px 0 14px;line-height:1.35}
.site-footer .footer-col a{padding:5px 0;line-height:1.72}
.site-footer .footer-bottom{margin-top:32px;padding-top:18px;align-items:flex-start}

@media(max-width:1100px){.site-footer .footer-main{grid-template-columns:minmax(270px,1.35fr) repeat(2,minmax(160px,1fr));column-gap:32px}}
@media(max-width:980px){.page-search .page-hero-card{min-height:270px;padding-right:285px}.page-search .search-guide-art{width:265px}.page-search .search-guide-art img{width:430px;max-height:280px}}
@media(max-width:680px){
  .site-search-btn>svg{right:13px}
  .page-search .page-hero-card{min-height:250px;padding:28px 145px 28px 28px;grid-template-columns:1fr}
  .page-search .search-guide-art{width:145px;height:100%}.page-search .search-guide-art img{width:290px;max-height:220px}
  
  
  .site-footer .footer-main{grid-template-columns:1fr 1fr;column-gap:28px;row-gap:24px}.site-footer .footer-brand{grid-column:1/-1}.site-footer .footer-brand p{max-width:100%}
}
@media(max-width:480px){
  .site-search-btn>svg{right:10px}
  .page-search .page-hero-card{min-height:238px;padding:26px 105px 26px 24px}.page-search .search-guide-art{width:108px}.page-search .search-guide-art img{width:230px;max-height:195px}
  
}
@media(max-width:430px){.site-footer .footer-main{grid-template-columns:1fr}.site-footer .footer-brand{grid-column:auto}}
@media(max-width:390px){
  .site-header .site-search-btn{width:104px;min-width:104px;font-size:13px}.site-search-btn>svg{right:9px}
  .page-search .page-hero-card{padding-right:92px}.page-search .search-guide-art{width:94px}.page-search .search-guide-art img{width:210px;max-height:182px}
}

/* ===== 統一區塊垂直間距：2026-08-27 =====
   每個主要區塊上下各保留 24px；相鄰區塊因此形成 48px 的內容間距。
   若未來某處需要更多留白，再額外插入 .section-spacer。 */
:root{--section-space:24px}
main{display:block}
main>.section,
main>section.section,
main>.section.compact,
main>section.section.compact{
  padding-top:var(--section-space)!important;
  padding-bottom:var(--section-space)!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
/* 首頁與一般內頁 Hero 也採上下各 24px，和下一個主要區塊合計 48px。 */
.page-home main>.hero,
main>.page-hero{
  padding-top:var(--section-space)!important;
  padding-bottom:var(--section-space)!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
.page-home .hero .stats{margin-top:14px}
/* 最後一個 section 底部 24px + Footer 前 24px = 48px。 */
.site-footer{margin-top:var(--section-space)!important}
.page-404 .site-footer{margin-top:var(--section-space)!important}
/* 未來需要額外留白時才手動插入，例如多一段 24px。 */
.section-spacer{height:24px;display:block;pointer-events:none}
@media(max-width:680px){
  main>.section,main>section.section,main>.section.compact,main>section.section.compact,
  .page-home main>.hero,main>.page-hero{
    padding-top:24px!important;
    padding-bottom:24px!important;
    margin-top:0!important;
    margin-bottom:0!important;
  }
  .site-footer,.page-404 .site-footer{margin-top:24px!important}
}

/* LINKS：修正四個快捷連結左側圖示在淡綠框內偏左。 */
.external-link span.el-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
  padding:0;
}
.external-link span.el-icon svg{
  width:18px;
  height:18px;
  display:block;
  margin:0;
  flex:none;
}

/* ==========================================================================
   2026-08-27 Mobile Drawer / Header 最後細修
   ========================================================================== */

/* 桌機導覽：首頁左右增加一點呼吸空間，避免兩字看起來過擠。 */
@media(min-width:981px){
  .site-header .nav-home{
    padding-left:7px;
    padding-right:7px;
    line-height:1.2;
  }
}

/* 線上真人賭場：文字本身置中，箭頭固定在按鈕內右側；搜尋按鈕維持原樣。 */
.site-header .header-casino-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center!important;
  gap:0!important;
  padding:0!important;
}
.site-header .header-casino-btn .casino-btn-label{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  white-space:nowrap;
  line-height:1;
}
.site-header .header-casino-btn .casino-btn-arrow{
  position:absolute;
  right:17px;
  top:50%;
  transform:translateY(-50%);
  display:block;
  margin:0;
  font-size:16px;
  line-height:1;
}

/* Drawer 開啟時鎖住左側頁面，滾輪只作用在右側選單的可滾區。 */
body.menu-open{overflow:hidden}
.mobile-menu{
  display:flex;
  flex-direction:column;
  padding:0;
  overflow:hidden;
}
.mobile-menu-scroll{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  padding:20px 22px 0;
}
.mobile-menu-head{
  padding:2px 2px 14px;
}
.mobile-menu-head>span{
  font-size:16px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.13em;
}
.mobile-menu-head button{
  width:38px;
  height:38px;
  padding:0;
  display:grid;
  place-items:center;
  line-height:1;
}
.mobile-menu-head button svg{
  width:18px;
  height:18px;
  display:block;
  margin:0;
}
.mobile-menu-links{
  margin-top:8px;
}
.mobile-menu-links a{
  min-height:58px;
  padding:0 8px;
  font-size:17px;
  color:var(--ink);
}
.mobile-menu-links a span{
  min-width:24px;
  text-align:right;
  font-size:11px;
  color:#b28c48;
}
/* 底部標語固定在 Drawer 底部，不跟著上方導覽清單捲動。 */
.mobile-menu-foot{
  flex:0 0 auto;
  display:block;
  padding:0 30px 24px;
  color:var(--muted);
  font-size:13px;
  background:rgba(255,253,248,.985);
}
.mobile-menu-foot span{
  display:block;
  padding-top:14px;
  border-top:1px dashed #ded4c0;
}

@media(max-width:680px){
  .mobile-menu-scroll{padding:18px 18px 0}
  .mobile-menu-foot{padding:0 26px 20px}
  .mobile-menu-head>span{font-size:16px}
}


/* v4.1.2 related articles: consistent card border + comfortable text spacing */
.side-card .related-grid{grid-template-columns:1fr;gap:8px}
.side-card .related-grid .related-mini{position:relative;display:block;box-sizing:border-box;width:100%;margin:0;padding:11px 13px!important;border:1px solid var(--line)!important;border-radius:11px;background:var(--paper);overflow:visible;text-decoration:none}
.side-card .related-grid .related-mini:last-child{border:1px solid var(--line)!important}
.side-card .related-grid .related-mini-body{min-width:0}
.side-card .related-grid .related-mini b{display:block;margin:0;padding:0;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.related-mini>img{display:none!important}


/* v4.1.2: article navigation links are easier to read */
.article-side > .side-card:first-child > a{font-size:16px;line-height:1.65;padding:10px 0}

/* v5.2.0｜關於研究所作者區 */
.about-host-figure{margin:0;min-width:220px;text-align:center}.about-host-figure img{max-width:220px;display:block;margin:auto}.about-host-figure figcaption{display:grid;gap:2px;margin-top:8px}.about-host-figure figcaption b{font-size:18px}.about-host-figure figcaption span{color:var(--muted);font-size:13px}.author-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.author-role-card{padding:26px;border:1px solid #ded8cb;border-radius:22px;background:#fff}.author-role-top{display:flex;gap:14px;align-items:center;margin-bottom:16px}.author-role-avatar{width:54px;height:54px;border-radius:50%;display:block;object-fit:cover;object-position:center top;border:2px solid #d9e5df;background:#eef2ef;flex:0 0 auto}.role-kicker{font-size:12px;letter-spacing:.13em;color:#ad7417;font-weight:900}.author-role-card h3{margin:3px 0}.author-facts{margin:0!important;color:var(--muted);font-size:13px}.author-principle{padding-top:12px;border-top:1px solid #ece5d8;font-weight:700}.page-about .centered-section-head{max-width:760px;margin-left:auto;margin-right:auto;text-align:center}.footer-main{align-items:start}@media(max-width:820px){.author-role-grid{grid-template-columns:1fr}.about-host-figure{min-width:0}}

/* v5.2.0 About｜作者分工介紹留白調整 */
.page-about .authors-section .section-head{margin-bottom:22px}
.page-about .authors-intro{max-width:900px;margin:0 auto 36px;padding:24px 30px 22px;border:1px solid #e3dccf;border-radius:18px;background:rgba(255,253,248,.72);box-shadow:0 8px 24px rgba(27,47,38,.045);text-align:left}
.page-about .authors-intro p{margin:0;color:#53635c;font-size:16px;line-height:1.95}
.page-about .authors-intro-highlight{margin-top:16px!important;padding-top:16px;border-top:1px solid #ece5d9;color:var(--ink)!important;text-align:center}
.page-about .authors-intro-highlight strong{color:var(--green-800);font-weight:900}
@media(max-width:820px){.page-about .authors-section .section-head{margin-bottom:18px}.page-about .authors-intro{margin-bottom:26px;padding:20px 18px}.page-about .authors-intro p{line-height:1.85}.page-about .authors-intro-highlight{text-align:left}}


/* v5.2 footer: rebalance after removed sections (3 visual zones) */
.site-footer .footer-main{grid-template-columns:minmax(330px,1.45fr) minmax(170px,.72fr) minmax(320px,1.08fr)!important;column-gap:54px!important;row-gap:24px!important;align-items:start}
.site-footer .footer-brand p{max-width:420px}
.site-footer .footer-col-combined{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:34px}
.site-footer .footer-link-group{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.site-footer .footer-link-group h4{margin:4px 0 14px;line-height:1.35;color:#d4a13d}
.site-footer .footer-link-group a{padding:5px 0;line-height:1.72;font-size:15px;color:inherit;text-decoration:none}
.site-footer .footer-bottom{margin-top:28px!important}
@media(max-width:1100px){.site-footer .footer-main{grid-template-columns:minmax(280px,1.15fr) minmax(160px,.7fr) minmax(280px,1fr)!important;column-gap:32px!important}.site-footer .footer-col-combined{gap:24px}}
@media(max-width:820px){.site-footer .footer-main{grid-template-columns:1fr 1fr!important;column-gap:30px!important;row-gap:26px!important}.site-footer .footer-brand{grid-column:1/-1}.site-footer .footer-col-combined{grid-template-columns:1fr 1fr;gap:24px}}
@media(max-width:560px){.site-footer .footer-main{grid-template-columns:1fr!important}.site-footer .footer-brand{grid-column:auto}.site-footer .footer-col-combined{grid-template-columns:1fr 1fr;gap:20px;padding-top:15px;border-top:1px solid rgba(255,255,255,.1)}}
@media(max-width:390px){.site-footer .footer-col-combined{grid-template-columns:1fr;gap:14px}}

/* article content image lightbox */
.article-content .article-lightbox-image{cursor:zoom-in}.article-content .article-lightbox-image:focus-visible{outline:3px solid #c99f52;outline-offset:4px}.article-image-lightbox[hidden]{display:none!important}.article-image-lightbox{position:fixed;inset:0;z-index:9999;display:grid;grid-template-columns:76px minmax(0,1fr) 76px;align-items:center;justify-items:center;padding:28px 18px;background:rgba(0,0,0,.78)}.article-image-lightbox-backdrop{position:absolute;inset:0;cursor:zoom-out}.article-image-lightbox-stage{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0;pointer-events:none}.article-image-lightbox-stage img{display:block;max-width:min(100%,1400px);max-height:calc(100vh - 56px);width:auto;height:auto;object-fit:contain;border-radius:4px;box-shadow:0 18px 60px rgba(0,0,0,.35);pointer-events:auto}.article-image-lightbox-close,.article-image-lightbox-nav{position:relative;z-index:2;border:0;color:#fff;background:rgba(15,15,15,.58);cursor:pointer;display:grid;place-items:center}.article-image-lightbox-close{position:absolute;top:18px;right:20px;width:48px;height:48px;border-radius:999px;font-size:34px;line-height:1}.article-image-lightbox-nav{width:50px;height:64px;border-radius:12px;font-size:32px}.article-image-lightbox-nav:disabled{opacity:.22;cursor:default}.article-image-lightbox-close:hover,.article-image-lightbox-nav:not(:disabled):hover{background:rgba(15,15,15,.82)}body.article-image-lightbox-open{overflow:hidden}@media(max-width:680px){.article-image-lightbox{grid-template-columns:50px minmax(0,1fr) 50px;padding:58px 8px 18px}.article-image-lightbox-stage img{max-width:100%;max-height:calc(100vh - 84px)}.article-image-lightbox-nav{width:42px;height:56px;font-size:27px}.article-image-lightbox-close{top:10px;right:10px;width:44px;height:44px;font-size:30px}}

/* ========================================================================== 
   Footer visual spacing refinement - v5.2.5
   ========================================================================== */
.site-footer{
  background:#08372d!important;
  color:#f7f3e9!important;
  padding:66px 0 28px!important;
}
.site-footer .footer-main{
  grid-template-columns:minmax(340px,1.5fr) minmax(170px,.72fr) minmax(330px,1.08fr)!important;
  column-gap:72px!important;
  row-gap:30px!important;
  align-items:start!important;
}
.site-footer .footer-brand .brand-text{
  color:#fffaf0!important;
}
.site-footer .footer-brand p{
  color:#c3d0ca!important;
  max-width:430px!important;
  margin:20px 0 0!important;
  line-height:1.95!important;
}
.site-footer .footer-col h4,
.site-footer .footer-link-group h4{
  color:#e2c98f!important;
  margin:3px 0 16px!important;
}
.site-footer .footer-col a,
.site-footer .footer-link-group a{
  color:#f3f5f1!important;
  padding:6px 0!important;
  line-height:1.7!important;
}
.site-footer .footer-col a:hover,
.site-footer .footer-link-group a:hover{
  color:#e2c98f!important;
}
.site-footer .footer-col-combined{
  gap:46px!important;
}
.site-footer .footer-bottom{
  border-top:1px solid rgba(226,201,143,.20)!important;
  margin-top:46px!important;
  padding-top:22px!important;
  color:#afc0b8!important;
  gap:30px!important;
}
.site-footer .age-note{
  line-height:1.8!important;
}
@media(max-width:1100px){
  .site-footer .footer-main{
    grid-template-columns:minmax(280px,1.15fr) minmax(160px,.72fr) minmax(280px,1fr)!important;
    column-gap:42px!important;
  }
  .site-footer .footer-col-combined{gap:30px!important}
}
@media(max-width:820px){
  .site-footer{padding:54px 0 24px!important}
  .site-footer .footer-main{
    grid-template-columns:1fr 1fr!important;
    column-gap:36px!important;
    row-gap:30px!important;
  }
  .site-footer .footer-brand{grid-column:1/-1!important}
  .site-footer .footer-col-combined{grid-template-columns:1fr 1fr!important;gap:28px!important}
  .site-footer .footer-bottom{margin-top:38px!important}
}
@media(max-width:560px){
  .site-footer .footer-main{grid-template-columns:1fr!important;row-gap:26px!important}
  .site-footer .footer-brand{grid-column:auto!important}
  .site-footer .footer-col-combined{
    grid-template-columns:1fr 1fr!important;
    gap:24px!important;
    padding-top:20px!important;
    border-top:1px solid rgba(226,201,143,.16)!important;
  }
  .site-footer .footer-bottom{margin-top:32px!important;padding-top:20px!important}
}
@media(max-width:390px){
  .site-footer .footer-col-combined{grid-template-columns:1fr!important;gap:18px!important}
}


/* v5.3.3 — 文章字級固定＋真人品牌卡可點擊 */
/* 文章正文層級：預設 16 / H3 24 / H2 28，避免 inline style 蓋掉標題與粗體 */
.article-content{font-size:16px!important}
.article-content strong,.article-content b,.article-content strong *,.article-content b *{font-weight:700!important}
.article-content h2,.article-content h2 *{font-size:28px!important;font-weight:800!important;line-height:1.45}
.article-content h3,.article-content h3 *{font-size:24px!important;font-weight:800!important;line-height:1.5}

/* 七個真人品牌卡：整張可點，右側顯示跳轉提示 */
.live-brand-card{position:relative;grid-template-columns:78px minmax(0,1fr) 34px;cursor:pointer}
.live-brand-card img{grid-column:1;grid-row:1/3}
.live-brand-card b{grid-column:2;grid-row:1}
.live-brand-card .live-brand-sub{grid-column:2;grid-row:2}
.live-brand-card .live-brand-arrow{grid-column:3;grid-row:1/3;align-self:center;justify-self:end;width:30px;height:30px;margin:0;border:1px solid rgba(244,222,166,.42);border-radius:50%;display:grid;place-items:center;color:#f4dea6;font-size:17px;line-height:1;transition:transform .2s ease,background .2s ease,border-color .2s ease}
.live-brand-card:hover .live-brand-arrow,.live-brand-card:focus-visible .live-brand-arrow{transform:translate(2px,-2px);background:rgba(244,222,166,.1);border-color:#f4dea6}
.live-brand-card:focus-visible{outline:3px solid rgba(196,151,61,.35);outline-offset:3px}


/* v5.3.4 — 文章字級與 H1 粗體修正 */
.article-main h1{font-family:"Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif!important;font-weight:900!important;}

/* ========================================================================== 
   v5.5.0 — site-wide content refresh, carousel, interaction polish
   ========================================================================== */

/* Shared page titles: smaller, denser and more consistent across the site */
.page-title{
  font-family:"Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif!important;
  font-weight:900!important;
  font-size:clamp(36px,4vw,48px)!important;
  line-height:1.12!important;
  letter-spacing:-.025em!important;
}
@media(max-width:680px){.page-title{font-size:36px!important}}

/* Home announcement carousel */
.home-carousel-section{padding:30px 0 24px}
.home-carousel{position:relative;overflow:visible;border:1px solid #d9c79f;border-radius:28px;background:#f7f2e8;box-shadow:var(--shadow);touch-action:pan-y;margin-bottom:64px}
.home-carousel-track{position:relative;aspect-ratio:16/5;min-height:290px;background:#f7f2e8;overflow:hidden;border-radius:27px}
.home-carousel-slide{position:absolute;inset:0;display:block;opacity:0;visibility:hidden;transform:scale(1.012);transition:opacity .55s ease,transform .65s ease,visibility .55s;pointer-events:none;background:transparent}
.home-carousel-slide.is-active{opacity:1;visibility:visible;transform:scale(1);pointer-events:auto}
.home-carousel-slide img{display:block;width:100%;height:100%;object-fit:cover;filter:none!important;mix-blend-mode:normal;opacity:1}
.carousel-arrow{position:absolute;top:50%;z-index:4;width:54px;height:54px;padding:0;border:1px solid rgba(199,154,66,.78);border-radius:50%;background:rgba(255,250,240,.96);color:#0a4b3d;font-size:0;line-height:0;display:grid;place-items:center;cursor:pointer;opacity:.92;box-shadow:0 8px 22px rgba(15,45,35,.16);backdrop-filter:blur(4px);transform:translateY(-50%);transition:opacity .18s ease,background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.carousel-arrow-icon{display:block;width:24px;height:24px;overflow:visible;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transform-origin:50% 50%;pointer-events:none}
.carousel-next .carousel-arrow-icon{transform:rotate(180deg)}
.home-carousel:hover .carousel-arrow,.home-carousel:focus-within .carousel-arrow{opacity:1}
.carousel-arrow:hover,.carousel-arrow:focus-visible{background:#fffdf8;border-color:#c79a42;color:#07372d;opacity:1;box-shadow:0 11px 26px rgba(15,45,35,.22);outline:none;transform:translateY(-50%) scale(1.05)}
.carousel-prev{left:-72px}.carousel-next{right:-72px}
.carousel-dots{position:absolute;left:50%;bottom:-34px;z-index:5;display:flex;gap:8px;transform:translateX(-50%)}
.carousel-dot{width:10px;height:10px;border:0;border-radius:50%;padding:0;background:rgba(8,63,52,.28);cursor:pointer;transition:.2s}
.carousel-dot.is-active{width:30px;border-radius:999px;background:#e0bb66}
.home-intro-centered{max-width:920px;margin:52px auto 12px;text-align:center;padding:0 20px}
.home-intro-centered .kicker{letter-spacing:.22em}
.home-intro-centered h1{display:flex;flex-direction:column;align-items:center;gap:15px;margin:12px 0 20px;color:var(--green-950)}
.home-intro-centered h1 span,.home-intro-centered h1 em{display:block;font-style:normal}
.home-intro-centered h1 span{font-family:"Noto Serif TC","PMingLiU",serif;font-weight:900;font-size:clamp(42px,5vw,68px);line-height:1.02;letter-spacing:.01em;-webkit-text-stroke:.45px currentColor;text-shadow:0 1px 0 rgba(255,255,255,.55)}
.home-intro-centered h1 em{position:relative;font-family:"Microsoft JhengHei","PingFang TC","Noto Sans TC",sans-serif;font-weight:700;font-size:clamp(30px,3.15vw,44px);line-height:1.12;letter-spacing:.09em;color:#9c6510;padding:1px 20px 10px;-webkit-text-stroke:0;text-shadow:0 3px 10px rgba(156,101,16,.08)}
.home-intro-centered h1 em::after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;border-radius:999px;background:linear-gradient(90deg,rgba(185,133,44,.08),#d5ab57,rgba(185,133,44,.08));box-shadow:0 2px 8px rgba(181,126,29,.13)}
.home-intro-centered p{max-width:860px;margin:0 auto;color:#52635b;font-size:17px;line-height:1.9}
.home-carousel-section .stats{margin-top:26px}
@media(max-width:1120px){.carousel-prev{left:-30px}.carousel-next{right:-30px}}
@media(max-width:980px){.home-carousel{margin-bottom:58px}.home-carousel-track{min-height:240px}.carousel-prev{left:14px}.carousel-next{right:14px}.carousel-dots{bottom:-30px}.home-intro-centered{margin-top:30px}.home-intro-centered h1 span{font-size:54px}.home-intro-centered h1 em{font-size:36px}}
@media(max-width:680px){.home-carousel-section{padding-top:16px}.home-carousel{border-radius:19px;margin-bottom:50px}.home-carousel-track{aspect-ratio:16/7.2;min-height:0}.carousel-arrow{display:none}.carousel-dots{bottom:-25px}.carousel-dot{width:8px;height:8px}.carousel-dot.is-active{width:22px}.home-intro-centered{margin:26px auto 4px;padding:0 8px}.home-intro-centered h1{gap:9px}.home-intro-centered h1 span{font-size:36px}.home-intro-centered h1 em{font-size:28px;padding:0 14px 6px}.home-intro-centered p{font-size:16px;line-height:1.82}}
/* Recommendation cards are articles, not category buttons */
.recommendation-section .recommend-card h3{font-size:17px;line-height:1.45;font-weight:900}
.recommendation-section .recommend-card span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;line-height:1.6;min-height:3.2em}
.recommendation-section .recommend-card img{transition:transform .35s ease,filter .35s ease}
.recommendation-section .recommend-card:hover img{transform:scale(1.025);filter:saturate(1.03)}

/* Latest cards: exactly five lines before ellipsis */
.home-latest-grid .article-card p{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:5!important;overflow:hidden!important;line-height:1.72!important;min-height:8.6em}

/* Natural inline reading links inside articles */
.article-inline-recommendation{margin:22px 0!important;padding:13px 16px;border-left:3px solid #c79a42;background:#fbf7ee;border-radius:0 12px 12px 0;color:#4f5e57!important;line-height:1.8!important}
.article-inline-recommendation a{font-weight:900!important;color:var(--green-800)!important;text-decoration:underline;text-decoration-color:rgba(8,86,70,.28);text-underline-offset:4px}
.article-inline-recommendation a:hover{color:#a06e18!important;text-decoration-color:#a06e18}

/* FAQ answer reading route */
.faq-a p{margin:0 0 12px}.faq-a p:last-child{margin-bottom:0}
.faq-readmore{padding-top:12px;border-top:1px solid #ece5d8;color:#4f5f58!important}
.faq-readmore a{font-weight:900;color:var(--green-800);text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(8,86,70,.28)}
.faq-readmore a:hover{color:#a06e18;text-decoration-color:#a06e18}

/* About page — unify boundaries and turn the page into a navigable hub */
.page-about .authors-intro{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}
.page-about .about-lead,.page-about .authors-intro,.page-about .author-role-card,.page-about .principle,.page-about .about-start-panel{border-color:#ded8cb!important;border-radius:22px!important}
.about-content-map .section-head{margin-bottom:22px}.about-content-map .section-sub{max-width:760px;margin:10px auto 0}
.about-map-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.about-map-grid a{position:relative;min-width:0;padding:22px 18px;border:1px solid #ded8cb;border-radius:18px;background:var(--paper);transition:.2s}
.about-map-grid b{display:block;font-size:17px;margin-bottom:7px}.about-map-grid span{display:block;color:var(--muted);font-size:13px;line-height:1.65}.about-map-grid i{position:absolute;right:16px;top:18px;font-style:normal;color:#a97a29;transition:.2s}
.about-map-grid a:hover{transform:translateY(-3px);border-color:#c8a75f;box-shadow:0 10px 24px rgba(15,45,35,.07)}.about-map-grid a:hover i{transform:translateX(3px)}
.author-topic-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:18px;padding-top:16px;border-top:1px solid #ece5d8}.author-topic-links>span{font-size:12px;letter-spacing:.08em;color:#a77520;font-weight:900;margin-right:3px}.author-topic-links a{font-size:13px;font-weight:850;padding:7px 10px;border:1px solid #ded8cb;border-radius:999px;background:#fffaf0;color:var(--green-800);transition:.18s}.author-topic-links a:hover{border-color:#c9a257;transform:translateY(-2px);background:#f8f1e4}
.about-start-panel{display:grid;grid-template-columns:minmax(0,.88fr) minmax(380px,1.12fr);gap:34px;padding:34px}.about-start-panel p{color:var(--muted);line-height:1.85}.about-start-links{display:grid;gap:10px}.about-start-links a{display:grid;gap:4px;padding:15px 17px;border:1px solid #e1d9ca;border-radius:15px;background:#fff;transition:.18s}.about-start-links a b{font-size:16px}.about-start-links a span{font-size:13px;color:var(--muted)}.about-start-links a:hover{border-color:#caa75d;background:#fffaf1;transform:translateX(3px)}
@media(max-width:980px){.about-map-grid{grid-template-columns:repeat(3,1fr)}.about-start-panel{grid-template-columns:1fr}}
@media(max-width:680px){.about-map-grid{grid-template-columns:1fr 1fr}.about-start-panel{padding:24px 20px}.page-about .authors-intro{padding:20px 18px!important}}
@media(max-width:430px){.about-map-grid{grid-template-columns:1fr}}

/* Policy page: readable document hierarchy + useful exits */
.page-policy .policy-layout{align-items:start}
.page-policy .policy-card{border-color:#ded8cb;border-radius:20px;padding:31px 32px}
.page-policy .policy-card h2{font-size:22px;margin-bottom:12px}.page-policy .policy-card p{font-size:16px;line-height:1.9;color:#53625b;margin:0}
.page-policy .policy-index{background:#083f34;border:1px solid rgba(231,205,146,.22)}
.page-policy .policy-index b{display:block;margin-bottom:6px;color:#f4dfa9}.page-policy .policy-index a{transition:.18s;padding-left:3px;padding-right:3px}.page-policy .policy-index a:hover{color:#f1d58d;transform:translateX(4px);border-bottom-color:rgba(255,255,255,.28)}
.policy-more-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.85fr);gap:34px;padding:34px}.policy-more-panel p{color:var(--muted);line-height:1.85}.policy-more-links{display:grid;gap:10px}.policy-more-links a{padding:14px 16px;border:1px solid #dfd7c8;border-radius:14px;background:#fff;font-weight:850;transition:.18s}.policy-more-links a:hover{transform:translateX(3px);border-color:#c8a55e;background:#fffaf0;color:var(--green-800)}
@media(max-width:780px){.policy-more-panel{grid-template-columns:1fr}.page-policy .policy-card{padding:24px 20px}}

/* Search-page rotating suggestions */
.search-empty-wrap{grid-column:1/-1;padding:26px;border:1px solid var(--line);border-radius:18px;background:var(--paper)}
.search-empty-wrap .empty{padding:0;background:none;border:0}
.search-suggestion-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:15px}.search-suggestion-row>span{font-size:13px;color:var(--muted)}
.search-suggestion-row button{border:1px solid #d9c79f;border-radius:999px;background:#fffaf0;color:var(--green-800);padding:8px 12px;font-weight:800;cursor:pointer;transition:.18s}
.search-suggestion-row button:hover{background:#edf3ef;border-color:#8ead9f;transform:translateY(-2px)}

/* Site-wide interaction polish — subtle, consistent, no over-animation */
.main-nav>a,.nav-trigger,.crumbs a,.side-card a,.footer-col a,.footer-link-group a,.mobile-menu-links a,.policy-index a,.daily-link,.article-content a{transition:color .18s ease,background-color .18s ease,transform .18s ease,text-decoration-color .18s ease,border-color .18s ease}
.main-nav>a:hover,.main-nav>a:focus-visible,.nav-trigger:hover,.nav-trigger:focus-visible{color:var(--green-800)}
.main-nav>a{position:relative}.main-nav>a::after{content:"";position:absolute;left:0;right:100%;bottom:-7px;height:2px;border-radius:2px;background:#c79a42;transition:right .18s ease}.main-nav>a:hover::after,.main-nav>a:focus-visible::after{right:0}
.side-card a:hover,.crumbs a:hover{color:var(--green-800);transform:translateX(2px)}
.article-content a:not(.article-bookmark-card):hover{color:#9b6a19!important}
.site-footer .footer-col a:hover,.site-footer .footer-link-group a:hover{transform:translateX(2px)}

/* Floating radial utility menu / standalone TOP / promo modal */
.site-utility-rail{position:fixed;right:24px;top:50%;z-index:88;width:58px;height:58px;transform:translateY(-50%);pointer-events:auto}
.site-utility-rail::before{content:"";position:absolute;right:-132px;top:50%;width:308px;height:308px;border:1px solid rgba(196,154,66,.55);border-radius:50%;transform:translateY(-50%) scale(.78);opacity:0;pointer-events:none;transition:opacity .18s ease,transform .22s ease}
.site-utility-rail.is-open::before{opacity:1;transform:translateY(-50%) scale(1)}
.utility-launcher,.utility-action,.utility-top-button{display:grid;place-items:center;border:1px solid #d4ad58;background:rgba(255,252,245,.98);color:var(--green-900);box-shadow:0 9px 24px rgba(15,45,35,.13);cursor:pointer;text-decoration:none;transition:transform .22s ease,opacity .18s ease,background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
.utility-launcher{position:absolute;inset:0;width:58px;height:58px;padding:0;border-radius:50%;z-index:4}
.utility-launcher-media{display:grid;width:100%;height:100%;place-items:center;overflow:hidden;border-radius:inherit;isolation:isolate;pointer-events:none}
.utility-launcher-media img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;border-radius:inherit}
.utility-launcher:hover,.utility-launcher:focus-visible,.utility-action:hover,.utility-action:focus-visible,.utility-top-button:hover,.utility-top-button:focus-visible{background:#fffdf8;border-color:#c58e25;box-shadow:0 11px 28px rgba(15,45,35,.19);outline:none}
.utility-launcher img,.utility-action img,.utility-top-button img{width:24px;height:24px;object-fit:contain;pointer-events:none}
.utility-launcher-icon{display:block;width:24px;height:24px;overflow:visible;fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round;transition:transform .22s ease}
.site-utility-rail.is-open .utility-launcher-icon{transform:rotate(45deg)}
.utility-action{position:absolute;left:5px;top:5px;width:48px;height:48px;border-radius:50%;z-index:2;opacity:0;pointer-events:none;transform:translate(0,0) scale(.72)}
.utility-action.utility-search{--ux:-40px;--uy:-145px}
.utility-action.utility-home{--ux:-95px;--uy:-123px}
.utility-action.utility-articles{--ux:-137px;--uy:-84px}
.utility-action.utility-faq{--ux:-158px;--uy:-29px}
.utility-action.utility-casino{--ux:-158px;--uy:31px}
.utility-action.utility-more{--ux:-137px;--uy:85px}
.utility-action.utility-line{--ux:-95px;--uy:124px}
.utility-action.utility-promo{--ux:-40px;--uy:145px}
.site-utility-rail.is-open .utility-action{opacity:1;pointer-events:auto;transform:translate(var(--ux),var(--uy)) scale(1)}
.utility-action:hover,.utility-action:focus-visible{transform:translate(var(--ux),var(--uy)) scale(1.07)}
.utility-launcher::after,.utility-action::after,.utility-top-button::after{content:attr(data-tooltip);position:absolute;right:calc(100% + 11px);top:50%;white-space:nowrap;padding:7px 10px;border:1px solid rgba(196,154,66,.45);border-radius:10px;background:rgba(255,252,245,.98);color:#163f35;font-size:12px;font-weight:800;line-height:1;box-shadow:0 8px 18px rgba(15,45,35,.11);opacity:0;visibility:hidden;transform:translate(5px,-50%);pointer-events:none;transition:opacity .12s ease 0s,transform .12s ease 0s,visibility 0s linear .12s;z-index:7}
.utility-launcher:hover::after,.utility-launcher:focus-visible::after,.utility-action:hover::after,.utility-action:focus-visible::after,.utility-top-button:hover::after,.utility-top-button:focus-visible::after{opacity:1;visibility:visible;transform:translate(0,-50%);transition-delay:.62s,.62s,.62s}
/* Keep the top search tooltip clear of the next radial icon. */
.utility-action.utility-search::after{right:auto;left:50%;top:auto;bottom:calc(100% + 12px);transform:translate(-50%,5px)}
.utility-action.utility-search:hover::after,.utility-action.utility-search:focus-visible::after{transform:translate(-50%,0)}
.utility-top-button{position:fixed;right:24px;bottom:24px;z-index:87;width:48px;height:48px;border-radius:50%;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(10px);transition:opacity .18s ease,visibility .18s ease,transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}
.utility-top-button.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
body.utility-promo-open{overflow:hidden}
.utility-promo-layer{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:24px;opacity:0;transition:opacity .18s ease}
.utility-promo-layer[hidden]{display:none}
.utility-promo-layer.is-open{opacity:1}
.utility-promo-backdrop{position:absolute;inset:0;background:rgba(6,27,22,.72);backdrop-filter:blur(4px)}
.utility-promo-dialog{position:relative;z-index:1;width:min(800px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid rgba(221,181,85,.78);border-radius:26px;background:#fffaf0;box-shadow:0 28px 90px rgba(3,23,18,.42);display:grid;grid-template-columns:minmax(350px,1fr) minmax(0,1fr);transform:translateY(14px) scale(.98);transition:transform .22s ease}
.utility-promo-layer.is-open .utility-promo-dialog{transform:translateY(0) scale(1)}
.utility-promo-close{position:absolute;right:14px;top:14px;z-index:3;width:38px;height:38px;border-radius:50%;border:1px solid rgba(205,168,89,.6);background:rgba(255,252,245,.94);color:#153f35;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 7px 18px rgba(15,45,35,.12)}
.utility-promo-close:hover,.utility-promo-close:focus-visible{background:#fff;border-color:#c58e25;outline:none}
.utility-promo-visual{min-height:450px;background:#073c32}
.treasure-stage{position:relative;display:grid;place-items:center;overflow:hidden;isolation:isolate;background:radial-gradient(circle at 50% 58%,rgba(47,132,93,.76) 0,rgba(10,76,61,.42) 35%,rgba(5,49,40,0) 66%),linear-gradient(145deg,#0a5647 0%,#06382f 56%,#052d26 100%)}
.treasure-stage::before{content:"";position:absolute;z-index:-1;left:50%;bottom:9%;width:72%;height:13%;border-radius:50%;background:rgba(0,17,13,.42);filter:blur(14px);transform:translateX(-50%)}
.treasure-stage::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;box-shadow:inset 0 0 80px rgba(1,23,18,.36)}
.treasure-chest-image{position:relative;z-index:1;display:block;width:min(96%,420px);height:auto;transform-origin:50% 72%;filter:drop-shadow(0 22px 17px rgba(0,18,13,.42));will-change:transform,filter}
.treasure-rays{position:absolute;z-index:-1;left:50%;top:50%;width:520px;aspect-ratio:1;border-radius:50%;opacity:0;background:repeating-conic-gradient(from 0deg,rgba(255,222,105,.36) 0deg 10deg,transparent 10deg 24deg);filter:blur(2px);transform:translate(-50%,-50%) scale(.45);transition:opacity .38s ease,transform .65s cubic-bezier(.2,.9,.2,1)}
.treasure-glow{position:absolute;z-index:0;left:50%;top:49%;width:86%;aspect-ratio:1;border-radius:50%;opacity:0;background:radial-gradient(circle,rgba(255,250,185,.98) 0,rgba(255,218,73,.66) 22%,rgba(255,181,19,.25) 48%,transparent 70%);filter:blur(5px);transform:translate(-50%,-50%) scale(.3);transition:opacity .32s ease,transform .6s cubic-bezier(.2,.9,.2,1)}
.treasure-unlock-flash{position:absolute;z-index:3;left:50%;top:55%;width:42px;height:42px;border:3px solid #fff3ac;border-radius:50%;opacity:0;box-shadow:0 0 20px #fff,0 0 44px #ffc928;transform:translate(-50%,-50%) scale(.25);pointer-events:none}
.treasure-coin-burst{position:absolute;z-index:4;left:50%;top:56%;width:1px;height:1px;pointer-events:none}
.treasure-coin-burst i{position:absolute;left:0;top:0;width:var(--coin-size);height:calc(var(--coin-size)*.46);border:1px solid #fff1a6;border-radius:50%;background:linear-gradient(180deg,#fff3a1 0%,#ffd22d 42%,#d98a00 100%);box-shadow:0 0 7px rgba(255,211,55,.82);opacity:0;animation:treasureCoinFly 1.05s cubic-bezier(.19,.66,.34,1) var(--coin-delay) forwards}
.utility-promo-layer.is-opening:not(.is-half-open) .treasure-chest-image{animation:treasureShake .52s ease-in-out 2}
.utility-promo-layer.is-unlocking .treasure-unlock-flash{animation:treasureUnlock .48s ease-out forwards}
.utility-promo-layer.is-half-open .treasure-chest-image{animation:treasureLift .48s cubic-bezier(.2,.9,.2,1) both}
.utility-promo-layer.is-half-open .treasure-glow,.utility-promo-layer.is-opened .treasure-glow{opacity:1;transform:translate(-50%,-50%) scale(1)}
.utility-promo-layer.is-opened .treasure-rays{opacity:.8;transform:translate(-50%,-50%) scale(1);animation:treasureRays 12s linear infinite}
.utility-promo-layer.is-opened .treasure-chest-image{animation:treasureLand .58s cubic-bezier(.18,.84,.32,1.25) both;filter:drop-shadow(0 22px 17px rgba(0,18,13,.42)) drop-shadow(0 0 18px rgba(255,207,40,.45))}
.utility-promo-copy{align-self:stretch;display:grid;padding:42px 42px 38px}
.treasure-copy-panel>div{grid-area:1/1;align-self:center;transition:opacity .3s ease,transform .38s ease;min-width:0}
.treasure-intro{opacity:1;transform:translateY(0)}
.treasure-result{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(16px)}
.utility-promo-layer.is-revealed .treasure-intro{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-14px)}
.utility-promo-layer.is-revealed .treasure-result{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.utility-promo-kicker{display:inline-block;margin-bottom:10px;color:#a66f12;font-size:12px;font-weight:900;letter-spacing:.18em}
.utility-promo-copy h2{margin:0 0 14px;color:#102f28;font-size:clamp(26px,3vw,36px);line-height:1.25}
.utility-promo-copy p{margin:0;color:#5c625e;font-size:16px;line-height:1.8}
.treasure-open-button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:168px;min-height:49px;margin-top:25px;padding:0 24px;overflow:hidden;border:1px solid #c99a35;border-radius:999px;background:linear-gradient(135deg,#0b5747,#073d33);color:#fff8df;font:inherit;font-weight:900;letter-spacing:.06em;box-shadow:0 11px 24px rgba(8,66,53,.2),inset 0 1px rgba(255,255,255,.16);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.treasure-open-button::before{content:"";position:absolute;inset:-45% auto -45% -35%;width:38%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);transform:skewX(-18deg);transition:left .5s ease}
.treasure-open-button:hover,.treasure-open-button:focus-visible{transform:translateY(-2px);box-shadow:0 15px 29px rgba(8,66,53,.26),inset 0 1px rgba(255,255,255,.18);outline:2px solid rgba(198,151,52,.42);outline-offset:3px}
.treasure-open-button:hover::before{left:105%}
.treasure-open-button:disabled{cursor:wait;filter:saturate(.72);transform:none}
.utility-promo-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.utility-promo-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid #d4ad58;background:#0a4b3d;color:#fff;text-decoration:none;font-weight:800;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.utility-promo-actions a+ a{background:#fffaf0;color:#0a4b3d}
.utility-promo-actions a:hover,.utility-promo-actions a:focus-visible{transform:translateY(-2px);background:#0d5a49;outline:none}
.utility-promo-actions a+ a:hover,.utility-promo-actions a+ a:focus-visible{background:#fff;border-color:#c58e25}
@keyframes treasureShake{0%,100%{transform:translate(0,0) rotate(0)}20%{transform:translate(-4px,1px) rotate(-1.4deg)}40%{transform:translate(5px,-2px) rotate(1.6deg)}60%{transform:translate(-5px,-1px) rotate(-1.1deg)}80%{transform:translate(3px,1px) rotate(.8deg)}}
@keyframes treasureUnlock{0%{opacity:0;transform:translate(-50%,-50%) scale(.25)}35%{opacity:1}100%{opacity:0;transform:translate(-50%,-50%) scale(3.6)}}
@keyframes treasureLift{0%{transform:translateY(3px) scale(.985)}55%{transform:translateY(-9px) scale(1.025)}100%{transform:translateY(0) scale(1)}}
@keyframes treasureLand{0%{transform:translateY(-7px) scale(1.035)}58%{transform:translateY(4px) scale(.985)}100%{transform:translateY(0) scale(1)}}
@keyframes treasureRays{to{rotate:360deg}}
@keyframes treasureCoinFly{0%{opacity:0;transform:translate(-50%,-50%) translate(0,0) rotate(0) scale(.45)}12%{opacity:1}68%{opacity:1;transform:translate(-50%,-50%) translate(var(--coin-x),var(--coin-y)) rotate(var(--coin-r)) scale(1)}100%{opacity:0;transform:translate(-50%,-50%) translate(var(--coin-x),calc(var(--coin-y) + 98px)) rotate(var(--coin-r)) scale(.78)}}
@media(max-width:900px){.site-utility-rail{right:16px}.utility-action{width:44px;height:44px;left:7px;top:7px}.utility-action.utility-search{--ux:-28px;--uy:-132px}.utility-action.utility-home{--ux:-76px;--uy:-112px}.utility-action.utility-articles{--ux:-112px;--uy:-76px}.utility-action.utility-faq{--ux:-132px;--uy:-28px}.utility-action.utility-casino{--ux:-132px;--uy:28px}.utility-action.utility-more{--ux:-112px;--uy:76px}.utility-action.utility-line{--ux:-76px;--uy:112px}.utility-action.utility-promo{--ux:-28px;--uy:132px}.site-utility-rail::before{right:-118px;width:276px;height:276px}.utility-top-button{right:16px;bottom:18px}.utility-promo-dialog{width:min(560px,calc(100vw - 28px));grid-template-columns:1fr}.utility-promo-visual{min-height:300px}.treasure-chest-image{width:min(78%,360px)}.utility-promo-copy{padding:30px 30px 28px}}
@media(max-width:560px){.site-utility-rail{right:12px;width:54px;height:54px}.utility-launcher{width:54px;height:54px}.utility-action{left:6px;top:6px;width:42px;height:42px}.utility-action img{width:21px;height:21px}.utility-action.utility-search{--ux:-22px;--uy:-118px}.utility-action.utility-home{--ux:-64px;--uy:-102px}.utility-action.utility-articles{--ux:-96px;--uy:-70px}.utility-action.utility-faq{--ux:-112px;--uy:-24px}.utility-action.utility-casino{--ux:-112px;--uy:24px}.utility-action.utility-more{--ux:-96px;--uy:70px}.utility-action.utility-line{--ux:-64px;--uy:102px}.utility-action.utility-promo{--ux:-22px;--uy:118px}.site-utility-rail::before{right:-103px;width:244px;height:244px}.utility-launcher::after,.utility-action::after,.utility-top-button::after{display:none}.utility-top-button{right:12px;bottom:14px;width:44px;height:44px}.utility-promo-layer{padding:10px}.utility-promo-dialog{width:min(100%,460px);max-height:calc(100dvh - 20px);border-radius:20px}.utility-promo-visual{min-height:244px}.treasure-chest-image{width:min(88%,310px)}.treasure-rays{width:390px}.utility-promo-copy{padding:25px 20px 23px}.utility-promo-copy h2{font-size:25px}.utility-promo-copy p{font-size:15px}.treasure-open-button{width:100%;margin-top:20px}.utility-promo-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:20px}.utility-promo-actions a{padding:0 10px}.utility-promo-close{right:10px;top:10px}}
@media(max-width:380px){.utility-promo-visual{min-height:210px}.treasure-chest-image{width:270px}.utility-promo-copy{padding:21px 18px}.utility-promo-copy h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.utility-launcher,.utility-action,.utility-top-button,.site-utility-rail::before,.utility-promo-layer,.utility-promo-dialog,.treasure-copy-panel>div,.treasure-rays,.treasure-glow,.treasure-open-button{transition:none!important}.site-utility-rail.is-open .utility-launcher-icon{transform:none}.utility-promo-layer .treasure-chest-image,.utility-promo-layer .treasure-unlock-flash,.utility-promo-layer .treasure-rays,.treasure-coin-burst i{animation:none!important}}

/* v5.8.2 — the treasure chest itself is the radial utility launcher */
.utility-launcher{inset:-9px;width:76px;height:76px;padding:0;border:0;border-radius:20px;background:transparent;box-shadow:none;overflow:visible;isolation:isolate;transition:transform .2s ease,filter .2s ease}
.utility-launcher:hover,.utility-launcher:focus-visible{border-color:transparent;background:transparent;box-shadow:none;outline:2px solid rgba(202,157,57,.38);outline-offset:2px;transform:scale(1.06);filter:drop-shadow(0 10px 10px rgba(12,57,45,.2))}
.utility-launcher-media{position:relative;display:block;width:100%;height:100%;overflow:visible;border-radius:0;isolation:isolate}
.utility-launcher .utility-treasure-image{position:absolute;z-index:2;inset:0;display:block;width:100%!important;height:100%!important;max-width:none;max-height:none;object-fit:contain;border-radius:0;filter:drop-shadow(0 8px 7px rgba(5,38,29,.26));transform-origin:50% 72%;will-change:transform,filter}
.utility-launcher-glow{position:absolute;z-index:0;left:50%;top:48%;width:94px;height:94px;border-radius:50%;opacity:0;pointer-events:none;background:radial-gradient(circle,rgba(255,244,152,.92) 0,rgba(255,201,42,.46) 30%,rgba(255,174,0,0) 70%);filter:blur(4px);transform:translate(-50%,-50%) scale(.35);transition:opacity .3s ease,transform .45s ease}
.utility-treasure-flash{position:absolute;z-index:3;left:50%;top:55%;width:18px;height:18px;border:2px solid #fff2a4;border-radius:50%;opacity:0;pointer-events:none;box-shadow:0 0 10px #fff,0 0 22px #ffca2a;transform:translate(-50%,-50%) scale(.2)}
.utility-treasure-coins{position:absolute;z-index:4;left:50%;top:52%;width:1px;height:1px;pointer-events:none}
.utility-treasure-coins i{position:absolute;left:0;top:0;width:var(--coin-size);height:calc(var(--coin-size)*.48);border:1px solid #fff0a0;border-radius:50%;background:linear-gradient(180deg,#fff5ab 0%,#ffd12c 45%,#d98b00 100%);box-shadow:0 0 5px rgba(255,205,37,.85);opacity:0;animation:utilityTreasureCoin .88s cubic-bezier(.18,.67,.34,1) var(--coin-delay) forwards}
.site-utility-rail.is-treasure-opening:not(.is-half-open) .utility-treasure-image{animation:utilityTreasureShake .42s ease-in-out 2}
.site-utility-rail.is-unlocking .utility-treasure-flash{animation:utilityTreasureUnlock .42s ease-out forwards}
.site-utility-rail.is-half-open .utility-treasure-image{animation:utilityTreasureLift .34s cubic-bezier(.2,.9,.2,1) both}
.site-utility-rail.is-opened .utility-launcher-glow{opacity:1;transform:translate(-50%,-50%) scale(1)}
.site-utility-rail.is-opened .utility-treasure-image{animation:utilityTreasureLand .42s cubic-bezier(.18,.84,.32,1.25) both;filter:drop-shadow(0 8px 7px rgba(5,38,29,.26)) drop-shadow(0 0 9px rgba(255,202,37,.68))}
.site-utility-rail.is-open .utility-launcher::after{content:"收起選單"}
@keyframes utilityTreasureShake{0%,100%{transform:translate(0,0) rotate(0)}20%{transform:translate(-3px,1px) rotate(-2deg)}40%{transform:translate(4px,-1px) rotate(2.2deg)}60%{transform:translate(-4px,-1px) rotate(-1.7deg)}80%{transform:translate(3px,1px) rotate(1.2deg)}}
@keyframes utilityTreasureUnlock{0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}35%{opacity:1}100%{opacity:0;transform:translate(-50%,-50%) scale(3.4)}}
@keyframes utilityTreasureLift{0%{transform:translateY(2px) scale(.97)}55%{transform:translateY(-5px) scale(1.04)}100%{transform:translateY(0) scale(1)}}
@keyframes utilityTreasureLand{0%{transform:translateY(-4px) scale(1.05)}60%{transform:translateY(2px) scale(.98)}100%{transform:translateY(0) scale(1)}}
@keyframes utilityTreasureCoin{0%{opacity:0;transform:translate(-50%,-50%) translate(0,0) rotate(0) scale(.4)}12%{opacity:1}68%{opacity:1;transform:translate(-50%,-50%) translate(var(--coin-x),var(--coin-y)) rotate(var(--coin-r)) scale(1)}100%{opacity:0;transform:translate(-50%,-50%) translate(var(--coin-x),calc(var(--coin-y) + 42px)) rotate(var(--coin-r)) scale(.72)}}

/* Restore the regular promotion modal; the treasure animation now belongs to the launcher. */
.utility-promo-backdrop{background:rgba(9,35,28,.62);backdrop-filter:blur(3px)}
.utility-promo-dialog{width:min(720px,calc(100vw - 32px));max-height:none;overflow:hidden;border:1px solid rgba(205,168,89,.72);border-radius:24px;background:#fffaf0;box-shadow:0 24px 70px rgba(7,31,25,.28);grid-template-columns:minmax(220px,.9fr) minmax(0,1.1fr);transform:translateY(12px) scale(.985);transition:transform .18s ease}
.utility-promo-visual{min-height:310px;background:#0a4337 url('../images/utility-menu/promo-banner.svg') center/cover no-repeat}
.utility-promo-copy{align-self:center;display:block;padding:42px 42px 38px}
@media(max-width:900px){.utility-promo-dialog{width:min(720px,calc(100vw - 32px));grid-template-columns:1fr}.utility-promo-visual{min-height:190px}.utility-promo-copy{padding:28px 26px 26px}}
@media(max-width:560px){.utility-launcher{inset:-7px;width:68px;height:68px}.utility-launcher-glow{width:82px;height:82px}.utility-promo-layer{padding:14px}.utility-promo-dialog{width:min(100%,460px);max-height:calc(100dvh - 28px);border-radius:20px}.utility-promo-visual{min-height:155px}.utility-promo-copy{padding:24px 20px 22px}.utility-promo-copy h2{font-size:26px}.utility-promo-actions{display:grid;grid-template-columns:1fr 1fr}.utility-promo-actions a{padding:0 12px}}
@media(prefers-reduced-motion:reduce){.utility-launcher,.utility-launcher-glow{transition:none!important}.utility-treasure-image,.utility-treasure-flash,.utility-treasure-coins i{animation:none!important}}

/* v5.8.6 — borderless treasure hover and the dedicated 8888 red-packet popup */
.utility-launcher:hover,.utility-launcher:focus-visible{
  border:0;
  background:transparent;
  box-shadow:none;
  outline:none;
  transform:translateY(-2px) scale(1.07);
  filter:drop-shadow(0 11px 9px rgba(12,57,45,.22)) drop-shadow(0 0 7px rgba(244,184,38,.34));
}
.utility-launcher-media::after{
  content:"";
  position:absolute;
  z-index:5;
  right:8px;
  top:9px;
  width:7px;
  height:7px;
  border-radius:50%;
  opacity:0;
  pointer-events:none;
  background:#fff8c7;
  box-shadow:0 0 7px 2px rgba(255,211,74,.85);
  transform:scale(.2);
}
.utility-launcher:hover .utility-launcher-media::after,.utility-launcher:focus-visible .utility-launcher-media::after{animation:utilityLauncherSparkle .82s ease-out both}
@keyframes utilityLauncherSparkle{0%{opacity:0;transform:scale(.2)}34%{opacity:1;transform:scale(1.15)}100%{opacity:0;transform:translate(-8px,7px) scale(.45)}}

.utility-promo-backdrop{background:rgba(14,31,26,.62);backdrop-filter:blur(5px)}
.utility-promo-dialog{
  width:min(900px,calc(100vw - 36px));
  max-height:calc(100dvh - 40px);
  overflow:auto;
  grid-template-columns:minmax(420px,1.12fr) minmax(320px,.88fr);
  border:1px solid rgba(208,163,67,.64);
  border-radius:26px;
  background:#fffaf0;
  box-shadow:0 28px 82px rgba(8,30,24,.34);
}
.red-packet-stage{
  position:relative;
  display:grid;
  place-items:center;
  min-height:500px;
  margin:0;
  padding:0;
  overflow:hidden;
  appearance:none;
  border:0;
  border-radius:0;
  background:
    radial-gradient(circle at 50% 47%,rgba(255,239,164,.7) 0,rgba(255,225,128,.28) 31%,rgba(255,244,216,0) 63%),
    linear-gradient(145deg,#fff8e8 0%,#fbe9cf 54%,#f4dcb7 100%);
  box-shadow:inset -18px 0 34px rgba(156,98,20,.06);
  cursor:pointer;
  isolation:isolate;
}
.red-packet-stage::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:10%;
  width:64%;
  height:11%;
  border-radius:50%;
  background:rgba(155,65,21,.13);
  filter:blur(18px);
  transform:translateX(-50%);
  pointer-events:none;
}
.red-packet-stage:focus-visible{outline:none;box-shadow:inset 0 0 0 3px rgba(187,132,35,.42),inset -18px 0 34px rgba(156,98,20,.06)}
.red-packet-frame{
  position:relative;
  z-index:1;
  display:block;
  width:min(124%,590px);
  max-width:none;
  height:auto;
  user-select:none;
  pointer-events:none;
  transform-origin:50% 58%;
  filter:drop-shadow(0 16px 13px rgba(91,42,16,.16));
  will-change:transform,filter;
  animation:redPacketIdle 2.7s ease-in-out infinite;
}
.red-packet-stage:not(:disabled):hover .red-packet-frame{transform:translateY(-3px) scale(1.025);filter:drop-shadow(0 20px 15px rgba(91,42,16,.2)) drop-shadow(0 0 8px rgba(255,192,47,.32))}
.red-packet-hint{
  position:absolute;
  z-index:3;
  left:50%;
  bottom:25px;
  padding:8px 14px;
  border:1px solid rgba(190,137,41,.32);
  border-radius:999px;
  background:rgba(255,252,242,.9);
  color:#7a5016;
  font-size:13px;
  font-weight:900;
  letter-spacing:.06em;
  box-shadow:0 7px 18px rgba(104,58,13,.1);
  transform:translateX(-50%);
  transition:opacity .18s ease,transform .18s ease;
  white-space:nowrap;
}
.utility-promo-layer.is-animating .red-packet-frame{animation:none}
.utility-promo-layer.is-animating .red-packet-hint,.utility-promo-layer.is-revealed .red-packet-hint{opacity:0;transform:translate(-50%,7px)}
.utility-promo-layer.is-revealed .red-packet-stage{cursor:default}
.utility-promo-layer.is-revealed .red-packet-frame{animation:redPacketSettle .46s cubic-bezier(.18,.82,.31,1.18) both}
.red-packet-copy{align-self:center;display:block;padding:46px 42px 42px}
.red-packet-copy .utility-promo-kicker{color:#a9670e}
.red-packet-copy h2{max-width:9em;font-size:clamp(29px,3.2vw,39px);letter-spacing:.015em}
.red-packet-copy p{min-height:5.7em;color:#565e5a}
.red-packet-open-button,.red-packet-claim{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:178px;
  min-height:49px;
  margin-top:25px;
  padding:0 24px;
  overflow:hidden;
  border:1px solid #bd8b2c;
  border-radius:999px;
  background:linear-gradient(135deg,#0b5747,#073d33);
  color:#fff8df;
  font:inherit;
  font-weight:900;
  letter-spacing:.05em;
  text-decoration:none;
  box-shadow:0 11px 24px rgba(8,66,53,.2),inset 0 1px rgba(255,255,255,.16);
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.red-packet-open-button:hover,.red-packet-open-button:focus-visible,.red-packet-claim:hover,.red-packet-claim:focus-visible{transform:translateY(-2px);box-shadow:0 15px 29px rgba(8,66,53,.26),0 0 0 3px rgba(205,161,64,.2);outline:none}
.red-packet-open-button:disabled{cursor:wait;filter:saturate(.72);transform:none}
.red-packet-open-button[hidden],.red-packet-claim[hidden]{display:none!important}
.utility-promo-layer.is-revealed .red-packet-copy{animation:redPacketCopyReveal .42s ease-out both}
@keyframes redPacketIdle{0%,100%{transform:translateY(2px)}50%{transform:translateY(-6px)}}
@keyframes redPacketSettle{0%{transform:translateY(-6px) scale(1.045)}64%{transform:translateY(3px) scale(.988)}100%{transform:translateY(0) scale(1)}}
@keyframes redPacketCopyReveal{0%{opacity:.35;transform:translateY(9px)}100%{opacity:1;transform:translateY(0)}}

@media(max-width:820px){
  .utility-promo-dialog{width:min(600px,calc(100vw - 28px));grid-template-columns:1fr}
  .red-packet-stage{min-height:315px}
  .red-packet-frame{width:min(116%,500px)}
  .red-packet-hint{bottom:16px}
  .red-packet-copy{padding:28px 26px 27px}
  .red-packet-copy h2{max-width:none;font-size:30px}
  .red-packet-copy p{min-height:0}
}
@media(max-width:560px){
  .utility-launcher:hover,.utility-launcher:focus-visible{transform:translateY(-1px) scale(1.055)}
  .utility-promo-dialog{width:min(100%,460px);max-height:calc(100dvh - 24px);border-radius:21px}
  .red-packet-stage{min-height:276px}
  .red-packet-frame{width:410px}
  .red-packet-hint{bottom:12px;padding:7px 12px;font-size:12px}
  .red-packet-copy{padding:25px 20px 23px}
  .red-packet-copy h2{font-size:27px}
  .red-packet-copy p{font-size:15px;line-height:1.72}
  .red-packet-open-button,.red-packet-claim{width:100%;margin-top:20px}
}
@media(max-width:380px){
  .red-packet-stage{min-height:242px}
  .red-packet-frame{width:365px}
  .red-packet-hint{bottom:9px}
  .red-packet-copy{padding:22px 18px 20px}
  .red-packet-copy h2{font-size:24px}
}
@media(prefers-reduced-motion:reduce){
  .utility-launcher:hover .utility-launcher-media::after,.utility-launcher:focus-visible .utility-launcher-media::after,.red-packet-frame,.utility-promo-layer.is-revealed .red-packet-frame,.utility-promo-layer.is-revealed .red-packet-copy{animation:none!important}
  .red-packet-stage:not(:disabled):hover .red-packet-frame{transform:none}
}

/* v5.8.7 — draggable treasure launcher with automatic left/right docking */
.site-utility-rail.is-draggable{right:auto;transform:none;transition:left .26s cubic-bezier(.22,.8,.3,1),top .26s cubic-bezier(.22,.8,.3,1)}
.site-utility-rail.is-draggable.is-dragging{transition:none;z-index:101}
.site-utility-rail.is-draggable .utility-launcher{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}
.site-utility-rail.is-draggable.is-dragging .utility-launcher{cursor:grabbing;transform:scale(1.045);filter:drop-shadow(0 12px 12px rgba(12,57,45,.24))}
.site-utility-rail.is-draggable.is-dragging .utility-action{pointer-events:none}
.site-utility-rail.is-draggable.is-dragging .utility-launcher-media::after{animation:none!important;opacity:0}
body.utility-dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}

/* Mirror the radial actions when the chest docks on the left. */
.site-utility-rail.is-docked-left .utility-action.utility-search{--ux:40px}
.site-utility-rail.is-docked-left .utility-action.utility-home{--ux:95px}
.site-utility-rail.is-docked-left .utility-action.utility-articles{--ux:137px}
.site-utility-rail.is-docked-left .utility-action.utility-faq{--ux:158px}
.site-utility-rail.is-docked-left .utility-action.utility-casino{--ux:158px}
.site-utility-rail.is-docked-left .utility-action.utility-more{--ux:137px}
.site-utility-rail.is-docked-left .utility-action.utility-line{--ux:95px}
.site-utility-rail.is-docked-left .utility-action.utility-promo{--ux:40px}
.site-utility-rail.is-docked-left::before{left:-132px;right:auto}
.site-utility-rail.is-docked-left .utility-launcher::after,.site-utility-rail.is-docked-left .utility-action::after{left:calc(100% + 11px);right:auto;transform:translate(-5px,-50%)}
.site-utility-rail.is-docked-left .utility-launcher:hover::after,.site-utility-rail.is-docked-left .utility-launcher:focus-visible::after,.site-utility-rail.is-docked-left .utility-action:hover::after,.site-utility-rail.is-docked-left .utility-action:focus-visible::after{transform:translate(0,-50%)}
.site-utility-rail.is-docked-left .utility-action.utility-search::after{right:auto;left:50%;top:auto;bottom:calc(100% + 12px);transform:translate(-50%,5px)}
.site-utility-rail.is-docked-left .utility-action.utility-search:hover::after,.site-utility-rail.is-docked-left .utility-action.utility-search:focus-visible::after{transform:translate(-50%,0)}

@media(max-width:900px){
  .site-utility-rail.is-docked-left .utility-action.utility-search{--ux:28px}
  .site-utility-rail.is-docked-left .utility-action.utility-home{--ux:76px}
  .site-utility-rail.is-docked-left .utility-action.utility-articles{--ux:112px}
  .site-utility-rail.is-docked-left .utility-action.utility-faq{--ux:132px}
  .site-utility-rail.is-docked-left .utility-action.utility-casino{--ux:132px}
  .site-utility-rail.is-docked-left .utility-action.utility-more{--ux:112px}
  .site-utility-rail.is-docked-left .utility-action.utility-line{--ux:76px}
  .site-utility-rail.is-docked-left .utility-action.utility-promo{--ux:28px}
  .site-utility-rail.is-docked-left::before{left:-118px}
}
@media(max-width:560px){
  .site-utility-rail.is-docked-left .utility-action.utility-search{--ux:22px}
  .site-utility-rail.is-docked-left .utility-action.utility-home{--ux:64px}
  .site-utility-rail.is-docked-left .utility-action.utility-articles{--ux:96px}
  .site-utility-rail.is-docked-left .utility-action.utility-faq{--ux:112px}
  .site-utility-rail.is-docked-left .utility-action.utility-casino{--ux:112px}
  .site-utility-rail.is-docked-left .utility-action.utility-more{--ux:96px}
  .site-utility-rail.is-docked-left .utility-action.utility-line{--ux:64px}
  .site-utility-rail.is-docked-left .utility-action.utility-promo{--ux:22px}
  .site-utility-rail.is-docked-left::before{left:-103px}
}
@media(prefers-reduced-motion:reduce){.site-utility-rail.is-draggable{transition:none!important}}

/* ========================================================================== 
   v5.8.8 — article batches, refined content panels and seven-action utility
   ========================================================================== */

/* Article summaries use one consistent five-line rhythm across the site. */
.home-intro-centered h1 span{font-weight:900;letter-spacing:.045em;-webkit-text-stroke:.72px currentColor}
.article-card p{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:5!important;
  line-clamp:5;
  overflow:hidden!important;
  line-height:1.72!important;
  min-height:8.6em;
}
.article-load-more-wrap{display:flex;justify-content:center;margin:34px 0 6px}
.article-load-more{
  min-width:190px;
  min-height:50px;
  padding:0 28px;
  border:1px solid #bd8b2c;
  border-radius:999px;
  background:linear-gradient(135deg,#0b5747,#073d33);
  color:#fff8df;
  font:inherit;
  font-weight:900;
  letter-spacing:.06em;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(8,66,53,.16);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.article-load-more:hover,.article-load-more:focus-visible{transform:translateY(-2px);box-shadow:0 15px 29px rgba(8,66,53,.24),0 0 0 3px rgba(205,161,64,.18);outline:none}

/* Keep empty sections useful without filling the page with extra decoration. */
.empty::before,.category-news-empty::before{content:"♢";display:block;margin:0 auto 10px;color:#b07a20;font-size:30px;line-height:1}

/* About: remove the upper horizontal box and let the introduction breathe. */
.page-about .authors-intro{
  width:auto!important;
  max-width:920px!important;
  margin:0 auto 42px!important;
  padding:0 24px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  text-align:center;
}
.page-about .authors-intro p{font-size:17px;line-height:2}
.page-about .authors-intro-highlight{position:relative;max-width:780px;margin:22px auto 0!important;padding:22px 12px 0;border:0;text-align:center}
.page-about .authors-intro-highlight::before{content:"";position:absolute;top:0;left:50%;width:88px;height:2px;border-radius:999px;background:linear-gradient(90deg,transparent,#c79a42,transparent);transform:translateX(-50%)}

/* FAQ side cards: center headings, links and dividers inside their panels. */
.page-faq .article-side .side-card{text-align:center}
.page-faq .article-side .side-card a{display:flex;justify-content:center;align-items:center;text-align:center}

/* Seven evenly spaced actions around the draggable treasure chest. */
.utility-action.utility-search{--ux:-40px;--uy:-145px}
.utility-action.utility-home{--ux:-100px;--uy:-126px}
.utility-action.utility-articles{--ux:-145px;--uy:-72px}
.utility-action.utility-faq{--ux:-160px;--uy:0px}
.utility-action.utility-more{--ux:-145px;--uy:72px}
.utility-action.utility-line{--ux:-100px;--uy:126px}
.utility-action.utility-promo{--ux:-40px;--uy:145px}
.site-utility-rail.is-docked-left .utility-action.utility-search{--ux:40px}
.site-utility-rail.is-docked-left .utility-action.utility-home{--ux:100px}
.site-utility-rail.is-docked-left .utility-action.utility-articles{--ux:145px}
.site-utility-rail.is-docked-left .utility-action.utility-faq{--ux:160px}
.site-utility-rail.is-docked-left .utility-action.utility-more{--ux:145px}
.site-utility-rail.is-docked-left .utility-action.utility-line{--ux:100px}
.site-utility-rail.is-docked-left .utility-action.utility-promo{--ux:40px}

/* Cross-fade adjacent red-packet frames so the sequence reads as one animation. */
.red-packet-frame{display:grid}
.red-packet-frame-image{grid-area:1/1;display:block;width:100%;height:auto;opacity:0;transition:opacity .11s linear;will-change:opacity}
.red-packet-frame-image.is-visible{opacity:1}
.red-packet-copy h2 small{display:block;margin-top:5px;color:#a9670e;font-family:inherit;font-size:.58em;font-weight:900;letter-spacing:.08em}

@media(max-width:900px){
  .utility-action.utility-search{--ux:-28px;--uy:-132px}
  .utility-action.utility-home{--ux:-80px;--uy:-112px}
  .utility-action.utility-articles{--ux:-118px;--uy:-62px}
  .utility-action.utility-faq{--ux:-134px;--uy:0px}
  .utility-action.utility-more{--ux:-118px;--uy:62px}
  .utility-action.utility-line{--ux:-80px;--uy:112px}
  .utility-action.utility-promo{--ux:-28px;--uy:132px}
  .site-utility-rail.is-docked-left .utility-action.utility-search{--ux:28px}
  .site-utility-rail.is-docked-left .utility-action.utility-home{--ux:80px}
  .site-utility-rail.is-docked-left .utility-action.utility-articles{--ux:118px}
  .site-utility-rail.is-docked-left .utility-action.utility-faq{--ux:134px}
  .site-utility-rail.is-docked-left .utility-action.utility-more{--ux:118px}
  .site-utility-rail.is-docked-left .utility-action.utility-line{--ux:80px}
  .site-utility-rail.is-docked-left .utility-action.utility-promo{--ux:28px}
}
@media(max-width:680px){
  .home-intro-centered h1 span{letter-spacing:.028em;-webkit-text-stroke:.58px currentColor}
  .article-card p{min-height:auto}
  .page-about .authors-intro{margin-bottom:32px!important;padding:0 4px!important;text-align:left}
  .page-about .authors-intro-highlight{padding-left:0;padding-right:0;text-align:left}
  .page-about .authors-intro-highlight::before{left:0;transform:none}
}
@media(max-width:560px){
  .utility-action.utility-search{--ux:-22px;--uy:-118px}
  .utility-action.utility-home{--ux:-66px;--uy:-100px}
  .utility-action.utility-articles{--ux:-100px;--uy:-56px}
  .utility-action.utility-faq{--ux:-114px;--uy:0px}
  .utility-action.utility-more{--ux:-100px;--uy:56px}
  .utility-action.utility-line{--ux:-66px;--uy:100px}
  .utility-action.utility-promo{--ux:-22px;--uy:118px}
  .site-utility-rail.is-docked-left .utility-action.utility-search{--ux:22px}
  .site-utility-rail.is-docked-left .utility-action.utility-home{--ux:66px}
  .site-utility-rail.is-docked-left .utility-action.utility-articles{--ux:100px}
  .site-utility-rail.is-docked-left .utility-action.utility-faq{--ux:114px}
  .site-utility-rail.is-docked-left .utility-action.utility-more{--ux:100px}
  .site-utility-rail.is-docked-left .utility-action.utility-line{--ux:66px}
  .site-utility-rail.is-docked-left .utility-action.utility-promo{--ux:22px}
}
@media(prefers-reduced-motion:reduce){.red-packet-frame-image{transition:none!important}}

/* ========================================================================== 
   v6.1.2 — navigation controls, homepage ticker and alignment refinements
   ========================================================================== */

/* Parent text remains a real link; only the chevron toggles the desktop/tablet menu. */
.site-header .nav-control{display:inline-flex;align-items:center;gap:2px;min-height:48px}
.site-header .main-nav .nav-wrap{min-height:82px;display:flex;align-items:center}
.site-header .nav-parent-link{display:inline-flex;align-items:center;min-height:48px;padding:0 2px;color:var(--ink);font-size:16px;font-weight:800;white-space:nowrap;transition:color .18s ease}
.site-header .nav-toggle{width:30px;height:38px;padding:0;border:0;background:transparent;color:var(--ink);display:grid;place-items:center;cursor:pointer;border-radius:9px;transition:color .18s ease,background-color .18s ease}
.site-header .nav-toggle:hover,.site-header .nav-toggle:focus-visible{color:var(--green-800);background:#f1ece2;outline:none}
.site-header .nav-toggle .nav-chevron{width:15px;height:15px;display:block;opacity:.76;transition:transform .2s ease,opacity .2s ease}
.site-header .nav-wrap:hover>.nav-control .nav-chevron,
.site-header .nav-wrap:focus-within>.nav-control .nav-chevron,
.site-header .nav-wrap.is-open>.nav-control .nav-chevron{transform:rotate(180deg);opacity:1}
.site-header .nav-wrap.is-open>.nav-control .nav-parent-link{color:var(--green-800)}
.site-header .article-mega .mega-all-articles{grid-column:1/-1;background:#f6f0e4;border:1px solid #eadbbd}

/* Latest-message ticker between the shared header and homepage banner. */
.home-ticker{padding:14px 0 0;background:transparent}
.home-ticker-inner{height:48px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:stretch;padding:0;border:1px solid #ded2ba;border-radius:15px;background:#fffaf0;box-shadow:0 8px 22px rgba(15,45,35,.07);overflow:hidden}
.home-ticker-label{position:relative;z-index:2;display:flex;align-items:center;gap:8px;padding:0 18px;background:var(--green-900);color:#f1d68f;font-size:14px;font-weight:900;letter-spacing:.05em;white-space:nowrap}
.home-ticker-label::after{content:"";position:absolute;top:0;right:-12px;border-top:24px solid transparent;border-bottom:24px solid transparent;border-left:12px solid var(--green-900)}
.home-ticker-label svg{width:20px;height:20px;flex:none}
.home-ticker-viewport{position:relative;min-width:0;overflow:hidden;margin-left:12px}
.home-ticker-item{position:absolute;left:100%;top:0;height:100%;width:max-content;max-width:none;display:flex;align-items:center;gap:9px;padding:0 14px;color:#27473d;font-size:15px;font-weight:800;line-height:1;white-space:nowrap;opacity:0;pointer-events:none;will-change:transform}
.home-ticker-item.is-active{opacity:1;pointer-events:auto;animation:homeTickerMove var(--ticker-duration,14s) linear forwards}
.home-ticker-icon{width:25px;height:25px;border:1px solid rgba(183,133,45,.42);border-radius:50%;display:grid;place-items:center;color:#a26f18;background:#fffdf8;flex:none}
.home-ticker-icon svg{width:15px;height:15px}
.home-ticker:hover .home-ticker-item.is-active,
.home-ticker:focus-within .home-ticker-item.is-active{animation-play-state:paused}
@keyframes homeTickerMove{from{transform:translateX(0)}to{transform:translateX(calc(-1 * var(--ticker-distance,1200px)))}}

/* Homepage card typography and the three statistics cards share one baseline. */
.page-home .stats{align-items:stretch}
.page-home .stat-card{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;min-height:94px;padding:18px 20px}
.page-home .stat-copy{min-width:0;display:grid;align-content:center;gap:4px}
.page-home .stat-label{margin:0;line-height:1.35}
.page-home .stat-value{display:block;line-height:1.35}
.page-home .daily-link{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:18px;line-height:1.4;font-weight:900}
.page-home .step b{font-size:18px;line-height:1.45}
.page-home .recommendation-section .recommend-card span{font-size:15px;line-height:1.55;min-height:3.1em}

@media(max-width:980px){
  .site-header .nav-control{min-height:44px}
  .home-ticker{padding-top:10px}
}
@media(max-width:680px){
  .home-ticker{padding-top:8px}
  .home-ticker .container{width:min(100% - 24px,var(--max))}
  .home-ticker-inner{height:44px;border-radius:13px}
  .home-ticker-label{padding:0 12px;font-size:13px;gap:6px}
  .home-ticker-label::after{right:-10px;border-top-width:22px;border-bottom-width:22px;border-left-width:10px}
  .home-ticker-label svg{width:18px;height:18px}
  .home-ticker-viewport{margin-left:10px}
  .home-ticker-item{padding-inline:10px;font-size:14px}
  .page-home .stat-card{min-height:88px}
  .page-home .daily-link{font-size:17px}
  .page-home .step b{font-size:17px}
  .page-home .recommendation-section .recommend-card span{font-size:14px}
}
@media(max-width:430px){
  .home-ticker-label span{display:none}
  .home-ticker-label{padding:0 13px}
}
@media(prefers-reduced-motion:reduce){
  .home-ticker.is-reduced-motion .home-ticker-item{left:0;width:100%;justify-content:center;transform:none!important;animation:none!important}
}

/* ========================================================================== 
   v6.2.3 — homepage news cards and continuous ticker
   ========================================================================== */
.page-home{overflow-x:hidden;overflow-x:clip}
.page-home .recommendation-section{overflow:visible}

/* The fifth recommendation keeps the original card but opens two compact links. */
.recommend-news-menu{position:relative;min-width:0}
.recommend-news-trigger{display:block;width:100%;height:100%;padding:0;text-align:left;color:inherit;cursor:pointer;appearance:none}
.recommend-news-trigger .rc-body{position:relative;padding-right:36px}
.recommend-news-chevron{position:absolute;right:14px;top:50%;display:grid;place-items:center;width:22px;height:22px;margin-top:-11px;border:1px solid rgba(201,159,82,.48);border-radius:50%;color:var(--green-800);font-size:22px;font-style:normal;line-height:1;transition:transform .2s ease,background-color .2s ease,color .2s ease}
.recommend-news-menu.is-open .recommend-news-chevron{color:#f1d68f;background:var(--green-900);transform:rotate(180deg)}
.recommend-news-options{position:absolute;z-index:30;left:calc(100% + 14px);top:50%;width:224px;display:grid;gap:10px;opacity:0;visibility:hidden;pointer-events:none;transform:translate(8px,-50%);transition:opacity .18s ease,visibility .18s ease,transform .18s ease}
.recommend-news-menu.opens-left .recommend-news-options{left:auto;right:calc(100% + 14px);transform:translate(-8px,-50%)}
.recommend-news-menu.is-open .recommend-news-options{opacity:1;visibility:visible;pointer-events:auto;transform:translate(0,-50%)}
.recommend-news-option{min-height:68px;padding:11px 12px;display:grid;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:10px;border:1px solid #dfd1b2;border-radius:15px;background:#fffaf0;box-shadow:0 10px 24px rgba(15,45,35,.12);color:var(--green-950);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease}
.recommend-news-option:hover,.recommend-news-option:focus-visible{transform:translateX(4px);border-color:#c99f52;background:#fffdf8;box-shadow:0 13px 28px rgba(15,45,35,.17);outline:none}
.recommend-news-menu.opens-left .recommend-news-option:hover,.recommend-news-menu.opens-left .recommend-news-option:focus-visible{transform:translateX(-4px)}
.recommend-news-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid #c99f52;border-radius:11px;background:var(--green-900);color:#efd38d}
.recommend-news-icon svg{width:19px;height:19px}
.recommend-news-option strong{min-width:0;font-size:15px;line-height:1.35;font-weight:900}
.recommend-news-arrow{color:#a67420;font-size:18px;font-weight:900;transition:transform .18s ease}
.recommend-news-option:hover .recommend-news-arrow,.recommend-news-option:focus-visible .recommend-news-arrow{transform:translateX(2px)}

/* All four messages share one moving rail; the duplicated group removes gaps. */
.home-ticker-viewport{display:flex;align-items:center}
.home-ticker-track{height:100%;width:max-content;display:flex;align-items:center;gap:70px;will-change:transform;animation:homeTickerContinuous var(--ticker-duration,36s) linear infinite}
.home-ticker-group{height:100%;display:flex;align-items:center;gap:70px;flex:none}
.home-ticker-item{position:static;left:auto;top:auto;height:100%;width:max-content;max-width:none;display:flex;align-items:center;gap:9px;padding:0;color:#27473d;font-size:15px;font-weight:800;line-height:1;white-space:nowrap;opacity:1;pointer-events:auto;will-change:auto;flex:none}
.home-ticker-item.is-active{animation:none}
.home-ticker:focus-within .home-ticker-track{animation-play-state:paused}
@media(hover:hover) and (pointer:fine){.home-ticker:hover .home-ticker-track{animation-play-state:paused}}
@keyframes homeTickerContinuous{from{transform:translateX(0)}to{transform:translateX(calc(-1 * var(--ticker-loop-distance,1200px)))}}

@media(max-width:680px){
  .home-ticker-item{padding:0;font-size:14px}
  .recommend-news-menu{position:static}
  .recommend-news-trigger{height:auto}
  .recommend-news-options,.recommend-news-menu.opens-left .recommend-news-options{position:static;left:auto;right:auto;top:auto;width:100%;display:none;margin-top:10px;opacity:1;visibility:visible;pointer-events:auto;transform:none}
  .recommend-news-menu.is-open .recommend-news-options{display:grid;transform:none;animation:recommendNewsMobileIn .18s ease both}
  .recommend-news-option{min-height:62px;padding:9px 10px;grid-template-columns:32px minmax(0,1fr) 16px;gap:8px}
  .recommend-news-icon{width:32px;height:32px;border-radius:10px}
  .recommend-news-icon svg{width:17px;height:17px}
  .recommend-news-option strong{font-size:14px}
  .recommend-news-option:hover,.recommend-news-option:focus-visible,.recommend-news-menu.opens-left .recommend-news-option:hover,.recommend-news-menu.opens-left .recommend-news-option:focus-visible{transform:translateY(-2px)}
}
@keyframes recommendNewsMobileIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}

/* ========================================================================== 
   v6.2.4 — navigation, recommendation cards and utility refinements
   ========================================================================== */

/* The all-articles entry uses the same footprint as its five category peers. */
.site-header .article-mega .mega-all-articles{grid-column:auto;background:transparent;border:0}
.home-ticker-label{color:#fff}

/* Enlarge only the treasure artwork; radial action offsets remain unchanged. */
.utility-launcher{inset:-15px;width:88px;height:88px}
.utility-launcher-glow{width:106px;height:106px}

/* Keep the news subtitle and its chevron on one clean baseline. */
.recommend-news-trigger .rc-body{display:grid;grid-template-columns:minmax(0,1fr) 24px;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding-right:14px}
.recommend-news-trigger .rc-body h3{grid-column:1/-1}
.recommend-news-trigger .rc-body>span:not(.recommend-news-chevron){grid-column:1;grid-row:2}
.recommend-news-chevron{position:static;grid-column:2;grid-row:2;align-self:center;width:22px;height:22px;margin:0;line-height:0}
.recommend-news-chevron svg{display:block;width:14px;height:14px}

/* On desktop the pair starts at the card centre, travels right, then separates. */
.recommend-news-options{left:var(--news-options-left,calc(100% + 14px));right:auto;width:clamp(184px,19vw,224px);transform:translate(var(--news-origin-x,-104px),-50%) scale(.94);transition:opacity .2s ease,visibility .2s ease,transform .26s cubic-bezier(.2,.75,.25,1)}
.recommend-news-menu.is-open .recommend-news-options{transform:translate(0,-50%) scale(1)}
.recommend-news-option{opacity:.85;transition:opacity .2s ease,transform .26s cubic-bezier(.2,.75,.25,1),box-shadow .18s ease,border-color .18s ease,background-color .18s ease}
.recommend-news-option:first-child{transform:translateY(34px)}
.recommend-news-option:last-child{transform:translateY(-34px)}
.recommend-news-menu.is-open .recommend-news-option{opacity:1;transform:translateY(0)}
.recommend-news-menu.is-open .recommend-news-option:hover,.recommend-news-menu.is-open .recommend-news-option:focus-visible{transform:translateX(4px)}

/* Three compact related-article cards for the scam pillar page. */
.scam-related-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:28px 0 34px}
.scam-related-card{min-width:0;min-height:94px;padding:14px;display:grid;grid-template-columns:38px minmax(0,1fr) 20px;align-items:center;gap:10px;border:1px solid #dfd1b2;border-radius:16px;background:linear-gradient(145deg,#fffdf8,#f7f0e2);box-shadow:0 9px 22px rgba(15,45,35,.09);color:var(--green-950)!important;text-decoration:none!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease}
.scam-related-card:hover,.scam-related-card:focus-visible{transform:translateY(-3px)!important;border-color:#c99f52;background:#fffdf8;box-shadow:0 13px 28px rgba(15,45,35,.14);outline:none}
.scam-related-card-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid #c99f52;border-radius:11px;background:var(--green-900);color:#efd38d}
.scam-related-card-icon svg{width:20px;height:20px}
.scam-related-card-copy{min-width:0;display:grid;gap:3px}
.scam-related-card-copy strong{font-size:15px;line-height:1.35;color:var(--green-950)}
.scam-related-card-copy small{color:#80662d;font-size:12px;line-height:1.35}
.scam-related-card-arrow{color:#a67420;font-size:18px;font-weight:900;transition:transform .18s ease}
.scam-related-card:hover .scam-related-card-arrow,.scam-related-card:focus-visible .scam-related-card-arrow{transform:translateX(3px)}

@media(max-width:680px){
  .utility-launcher{inset:-11px;width:76px;height:76px}
  .utility-launcher-glow{width:92px;height:92px}
  .recommend-news-options{left:auto;transform:none}
  .recommend-news-option,.recommend-news-option:first-child,.recommend-news-option:last-child{opacity:1;transform:none}
  .recommend-news-menu.is-open .recommend-news-option:hover,.recommend-news-menu.is-open .recommend-news-option:focus-visible{transform:translateY(-2px)}
  .scam-related-cards{grid-template-columns:1fr;gap:10px;margin:24px 0 30px}
  .scam-related-card{min-height:78px;padding:11px 12px}
}

/* ========================================================================== 
   v6.2.5 — desktop navigation arrow toggle
   ========================================================================== */

/* A second arrow click must stay closed even while the pointer/focus remains. */
.site-header .nav-wrap.is-click-closed .mega{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-6px)}
.home-header .nav-wrap.is-click-closed .mega{transform:translate(-50%,-7px)}
.site-header .nav-wrap.is-click-closed>.nav-control .nav-chevron{transform:none;opacity:.76}

/* ========================================================================== 
   v6.2.6 — treasure launcher edge clearance
   ========================================================================== */

/* Move the full launcher rail inward; the radial action offsets stay unchanged. */
.site-utility-rail{right:36px}
@media(max-width:900px){.site-utility-rail{right:28px}}
@media(max-width:560px){.site-utility-rail{right:24px}}

/* ========================================================================== 
   v6.3.4 — mobile-first comfort pass
   Desktop styles above 680px intentionally remain unchanged.
   ========================================================================== */

@media(max-width:680px){
  html{scroll-padding-top:74px}
  body{font-size:16px;overflow-x:hidden}
  .container{width:min(100% - 24px,var(--max))}
  .section{padding:42px 0}

  /* Compact mobile header: brand, search icon and menu only. */
  .site-header .header-inner{width:min(100% - 20px,var(--max));height:64px;gap:8px}
  .site-header .brand{min-width:0;flex:1 1 auto;gap:7px;padding:0;border:0;overflow:hidden}
  .site-header .brand img{width:38px;height:38px;flex:0 0 38px}
  .site-header .brand-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:19px;line-height:1.05;letter-spacing:0}
  .site-header .header-actions{flex:0 0 auto;gap:8px;margin-left:auto}
  .site-header .site-search-btn{width:44px;min-width:44px;height:44px;min-height:44px;border-radius:50%;padding:0!important}
  .site-header .site-search-btn>span{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
  .site-header .site-search-btn svg{position:static;width:20px;height:20px;transform:none}
  .mobile-toggle{width:44px;height:44px;flex:0 0 44px}

  /* Simple, full-height navigation drawer with comfortable touch rows. */
  .mobile-menu{top:64px;width:min(350px,100%);padding:16px 18px calc(22px + env(safe-area-inset-bottom));border-radius:20px 0 0 0}
  .mobile-menu-backdrop{inset:64px 0 0}
  .mobile-menu-head{padding-bottom:12px}
  .mobile-menu-head button{width:44px;height:44px;display:grid;place-items:center}
  .mobile-menu-head button svg{width:20px;height:20px}
  .mobile-menu-links a{min-height:52px;padding:0 8px;font-size:16px}
  .mobile-menu-foot{gap:12px;padding:16px 4px 0}
  .mobile-menu-casino{min-height:48px;display:flex;align-items:center;justify-content:center;border:1px solid #bd8b2c;border-radius:999px;background:linear-gradient(135deg,#0b5747,#073d33);color:#fff8df!important;font-size:16px!important;font-weight:900!important;box-shadow:0 9px 20px rgba(8,66,53,.15)}

  /* Search panel fits small screens without the input or submit button colliding. */
  .site-search-layer{inset:64px 0 0}
  .site-search-panel{width:calc(100% - 16px);max-height:calc(100dvh - 80px);margin-top:8px;padding:18px 14px;border-radius:18px}
  .site-search-top{gap:12px;margin-bottom:14px}
  .site-search-top h2{font-size:25px}
  .site-search-close{width:44px;height:44px;flex:0 0 44px}
  .site-search-box{min-height:54px;gap:8px;padding:0 10px;border-radius:15px}
  .site-search-box svg{width:20px;height:20px}
  .site-search-box input{flex:1 1 auto;width:auto;min-width:0;font-size:16px}
  .site-search-submit{min-width:64px;height:40px;padding:0 12px}
  .site-search-tags{gap:8px;margin:12px 0 14px;font-size:14px}
  .site-search-tags>span{width:100%;font-size:14px}
  .site-search-tags button{padding:9px 12px;font-size:14px}
  .site-search-result{grid-template-columns:72px minmax(0,1fr);gap:10px;padding:9px}
  .site-search-result img{width:72px}
  .site-search-result b{font-size:15px}
  .site-search-result small{font-size:12px}

  /* Mobile content uses compact one-column cards instead of squeezed desktop grids. */
  .category-grid,.recommend-grid,.article-grid,.feature-band,.principle-grid,.numbers{grid-template-columns:1fr}
  .page-home .category-grid,.page-home .recommend-grid,.article-grid{gap:12px}
  .page-home .category-card{min-height:0;padding:18px;display:grid;grid-template-columns:48px minmax(0,1fr) 22px;grid-template-rows:auto auto;column-gap:13px;align-items:center}
  .page-home .category-card .symbol{grid-column:1;grid-row:1/3;width:48px;height:48px;margin:0}
  .page-home .category-card h3{grid-column:2;grid-row:1;margin:0 0 3px;font-size:18px}
  .page-home .category-card p{grid-column:2;grid-row:2;padding:0;font-size:15px;line-height:1.6}
  .page-home .category-card .arrow{position:static;grid-column:3;grid-row:1/3;align-self:center;font-size:20px}

  .page-home .recommend-card{min-height:108px;display:grid;grid-template-columns:126px minmax(0,1fr);align-items:stretch;border-radius:17px}
  .page-home .recommend-card img{width:126px;height:100%;min-height:108px;aspect-ratio:auto;object-fit:cover}
  .page-home .recommend-card .rc-body{align-self:center;padding:13px 14px}
  .page-home .recommend-card h3{font-size:17px;line-height:1.4}
  .page-home .recommendation-section .recommend-card span{min-height:0;font-size:14px;line-height:1.5}
  .recommend-news-trigger{display:grid;height:auto}
  .recommend-news-trigger .rc-body{padding-right:12px}
  .recommend-news-options,.recommend-news-menu.opens-left .recommend-news-options{margin-top:8px;gap:8px}
  .recommend-news-option{min-height:58px}

  .article-card{min-height:150px;display:grid;grid-template-columns:118px minmax(0,1fr);border-radius:17px}
  .article-card>img{width:118px;height:100%;min-height:150px;aspect-ratio:auto;object-fit:cover}
  .article-card-body{min-width:0;padding:14px}
  .article-card .meta{font-size:12px}
  .article-card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:5px 0;font-size:16px;line-height:1.45}
  .article-card p{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;line-clamp:2;min-height:0!important;margin:0 0 8px;font-size:14px!important;line-height:1.55!important}
  .article-card .more{font-size:13px}

  /* Reading pages keep a stable, legible text rhythm. */
  .page-hero{padding:28px 0 14px}
  .page-hero-card{padding:23px 20px;border-radius:20px;gap:20px}
  .page-title{font-size:34px!important;line-height:1.2}
  .article-main{padding:20px 16px;border-radius:18px}
  .article-main h1{font-size:29px;line-height:1.35;margin-top:9px}
  .article-meta{gap:8px 12px;margin-bottom:20px;font-size:13px;line-height:1.55}
  .article-cover{margin-bottom:22px;border-radius:14px}
  .article-content{font-size:17px;line-height:1.85}
  .article-content h2{font-size:24px;line-height:1.45;margin-top:34px}
  .article-content h3{font-size:20px;line-height:1.5}
  .article-content table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;font-size:14px}
  .article-content th,.article-content td{min-width:112px;padding:9px 10px}
  .article-flex-panel,.article-category-explore{padding:18px 15px;border-radius:17px}
  .page-faq .faq-q{min-height:54px;padding:16px;font-size:17px}
  .page-faq .faq-a{padding:0 16px 18px;font-size:16px}

  .footer-main{grid-template-columns:1fr}
  .footer-brand{grid-column:auto}
  .footer-col{padding-top:15px;border-top:1px solid rgba(255,255,255,.1)}

  /* Touch replacement for the desktop radial/hover-only utility menu. */
  .site-utility-rail,.site-utility-rail.is-draggable{
    left:auto!important;
    right:12px!important;
    top:auto!important;
    bottom:calc(14px + env(safe-area-inset-bottom))!important;
    width:calc(100vw - 24px);
    max-width:420px;
    height:222px;
    padding:8px 8px 82px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-auto-rows:60px;
    align-content:start;
    gap:8px;
    box-sizing:border-box;
    transform:none!important;
    pointer-events:none;
    transition:none;
  }
  .site-utility-rail::before{
    inset:0 0 76px;
    width:auto;
    height:auto;
    border:1px solid rgba(196,154,66,.68);
    border-radius:20px;
    background:rgba(255,250,240,.97);
    box-shadow:0 18px 42px rgba(6,40,32,.2);
    backdrop-filter:blur(12px);
    opacity:0;
    transform:translateY(8px) scale(.98);
    transition:opacity .18s ease,transform .2s ease;
  }
  .site-utility-rail.is-open::before{opacity:1;transform:none}
  .utility-launcher{position:absolute;inset:auto 0 0 auto;width:76px;height:76px;pointer-events:auto;touch-action:manipulation}
  .utility-launcher-glow{width:92px;height:92px}
  .utility-launcher::after{
    content:"網站工具";
    display:block!important;
    right:calc(100% + 7px);
    left:auto;
    top:50%;
    bottom:auto;
    padding:7px 9px;
    opacity:1;
    visibility:visible;
    transform:translateY(-50%);
    transition:none;
    font-size:11px;
    background:rgba(255,252,245,.97);
  }
  .site-utility-rail.is-open .utility-launcher::after{content:"收起工具";transform:translateY(-50%)}
  .utility-action{
    position:relative;
    left:auto;
    top:auto;
    z-index:2;
    width:100%;
    height:60px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    border-radius:14px;
    opacity:0;
    pointer-events:none;
    transform:translateY(8px) scale(.97)!important;
    transition:opacity .16s ease,transform .2s ease,background-color .18s ease,border-color .18s ease;
  }
  .site-utility-rail.is-open .utility-action{opacity:1;pointer-events:auto;transform:none!important}
  .utility-action:hover,.utility-action:focus-visible{transform:none!important;background:#fffdf8;border-color:#c58e25}
  .utility-action img{width:22px;height:22px}
  .utility-action::after{
    content:attr(data-tooltip);
    display:block!important;
    position:static;
    padding:2px 0 0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    color:#163f35;
    font-size:10px;
    font-weight:800;
    line-height:1.1;
    max-width:100%;
    white-space:normal;
    text-align:center;
    opacity:1;
    visibility:visible;
    transform:none!important;
    transition:none;
  }
  .utility-action.utility-search::after{position:static;inset:auto;transform:none!important}
  .utility-top-button{left:12px;right:auto;bottom:calc(16px + env(safe-area-inset-bottom));width:46px;height:46px}
}

@media(max-width:380px){
  .site-header .header-inner{width:min(100% - 14px,var(--max));gap:6px}
  .site-header .brand{gap:5px}
  .site-header .brand img{width:36px;height:36px;flex-basis:36px}
  .site-header .brand-text{font-size:18px}
  .site-header .site-search-btn,.mobile-toggle{width:42px;min-width:42px;height:42px;flex-basis:42px}
  .page-home .recommend-card{grid-template-columns:112px minmax(0,1fr)}
  .page-home .recommend-card img{width:112px}
  .article-card{grid-template-columns:104px minmax(0,1fr)}
  .article-card>img{width:104px}
  .site-utility-rail,.site-utility-rail.is-draggable{right:8px!important;width:calc(100vw - 16px);grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding-inline:6px}
  .utility-action::after{font-size:9px}
}

/* ========================================================================== 
   v6.3.5 — phone layout cleanup and touch-device utility menu
   ========================================================================== */

@media(max-width:680px){
  /* Keep the phone header to logo + actions; the link remains accessible. */
  .site-header .brand{flex:0 0 38px;width:38px;min-width:38px;overflow:visible}
  .site-header .brand-text{display:none!important}
  .site-header .header-actions{flex:1 1 auto;justify-content:flex-end;min-width:0}

  /* Show complete banner artwork instead of cropping the sides. */
  .home-carousel-track{aspect-ratio:16/5.2;background:#f7f2e8}
  .home-carousel-slide img{object-fit:contain}

  /* Mobile cards display full 16:9 artwork. */
  .page-home .recommend-card img{object-fit:contain;background:#f5f1e8}
  .article-card{display:grid;grid-template-columns:1fr;min-height:0}
  .article-card>img{width:100%;height:auto;min-height:0;aspect-ratio:16/9;object-fit:contain;background:#f5f1e8}
  .article-card-body{padding:15px 16px 17px}
  .article-cover{height:auto;aspect-ratio:auto;object-fit:contain}
  .article-content img{height:auto!important;object-fit:contain}

  /* START HERE keeps the learning route but removes the linked character art. */
  .page-home .starter{min-height:0;padding:28px 20px;border-radius:22px}
  .page-home .starter h2{font-size:28px;line-height:1.3;margin:7px 0 8px}
  .page-home .starter p{margin:0;font-size:15px;line-height:1.7}
  .page-home .starter .step-grid{gap:9px;margin-top:18px}
  .page-home .starter .step{padding:13px 14px}
  .page-home .starter-character-link{display:none!important}

  /* Compact the editorial card; its text link still reaches the authors page. */
  .page-home .author-teaser{display:block;min-height:0!important;padding:24px 20px!important}
  .page-home .author-teaser>div{padding:0}
  .page-home .author-teaser h2{font-size:28px;line-height:1.3;margin:7px 0 10px}
  .page-home .author-teaser p{max-width:none;margin:0 0 18px;font-size:15px;line-height:1.75}
  .page-home .author-teaser>div>.primary-btn{min-height:44px;padding:0 16px;font-size:14px}
  .page-home .author-teaser>a{display:none!important}

  /* Reduce excess phone whitespace without changing desktop sections. */
  .section{padding:36px 0}
  .section-head{gap:12px;margin-bottom:18px}

  /* Compact two-level footer. */
  .site-footer{margin-top:36px!important;padding:28px 0 18px!important}
  .site-footer .footer-main{grid-template-columns:1fr!important;gap:17px!important;row-gap:17px!important}
  .site-footer .footer-brand{grid-column:auto!important}
  .site-footer .footer-brand .brand{gap:8px}
  .site-footer .footer-brand .brand img{width:34px;height:34px}
  .site-footer .footer-brand .brand-text{display:inline!important;font-size:18px!important}
  .site-footer .footer-brand p{display:none}
  .site-footer .footer-col{padding-top:14px!important;border-top:1px solid rgba(226,201,143,.16)}
  .site-footer .footer-col:not(.footer-col-combined){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 16px}
  .site-footer .footer-col:not(.footer-col-combined)>h4{grid-column:1/-1}
  .site-footer .footer-col-combined{grid-column:1/-1;grid-template-columns:1fr 1fr!important;gap:20px!important;padding-top:14px!important}
  .site-footer .footer-col h4,.site-footer .footer-link-group h4{margin:0 0 7px!important;font-size:15px}
  .site-footer .footer-col a,.site-footer .footer-link-group a{padding:3px 0!important;font-size:14px;line-height:1.55!important}
  .site-footer .footer-bottom{justify-content:center;margin-top:18px!important;padding-top:13px!important;text-align:center}
  .site-footer .age-note{display:none}
}

/* Tablets and other non-hover devices use the labeled tap menu as well. */
@media (max-width:980px), (hover:none) and (pointer:coarse){
  .site-utility-rail,.site-utility-rail.is-draggable{
    left:auto!important;
    right:12px!important;
    top:auto!important;
    bottom:calc(14px + env(safe-area-inset-bottom))!important;
    width:calc(100vw - 24px);
    max-width:420px;
    height:222px;
    padding:8px 8px 82px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-auto-rows:60px;
    align-content:start;
    gap:8px;
    box-sizing:border-box;
    transform:none!important;
    pointer-events:none;
    transition:none;
  }
  .site-utility-rail::before{
    inset:0 0 76px;
    width:auto;
    height:auto;
    border:1px solid rgba(196,154,66,.68);
    border-radius:20px;
    background:rgba(255,250,240,.97);
    box-shadow:0 18px 42px rgba(6,40,32,.2);
    backdrop-filter:blur(12px);
    opacity:0;
    transform:translateY(8px) scale(.98);
    transition:opacity .18s ease,transform .2s ease;
  }
  .site-utility-rail.is-open::before{opacity:1;transform:none}
  .utility-launcher{position:absolute;inset:auto 0 0 auto;width:76px;height:76px;pointer-events:auto;touch-action:manipulation}
  .utility-launcher-glow{width:92px;height:92px}
  .utility-launcher::after{
    content:"網站工具";
    display:block!important;
    right:calc(100% + 7px);
    left:auto;
    top:50%;
    bottom:auto;
    padding:7px 9px;
    opacity:1;
    visibility:visible;
    transform:translateY(-50%);
    transition:none;
    font-size:11px;
    background:rgba(255,252,245,.97);
  }
  .site-utility-rail.is-open .utility-launcher::after{content:"收起工具";transform:translateY(-50%)}
  .utility-action{
    position:relative;
    left:auto;
    top:auto;
    z-index:2;
    width:100%;
    height:60px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    border-radius:14px;
    opacity:0;
    pointer-events:none;
    transform:translateY(8px) scale(.97)!important;
    transition:opacity .16s ease,transform .2s ease,background-color .18s ease,border-color .18s ease;
  }
  .site-utility-rail.is-open .utility-action{opacity:1;pointer-events:auto;transform:none!important}
  .utility-action:hover,.utility-action:focus-visible{transform:none!important;background:#fffdf8;border-color:#c58e25}
  .utility-action img{width:22px;height:22px}
  .utility-action::after{
    content:attr(data-tooltip);
    display:block!important;
    position:static;
    padding:2px 0 0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    color:#163f35;
    font-size:10px;
    font-weight:800;
    line-height:1.1;
    max-width:100%;
    white-space:normal;
    text-align:center;
    opacity:1;
    visibility:visible;
    transform:none!important;
    transition:none;
  }
  .utility-action.utility-search::after{position:static;inset:auto;transform:none!important}
  .utility-top-button{left:12px!important;right:auto!important;bottom:calc(16px + env(safe-area-inset-bottom))!important;width:46px;height:46px}
}

@media(max-width:380px){
  .site-footer .footer-col-combined{grid-template-columns:1fr 1fr!important;gap:14px!important}
}

/* ========================================================================== 
   v6.3.6 — tablet layout and three-line phone summaries
   Desktop remains unchanged above 980px.
   ========================================================================== */

@media (min-width:681px) and (max-width:980px){
  html{scroll-padding-top:82px}
  body{overflow-x:hidden}
  .container{width:min(100% - 32px,var(--max))}
  .section{padding:52px 0}
  .section-head{margin-bottom:22px}

  /* Use two comfortable tap columns instead of three compressed desktop cards. */
  .category-grid,.recommend-grid,.feature-band,.principle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-home .category-grid,.page-home .recommend-grid{gap:14px}
  .page-home .category-card{min-height:188px;padding:22px 20px}
  .page-home .category-card .symbol{margin-bottom:15px}

  .page-home .recommend-card{min-height:124px;display:grid;grid-template-columns:140px minmax(0,1fr);align-items:stretch}
  .page-home .recommend-card img{width:140px;height:100%;min-height:124px;aspect-ratio:auto;object-fit:cover}
  .page-home .recommend-card .rc-body{align-self:center;padding:16px}
  .page-home .recommend-card h3{font-size:18px;line-height:1.4}
  .page-home .recommendation-section .recommend-card span{font-size:14px;line-height:1.55}
  .page-home .recommend-news-trigger{display:grid;height:100%}

  /* The ranking and search panels need the full tablet width. */
  .page-home .info-grid{grid-template-columns:1fr;gap:16px}
  .page-home .info-grid>.panel{min-height:0}
  .page-home .popular-tag-list{grid-template-columns:repeat(3,minmax(0,1fr))}

  /* Keep the editorial copy and portrait together without squeezing either one. */
  .page-home .closing-grid{grid-template-columns:1fr;gap:16px}
  .page-home .author-teaser{grid-template-columns:minmax(0,1fr) 230px;min-height:382px;padding:34px 22px 30px 34px}
  .page-home .author-teaser h2{font-size:36px;line-height:1.2;margin:10px 0 16px}
  .page-home .author-teaser p{max-width:none;margin-bottom:22px;font-size:16px;line-height:1.85}
  .page-home .author-teaser img{right:2px;bottom:-5px;height:365px}
  .page-home .link-panel{padding:28px}

  /* A shorter, clearer footer for portrait tablets. */
  .site-footer{margin-top:48px!important;padding:40px 0 22px!important}
  .site-footer .footer-main{grid-template-columns:1fr 1fr!important;column-gap:30px!important;row-gap:22px!important}
  .site-footer .footer-brand{grid-column:1/-1!important}
  .site-footer .footer-brand p{max-width:none;margin-top:13px;line-height:1.8}
  .site-footer .footer-col-combined{grid-template-columns:1fr 1fr!important;gap:24px!important}
  .site-footer .footer-bottom{margin-top:26px!important;padding-top:16px!important}
}

@media (max-width:680px){
  /* Every article-card summary shows exactly three readable lines before ellipsis. */
  .article-card p,
  .home-latest-grid .article-card p,
  .page-category .article-card p{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    line-clamp:3!important;
    min-height:0!important;
    overflow:hidden!important;
  }
}

@media (hover:none) and (pointer:coarse){
  /* Touch screens get stable tap targets without hover-only movement. */
  .category-card:hover,.recommend-card:hover,.article-card:hover,.live-brand-card:hover,.external-link:hover,
  .primary-btn:hover,.outline-btn:hover{transform:none}
  .mobile-menu-links a{min-height:54px}
}

/* ========================================================================== 
   v6.4.3 — larger, direction-aware draggable desktop article table of contents
   ========================================================================== */

.article-toc-heading{scroll-margin-top:96px}
.article-toc-float{position:fixed;left:16px;top:118px;z-index:84;width:320px;color:var(--ink);font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,sans-serif}
.article-toc-panel{overflow:hidden;border:1px solid rgba(190,151,68,.66);border-radius:19px;background:rgba(255,253,248,.97);box-shadow:0 18px 44px rgba(6,40,32,.18);backdrop-filter:blur(13px)}
.article-toc-head{min-height:72px;padding:12px 11px 12px 15px;display:grid;grid-template-columns:24px minmax(0,1fr) 42px;align-items:center;gap:10px;border-bottom:1px solid #e8dfcd;background:linear-gradient(135deg,#fffaf0,#f2ead9);cursor:grab;touch-action:none;user-select:none}
.article-toc-float.is-docked-right .article-toc-head{grid-template-columns:42px minmax(0,1fr) 24px;padding:12px 15px 12px 11px}
.article-toc-float.is-docked-right .article-toc-toggle{grid-column:1;grid-row:1}
.article-toc-float.is-docked-right .article-toc-title{grid-column:2;grid-row:1}
.article-toc-float.is-docked-right .article-toc-grip{grid-column:3;grid-row:1}
.article-toc-float.is-dragging .article-toc-head,.article-toc-float.is-dragging .article-toc-rail{cursor:grabbing}
.article-toc-grip{width:18px;display:grid;grid-template-columns:repeat(2,5px);gap:3px;justify-content:center}
.article-toc-grip i{width:5px;height:5px;border-radius:50%;background:#b3842c}
.article-toc-title{display:grid;gap:1px;line-height:1.2}
.article-toc-title small{color:#a16d17;font-size:9px;font-weight:900;letter-spacing:.16em}
.article-toc-title strong{color:var(--green-950);font-size:18px;font-weight:900}
.article-toc-toggle{width:42px;height:42px;padding:0;display:grid;place-items:center;border:1px solid #d9c8a4;border-radius:13px;background:#fffdf8;color:var(--green-800);cursor:pointer}
.article-toc-toggle:hover,.article-toc-toggle:focus-visible{border-color:#c79838;background:#f5ecda;outline:none}
.article-toc-toggle svg{width:19px;height:19px;transition:transform .18s ease}
.article-toc-float.is-docked-right .article-toc-toggle svg{transform:rotate(180deg)}
.article-toc-list{max-height:min(62vh,610px);padding:12px 10px;display:grid;gap:5px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c7a45d transparent}
.article-toc-link{min-width:0;padding:11px 10px;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:9px;border:1px solid transparent;border-radius:12px;color:#4f5e57;font-size:15px;line-height:1.55;transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}
.article-toc-link.is-level-3{padding-left:20px;font-size:14px;color:#6a756f}
.article-toc-link:hover,.article-toc-link:focus-visible{border-color:#e1d1ad;background:#faf4e8;color:var(--green-900);outline:none;transform:translateX(2px)}
.article-toc-float.is-docked-right .article-toc-link:hover,.article-toc-float.is-docked-right .article-toc-link:focus-visible{transform:translateX(-2px)}
.article-toc-link.is-active{border-color:#cba85f;background:#eaf1ed;color:var(--green-900);font-weight:850}
.article-toc-no{min-width:36px;height:28px;padding:0 6px;display:grid;place-items:center;border:1px solid #d8ba78;border-radius:999px;background:#fffaf0;color:#93671c;font-size:12px;font-weight:900;line-height:1;white-space:nowrap}
.article-toc-link.is-active .article-toc-no{border-color:var(--green-800);background:var(--green-800);color:#f3d995}
.article-toc-text{min-width:0;overflow-wrap:anywhere}
.article-toc-drag-note{padding:9px 12px 11px;border-top:1px solid #eee6d8;color:#7d8782;font-size:12px;text-align:center;letter-spacing:.04em}
.article-toc-rail{display:none;width:52px;height:148px;padding:11px 0;align-items:center;justify-content:center;gap:10px;border:1px solid #c49a44;border-radius:0 16px 16px 0;background:linear-gradient(180deg,#0d5142,#07382f);color:#fff5d8;box-shadow:0 13px 28px rgba(6,40,32,.2);font:900 15px/1.15 "Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;letter-spacing:.14em;writing-mode:vertical-rl;cursor:grab;touch-action:none;user-select:none}
.article-toc-float.is-docked-right .article-toc-rail{border-radius:16px 0 0 16px}
.article-toc-rail-line{width:3px;height:22px;border-radius:999px;background:#e0bd70}
.article-toc-float.is-collapsed{width:52px}
.article-toc-float.is-collapsed .article-toc-panel{display:none}
.article-toc-float.is-collapsed .article-toc-rail{display:flex}
.article-toc-float.is-dragging{transition:none!important}
@media(max-width:1100px){.article-toc-float{display:none!important}}
@media(prefers-reduced-motion:reduce){.article-toc-link{transition:none}}

/* ========================================================================== 
   v6.4.3 — related-article preview for mouse and touch readers
   ========================================================================== */

.article-side .side-card h3{font-size:21px;line-height:1.4}
.side-card .related-grid{gap:10px}
.side-card .related-grid .related-mini{position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;box-sizing:border-box;width:100%;margin:0;padding:0!important;border:1px solid var(--line)!important;border-radius:13px;background:var(--paper);overflow:visible;text-decoration:none}
.side-card .related-grid .related-mini-link{min-width:0;margin:0;padding:13px 4px 13px 14px;border:0!important;color:var(--ink);text-decoration:none}
.side-card .related-grid .related-mini b{font-size:15px;line-height:1.6}
.related-preview-toggle{display:none;width:38px;height:38px;margin-right:4px;padding:0;place-items:center;border:1px solid #d7c49b;border-radius:11px;background:#fffaf0;color:var(--green-800);cursor:pointer}
.related-preview-toggle svg{width:21px;height:21px}
.related-preview-toggle[aria-expanded="true"]{border-color:#bd9240;background:var(--green-800);color:#f7dfaa}
.side-card .related-grid .related-mini:hover .related-hover-preview,.side-card .related-grid .related-mini:focus-within .related-hover-preview{opacity:1;visibility:visible;transform:translateX(0)}

@media(max-width:680px),(hover:none) and (pointer:coarse){
  .side-card .related-grid .related-mini{grid-template-columns:minmax(0,1fr) 42px}
  .related-preview-toggle{display:grid}
  .side-card .related-grid .related-mini:hover .related-hover-preview,.side-card .related-grid .related-mini:focus-within .related-hover-preview{opacity:0;visibility:hidden}
  .side-card .related-grid .related-mini.is-preview-open{padding-bottom:12px!important;background:#fffdf8;box-shadow:0 8px 20px rgba(24,45,37,.07)}
  .side-card .related-grid .related-mini.is-preview-open .related-hover-preview{position:static;grid-column:1/-1;width:auto;margin:0 12px;padding:11px;display:grid;grid-template-columns:104px minmax(0,1fr);gap:10px;border-radius:12px;opacity:1;visibility:visible;transform:none;pointer-events:none;box-shadow:none}
  .side-card .related-grid .related-mini.is-preview-open .related-hover-preview img{width:104px;border-radius:8px}
  .side-card .related-grid .related-mini.is-preview-open .related-hover-preview strong{font-size:15px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
  .side-card .related-grid .related-mini.is-preview-open .related-hover-preview em{font-size:14px;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
}
