/* SCARAB HEART V51 — faithful temple layout, real data source, readable interface. */
:root{--sh-gold:#f3c77c;--sh-darkgold:#a97630;--sh-turq:#2de0df;--sh-text:#fcebc6;--sh-line:#98672e}
body.temple51{margin:0;background:#060909;color:#f9eacf;font-family:'Noto Sans TC','Microsoft JhengHei',sans-serif;overflow-x:hidden}
body.temple51 .site-header{position:sticky;top:0;z-index:120;background:#030608f7!important;border-bottom:1px solid #b5873d!important;box-shadow:0 7px 25px #000d;backdrop-filter:blur(16px)}
body.temple51 .header-inner{max-width:1560px;min-height:65px}
body.temple51 .brand-mark{width:57px;height:54px;border:0;background:transparent;box-shadow:none;padding:0}
body.temple51 .brand-mark img{width:100%;height:100%;object-fit:contain}
body.temple51 .brand-copy strong{font-size:21px;color:#ffdb91!important;letter-spacing:.09em;text-shadow:0 1px 8px #b67b2990}
body.temple51 .brand-copy small{color:#e0b670!important;letter-spacing:.16em;font-size:9px}
body.temple51 .nav-links a,body.temple51 .support-link{color:#f6ead4!important;font-size:14px;font-weight:750}
body.temple51 .nav-links a:hover,body.temple51 .nav-links a.active{color:#ffcf6d!important}
body.temple51 .nav-links a.active::after,body.temple51 .nav-links a:hover::after{background:#f5c673;transform:scaleX(1)}
body.temple51 .header-actions{gap:10px}
body.temple51 .header-actions .member-button{border:1px solid #ac7a37;border-radius:4px;background:linear-gradient(155deg,#221706,#080807);color:#ffe0a0;box-shadow:inset 0 0 8px #bd823c2b;min-height:37px;padding-inline:14px}
body.temple51 .header-actions .e-header-register{border:1px solid #4adcd6;border-radius:4px;background:linear-gradient(145deg,#12696e,#051f2b);color:#ffe5a9;padding:10px 16px;font-size:13px;font-weight:800;text-decoration:none;box-shadow:0 0 15px #08a5ba66,inset 0 0 10px #32bbbc42}
body.temple51 .mobile-menu{background:#070b0f;border:1px solid #936939}
body.temple51 .mobile-menu a{color:#fae8c8}
body.temple51 .menu-button span{background:#f8cf7e}
body.temple51 .site-footer{background:linear-gradient(180deg,#0a0e0c,#020506)!important;border-top:1px solid #8f6738!important}
body.temple51 .site-footer a{color:#e9c488}body.temple51 .site-footer p,body.temple51 .site-footer span{color:#c0b3a0}
.v51,.v51 *{box-sizing:border-box}.v51{position:relative;color:var(--sh-text);background:#060b0c;line-height:1.45;isolation:isolate;overflow:hidden}.v51 a{text-decoration:none}.v51 button{font:inherit;cursor:pointer}.v51 img{max-width:100%}
.v51:before,.v51:after{content:"";position:absolute;z-index:-1;pointer-events:none;top:0;bottom:0;width:clamp(35px,4vw,75px);background-position:top center;background-size:100% auto;opacity:.8;filter:contrast(1.15) brightness(.65);mask-image:linear-gradient(black 0,black 75%,transparent 100%)}
.v51:before{left:0;background-image:url('/images/temple/pillar-left.webp')}.v51:after{right:0;background-image:url('/images/temple/pillar-right.webp')}
.v51-shell{width:min(1530px,calc(100% - 86px));margin:0 auto}
.v51-hero{position:relative;background:radial-gradient(ellipse at 46% 44%,#293d4138 0%,transparent 60%),radial-gradient(ellipse at 2% 55%,#9e622647,transparent 40%),radial-gradient(ellipse at 96% 45%,#99632142,transparent 42%),linear-gradient(#111113,#080d10 83%,#030609);border-bottom:3px double #c5944b;box-shadow:inset 0 -16px 30px #000}
.v51-hero:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.19;background:repeating-linear-gradient(90deg,transparent 0,transparent 180px,#d4aa6450 181px,#98764c33 183px,transparent 187px),repeating-linear-gradient(0deg,transparent 0,transparent 64px,#ad743321 65px)}
.v51-gold-dust{position:absolute;pointer-events:none;inset:0;opacity:.32;background-image:radial-gradient(2px 2px at 15% 30%,#ffde8e,transparent),radial-gradient(1px 1px at 37% 72%,#ffde8e,transparent),radial-gradient(2px 2px at 70% 12%,#ffde8e,transparent),radial-gradient(2px 2px at 83% 62%,#ffde8e,transparent);background-size:220px 240px}
.v51-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.98fr) minmax(0,1.24fr);gap:27px;align-items:center;padding:17px 0 20px;min-height:390px}
.v51-official-art{height:356px;position:relative;border:1px solid #ab772d;border-radius:6px;background:radial-gradient(circle at center,#132535,#05090c 75%);box-shadow:0 0 0 4px #160f09,0 0 0 6px #6c4b28,0 0 28px #b774243c,inset 0 0 35px #000;overflow:hidden}
.v51-official-art:after{content:"";pointer-events:none;position:absolute;inset:0;background:linear-gradient(0deg,#030709 0%,#03070922 32%,transparent 55%),linear-gradient(90deg,#08090933,transparent 28%,transparent 75%,#03080a88);z-index:1}
.v51-official-art:before{content:"";pointer-events:none;position:absolute;inset:7px;border:1px solid #edc17d5e;z-index:2}
.v51-poster-shell{width:100%;height:100%;overflow:hidden;background:#071016}.v51-poster{display:block;width:100%;height:100%;object-fit:cover;object-position:center 33%;filter:contrast(1.06) saturate(1.05);transition:transform .7s}.v51-official-art:hover .v51-poster{transform:scale(1.025)}
.v51-arc-crown{position:absolute;top:10px;left:14px;z-index:3;color:#ffd995;text-shadow:0 0 10px #e4a13a;font-size:17px;letter-spacing:10px}
.v51-art-footer{position:absolute;bottom:12px;left:12px;right:12px;display:flex;justify-content:space-between;align-items:end;gap:10px;z-index:3}.v51-art-footer img{width:50%;max-height:62px;object-fit:contain;object-position:left bottom;filter:drop-shadow(0 3px 5px #000)}.v51-art-footer span{color:#e6c590;font-size:10px;background:#020708cc;border:1px solid #a4783966;padding:5px 8px;white-space:nowrap}
.v51-hero-brand{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;padding:0 3px}.v51-brand-aura{position:absolute;pointer-events:none;top:6px;left:50%;transform:translateX(-50%);width:240px;height:200px;border-radius:50%;background:radial-gradient(circle,#e1a8423a,transparent 73%);filter:blur(15px)}
.v51-hero-logo{position:relative;width:135px;height:115px;object-fit:contain;filter:drop-shadow(0 0 11px #e0b56375)}.v51-en-line{font:700 9px Georgia,serif;letter-spacing:.17em;color:#d3a55d;margin:0 0 4px!important}
.v51-hero-brand h1{font-family:'Noto Serif TC','Songti TC','PMingLiU',serif;margin:0;color:#ffe2ac;font-size:clamp(47px,4.5vw,74px);font-weight:900;line-height:1.16;white-space:nowrap;letter-spacing:.03em;text-shadow:0 2px 0 #9b6034,0 5px 7px #000,0 0 22px #ffca7844}
.v51-en-name{color:#f9cb83;font:700 12px Georgia,serif;letter-spacing:.11em;margin:2px 0 12px!important;white-space:nowrap}.v51-hero-brand h2{margin:0 0 12px;color:#fff1cf;font-size:clamp(12px,1.13vw,17px);line-height:1.7;font-weight:800;white-space:nowrap}
.v51-hero-points{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;color:#e2c696;font-size:10px;white-space:nowrap;margin-bottom:17px}
.v51-main-actions{display:flex;justify-content:center;gap:10px;width:100%}.v51-gold-button,.v51-outline-button{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 15px;min-height:43px;border-radius:3px;font-size:14px;font-weight:850;white-space:nowrap;transition:filter .2s,transform .2s}.v51-gold-button{color:#231605;background:linear-gradient(160deg,#ffe6aa,#d9a34c);border:1px solid #ffe7aa;box-shadow:0 0 23px #bf862a8c}.v51-outline-button{color:#ffdea0;background:#090b0b;border:1px solid #ac813e;box-shadow:inset 0 0 12px #e9bd441f}.v51-gold-button:hover,.v51-outline-button:hover{transform:translateY(-2px);filter:brightness(1.1)}.v51-hero-engraving{margin-top:12px;color:#a48249;font-size:12px;letter-spacing:.6em}
.v51-feature-stage{position:relative;min-width:0;padding-right:20px}.v51-panel-frame{position:relative;background:linear-gradient(140deg,#071e2a,#020910 75%);border:2px solid #b68a4b;outline:4px solid #211609;border-radius:11px;padding:14px;box-shadow:0 0 0 5px #76532e,0 17px 37px #000c,0 0 20px #ac6b2b69;min-height:326px}
.v51-panel-frame:before{content:"";position:absolute;inset:5px;border:1px solid #dfb8794d;border-radius:7px;pointer-events:none}.v51-panel-top{display:flex;align-items:center;gap:10px;position:relative;z-index:1;min-height:42px}.v51-panel-top img{width:40px;height:38px;object-fit:contain}.v51-panel-top strong{font-size:20px;color:#ffe3ae}.v51-demo-tag{margin-left:auto;border:1px solid #26c5bd82;border-radius:20px;background:#0b363c;color:#76dfd3;font-size:10px;white-space:nowrap;padding:5px 8px}
.v51-panel-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:9px 0 10px}.v51-panel-tabs button{min-height:36px;border:1px solid #35576b;background:#071724;color:#d7dcd8;font-size:12px;font-weight:800;border-radius:4px}.v51-panel-tabs button:hover,.v51-panel-tabs button.active{color:#fff4dd;border-color:#69e0de;background:linear-gradient(110deg,#0b686d,#0a3e53);box-shadow:0 0 12px #14cccc75}
.v51-panel-content{position:relative;z-index:1;border:1px solid #27546a;border-radius:5px;background:linear-gradient(#061825,#041019);min-height:200px;padding:12px}
.v51-signal-preview{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:16px}.v51-signal-glyphs{display:flex;justify-content:space-around;gap:12px}.v51-signal-glyphs>div{text-align:center;display:grid;place-items:center;gap:3px}.v51-signal-glyphs img{height:61px;width:70px;object-fit:contain}.v51-signal-glyphs b{font-size:19px;color:#faf7e7}
.v51-signal-score>span{display:flex;justify-content:space-between;gap:9px;align-items:center;color:#c9e6ed;font-size:13px;font-weight:750}.v51-signal-score b{color:#37e7ee;font-size:26px}.v51-meter{height:8px;background:#214457;border-radius:20px;overflow:hidden;margin:8px 0}.v51-meter i{display:block;width:59%;height:100%;background:linear-gradient(90deg,#22adc1,#54f0ee);border-radius:inherit}.v51-signal-score small{display:block;font-size:10px;color:#9daebb;line-height:1.55}
.v51-panel-details{border:0;border-top:1px solid #183a4a;background:transparent;padding:0;box-shadow:none;margin-top:8px}.v51-panel-details summary{color:#90cad6;font-size:12px;padding:7px 0 2px;cursor:pointer;list-style:none}.v51-panel-details summary:before{content:'▸ ';color:#52eff0}.v51-panel-details p{color:#91a9b8;font-size:11px;margin:5px 0;line-height:1.5}
.v51-panel-foot{display:flex;gap:12px;justify-content:space-between;align-items:center;padding-top:10px;position:relative;z-index:1}.v51-panel-foot span{color:#99abb2;font-size:10px}.v51-panel-foot a{color:#f3d598;font-size:11px;border:1px solid #947243;padding:7px 10px;border-radius:4px;white-space:nowrap}
.v51-panel-img{display:grid;grid-template-columns:55% 1fr;gap:15px;align-items:center;min-height:178px}.v51-panel-img img{max-height:150px;max-width:100%;border:1px solid #2c5566;border-radius:5px;background:#000;object-fit:contain}.v51-panel-img strong{display:block;font-size:19px;color:#ffe1a0;margin:6px 0}.v51-panel-img p{font-size:12px;color:#a5bdc8;line-height:1.7;margin:0}
.v51-guide-mascot{position:absolute;right:-8px;bottom:-18px;z-index:4;display:flex;align-items:end;flex-direction:column;pointer-events:none}.v51-guide-mascot img{height:118px;max-width:130px;object-fit:contain;filter:drop-shadow(0 6px 7px #000)}.v51-guide-mascot span{position:absolute;right:26px;bottom:108px;background:#070b0fe8;border:1px solid #b18347;border-radius:8px;color:#f2cf8c;font-size:11px;white-space:nowrap;padding:6px 10px;pointer-events:auto}.v51-guide-mascot a{color:#3de5d7}
.v51-features{margin-top:5px}.v51-features-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));border:1px solid #b58a42;background:linear-gradient(#0d1211,#060c0e);box-shadow:0 0 0 3px #171009,0 0 16px #d2a04b33;overflow:hidden}
.v51-feature{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:109px;gap:6px;border:0;border-right:1px solid #6e5127;background:transparent;color:#e6c68c;text-align:center;padding:10px 3px;transition:background .18s,box-shadow .18s}.v51-feature:last-child{border-right:0}.v51-feature:hover,.v51-feature.active{background:linear-gradient(#0b3639,#061c25);box-shadow:inset 0 0 0 1px #48d5c9,inset 0 0 24px #48ddd13a}.v51-feature-icon{font:900 33px Georgia,serif;color:#e6b960;filter:drop-shadow(0 0 7px #f4b65f57);height:36px;line-height:36px}.v51-feature.active .v51-feature-icon{color:#46eded}.v51-feature b{color:#f5d99f;font-size:14px;white-space:nowrap}.v51-feature small{color:#a3a9a8;font-size:10px;white-space:nowrap}
.v51-function-description{background:#070d0f;border:1px solid #66502e;border-top:0;display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:8px 15px;font-size:12px;min-height:37px}.v51-function-description b{color:#f7d38d}.v51-function-description span{color:#acb9bc;flex:1}.v51-function-description a{color:#f5d292;font-weight:750;white-space:nowrap}
.v51-mid{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(0,.94fr);gap:15px;margin-top:13px}
.v51-ornate-panel{border:1px solid #ac7e3e;border-radius:5px;background:linear-gradient(160deg,#111412 0%,#050b0f 20%,#050b10 84%,#161109);box-shadow:inset 0 0 0 3px #14110d,0 0 16px #000b;padding:13px 14px}
.v51-titlebar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:11px}.v51-titlebar>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.v51-titlebar h2{font-size:19px;color:#f3cc81;margin:0;white-space:nowrap}.v51-titlebar small{font:700 10px Georgia,serif;letter-spacing:.08em;color:#927b5d}.v51-titlebar>a,.v51-refresh{font-size:11px;color:#f6d29c;border:1px solid #856534;background:#091013;border-radius:4px;white-space:nowrap;padding:7px 9px}.v51-refresh:hover{border-color:#ffe2a3}.v51-title-icon{color:#e8be66;font-size:23px}
.v51-games{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.v51-game{border:1px solid #805b2d;border-radius:5px;padding:4px 4px 6px;background:#070b0d;color:#ead19d;min-width:0;overflow:hidden;transition:transform .18s,border-color .18s;display:flex;flex-direction:column;align-items:center}.v51-game:hover,.v51-game.selected{border-color:#f1cb81;transform:translateY(-2px);box-shadow:0 0 10px #d7a14a29}.v51-game-image{width:100%;height:126px;overflow:hidden;position:relative;background:radial-gradient(ellipse at 50% 25%,#1e4150,#070d12 68%);display:grid;place-items:center}.v51-game-image .v51-cover{width:100%;height:100%;object-fit:cover;object-position:center 15%}.v51-game-highlight{position:absolute;inset:0;border:1px solid #c79b425a;pointer-events:none}.v51-game strong{font-size:13px;color:#f4e1bf;white-space:nowrap;margin-top:6px}.v51-game small{border:1px solid #175146;background:#071714;border-radius:20px;padding:3px 7px;color:#68dabb;font-size:10px;margin-top:6px;white-space:nowrap}
.v51-image-note{margin:8px 0 0;font-size:10px;color:#887d6c;line-height:1.4}
.v51-status-row{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:10px;color:#96adac;margin-bottom:6px}.v51-source-tag{color:#efc988;border:1px solid #8768346b;border-radius:4px;padding:3px 8px}.v51-source-tag.ok{color:#49d7ca;border-color:#237c74}
.v51-data-table{max-width:100%;overflow-x:auto;border:1px solid #26424b}.v51-data-table table{width:100%;border-collapse:collapse;min-width:430px;font-size:12px;color:#dde5d5}.v51-data-table thead{background:#10252b;color:#a5bec2}.v51-data-table th{text-align:center;padding:8px 5px;font-weight:650;white-space:nowrap}.v51-data-table td{text-align:center;padding:7px 5px;border-top:1px solid #213039;border-right:1px solid #172a30;white-space:nowrap}.v51-data-table td:first-child{text-align:left;padding-left:11px;color:#e7d5ab}.v51-data-table td:last-child{border-right:0}.v51-data-table .v51-empty{text-align:center;color:#a0b0b2;padding:28px 12px;white-space:normal}.v51-rtp{color:#39dce1;font-weight:800}.v51-room-link{display:inline-block;color:#ffdf99;border:1px solid #aa7a32;border-radius:4px;padding:3px 6px}.v51-room-badge{color:#54d4bb}.v51-score{color:#f6d08d}.v51-data-foot{display:flex;gap:14px;justify-content:space-between;align-items:center;padding-top:9px;font-size:10px;color:#97aeb3;line-height:1.5}.v51-data-foot a{font-size:11px;color:#f6d392;white-space:nowrap;font-weight:750}
.v51-steps{display:grid;grid-template-columns:195px 1fr;gap:13px;align-items:center;margin-top:13px;margin-bottom:16px}.v51-steps-intro{padding:8px 0}.v51-steps-intro>span{color:#b9884c;letter-spacing:.19em;font-size:10px}.v51-steps-intro h2{font-size:22px;color:#ffd48e;margin:5px 0 4px;white-space:nowrap}.v51-steps-intro p{font-size:12px;color:#bdb09e;margin:0}.v51-step-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.v51-step{position:relative;min-width:0;height:116px;border:1px solid #b98742;border-radius:5px;display:flex;gap:9px;padding:15px 9px 11px;background:radial-gradient(ellipse at 80% 50%,#34545a24,transparent 52%),linear-gradient(165deg,#14100d,#03090c);overflow:hidden;box-shadow:inset 0 0 0 2px #201508}.v51-step:after{content:"";position:absolute;inset:5px;border:1px solid #c8a15e20;pointer-events:none}.v51-step>strong{font:900 31px Georgia,serif;color:#f2c678;flex:none}.v51-step>div{align-self:center;z-index:1;min-width:0}.v51-step h3{font-size:16px;color:#f9e5bf;white-space:nowrap;margin:0 0 6px}.v51-step p{font-size:11px;line-height:1.45;color:#c0b5a4;margin:0;max-width:115px}.v51-step img{position:absolute;right:-10px;bottom:-12px;width:110px;height:118px;object-fit:contain;object-position:bottom;filter:drop-shadow(0 3px 5px #000)}.v51-step:hover{background-color:#2d2115;border-color:#ffe0a5}
.v51-trustbar{background:#040807;border-top:1px solid #6d4b24}.v51-trustbar>.v51-shell{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:15px}.v51-trustbar a{color:#e2c48d;font-size:12px;text-align:center}
/* Style continuity on existing subpages, but never replace their controls or forms */
body.temple51 .subpage,body.temple51 .member-page{padding-top:72px}body.temple51 .sub-hero{border:1px solid #866636;border-radius:7px;background:linear-gradient(150deg,#121b23,#060c10)!important;box-shadow:inset 0 0 0 3px #141310,0 15px 32px #0007}
body.temple51 .sub-hero h1,body.temple51 .member-head h1{color:#ffdf9e}body.temple51 .eyebrow{color:#f4cb84}
body.temple51 .feature-card,body.temple51 .price-card,body.temple51 .member-card,body.temple51 .support-form,body.temple51 .faq-list details,body.temple51 .guide-panel article{background:linear-gradient(160deg,#111b24,#060d13)!important;border:1px solid #8b6a3d!important;box-shadow:0 12px 23px #0006;border-radius:9px}
body.temple51 .btn-primary{background:linear-gradient(130deg,#ffe5ae,#d19b4a)!important;color:#281804!important}
@media(max-width:1370px){.v51-shell{width:min(1250px,calc(100% - 56px))}.v51-hero-grid{gap:17px;grid-template-columns:minmax(0,1fr) minmax(0,.94fr) minmax(0,1.14fr)}.v51-official-art{height:333px}.v51-hero-brand h1{font-size:clamp(47px,4.5vw,65px)}.v51-panel-frame{min-height:310px}.v51-game-image{height:108px}.v51-steps{grid-template-columns:175px 1fr}.v51-step img{width:90px;opacity:.94}.v51-step{height:120px}}
@media(max-width:1120px){.v51-shell{width:calc(100% - 36px)}.v51-hero-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px}.v51-hero-brand{grid-column:1/-1;grid-row:1;padding:24px 0 8px}.v51-official-art{grid-column:1;grid-row:2;height:350px}.v51-feature-stage{grid-column:2;grid-row:2}.v51-hero-brand h1{font-size:62px}.v51-mid{grid-template-columns:1fr}.v51-game-image{height:150px}.v51-steps{grid-template-columns:1fr}.v51-step-items{gap:10px}.v51-feature b{font-size:12px}.v51-feature small{font-size:9px}}
@media(max-width:760px){.v51:before,.v51:after{display:none}.v51-shell{width:calc(100% - 26px)}.v51-hero-grid{display:flex;flex-direction:column;gap:14px;padding:15px 0 20px}.v51-hero-brand{order:0;padding:10px 0 2px}.v51-official-art{order:1;width:100%;height:290px;max-width:530px}.v51-feature-stage{order:2;width:100%;padding-right:6px;max-width:600px}.v51-hero-logo{width:104px;height:95px}.v51-hero-brand h1{font-size:clamp(46px,10vw,68px)}.v51-hero-brand h2{white-space:normal;font-size:14px}.v51-en-line{font-size:8px}.v51-hero-points{font-size:11px}.v51-main-actions{max-width:430px}.v51-panel-frame{min-height:306px}.v51-guide-mascot{right:-2px;bottom:-9px}.v51-guide-mascot img{height:88px}.v51-guide-mascot span{right:0;bottom:83px}.v51-features-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v51-feature{min-height:96px}.v51-feature:nth-child(3n){border-right:0}.v51-feature:not(:nth-last-child(-n+3)){border-bottom:1px solid #72512e}.v51-feature b{font-size:13px}.v51-feature small{font-size:10px}.v51-games{grid-template-columns:repeat(3,minmax(0,1fr))}.v51-game-image{height:155px}.v51-steps-intro{text-align:center}.v51-step-items{grid-template-columns:repeat(2,minmax(0,1fr))}.v51-trustbar>.v51-shell{grid-template-columns:repeat(2,1fr)}.v51-data-table table{min-width:0}.v51-data-table th,.v51-data-table td{font-size:11px;padding:8px 3px}.v51-titlebar h2{font-size:18px}}
@media(max-width:470px){body.temple51 .header-inner{min-height:58px}.v51-hero-brand h1{font-size:clamp(45px,12.5vw,58px)}.v51-main-actions{gap:8px}.v51-gold-button,.v51-outline-button{padding:10px 12px;gap:8px;font-size:12px;min-height:42px}.v51-hero-points{gap:9px}.v51-official-art{height:240px}.v51-panel-frame{padding:10px;min-height:282px}.v51-panel-top strong{font-size:17px}.v51-demo-tag{font-size:9px}.v51-panel-tabs{gap:4px}.v51-panel-tabs button{font-size:11px}.v51-panel-content{padding:9px}.v51-signal-preview{gap:9px}.v51-signal-glyphs img{width:52px;height:52px}.v51-signal-score b{font-size:21px}.v51-signal-score>span{font-size:11px}.v51-guide-mascot img{height:72px}.v51-guide-mascot span{display:none}.v51-feature-icon{font-size:28px}.v51-feature b{font-size:12px}.v51-feature small{font-size:9px}.v51-feature{min-height:84px}.v51-games{gap:6px}.v51-game-image{height:126px}.v51-game strong{font-size:11px}.v51-game small{font-size:9px}.v51-titlebar>div{gap:6px}.v51-titlebar small{font-size:9px}.v51-steps-intro h2{font-size:20px}.v51-step{height:115px;padding:12px 7px}.v51-step>strong{font-size:28px}.v51-step h3{font-size:14px}.v51-step p{font-size:10px;max-width:75px}.v51-step img{width:78px;height:98px;right:-14px}.v51-panel-img{grid-template-columns:46% 1fr;gap:9px}.v51-panel-img img{max-height:145px}.v51-panel-img strong{font-size:15px}.v51-panel-img p{font-size:10px}}
@media(prefers-reduced-motion:reduce){.v51 *{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:900px){
body.temple51 .site-header .nav-links,body.temple51 .site-header .support-link{display:none!important}
body.temple51 .site-header .menu-button{display:flex!important;min-width:44px;min-height:40px;flex-shrink:0;align-items:center;justify-content:center}
}
@media(max-width:600px){
body.temple51 .site-header .header-inner{min-height:61px;padding-inline:12px;gap:12px;display:flex;justify-content:space-between;align-items:center}
body.temple51 .site-header .brand{min-width:0;max-width:calc(100% - 64px)}
body.temple51 .site-header .brand-mark{width:48px;height:46px;flex:none}
body.temple51 .site-header .brand-copy strong{font-size:18px;white-space:nowrap}
body.temple51 .site-header .brand-copy small{font-size:8px}
body.temple51 .site-header .header-actions{display:flex!important;gap:0;flex:0 0 auto;min-width:44px;width:44px}
body.temple51 .site-header .header-actions .member-button,body.temple51 .site-header .header-actions .e-header-register{display:none!important}
body.temple51 .site-header .menu-button{min-width:44px;min-height:42px;padding:8px;flex-direction:column}
}

.v51-game-image .v51-cover.v51-local-fallback{object-fit:contain!important;object-position:center!important; padding:11px;filter:drop-shadow(0 1px 8px #daa05080);background:radial-gradient(ellipse at center,#203a47,#040d12 76%)}

.v51-official-art.v51-poster-fallback .v51-art-footer img{display:none}
.v51-official-art.v51-poster-fallback .v51-art-footer{justify-content:flex-end}


/* V52: precise presentation fixes. This is the last stylesheet linked on page. */
.temple52 .v51-feature-stage { padding-right:0; min-width:0; }
.temple52 .v51-panel-frame { padding:18px; min-height:338px; border:1px solid #c0924c; border-radius:16px; outline:0; box-shadow:0 0 0 3px #1c1309, 0 0 0 4px #74532b, 0 18px 38px rgba(0,0,0,.54); }
.temple52 .v51-panel-frame:before { inset:7px; border-radius:10px; }
.temple52 .v51-panel-top { gap:12px; padding:2px 2px 7px; }
.temple52 .v51-panel-top strong { font-size:21px; letter-spacing:.035em; }
.temple52 .v52-help-inline { margin-left:auto; display:inline-flex; align-items:center; justify-content:center; padding:9px 12px; color:#ffdc9b; border:1px solid rgba(213,171,95,.55); background:rgba(24,22,18,.65); border-radius:10px; font-weight:700; font-size:12px; white-space:nowrap; }
.temple52 .v52-help-inline:hover { background:rgba(103,73,29,.3); }
.temple52 .v51-panel-tabs { margin:10px 0 12px; gap:9px; }
.temple52 .v51-panel-tabs button { min-height:43px; font-size:13px; border-radius:9px; }
.temple52 .v51-panel-content { min-height:192px; padding:16px 15px; border-radius:11px; background:linear-gradient(165deg,#071c2a,#031018); }
.temple52 .v51-signal-preview { grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr); gap:20px; padding-block:7px; }
.temple52 .v51-signal-glyphs { justify-content:space-evenly; gap:10px; }
.temple52 .v51-signal-glyphs img { width:min(100%,75px); height:70px; object-fit:contain; }
.temple52 .v51-signal-score b { color:#69d8de; }
.temple52 .v51-meter i { width:0; }
.temple52 .v51-panel-foot { gap:14px; padding-top:15px; min-height:56px; }
.temple52 .v51-panel-foot span { font-size:12px; line-height:1.6; }
.temple52 .v51-panel-foot a { flex:none; padding:10px 15px; border-radius:9px; font-size:12px; background:#0f1920; }
.temple52 .v51-guide-mascot { display:none!important; }
.temple52 .v51-function-description { padding:12px 18px; gap:14px; }
.temple52 .v51-function-description span { line-height:1.6; }
.temple52 .v51-step { height:130px; border-radius:9px; padding:15px 12px; overflow:hidden; align-items:center; gap:8px; }
.temple52 .v51-step>strong { align-self:flex-start; position:relative; z-index:2; font-size:31px; }
.temple52 .v51-step>div { position:relative; z-index:2; align-self:center; padding-right:clamp(65px,7vw,105px); }
.temple52 .v51-step h3 { font-size:15px; }
.temple52 .v51-step p { max-width:130px; font-size:11px; }
.temple52 .v51-step img { position:absolute; right:6px; bottom:0; height:calc(100% - 8px); width:clamp(72px,7vw,102px); max-width:38%; object-fit:contain; object-position:center bottom; opacity:1; filter:drop-shadow(0 5px 6px rgba(0,0,0,.42)); }
.temple52 .v51-game-image { min-height:124px; }
.temple52 .v51-game-image .v51-cover.v51-local-fallback { padding:15px; object-fit:contain!important; }
.temple52 .v51-status-row { font-size:12px; }
.temple52 .v51-data-foot { font-size:11px; line-height:1.6; }
.temple52 .v51-panel-img img { max-height:180px; }
.temple52 .v51-image-note { display:none; }
@media(max-width:1120px){
 .temple52 .v51-step { height:142px; }
 .temple52 .v51-step img { width:96px; }
 .temple52 .v51-step>div { padding-right:100px; }
}
@media(max-width:760px){
 .temple52 .v51-panel-frame { padding:15px; min-height:0; }
 .temple52 .v51-panel-content { padding:14px; min-height:180px; }
 .temple52 .v51-feature-stage { padding-right:0; width:100%; }
 .temple52 .v51-step { height:142px; padding:12px; }
 .temple52 .v51-step>div { padding-right:65px; }
 .temple52 .v51-step img { width:88px; max-width:44%; right:3px; }
}
@media(max-width:470px){
 .temple52 .v51-panel-top strong { font-size:18px; }
 .temple52 .v52-help-inline { padding:8px; font-size:11px; }
 .temple52 .v51-panel-frame { padding:12px; }
 .temple52 .v51-panel-content { padding:12px 10px; }
 .temple52 .v51-panel-tabs button { min-height:42px; font-size:12px; }
 .temple52 .v51-signal-preview { gap:10px; }
 .temple52 .v51-signal-glyphs img { height:53px; }
 .temple52 .v51-signal-score>span { font-size:12px; }
 .temple52 .v51-panel-foot span { font-size:11px; }
 .temple52 .v51-panel-foot a { font-size:11px; padding:9px 10px; }
 .temple52 .v51-step { height:148px; padding:12px 8px; }
 .temple52 .v51-step>strong { font-size:26px; }
 .temple52 .v51-step>div { padding-right:45px; }
 .temple52 .v51-step h3 { font-size:12px; }
 .temple52 .v51-step p { font-size:10px; max-width:83px; }
 .temple52 .v51-step img { width:76px; max-width:48%; right:0; height:calc(100% - 12px); }
}

/* V52 - FULL FIGURE STEP CARDS: use the complete artwork with no clipping. */
body.temple52 .v51-steps{
  display:block;
  margin-top:32px;
  margin-bottom:34px;
  padding:0 10px;
}
body.temple52 .v51-steps-intro{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:center;
  gap:9px 17px;
  margin:0 auto 20px;
  text-align:center;
}
body.temple52 .v51-steps-intro>span{width:100%;font-size:11px;letter-spacing:.25em}
body.temple52 .v51-steps-intro h2{font-size:clamp(24px,2.5vw,34px);margin:0;white-space:normal}
body.temple52 .v51-steps-intro p{font-size:13px;margin:0}
body.temple52 .v51-step-items{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  max-width:1240px;
  margin-inline:auto;
  gap:16px;
  align-items:stretch;
}
body.temple52 .v51-step{
  display:flex;
  flex-direction:column;
  gap:0;
  min-height:0;
  height:auto;
  padding:0;
  border-radius:13px;
  border:1px solid #c69a57;
  overflow:hidden;
  background:#0b1114;
  box-shadow:0 10px 30px rgba(0,0,0,.55),inset 0 0 0 1px #241c13;
  transition:transform .18s ease,border-color .18s ease;
}
body.temple52 .v51-step:hover,
body.temple52 .v51-step:focus-visible{transform:translateY(-3px);border-color:#ffe2a0}
body.temple52 .v51-step:after{inset:5px;border-radius:8px;z-index:3}
body.temple52 .v51-step>strong{
  position:absolute;
  left:14px;
  top:12px;
  z-index:4;
  color:#ffe7b4;
  padding:3px 9px 5px;
  border-radius:7px;
  font:900 30px/1.1 Georgia,serif;
  background:rgba(5,10,12,.7);
  text-shadow:0 1px 9px #000;
}
body.temple52 .v51-step img{
  position:relative;
  order:0;
  display:block;
  flex:none;
  margin:0;
  inset:auto;
  width:100%;
  max-width:none;
  height:auto;
  aspect-ratio:366/414;
  object-fit:contain;
  object-position:center center;
  opacity:1;
  filter:none;
}
body.temple52 .v51-step>div{
  order:1;
  align-self:stretch;
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:85px;
  padding:14px 16px 16px;
  background:linear-gradient(180deg,#14232b,#070c10);
  border-top:1px solid rgba(244,197,112,.3);
  text-align:center;
}
body.temple52 .v51-step h3{font-size:19px;line-height:1.25;white-space:normal;margin:0 0 5px;color:#ffdb91}
body.temple52 .v51-step p{font-size:12px;line-height:1.4;max-width:none;color:#cfccd0;margin:0}
@media (max-width:960px){
  body.temple52 .v51-step-items{grid-template-columns:repeat(2,minmax(0,1fr));max-width:700px;gap:14px}
}
@media (max-width:470px){
  body.temple52 .v51-steps{padding:0;margin-top:26px;margin-bottom:25px}
  body.temple52 .v51-step-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.temple52 .v51-step>strong{left:9px;top:8px;font-size:24px;padding:3px 6px}
  body.temple52 .v51-step>div{min-height:73px;padding:10px 6px 12px}
  body.temple52 .v51-step h3{font-size:15px}
  body.temple52 .v51-step p{font-size:10px}
  body.temple52 .v51-step img{width:100%;height:auto;max-width:none;aspect-ratio:366/414;object-fit:contain}
}
@media (prefers-reduced-motion: reduce){body.temple52 .v51-step{transition:none}}

/* V53 - restore original horizontal step-card proportions and use wide chibi artwork as the card background. */
body.temple52 .v51-step.v53-step{
  height:116px;
  min-height:116px;
  padding:15px 12px 11px;
  gap:12px;
  align-items:flex-start;
  border-radius:5px;
  border:1px solid #b98742;
  box-shadow:inset 0 0 0 2px #201508,0 8px 24px rgba(0,0,0,.28);
  background:
    linear-gradient(90deg,rgba(5,9,11,.96) 0%,rgba(5,9,11,.93) 34%,rgba(5,9,11,.72) 56%,rgba(5,9,11,.28) 76%,rgba(5,9,11,.06) 100%),
    var(--step-bg) center right / cover no-repeat,
    linear-gradient(165deg,#14100d,#03090c);
}
body.temple52 .v51-step.v53-step:hover,
body.temple52 .v51-step.v53-step:focus-visible{
  transform:none;
  border-color:#ffd890;
  box-shadow:inset 0 0 0 2px #2a1b0a,0 10px 26px rgba(0,0,0,.34),0 0 0 1px rgba(255,205,126,.14);
}
body.temple52 .v51-step.v53-step:after{inset:5px;border-radius:2px;border-color:#c8a15e25}
body.temple52 .v51-step.v53-step>strong{
  position:relative;
  inset:auto;
  z-index:2;
  flex:none;
  padding:0;
  background:none;
  color:#f2c678;
  text-shadow:0 2px 12px rgba(0,0,0,.8);
  font:900 31px/1 Georgia,serif;
}
body.temple52 .v51-step.v53-step>div{
  position:relative;
  z-index:2;
  min-width:0;
  max-width:46%;
  align-self:center;
  padding:0;
  background:none;
  border:0;
  text-align:left;
}
body.temple52 .v51-step.v53-step h3{
  font-size:16px;
  line-height:1.2;
  white-space:nowrap;
  margin:0 0 6px;
  color:#fff2cf;
  text-shadow:0 2px 10px rgba(0,0,0,.9);
}
body.temple52 .v51-step.v53-step p{
  font-size:11px;
  line-height:1.45;
  max-width:115px;
  color:#d6cbb7;
  margin:0;
  text-shadow:0 2px 8px rgba(0,0,0,.82);
}
body.temple52 .v51-step.v53-step img{display:none !important}
body.temple52 .v51-panel-top .v52-help-inline{display:none}
body.temple52 .v51-source-tag{min-width:auto}
body.temple52 .v51-status-row{gap:10px;align-items:center}
body.temple52 .v51-data-foot span{font-size:12px;color:#b7d4d7}
body.temple52 .v51-panel-foot span{color:#b9d0d6}
body.temple52 .v51-panel-details p{color:#c8d3d8}

@media (max-width:1370px){
  body.temple52 .v51-step.v53-step{height:120px;min-height:120px}
}
@media (max-width:470px){
  body.temple52 .v51-step.v53-step{height:115px;min-height:115px;padding:12px 7px}
  body.temple52 .v51-step.v53-step>strong{font-size:28px}
  body.temple52 .v51-step.v53-step>div{max-width:55%}
  body.temple52 .v51-step.v53-step h3{font-size:14px}
  body.temple52 .v51-step.v53-step p{font-size:10px;max-width:86px}
}

/* V53 - make all inner pages match the homepage's black-gold temple style more closely. */
body.temple52 .route-view:not([data-route="/"]) .subpage,
body.temple52 .route-view[data-route="/login"] .tz-auth-page,
body.temple52 .route-view[data-route="/register"] .tz-auth-page,
body.temple52 .route-view[data-route="/member"] .shell,
body.temple52 .route-view[data-route="/forgot-password"] .shell{
  padding-top:34px;
  padding-bottom:74px;
}
body.temple52 .sub-hero,
body.temple52 .about-hero,
body.temple52 .feature-showcase,
body.temple52 .pricing-note,
body.temple52 .tz-auth-card,
body.temple52 .support-form,
body.temple52 .member-card,
body.temple52 .member-panel,
body.temple52 .forgot-card{
  background:linear-gradient(180deg,rgba(9,18,24,.95),rgba(5,10,13,.94));
  border:1px solid rgba(210,151,74,.45);
  box-shadow:0 18px 40px rgba(0,0,0,.35),inset 0 0 0 1px rgba(255,219,152,.06);
}
body.temple52 .feature-card,
body.temple52 .price-card,
body.temple52 .guide-panel article,
body.temple52 .faq-list details,
body.temple52 .timeline article,
body.temple52 .about-values article,
body.temple52 .support-options article,
body.temple52 .security-grid article,
body.temple52 .about-emblem,
body.temple52 .support-options article,
body.temple52 .pricing-grid-full .price-card{
  background:linear-gradient(180deg,rgba(11,21,28,.97),rgba(5,10,13,.96));
  border:1px solid rgba(207,153,79,.45);
  box-shadow:0 12px 30px rgba(0,0,0,.26),inset 0 0 0 1px rgba(255,219,152,.05);
}
body.temple52 .feature-card:hover,
body.temple52 .price-card:hover,
body.temple52 .guide-panel article:hover,
body.temple52 .support-options article:hover,
body.temple52 .security-grid article:hover,
body.temple52 .about-values article:hover{
  border-color:rgba(255,219,152,.72);
  transform:translateY(-3px);
}
body.temple52 .sub-hero .eyebrow,
body.temple52 .about-hero .eyebrow,
body.temple52 .feature-showcase .eyebrow,
body.temple52 .tz-auth-card .form-head span,
body.temple52 .support-form .form-head span,
body.temple52 .timeline article span,
body.temple52 .price-top em,
body.temple52 .price-top span{
  color:#dbb068;
}
body.temple52 .sub-hero h1,
body.temple52 .about-hero h1,
body.temple52 .feature-showcase h2,
body.temple52 .pricing-note h3,
body.temple52 .tz-auth-card h2,
body.temple52 .support-form h2,
body.temple52 .about-values h3,
body.temple52 .feature-card h3,
body.temple52 .guide-panel h3,
body.temple52 .security-grid h3,
body.temple52 .support-options h3,
body.temple52 .price-card strong,
body.temple52 .timeline h3,
body.temple52 .faq-list summary,
body.temple52 .about-emblem span{color:#ffe1a7}
body.temple52 .sub-hero p,
body.temple52 .about-hero p,
body.temple52 .feature-showcase p,
body.temple52 .pricing-note p,
body.temple52 .feature-card p,
body.temple52 .guide-panel p,
body.temple52 .security-grid p,
body.temple52 .support-options p,
body.temple52 .faq-list p,
body.temple52 .timeline p,
body.temple52 .price-card li,
body.temple52 .about-values p,
body.temple52 .tz-auth-note,
body.temple52 .tz-auth-card small,
body.temple52 .support-form label,
body.temple52 .form-message,
body.temple52 .pricing-note a,
body.temple52 .about-emblem small{color:#d2d9de}
body.temple52 .guide-tabs,
body.temple52 .device-pills,
body.temple52 .tz-login-meta,
body.temple52 .pricing-grid-full,
body.temple52 .faq-list,
body.temple52 .timeline,
body.temple52 .support-layout,
body.temple52 .about-values,
body.temple52 .security-grid{margin-top:20px}
body.temple52 .guide-tabs button,
body.temple52 .device-pills span{
  background:linear-gradient(180deg,#111f28,#0a1117);
  border:1px solid rgba(97,208,230,.26);
  color:#caedf3;
}
body.temple52 .guide-tabs button.active{border-color:#f0c46d;box-shadow:0 0 0 1px rgba(240,196,109,.24),0 0 18px rgba(39,206,223,.22)}
body.temple52 input,
body.temple52 textarea,
body.temple52 select{
  background:#091117;
  border:1px solid rgba(120,149,164,.34);
  color:#e9f8fd;
}
body.temple52 input:focus,
body.temple52 textarea:focus,
body.temple52 select:focus{
  border-color:#5de7ff;
  box-shadow:0 0 0 3px rgba(93,231,255,.12);
}
body.temple52 .btn.btn-primary,
body.temple52 .btn-primary,
body.temple52 .e-header-register{
  box-shadow:0 10px 24px rgba(0,0,0,.24),0 0 18px rgba(57,214,235,.18);
}
body.temple52 .showcase-desktop,
body.temple52 .showcase-phone,
body.temple52 .about-products img,
body.temple52 .about-products .v45-shot-crop{
  border-color:rgba(214,160,82,.55);
  box-shadow:0 12px 28px rgba(0,0,0,.35);
}
body.temple52 .v51-step.v53-step.step-01{--step-bg:url('/images/egypt/guide-wide-01.webp')}
body.temple52 .v51-step.v53-step.step-02{--step-bg:url('/images/egypt/guide-wide-02.webp')}
body.temple52 .v51-step.v53-step.step-03{--step-bg:url('/images/egypt/guide-wide-03.webp')}
body.temple52 .v51-step.v53-step.step-04{--step-bg:url('/images/egypt/guide-wide-04.webp')}
