/*
Theme Name: 香港現金網 Black Gold
Theme URI: https://example.org/
Author: HK Cash Design
Description: 可持續手動優化的黑金主題。參考體育資訊門戶內容分區，支持自定義器、區塊編輯器、選單、文章與分類。
Version: 23.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hkcash
*/
:root{--bg:#080a0d;--surface:#14171c;--surface2:#1b2027;--gold:#d6b679;--gold2:#f0d7a1;--text:#f3f0e9;--muted:#a6a7aa;--line:#343239;--max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.75 system-ui,-apple-system,'Noto Sans TC','Microsoft JhengHei',sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--gold2)}img{max-width:100%;height:auto}button,input{font:inherit}.wrap{width:min(calc(100% - 40px),var(--max));margin:auto}.topline{background:#060608;border-bottom:1px solid #28252a;color:#b7a788;font-size:12px;padding:6px 0}.site-header{background:rgba(11,12,15,.97);position:sticky;top:0;z-index:30;border-bottom:1px solid #403526;backdrop-filter:blur(15px)}.header-inner{min-height:78px;display:flex;align-items:center;gap:35px}.brand{display:flex;align-items:center;gap:12px;margin-right:auto;font-size:25px;font-weight:850;letter-spacing:2px;color:var(--gold2)}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--gold);border-radius:10px;color:var(--gold);font-size:25px}.brand small{display:block;color:#968971;font-size:10px;letter-spacing:3px;font-weight:500;line-height:1.2}.menu{display:flex;gap:24px;list-style:none;margin:0;padding:0;font-size:14px}.menu a{transition:color .2s}.menu-toggle{display:none;border:1px solid var(--line);background:#181818;color:var(--gold);padding:7px 12px;border-radius:6px}.btn{display:inline-block;padding:12px 24px;border:1px solid var(--gold);border-radius:5px;background:linear-gradient(135deg,#f2d59d,#b58b49);color:#17130e;font-weight:750;transition:transform .2s,box-shadow .2s}.btn:hover{color:#17130e;transform:translateY(-2px);box-shadow:0 10px 28px #c9a15e33}.btn.outline{background:transparent;color:var(--gold2)}.hero{position:relative;overflow:hidden;border-bottom:1px solid #322b22;background:radial-gradient(ellipse at 80% 40%,#44351e 0%,transparent 45%),linear-gradient(130deg,#10131a,#08090d 70%)}.hero:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(120deg,transparent 0 110px,#ffffff05 111px 112px);pointer-events:none}.hero-inner{min-height:480px;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:60px;padding:65px 0;position:relative}.eyebrow{color:var(--gold);letter-spacing:4px;font-size:12px;font-weight:750}.hero h1{font-size:clamp(35px,5vw,64px);line-height:1.2;margin:18px 0 22px;letter-spacing:2px}.hero p{color:#c2c0bb;max-width:650px}.hero-art{border:1px solid #7c6238;border-radius:20px;min-height:290px;background:radial-gradient(circle at 50% 50%,#7e623844,transparent 60%),linear-gradient(145deg,#27231f,#0b0c0e);display:grid;place-items:center;box-shadow:0 25px 80px #0008;position:relative}.hero-art:after{content:'✦';position:absolute;top:15px;right:25px;color:var(--gold);font-size:36px}.hero-art .seal{font-size:clamp(48px,6vw,90px);font-weight:900;line-height:1.1;letter-spacing:8px;color:var(--gold2);text-align:center;text-shadow:0 5px 35px #d3a45d66}.hero-art small{display:block;font-size:13px;letter-spacing:5px;color:#c6b48c;margin-top:12px}.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:-26px;position:relative;z-index:2}.quick-card,.card,.faq details,.post-card{background:linear-gradient(145deg,#1b1d22,#111318);border:1px solid var(--line);border-radius:12px}.quick-card{padding:22px;min-height:135px}.quick-card b{display:block;font-size:19px;color:var(--gold2)}.quick-card p{font-size:13px;color:var(--muted);margin:6px 0 0}.section{padding:76px 0}.section.alt{background:#101217;border-block:1px solid #24252a}.section-head{text-align:center;margin-bottom:35px}.section-head h2{font-size:clamp(27px,3vw,38px);margin:8px 0 6px}.section-head p{color:var(--muted);margin:0}.line{height:2px;width:60px;margin:16px auto;background:linear-gradient(90deg,transparent,var(--gold),transparent)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.card{padding:26px;transition:transform .25s,border-color .25s}.card:hover,.post-card:hover{transform:translateY(-4px);border-color:#927544}.card .icon{font-size:32px;color:var(--gold)}.card h3{margin:10px 0;font-size:20px}.card p,.muted{color:var(--muted)}.card p{font-size:14px}.split{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.feature-panel{background:linear-gradient(130deg,#211c17,#12151a);border:1px solid #695334;border-radius:16px;padding:45px}.feature-panel .big{font-size:90px;color:var(--gold);line-height:1.4}.feature-panel p{color:#d4c7b1}.faq{max-width:900px;margin:auto}.faq details{margin-bottom:12px;padding:18px 22px}.faq summary{cursor:pointer;font-weight:650}.faq details p{color:var(--muted);margin-bottom:0}.post-card{overflow:hidden;transition:.2s}.post-thumb{height:160px;background:linear-gradient(135deg,#3c3022,#15171c);display:grid;place-items:center;color:#d9b979;font-size:40px}.post-card .body{padding:21px}.post-card h3{font-size:18px;margin:0 0 8px}.post-card p{font-size:14px;color:var(--muted)}.meta{color:var(--gold);font-size:12px;letter-spacing:1px}.footer{background:#08090b;border-top:1px solid #443721;padding:50px 0 22px;color:#aaa}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer h3{color:var(--gold2)}.footer ul{padding:0;list-style:none}.footer li{margin:8px 0}.copyright{border-top:1px solid #28282a;margin-top:35px;padding-top:18px;font-size:12px}.page-shell{padding:65px 0;min-height:60vh}.page-title{font-size:clamp(30px,4vw,44px);margin:0 0 18px}.article{max-width:850px;margin:auto}.article .content{font-size:17px;line-height:2;color:#dedede}.article .content h2,.article .content h3{color:var(--gold2)}.article .content a{color:var(--gold)}.breadcrumbs{font-size:13px;color:#a6a1a0;margin-bottom:20px}.pagination{margin:30px 0}.pagination a,.pagination span{display:inline-block;padding:6px 12px;border:1px solid var(--line);margin:3px}.search-form{display:flex;gap:8px}.search-form input{min-width:0;flex:1;padding:12px;background:#171a1e;border:1px solid #51442e;color:#fff;border-radius:5px}.search-form button{cursor:pointer}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:10px;top:10px;z-index:999}.wp-block-image img{border-radius:10px}body.custom-background{background-color:var(--bg)}@media(max-width:850px){.header-inner{flex-wrap:wrap;gap:10px;padding:12px 0}.menu-toggle{display:block}.site-header nav{display:none;width:100%;order:3}.site-header nav.open{display:block}.menu{display:block;padding:10px 0}.menu li{padding:9px 0;border-bottom:1px solid #292929}.hero-inner,.split{grid-template-columns:1fr;gap:20px}.hero-inner{padding:60px 0}.hero-art{min-height:230px}.quick{grid-template-columns:repeat(2,1fr)}.grid,.grid.four{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.wrap{width:min(calc(100% - 28px),var(--max))}.grid,.grid.four,.quick,.footer-grid{grid-template-columns:1fr}.section{padding:48px 0}.hero h1{font-size:37px}.hero-inner{padding:45px 0}.quick{margin-top:15px}.feature-panel{padding:25px}.brand{font-size:19px}.brand-mark{width:38px;height:38px}.header-cta{display:none}}

/* V4: editable visual topic pages and internal linking */
.v4-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.v4-topic{display:block;background:#15171c;border:1px solid #3a3329;border-radius:15px;overflow:hidden;text-decoration:none;color:#f1e5d2;transition:transform .2s,border-color .2s}.v4-topic:hover{transform:translateY(-5px);border-color:var(--gold)}.v4-topic img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.v4-topic h3,.v4-topic span{margin:12px 20px;display:block}.v4-topic span,.v4-extra a{color:var(--gold)}.v4-extra{text-align:center;margin-top:28px}.v4-related{max-width:1160px;margin:55px auto;padding:25px}.v4-related h2{color:var(--gold)}.v4-links{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.v4-links a{padding:15px 20px;border:1px solid #3b352c;border-radius:10px;color:#f2e7d6;text-decoration:none}.v4-links a:hover{border-color:var(--gold)}.v4-links span{float:right;color:var(--gold)}.v4-feature{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:12px}.v4-crumb{font-size:14px;color:#aaa;margin:18px 0}@media(max-width:800px){.v4-topic-grid{grid-template-columns:repeat(2,1fr)}.v4-links{grid-template-columns:1fr}}@media(max-width:520px){.v4-topic-grid{grid-template-columns:1fr}}

/* V5: login entry, existing grid/layout preserved */
.header-login{white-space:nowrap;padding:9px 15px;font-size:13px}.header-inner{gap:16px}.site-header .menu{gap:13px;flex-wrap:wrap}.v4-topic img{object-fit:cover}@media(max-width:850px){.header-login{margin-left:auto}.header-cta{display:none}}

/* V6 premium keyword imagery; retains existing grid dimensions */
.hkc-category-photo{margin:-26px -26px 20px;overflow:hidden;border-radius:11px 11px 0 0;position:relative;background:#17120c}
.hkc-category-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(8,8,9,.58));pointer-events:none}
.hkc-category-photo img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .55s ease,filter .55s ease;filter:saturate(.88)}
.card:hover .hkc-category-photo img{transform:scale(1.045);filter:saturate(1.1)}
.header-login{order:10;flex-shrink:0}.header-cta{order:9}
@media(max-width:850px){.header-login{order:2}.header-cta{display:none}}

/* V7 refined single-row desktop navigation */
@media(min-width:1101px){.header-inner{gap:18px;min-height:76px}.brand{flex:0 0 auto;font-size:21px;margin-right:auto}.site-header nav{min-width:0}.site-header .menu{display:flex;flex-wrap:nowrap;align-items:center;gap:5px}.site-header .menu>li{flex:none}.site-header .menu>li>a{display:block;padding:9px 10px;border-radius:7px;white-space:nowrap;font-size:13px;font-weight:600;color:#d8d2c8}.site-header .menu>li>a:hover,.site-header .current-menu-item>a{background:#cba86719;color:#f1d39b}.header-login{padding:9px 17px;border-radius:8px}}
@media(min-width:851px) and (max-width:1100px){.header-inner{flex-wrap:wrap;gap:12px;padding:12px 0}.brand{margin-right:auto}.site-header nav{order:4;width:100%}.site-header .menu{justify-content:center;flex-wrap:wrap;gap:8px}.site-header .menu a{display:block;padding:6px 9px}.header-login{order:2}}
.hkc-editorial-intro{max-width:870px;margin:0 auto 32px;text-align:center;color:#c8c0b2;font-size:16px;line-height:1.95}.hkc-feature-articles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hkc-feature-article{display:block;background:#15181d;border:1px solid #40382d;border-radius:13px;overflow:hidden;transition:transform .2s,border-color .2s}.hkc-feature-article:hover{transform:translateY(-4px);border-color:#caa25b}.hkc-feature-article img{width:100%;height:170px;object-fit:cover;display:block}.hkc-feature-article .inside{padding:21px}.hkc-feature-article h3{color:#f1dfbd;font-size:18px;margin:0 0 10px}.hkc-feature-article p{font-size:14px;color:#aaa;line-height:1.8;margin:0 0 12px}.hkc-feature-article span{color:#d6b679;font-size:13px}.hkc-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.hkc-trust>div{padding:26px;border:1px solid #45382a;background:#17191d;border-radius:12px}.hkc-trust h3{color:#e5c58b}.hkc-trust p{color:#b9b5ad}.article .content h2{margin-top:1.7em}.article .content ul{padding-left:1.5em}.article .content p{margin-bottom:1.2em}@media(max-width:800px){.hkc-feature-articles,.hkc-trust{grid-template-columns:1fr 1fr}}@media(max-width:560px){.hkc-feature-articles,.hkc-trust{grid-template-columns:1fr}}

/* V8: editorial cards: consistent aspect ratio, predictable heights and responsive grid */
#featured-guides .wrap{max-width:1180px}
.hkc-feature-articles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.hkc-feature-article{display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);min-width:0;min-height:245px;overflow:hidden;background:linear-gradient(140deg,#1d1b1a,#111419);border:1px solid #51412d;border-radius:16px}
.hkc-feature-article .hkc-article-media{height:100%;min-height:245px;overflow:hidden;background:#18140f}
.hkc-feature-article .hkc-article-media img{display:block;width:100%;height:100%;min-height:245px;object-fit:cover;object-position:center;transition:transform .35s ease}
.hkc-feature-article:hover .hkc-article-media img{transform:scale(1.035)}
.hkc-feature-article .inside{min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:24px 22px}
.hkc-feature-article .hkc-article-label{font-size:11px;letter-spacing:1.6px;color:#e4c287;border:1px solid #695333;border-radius:30px;padding:3px 10px;margin-bottom:14px}
.hkc-feature-article h3{font-size:19px;line-height:1.48;overflow-wrap:anywhere;margin:0 0 12px}
.hkc-feature-article p{font-size:13px;line-height:1.8;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0 0 18px}
.hkc-feature-article .inside>span:last-child{margin-top:auto;color:#ebc88b;font-weight:650}
@media(max-width:1020px){.hkc-feature-articles{grid-template-columns:1fr 1fr}.hkc-feature-article{display:flex;flex-direction:column}.hkc-feature-article .hkc-article-media,.hkc-feature-article .hkc-article-media img{height:210px;min-height:0}.hkc-feature-article .inside{flex:1}}
@media(max-width:620px){.hkc-feature-articles{grid-template-columns:minmax(0,1fr);gap:18px}.hkc-feature-article .hkc-article-media,.hkc-feature-article .hkc-article-media img{height:210px}.hkc-feature-article .inside{padding:21px}}

/* V9: focused information architecture, robust keyboard navigation, mobile polish */
:focus-visible{outline:3px solid var(--gold2);outline-offset:3px}
.site-header .menu a{line-height:1.35}
.hkc-feature-article:focus-visible,.v4-topic:focus-visible,.card:focus-visible{outline:3px solid var(--gold2);outline-offset:4px}
.hkc-feature-article .inside{justify-content:flex-start}
.hkc-feature-article h3{max-width:100%;text-wrap:pretty}
.hkc-feature-article p{overflow-wrap:anywhere}
.hkc-category-photo img,.hkc-article-media img{aspect-ratio:16/9}
.article .content{overflow-wrap:anywhere}
.article .content img{max-width:100%;height:auto}
.article .content table{display:block;max-width:100%;overflow-x:auto}
@media(min-width:851px) and (max-width:1180px){.brand{font-size:18px;letter-spacing:0}.site-header .menu>li>a{padding:7px 6px;font-size:12px}}
@media(max-width:850px){.site-header nav.open{max-height:70vh;overflow-y:auto}.header-inner{align-items:center}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* V10 branded visual assets */
.hkc-brand-logo{display:block;width:min(260px,32vw);height:auto;max-height:70px;object-fit:contain;object-position:left center}
.hero{background-image:linear-gradient(90deg,rgba(6,8,13,.94) 0%,rgba(7,9,14,.82) 53%,rgba(7,9,14,.6) 100%),url('assets/img/hong-kong-hero.webp');background-size:cover;background-position:center 55%}
.hero-art{background-size:cover!important;background-position:center!important}
.feature-panel{background-size:cover!important;background-position:center!important;min-height:340px;display:flex;flex-direction:column;justify-content:end;box-shadow:inset 0 -100px 100px rgba(0,0,0,.55)}
.hkc-about-banner{display:block;width:100%;aspect-ratio:16/8;object-fit:cover;border:1px solid #80643a;border-radius:16px;margin:0 0 26px}
@media(max-width:850px){.hkc-brand-logo{width:205px}.hero{background-position:65% center}}
@media(max-width:560px){.hkc-brand-logo{width:170px}.hero{background-position:65% center}}

/* V11: editorial brand campaign, integrated without altering the existing layout */
.hkc-brand-campaign{padding:28px 0 44px;background:linear-gradient(180deg,#090b10,#111016 55%,#080a0d);border-bottom:1px solid #483722}
.hkc-brand-campaign-frame{overflow:hidden;border:1px solid rgba(221,173,88,.58);border-radius:18px;background:#080a10;box-shadow:0 20px 60px rgba(0,0,0,.45),0 0 0 5px rgba(204,158,76,.055),inset 0 0 35px rgba(223,177,90,.08)}
.hkc-brand-campaign-frame img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:cover}
@media(max-width:650px){.hkc-brand-campaign{padding:15px 0 28px}.hkc-brand-campaign-frame{border-radius:11px}}

/* V12: homepage information architecture; inherited black-gold design */
.hkc-home-hub .hkc-info-card{min-height:215px}.hkc-info-card .icon{line-height:1.2}.hkc-disclosure{font-size:13px;color:var(--muted);text-align:center;margin:25px auto 0;max-width:850px}.hkc-guide-card{display:flex;flex-direction:column;align-items:flex-start}.hkc-guide-card .eyebrow{letter-spacing:2px;font-size:10px}.hkc-guide-card .meta{margin-top:auto;padding-top:12px}.hkc-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.hkc-steps>div{border:1px solid var(--line);border-radius:12px;padding:25px;background:linear-gradient(145deg,#1b1d22,#111318)}.hkc-steps span{font-size:27px;font-weight:800;color:var(--gold)}.hkc-steps h3{font-size:18px;margin:12px 0 6px}.hkc-steps p{color:var(--muted);font-size:14px;margin:0}.hkc-learning .card{min-height:215px}.hkc-home-hub .card,.hkc-learning .card{transition:transform .25s,border-color .25s}@media(max-width:850px){.hkc-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.hkc-steps{grid-template-columns:1fr}.hkc-home-hub .hkc-info-card,.hkc-learning .card{min-height:0}}

/* V13 香港繁體中文優先字形，保留 V12 黑金視覺 */
html,body,button,input,textarea,select{font-family:"Noto Sans HK","Noto Sans TC","PingFang HK","Microsoft JhengHei","Heiti TC",system-ui,sans-serif;}

/* HKCash V20 — cohesive original-site black/gold 3 × 3 ranking */
.hkc-ranking-section{padding:42px 0 56px;background:var(--bg);color:var(--text)}
.hkc-ranking-shell{padding:clamp(18px,3vw,36px);border:1px solid #77603e;border-radius:18px;background:linear-gradient(145deg,#181b20,#0e1116 58%,#15171c);box-shadow:0 20px 55px #0005,inset 0 1px #d6b67924}
.hkc-ranking-heading{text-align:center;margin:0 0 28px}.hkc-ranking-kicker{color:var(--gold);font-size:11px;letter-spacing:.23em;font-weight:700}.hkc-ranking-heading h2{color:var(--gold2);font-size:clamp(26px,3vw,38px);margin:9px 0 8px;letter-spacing:.04em}.hkc-ranking-heading p{color:var(--muted);font-size:14px;margin:0}
.hkc-ranking-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.hkc-rank-card{position:relative;min-width:0;aspect-ratio:1/1;display:flex;flex-direction:column;gap:10px;padding:22px 20px 18px;border:1px solid #6d5739;border-radius:14px;background:linear-gradient(150deg,#22252b 0%,#171a20 60%,#111419 100%);box-shadow:inset 0 1px #f0d7a116,0 8px 22px #0003;transition:transform .2s,border-color .2s,box-shadow .2s;overflow:hidden}
.hkc-rank-card:hover{transform:translateY(-3px);border-color:var(--gold);box-shadow:0 12px 26px #0006}
.hkc-rank-number{position:absolute;top:14px;left:14px;z-index:1;display:grid;place-items:center;width:40px;height:40px;border:1px solid #c8a365;border-radius:50%;background:#24211c;color:var(--gold2);font:700 21px Georgia,serif}
.hkc-rank-logo{display:flex;align-items:center;justify-content:center;width:72%;height:83px;margin:0 auto;flex-shrink:0;border:1px solid #57462f;border-radius:9px;background:#0c1016;overflow:hidden}
.hkc-rank-logo img{width:100%;height:100%;object-fit:contain;padding:7px}.hkc-rank-wordmark{color:var(--gold2);font:italic 700 clamp(17px,2.1vw,29px) Georgia,serif;text-align:center;overflow-wrap:anywhere}
.hkc-rank-info{display:flex;flex:1;min-height:0;flex-direction:column;gap:6px;text-align:center}.hkc-rank-info h3{color:#f3f0e9;font-size:clamp(18px,1.8vw,23px);margin:0}.hkc-rank-info p{color:#bfc0c3;font-size:13px;line-height:1.65;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.hkc-rank-badge{align-self:center;font-size:11px;color:var(--gold);letter-spacing:.05em}
.hkc-rank-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:auto}.hkc-rank-button{display:flex;align-items:center;justify-content:center;text-align:center;min-height:42px;padding:9px 5px;border:1px solid #bc975c;border-radius:8px;background:linear-gradient(110deg,#b58c4c,#e5c788,#b58c4c);color:#17120d!important;text-decoration:none!important;font-size:13px;font-weight:700;white-space:nowrap;transition:filter .2s,transform .2s}.hkc-rank-button:hover{filter:brightness(1.13);transform:translateY(-1px)}.hkc-rank-button.secondary{background:#1e222a;color:#e8d3aa!important;border-color:#79613d}.hkc-rank-button.disabled{opacity:.45;cursor:not-allowed;filter:none;transform:none}.hkc-ranking-disclosure{font-size:12px;color:var(--muted);text-align:center;line-height:1.7;margin:23px 0 0}
@media(max-width:980px){.hkc-ranking-list{gap:12px}.hkc-rank-card{aspect-ratio:auto;min-height:305px;padding:20px 12px 13px}.hkc-rank-logo{height:70px}.hkc-rank-number{width:32px;height:32px;font-size:18px;top:10px;left:10px}.hkc-rank-button{font-size:12px}}
@media(max-width:690px){.hkc-ranking-list{grid-template-columns:repeat(2,minmax(0,1fr))}.hkc-rank-card{min-height:305px}}
@media(max-width:440px){.hkc-ranking-list{grid-template-columns:1fr}.hkc-rank-card{aspect-ratio:1/1;min-height:0;padding:23px 20px 18px}.hkc-rank-logo{height:85px}.hkc-rank-button{font-size:13px}}

/* V22: match the user-approved HKCash cream/gold 3x3 card reference. */
.hkc-ranking-section{padding:38px 0 60px;background:linear-gradient(180deg,#0a1829,#0c1b2e);color:#151821}
.hkc-ranking-section .wrap{max-width:1500px}
.hkc-ranking-shell{padding:20px 18px 24px;border:2px solid #d9a63d;border-radius:26px;background:linear-gradient(135deg,#111d2d,#071423 65%,#0a1b2e);box-shadow:0 0 0 5px #d7a73a22,0 18px 48px #0008,inset 0 0 0 2px #f9d98055}
.hkc-ranking-heading{margin:0 0 23px;padding:8px 0 15px;text-align:center;border-bottom:1px solid #c99d4b44}
.hkc-ranking-kicker{font-size:12px;color:#f6d991;letter-spacing:.18em}
.hkc-ranking-heading h2{color:#f8d995;font-family:Georgia,'Noto Serif TC',serif;font-size:clamp(25px,3.4vw,43px);font-weight:800;text-shadow:0 2px 12px #0008;margin:7px 0}
.hkc-ranking-heading p{color:#e2e5ec;font-size:14px}
.hkc-ranking-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hkc-rank-card{aspect-ratio:1.12/1;min-height:0;padding:20px 18px 16px;gap:9px;border:2px solid #c99838;border-radius:21px;background:linear-gradient(140deg,#fff9e8 0%,#fffdf7 47%,#f4e4c4 100%);box-shadow:inset 0 0 0 3px #fff7dc,0 5px 0 #62400f,0 8px 15px #0009;transition:transform .2s,box-shadow .2s;overflow:hidden}
.hkc-rank-card:hover{border-color:#f2c55f;box-shadow:inset 0 0 0 3px #fff9e5,0 6px 0 #62400f,0 15px 25px #0009}
.hkc-rank-number{top:12px;left:12px;width:49px;height:49px;border:2px solid #b68125;background:radial-gradient(circle at 35% 25%,#fff9df,#f3c75d 70%,#ad7016);color:#23180b;font:700 29px Georgia,serif;box-shadow:0 3px 6px #7e4e2a66}
.hkc-rank-card:nth-child(2) .hkc-rank-number{background:linear-gradient(140deg,#fff,#a7b3c6);border-color:#8494a7}
.hkc-rank-card:nth-child(3) .hkc-rank-number{background:linear-gradient(140deg,#ffe5bf,#cc854c);border-color:#a86b34}
.hkc-rank-logo{width:52%;height:72px;margin:0 auto 0 60px;border:0;border-radius:8px;background:transparent;overflow:hidden}
.hkc-rank-logo img{width:100%;height:100%;padding:0;object-fit:contain;border-radius:7px}
.hkc-rank-wordmark{color:#2b1b16;font-size:22px}
.hkc-rank-info{gap:8px;flex:1;text-align:left;min-height:0}
.hkc-rank-info h3{color:#111927;font-size:clamp(19px,2vw,26px);font-weight:800;line-height:1.2;text-align:center;margin:0}
.hkc-rank-info p{color:#25272b;font-size:clamp(12px,1vw,14px);font-weight:550;line-height:1.6;-webkit-line-clamp:3;min-height:0}
.hkc-rank-badge{align-self:center;background:#fff0c9;border:1px solid #d5ab62;border-radius:30px;padding:2px 12px;color:#6c4b14;font-size:12px}
.hkc-rank-actions{grid-template-columns:1fr 1fr;gap:12px;margin-top:auto}
.hkc-rank-button{min-height:42px;border:1px solid #bd8b2b;border-radius:11px;background:linear-gradient(180deg,#fff0ba,#f7ca58 70%,#d99a23);color:#17130d!important;font-size:15px;box-shadow:0 3px 5px #0002}
.hkc-rank-button.secondary{background:linear-gradient(180deg,#35445a,#0d1c2c 75%);border-color:#29384b;color:#fff!important}
.hkc-rank-button.disabled{opacity:.65;cursor:not-allowed}
.hkc-ranking-disclosure{color:#bfc5d0;font-size:11px}
@media(max-width:1100px){.hkc-rank-card{aspect-ratio:auto;min-height:315px}.hkc-rank-logo{margin-left:50px;width:65%}.hkc-rank-card{padding:16px 12px}.hkc-rank-button{font-size:13px}}
@media(max-width:740px){.hkc-ranking-list{grid-template-columns:repeat(2,minmax(0,1fr))}.hkc-rank-card{min-height:300px}.hkc-ranking-shell{padding:14px 11px}}
@media(max-width:490px){.hkc-ranking-list{grid-template-columns:1fr}.hkc-rank-card{aspect-ratio:1.12/1;min-height:0;padding:20px 20px 17px}.hkc-rank-logo{height:76px;width:58%;margin-left:65px}.hkc-rank-button{font-size:15px}}

/* V23 | Modern luxury dark glass ranking: visual-only refresh of approved 3x3. */
.hkc-ranking-section{background:radial-gradient(ellipse at 50% 0%,#142a45 0%,#081527 54%,#06101d 100%);padding:44px 0 68px}
.hkc-ranking-section .wrap{max-width:1500px}
.hkc-ranking-shell{position:relative;overflow:hidden;padding:27px 25px 30px;border:1px solid #c59b59;border-radius:25px;background:linear-gradient(125deg,#0d2036 0%,#081626 55%,#10233b 100%);box-shadow:0 0 0 4px #d8ac5a12,0 28px 60px #0009,inset 0 1px #f7dca060}
.hkc-ranking-shell:before{content:"";pointer-events:none;position:absolute;inset:0;background:radial-gradient(ellipse at 50% -35%,#c6a06220,transparent 60%)}
.hkc-ranking-heading{position:relative;border-bottom:1px solid #cba65c4a;margin-bottom:23px;padding:8px 0 20px}
.hkc-ranking-heading h2{color:#f4dcaa;font-family:Georgia,'Noto Serif TC',serif;font-size:clamp(25px,3.3vw,43px);letter-spacing:.05em;text-shadow:0 2px 15px #0008}
.hkc-ranking-heading p{color:#cbd5e1}.hkc-ranking-kicker{color:#d5b77d;letter-spacing:.2em}
.hkc-ranking-list{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.hkc-rank-card{position:relative;isolation:isolate;aspect-ratio:1.12/1;min-height:0;display:flex;flex-direction:column;gap:10px;padding:23px 20px 18px;border:1px solid #ae8952;border-radius:19px;background:linear-gradient(145deg,#1b3048 0%,#0b192b 48%,#101d30 100%);box-shadow:inset 0 1px #f5d89960,inset 0 0 0 1px #fff2ca0a,0 12px 28px #0006;transition:transform .2s,border-color .2s,box-shadow .2s;overflow:hidden}
.hkc-rank-card:before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(circle at 85% 0%,#cba15822,transparent 50%),linear-gradient(135deg,#ffffff0b,transparent 40%)}
.hkc-rank-card:hover{transform:translateY(-4px);border-color:#e5c88a;box-shadow:inset 0 1px #fff4d080,0 20px 35px #0008}
.hkc-rank-number{position:absolute;top:14px;left:14px;width:51px;height:51px;display:grid;place-items:center;border:1px solid #d4b577;border-radius:13px;background:linear-gradient(145deg,#253952,#0a1729);color:#e8c886;font:600 27px Georgia,serif;box-shadow:inset 0 1px #ffffff35,0 5px 14px #0005;text-shadow:0 1px 2px #0006}
.hkc-rank-card:nth-child(1) .hkc-rank-number{border-color:#f4d995;background:linear-gradient(140deg,#f9e5b2,#bc8b41 75%,#8b5e29);color:#2b1c0d;box-shadow:inset 0 1px #fff9df,0 5px 18px #bb904a55}
.hkc-rank-card:nth-child(2) .hkc-rank-number{border-color:#c7d4e4;background:linear-gradient(140deg,#f4f7fc,#a1b1c8 80%);color:#1b2a3a}
.hkc-rank-card:nth-child(3) .hkc-rank-number{border-color:#e2a87a;background:linear-gradient(140deg,#f4d0ae,#b7784b 80%);color:#2d1b15}
.hkc-rank-logo{width:65%;height:82px;margin:0 auto 0 58px;border:0;background:transparent;border-radius:10px;flex-shrink:0}
.hkc-rank-logo img{width:100%;height:100%;object-fit:contain;padding:2px;filter:drop-shadow(0 5px 8px #0007)}
.hkc-rank-wordmark{color:#e9c77f;font-size:25px}
.hkc-rank-info{flex:1;min-height:0;gap:8px;text-align:center}
.hkc-rank-info h3{font-size:clamp(20px,2vw,26px);color:#fff3d6;letter-spacing:.02em}
.hkc-rank-info p{color:#d3dbe6;font-size:clamp(12px,1vw,14px);line-height:1.65;font-weight:400;-webkit-line-clamp:3}
.hkc-rank-badge{background:#d2a9601c;border:1px solid #d2a96060;border-radius:40px;padding:3px 12px;color:#e5ca91}
.hkc-rank-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:auto}
.hkc-rank-button{min-height:44px;border:1px solid #e6c681;border-radius:12px;background:linear-gradient(180deg,#f5dda4,#d5a554 68%,#b78338);color:#21180d!important;font-size:14px;font-weight:800;box-shadow:inset 0 1px #fff6d0,0 4px 12px #0005}
.hkc-rank-button.secondary{background:linear-gradient(180deg,#243b55,#101e31 70%);border:1px solid #b79b6c;color:#f3dfb4!important;box-shadow:inset 0 1px #ffffff25,0 4px 12px #0004}
.hkc-rank-button:hover{filter:brightness(1.08)}.hkc-rank-button.disabled{opacity:.55}
.hkc-ranking-disclosure{color:#b4c0cf}
@media(max-width:1100px){.hkc-rank-card{aspect-ratio:auto;min-height:330px;padding:19px 14px}.hkc-rank-logo{width:67%;margin-left:48px}.hkc-rank-button{font-size:13px}}
@media(max-width:740px){.hkc-ranking-list{grid-template-columns:repeat(2,minmax(0,1fr))}.hkc-ranking-shell{padding:15px 12px}.hkc-rank-card{min-height:325px}}
@media(max-width:490px){.hkc-ranking-list{grid-template-columns:1fr}.hkc-rank-card{aspect-ratio:1.12/1;min-height:0;padding:23px 20px 18px}.hkc-rank-logo{height:82px;width:66%;margin-left:58px}.hkc-rank-button{font-size:14px}}

/* V23.1: visible modern-luxury refinement; scoped to ranking and branding */
.site-header .brand .hkc-brand-logo{display:block;width:min(310px,32vw);height:auto;max-height:76px;object-fit:contain;filter:drop-shadow(0 3px 12px rgba(208,169,95,.22))}
.hkc-ranking-section{background:radial-gradient(ellipse at 70% 0%,#152a43 0%,#071322 57%,#070d17 100%)}
.hkc-ranking-shell{border:1px solid #b99b6b;border-radius:24px;background:linear-gradient(135deg,#0d1e32,#081523 60%,#0d1b2c);box-shadow:0 24px 65px #0008,inset 0 1px #eed4a04d}
.hkc-rank-card{border:1px solid #a68b60;border-radius:19px;background:linear-gradient(148deg,#1b2d44,#0b1728 54%,#0b1523);box-shadow:inset 0 1px #ffffff22,0 10px 25px #0006}
.hkc-rank-card:hover{border-color:#e5c78c;box-shadow:0 17px 40px #0009,inset 0 1px #f3e0ae44}
.hkc-rank-number{width:53px;height:53px;border-radius:50%;font:700 24px Georgia,serif;border:2px solid #c1a374;background:radial-gradient(circle at 30% 25%,#34445b,#0b1728 70%);color:#f0dba8;box-shadow:0 0 0 3px #0b1728,0 0 0 4px #b89b6477,0 7px 14px #0007}
.hkc-rank-card:nth-child(1) .hkc-rank-number{background:linear-gradient(145deg,#fff1c4,#d3a451 60%,#8e672e);border-color:#f3d99b;color:#2c1d0c}
.hkc-rank-card:nth-child(2) .hkc-rank-number{background:linear-gradient(145deg,#f9fcff,#b2c2d3 65%,#788da4);border-color:#dce6f0;color:#1c2939}
.hkc-rank-card:nth-child(3) .hkc-rank-number{background:linear-gradient(145deg,#ffe3c7,#c99167 65%,#865039);border-color:#e8b68d;color:#2c1b15}
.hkc-rank-logo{height:83px}.hkc-rank-logo img{object-fit:contain;filter:drop-shadow(0 6px 12px #0008)}
.hkc-rank-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}
.hkc-rank-button.disabled{cursor:not-allowed;pointer-events:none}
@media(max-width:740px){.site-header .brand .hkc-brand-logo{width:min(270px,62vw)}}


/* V23 reference-locked ranking: standalone live HTML, not a flattened image. */
.hkc-reference-ranking{background:radial-gradient(ellipse at 50% 0%,#152743 0%,#07111f 65%,#050b14 100%);padding:32px 0 62px;color:#f8ecd2}
.hkc-reference-ranking .wrap{max-width:1580px}
.hkc-reference-ranking .hkc-ranking-shell{padding:25px 22px 23px;border:1px solid #d3a95c;border-radius:24px;background:linear-gradient(140deg,#061323,#0b1727 52%,#07101e);box-shadow:0 0 0 3px #b98a3633,0 25px 55px #0009,inset 0 0 0 1px #ffe0a044;overflow:hidden}
.hkc-reference-ranking .hkc-ranking-heading{margin:0 0 21px;padding:6px 0 18px;text-align:center;border-bottom:1px solid #d6a75970}
.hkc-reference-ranking .hkc-ranking-heading h2{margin:3px 0 6px;font-family:Georgia,'Noto Serif TC',serif;font-weight:700;font-size:clamp(27px,3.5vw,49px);color:#f6d58e;letter-spacing:.06em;text-shadow:0 2px 1px #4c2e0c,0 8px 22px #000a}
.hkc-reference-ranking .hkc-ranking-heading h2:before,.hkc-reference-ranking .hkc-ranking-heading h2:after{content:'❧';display:inline-block;margin:0 16px;color:#d7b063;font-size:.7em}
.hkc-reference-ranking .hkc-ranking-heading p{color:#f3e4c7;font-size:14px;letter-spacing:.06em}
.hkc-reference-ranking .hkc-ranking-kicker{font-size:11px;color:#cba35b;letter-spacing:.34em}
.hkc-reference-ranking .hkc-ranking-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.hkc-reference-ranking .hkc-rank-card{position:relative;isolation:isolate;display:flex;flex-direction:column;aspect-ratio:1.62/1;min-height:268px;gap:9px;padding:17px 15px 13px;border:1px solid #d8ac66;border-radius:17px;background:radial-gradient(circle at 88% 92%,#c18c3226,transparent 38%),linear-gradient(145deg,#172b42 0%,#071321 54%,#111927 100%);box-shadow:inset 0 0 0 2px #e3ba6c32,inset 0 1px #ffe7ae9c,0 8px 16px #0009;overflow:hidden;transition:transform .2s,box-shadow .2s}
.hkc-reference-ranking .hkc-rank-card:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(118deg,transparent 45%,#d7a8520e 47%,transparent 49%),radial-gradient(ellipse at 5% 85%,#b67c3038,transparent 55%);pointer-events:none}
.hkc-reference-ranking .hkc-rank-card:nth-child(2),.hkc-reference-ranking .hkc-rank-card:nth-child(8){background:radial-gradient(circle at 92% 85%,#1b6eae39,transparent 45%),linear-gradient(145deg,#122e4b,#071221 65%,#0b1a2b)}
.hkc-reference-ranking .hkc-rank-card:nth-child(3),.hkc-reference-ranking .hkc-rank-card:nth-child(5){background:radial-gradient(circle at 92% 80%,#9e4c2d39,transparent 48%),linear-gradient(145deg,#281b1e,#0a1421 63%,#141b29)}
.hkc-reference-ranking .hkc-rank-card:hover{transform:translateY(-3px);box-shadow:inset 0 0 0 2px #e3ba6c66,0 14px 30px #000b}
.hkc-reference-ranking .hkc-rank-main{display:grid;grid-template-columns:65px minmax(95px,40%) minmax(0,1fr);align-items:start;gap:8px;min-height:0;flex:1}
.hkc-reference-ranking .hkc-rank-number{position:relative;top:auto;left:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:60px;height:75px;border:2px solid #d4a85d;border-radius:25px 25px 14px 14px;background:radial-gradient(ellipse at 45% 20%,#3c3a35,#0c111b 68%);color:#f9d68e;box-shadow:inset 0 0 0 2px #111923,inset 0 0 0 3px #ad8248,0 6px 12px #0009;text-shadow:0 2px 2px #000;line-height:1}
.hkc-reference-ranking .hkc-rank-number strong{font:700 28px Georgia,serif}
.hkc-reference-ranking .hkc-rank-number small{font:700 8px Arial,sans-serif;letter-spacing:.12em;margin-top:5px}
.hkc-reference-ranking .hkc-rank-crown{position:absolute;top:-14px;font-size:25px;color:#e7bb6a;text-shadow:0 1px 2px #000}
.hkc-reference-ranking .hkc-rank-card:nth-child(2) .hkc-rank-number{border-color:#c1d7ed;color:#e8f3ff;background:radial-gradient(ellipse at 45% 15%,#355d82,#081522 70%)}
.hkc-reference-ranking .hkc-rank-card:nth-child(3) .hkc-rank-number{border-color:#d8a47a;color:#f8d2a9;background:radial-gradient(ellipse at 45% 15%,#744b34,#141018 70%)}
.hkc-reference-ranking .hkc-rank-logo{display:flex;align-items:center;justify-content:center;width:100%;height:85px;margin:0;border:1px solid #b48a5155;border-radius:17px;background:radial-gradient(ellipse at center,#22324b88,#050c16 76%);box-shadow:inset 0 0 20px #0008;overflow:hidden}
.hkc-reference-ranking .hkc-rank-logo img{display:block;width:100%;height:100%;padding:4px;object-fit:contain;filter:drop-shadow(0 4px 7px #0009)}
.hkc-reference-ranking .hkc-rank-wordmark{font:italic 700 clamp(17px,2vw,28px) Georgia,serif;color:#f6d087}
.hkc-reference-ranking .hkc-rank-info{text-align:left;display:block;min-width:0;flex:auto}
.hkc-reference-ranking .hkc-rank-info h3{font-size:clamp(16px,1.55vw,23px);line-height:1.25;color:#fff;font-weight:800;margin:1px 0 9px}
.hkc-reference-ranking .hkc-rank-info p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;color:#e5e4e2;font-size:clamp(11px,.88vw,13px);line-height:1.65;margin:0}
.hkc-reference-ranking .hkc-rank-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:auto}
.hkc-reference-ranking .hkc-rank-features span{border:1px solid #b68e53;border-radius:100px;background:#060d18b5;color:#f1dba8;padding:5px 3px;text-align:center;font-size:clamp(10px,.8vw,12px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hkc-reference-ranking .hkc-rank-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:0}
.hkc-reference-ranking .hkc-rank-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;border-radius:30px;border:1px solid #ffe2a0;background:linear-gradient(180deg,#fff0c4 0%,#e4b967 51%,#ba8131 100%);color:#15130f!important;font-size:clamp(12px,1vw,15px);font-weight:800;text-decoration:none;box-shadow:inset 0 1px #fff8df,0 4px 10px #0009;cursor:pointer}
.hkc-reference-ranking .hkc-rank-button.secondary{border-color:#bd9558;background:linear-gradient(180deg,#192b3e,#050b13);color:#f5e7c6!important}
.hkc-reference-ranking .hkc-rank-button.disabled{cursor:not-allowed;pointer-events:none;opacity:.55;font-size:12px}
.hkc-reference-ranking .hkc-ranking-disclosure{margin:18px 4px 0;font-size:12px;color:#b9b7b1}
@media(max-width:1150px){.hkc-reference-ranking .hkc-rank-card{aspect-ratio:auto;min-height:300px}.hkc-reference-ranking .hkc-rank-main{grid-template-columns:53px minmax(80px,38%) minmax(0,1fr)}.hkc-reference-ranking .hkc-rank-number{width:48px;height:66px}.hkc-reference-ranking .hkc-rank-logo{height:75px}}
@media(max-width:850px){.hkc-reference-ranking .hkc-ranking-list{grid-template-columns:repeat(2,minmax(0,1fr))}.hkc-reference-ranking .hkc-ranking-heading h2:before,.hkc-reference-ranking .hkc-ranking-heading h2:after{display:none}}
@media(max-width:560px){.hkc-reference-ranking .hkc-ranking-list{grid-template-columns:1fr}.hkc-reference-ranking .hkc-ranking-shell{padding:18px 11px}.hkc-reference-ranking .hkc-rank-card{min-height:255px;padding:17px 12px}.hkc-reference-ranking .hkc-rank-main{grid-template-columns:58px 35% minmax(0,1fr)}.hkc-reference-ranking .hkc-rank-number{width:53px}.hkc-reference-ranking .hkc-rank-logo{height:80px}.hkc-reference-ranking .hkc-rank-info h3{font-size:18px}.hkc-reference-ranking .hkc-rank-info p{font-size:12px}}


/* HKCash V23 visual fidelity rebuild — single, bounded card grid */
.hkc-reference-ranking,.hkc-reference-ranking *{box-sizing:border-box}
.hkc-reference-ranking .hkc-ranking-shell{max-width:100%;overflow:hidden;padding:16px;border:1px solid #cda45e;border-radius:18px;background:#05101d;box-shadow:inset 0 0 0 3px #b38a4133}
.hkc-reference-ranking .hkc-ranking-heading{padding:10px 0 18px;margin-bottom:14px}
.hkc-reference-ranking .hkc-ranking-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;width:100%;min-width:0}
.hkc-reference-ranking .hkc-ranking-list>.hkc-rank-card{
 display:flex!important;flex-direction:column!important;gap:8px!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 min-height:245px!important;aspect-ratio:auto!important;margin:0!important;
 padding:15px 12px 12px!important;overflow:hidden!important;
 border:2px solid #c59a56;border-radius:15px;
 background:radial-gradient(ellipse at 13% 98%,#a4773438,transparent 38%),linear-gradient(135deg,#122b41,#07111e 66%,#111925);
 box-shadow:inset 0 0 0 2px #f3d28a24,0 4px 15px #0009;
}
.hkc-reference-ranking .hkc-rank-card:nth-child(2),.hkc-reference-ranking .hkc-rank-card:nth-child(8){background:radial-gradient(ellipse at 95% 90%,#0870bb38,transparent 48%),linear-gradient(140deg,#132e4a,#07111e)}
.hkc-reference-ranking .hkc-rank-card:nth-child(3),.hkc-reference-ranking .hkc-rank-card:nth-child(5){background:radial-gradient(ellipse at 95% 90%,#a65a3630,transparent 48%),linear-gradient(140deg,#292028,#07111e)}
.hkc-reference-ranking .hkc-rank-main{
 display:grid!important;grid-template-columns:64px minmax(0,1.05fr) minmax(0,1fr)!important;
 grid-template-rows:auto!important;gap:9px!important;align-items:start!important;
 width:100%!important;min-width:0!important;flex:1 1 auto!important;
}
.hkc-reference-ranking .hkc-rank-number{
 position:relative!important;top:auto!important;left:auto!important;
 grid-column:1!important;grid-row:1!important;width:59px!important;height:81px!important;
 display:flex!important;align-items:center;justify-content:center;flex-direction:column;
 margin:0!important;flex:none!important;
 border:2px solid #cda363;border-radius:30px 30px 12px 12px;
 background:linear-gradient(145deg,#3a2c1d,#08111f 55%);color:#f4d18d;
}
.hkc-reference-ranking .hkc-rank-number strong{font-size:30px!important;line-height:1!important}
.hkc-reference-ranking .hkc-rank-number small{font-size:9px!important;margin-top:5px}
.hkc-reference-ranking .hkc-rank-crown{top:-15px!important;font-size:23px!important}
.hkc-reference-ranking .hkc-rank-logo{
 grid-column:2!important;grid-row:1!important;
 width:100%!important;min-width:0!important;max-width:100%!important;
 height:80px!important;margin:0!important;padding:0!important;
 border:1px solid #b58c5e;border-radius:16px;background:#060b13;
}
.hkc-reference-ranking .hkc-rank-logo img{width:100%!important;height:100%!important;object-fit:contain!important;padding:0!important;max-width:100%!important}
.hkc-reference-ranking .hkc-rank-info{
 grid-column:3!important;grid-row:1!important;min-width:0!important;width:100%!important;
 text-align:left!important;overflow:hidden!important;display:block!important;
}
.hkc-reference-ranking .hkc-rank-info h3{
 margin:0 0 3px!important;color:#fff!important;font-size:clamp(15px,1.45vw,22px)!important;
 line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.hkc-reference-ranking .hkc-rank-rating{display:flex;align-items:center;justify-content:space-between;gap:3px;margin-bottom:5px;white-space:nowrap;color:#ffcb65}
.hkc-reference-ranking .hkc-rank-rating span{font-size:clamp(10px,1vw,15px);letter-spacing:-2px}
.hkc-reference-ranking .hkc-rank-rating b{font-size:clamp(10px,1vw,14px);color:#f3dba2}
.hkc-reference-ranking .hkc-rank-info p{
 margin:0!important;font-size:clamp(10px,.78vw,12px)!important;line-height:1.45!important;
 color:#e7e8e9!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;
 -webkit-line-clamp:3!important;overflow:hidden!important;overflow-wrap:anywhere;
}
.hkc-reference-ranking .hkc-rank-features{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:7px!important;width:100%!important;min-width:0!important;margin-top:auto!important;
}
.hkc-reference-ranking .hkc-rank-features span{
 min-width:0!important;padding:5px 2px!important;font-size:clamp(9px,.85vw,12px)!important;
 border:1px solid #b58a4c;border-radius:30px;background:#070e18;color:#f3dba7;
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;
}
.hkc-reference-ranking .hkc-rank-actions{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 width:100%!important;min-width:0!important;gap:10px!important;margin:0!important;
}
.hkc-reference-ranking .hkc-rank-button{
 display:flex!important;align-items:center;justify-content:center;
 min-width:0!important;min-height:39px!important;padding:5px 4px!important;
 border-radius:24px;font-size:clamp(11px,.96vw,14px)!important;white-space:nowrap;
}
.hkc-reference-ranking .hkc-rank-button.disabled{font-size:11px!important}
@media(max-width:1100px){
 .hkc-reference-ranking .hkc-ranking-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .hkc-reference-ranking .hkc-rank-info h3{font-size:20px!important}
 .hkc-reference-ranking .hkc-rank-info p{font-size:12px!important}
}
@media(max-width:680px){
 .hkc-reference-ranking .hkc-ranking-list{grid-template-columns:minmax(0,1fr)!important}
 .hkc-reference-ranking .hkc-ranking-shell{padding:12px!important}
 .hkc-reference-ranking .hkc-ranking-list>.hkc-rank-card{min-height:225px!important}
 .hkc-reference-ranking .hkc-rank-main{grid-template-columns:55px minmax(0,1fr) minmax(0,1fr)!important;gap:7px!important}
 .hkc-reference-ranking .hkc-rank-number{width:52px!important;height:70px!important}
 .hkc-reference-ranking .hkc-rank-logo{height:70px!important}
 .hkc-reference-ranking .hkc-rank-info h3{font-size:17px!important}
 .hkc-reference-ranking .hkc-rank-info p{font-size:11px!important}
}
