/* Measured from the approved 674x1536 Android reference; scoped to this isolated home only. */
:root{--d12-reference-ivory:#f3ebd8;--d12-reference-paper:#f8f0dc;--d12-reference-gold:#c29a4c;--d12-reference-maroon:#581b24;--d12-reference-green:#07583e;--d12-reference-ink:#38271d}
body.d12-reference-shell{margin:0!important;padding:0 0 calc(190px + env(safe-area-inset-bottom))!important;background:var(--d12-reference-ivory)!important;color:var(--d12-reference-ink)!important;font-family:Georgia,"Times New Roman",serif!important;overflow-x:hidden!important}
body.d12-reference-shell .app{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
body.d12-reference-shell .hero{position:relative!important;display:block!important;width:100%!important;height:26vw!important;min-height:96px!important;max-height:104px!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-bottom:3px solid #d0a342!important;border-radius:0!important;background:#13213b!important;box-shadow:none!important}
body.d12-reference-shell .hero:before,body.d12-reference-shell .hero:after{top:0!important;bottom:0!important;width:8px!important;z-index:3!important}
.d12-reference-hero-art{position:absolute!important;inset:0!important;z-index:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:fill!important;object-position:center!important}
.d12-reference-hero-mask{position:absolute!important;inset:0!important;z-index:1!important;pointer-events:none!important;background:linear-gradient(90deg,transparent 0%,transparent 29%,#14213b 37%,#14213b 63%,transparent 72%)!important}
body.d12-reference-shell .hero .brand{position:absolute!important;z-index:4!important;top:27px!important;left:50%!important;width:48%!important;min-width:145px!important;transform:translateX(-50%)!important;margin:0!important;text-align:center!important;text-shadow:0 2px 4px #000,0 0 7px #261600!important}
body.d12-reference-shell .hero .brand .laurel{margin:0!important;color:#f5c35a!important;font-size:17px!important;line-height:17px!important;letter-spacing:4px!important}
body.d12-reference-shell .hero .brand h1{display:block!important;margin:0!important;padding:0!important;border:0!important;background:none!important;color:#ffe3a0!important;font-size:23px!important;font-weight:900!important;line-height:1.05!important;letter-spacing:.5px!important;white-space:nowrap!important}
body.d12-reference-shell .hero .brand p{margin:4px 0 0!important;color:#ffdb8b!important;font-size:8px!important;font-weight:bold!important;line-height:1.1!important}
body.d12-reference-shell .hero .language{position:absolute!important;z-index:5!important;top:4px!important;right:5px!important;min-width:0!important;margin:0!important;padding:2px 4px!important;border:1px solid #d8ad53!important;border-radius:12px!important;background:#10243d!important;color:#ffe5a4!important;font:700 7px/1.2 system-ui,sans-serif!important}
body.d12-reference-shell .adsense-section{margin:0!important;padding:5px 6px 8px!important;background:var(--d12-reference-ivory)!important}
body.d12-reference-shell .adsense-frame{position:relative!important;display:flex!important;align-items:center!important;justify-content:space-around!important;gap:4px!important;min-height:48px!important;height:48px!important;padding:3px!important;overflow:hidden!important;border:1px solid #b88a38!important;border-radius:6px!important;background:linear-gradient(135deg,#fff9ec,#efdbad)!important;box-shadow:none!important}
body.d12-reference-shell .adsense-placeholder{display:flex!important;flex:1 1 50%!important;min-width:0!important;width:50%!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;color:#604628!important;text-align:center!important;font-family:Georgia,serif!important}
body.d12-reference-shell .adsense-placeholder[hidden]{display:none!important}
body.d12-reference-shell .adsense-title{display:inline-block!important;margin:0!important;padding:2px 6px!important;border:1px solid #b88a38!important;border-radius:4px!important;background:linear-gradient(#ffefc5,#e0bd6b)!important;color:#60431c!important;font:700 7.5px/1.1 Georgia,serif!important;text-shadow:none!important}
body.d12-reference-shell .adsense-subtitle{font:700 7px/1.1 Georgia,serif!important}
body.d12-reference-shell .adsense-note{font:5.5px/1.15 Georgia,serif!important}
#view-home{display:block!important;margin:0!important;padding:0!important}
#view-home .d12-reference-home{display:block!important;width:100%!important;margin:0!important;padding:0!important;background:var(--d12-reference-ivory)!important;color:var(--d12-reference-ink)!important}
#view-home #rise-holdings{display:block!important;margin:0!important;padding:8px 6px 0!important;background:transparent!important}
#view-home .holdings-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;width:100%!important;margin:0!important;padding:0!important}
#view-home .coin-card{box-sizing:border-box!important;display:flex!important;min-width:0!important;height:74px!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:1px!important;margin:0!important;padding:3px 2px!important;overflow:hidden!important;border:2px ridge #b88a38!important;border-radius:7px!important;background:linear-gradient(135deg,#fff9ec,#e8d0a2)!important;color:var(--d12-reference-maroon)!important;text-align:center!important;box-shadow:0 1px 3px #60431c33!important}
#view-home .coin-card.points{justify-content:center!important;border-color:#b88a38!important;background:#104330!important;color:#f6dc91!important}
#view-home .coin-card h2{display:block!important;width:100%!important;min-height:0!important;margin:0!important;padding:1px 2px!important;color:#3e2619!important;font:700 11px/1.1 Georgia,serif!important;text-align:center!important;overflow-wrap:anywhere!important}
#view-home .coin-card.points h2{color:#f6dc91!important;font-size:14px!important}
#view-home .coin-card .currency-art{display:block!important;width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important;margin:0 auto!important;object-fit:contain!important;flex:none!important}
#view-home .coin-card.roman-currency-card h2{min-height:13px!important;border:1px solid #b88a38!important;border-radius:4px!important;background:linear-gradient(#ffefc5,#e0bd6b)!important}
#view-home .coin-card strong{display:block!important;margin:0!important;padding:0!important;color:#38271d!important;font:800 13px/1.1 Georgia,serif!important;font-variant-numeric:tabular-nums!important}
#view-home .coin-card.points strong{color:#f6dc91!important}
#view-home .d12-wallet-status{min-height:12px!important;margin:2px 0 4px!important;color:#765e3c!important;font:6.5px/1.25 Georgia,serif!important;text-align:center!important}
#view-home .holdings-toggle.empire-banner-toggle{display:block!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;line-height:0!important}
#view-home .empire-banner-toggle img{display:block!important;width:100%!important;height:auto!important;max-height:126px!important;margin:0!important;object-fit:fill!important;object-position:center!important}
#view-home .player-level{box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:5px!important;width:calc(100% - 10px)!important;height:46px!important;min-height:46px!important;margin:15px 5px 12px!important;padding:4px 5px!important;overflow:hidden!important;border:1px solid #c8a85f!important;border-radius:7px!important;background:linear-gradient(135deg,#fff8e8,#efdbad)!important;color:#38271d!important;box-shadow:none!important}
#view-home .level-emblem{display:flex!important;flex:0 0 24px!important;width:24px!important;height:24px!important;align-items:center!important;justify-content:center!important;border:2px solid #b88a38!important;border-radius:50%!important;background:#07583e!important;color:#efdbad!important;font:800 12px/1 Georgia,serif!important}
#view-home .level-content{display:flex!important;min-width:0!important;flex:1!important;height:100%!important;flex-direction:column!important;justify-content:center!important;gap:2px!important}
#view-home .level-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:4px!important;min-height:14px!important}
#view-home .level-heading strong{display:inline-block!important;margin:0!important;padding:3px 5px!important;border:1px solid #b88a38!important;border-radius:4px!important;background:linear-gradient(#ffefc5,#e0bd6b)!important;color:#38271d!important;font:700 8px/1.1 Georgia,serif!important}
#view-home .level-heading span{color:#38271d!important;font:700 6.5px/1.1 Georgia,serif!important}
#view-home .level-track{height:5px!important;min-height:5px!important;border:1px solid #bd9a52!important;border-radius:5px!important;background:#f4e4bc!important}
#view-home .level-fill{height:100%!important;border-radius:inherit!important;background:#07583e!important}
#view-home .level-content>p{margin:0!important;color:#4a392a!important;font:6px/1.15 Georgia,serif!important}
#view-home .season-airdrop{display:block!important;width:calc(100% - 8px)!important;height:105px!important;margin:0 4px 0!important;padding:0!important;overflow:hidden!important;border:0!important;background:none!important;line-height:0!important}
#view-home .season-airdrop img{display:block!important;width:100%!important;height:105px!important;max-height:none!important;margin:0!important;object-fit:fill!important;object-position:center!important}
body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom{box-sizing:border-box!important;position:fixed!important;z-index:1000!important;right:0!important;bottom:0!important;left:0!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:repeat(3,58px)!important;grid-auto-flow:row!important;align-content:start!important;gap:2px!important;width:100%!important;height:calc(184px + env(safe-area-inset-bottom))!important;max-width:none!important;margin:0!important;padding:3px 4px calc(5px + env(safe-area-inset-bottom))!important;overflow:hidden!important;border:0!important;border-top:2px solid #b88a38!important;border-radius:0!important;background:#f4ebd8!important;box-shadow:0 -1px 4px #50371922!important;backdrop-filter:none!important}
body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom .roman-nav-item{box-sizing:border-box!important;display:flex!important;grid-column:span 2!important;grid-row:auto!important;min-width:0!important;min-height:0!important;height:58px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;margin:0!important;padding:2px!important;overflow:hidden!important;border:1px solid #bd9446!important;border-radius:5px!important;background:linear-gradient(180deg,#fff0bd,#e4c06b)!important;color:#581b24!important;font:700 9px/1.12 Georgia,serif!important;text-align:center!important;text-decoration:none!important;text-shadow:none!important;white-space:normal!important;overflow-wrap:anywhere!important;box-shadow:none!important;opacity:1!important}
body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom .roman-nav-item:nth-child(7){grid-column:1/span 3!important}
body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom .roman-nav-item:nth-child(8){grid-column:4/span 3!important}
body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom .roman-nav-item.active{border-color:#b88a38!important;background:#07583e!important;color:#fff!important}
body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom .nav-symbol.nav-icon{display:flex!important;flex:none!important;width:27px!important;height:27px!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important}
body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom .roman-nav-art{display:block!important;width:27px!important;height:27px!important;max-width:27px!important;max-height:27px!important;margin:0!important;object-fit:contain!important;object-position:center!important}
body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom .roman-nav-item:disabled{cursor:not-allowed!important}
@media(max-width:360px){body.d12-reference-shell .hero .brand{top:25px!important}.d12-reference-shell .hero .brand h1{font-size:21px!important}#view-home .coin-card{height:72px!important}body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom{grid-template-rows:repeat(3,56px)!important;height:calc(178px + env(safe-area-inset-bottom))!important}body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom .roman-nav-item{height:56px!important;font-size:8px!important}}
@media(min-width:431px){body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom{grid-template-columns:repeat(8,minmax(0,1fr))!important;grid-template-rows:68px!important;height:calc(76px + env(safe-area-inset-bottom))!important}body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom .roman-nav-item,body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom .roman-nav-item:nth-child(7),body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom .roman-nav-item:nth-child(8){grid-column:span 1!important;height:68px!important}body.d12-reference-shell{padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}}
@media(max-height:700px) and (max-width:430px){body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom{grid-template-rows:repeat(3,54px)!important;height:calc(166px + env(safe-area-inset-bottom))!important}body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom .roman-nav-item{height:54px!important}body.d12-reference-shell{padding-bottom:calc(172px + env(safe-area-inset-bottom))!important}}
/* Iteration 2: remove the inherited chevron divider and align measured card height. */
body.d12-reference-shell #view-home .d12-reference-home::before{display:none!important;content:none!important;background:none!important}
body.d12-reference-shell #view-home .coin-card{min-height:74px!important;height:74px!important}
body.d12-reference-shell #view-home #rise-holdings{margin-top:0!important;padding-top:0!important}
body.d12-reference-shell #view-home .holdings-grid{margin-top:0!important}
body.d12-reference-shell .hero .brand p{display:block!important;position:relative!important;z-index:5!important;margin-top:2px!important;line-height:10px!important;white-space:nowrap!important}
/* The original hero art embeds the old RISE V5 lettering; cover that measured text area before rendering live RISE D12 HTML. */
body.d12-reference-shell .d12-reference-hero-mask{background:linear-gradient(90deg,transparent 0%,transparent 31%,#14213b 35%,#14213b 65%,transparent 69%,transparent 100%)!important}
/* Iteration 3: measured vertical alignment and reuse the artwork's original matching subtitle. */
body.d12-reference-shell .hero{height:25.2vw!important;max-height:99px!important}
body.d12-reference-shell .d12-reference-hero-mask{background:linear-gradient(90deg,transparent 0%,transparent 31%,#14213b 35%,#14213b 65%,transparent 69%,transparent 100%)!important;background-size:100% 52%!important;background-repeat:no-repeat!important;background-position:center 12%!important}
body.d12-reference-shell .hero .brand p{display:none!important}
body.d12-reference-shell #view-home #rise-holdings{padding-top:10px!important}
body.d12-reference-shell #view-home .d12-wallet-status{margin-bottom:0!important}
body.d12-reference-shell #view-home .player-level{margin-top:17px!important;margin-bottom:8px!important}
body.d12-reference-shell .rise-bottom-nav.roman-nav.d12-home-bottom{height:calc(190px + env(safe-area-inset-bottom))!important}
/* Restore an opaque, full-height title panel so only the live RISE D12 lettering is visible. */
body.d12-reference-shell .d12-reference-hero-mask{background:linear-gradient(90deg,transparent 0%,transparent 30%,#14213b 34%,#14213b 66%,transparent 70%,transparent 100%)!important;background-size:100% 100%!important;background-position:center!important}
body.d12-reference-shell .hero .brand p{display:block!important;margin-top:2px!important;font-size:8px!important;line-height:10px!important}
/* Precisely mask only the obsolete baked RISE V5 title; retain the approved baked subtitle. */
body.d12-reference-shell .d12-reference-hero-mask{background:none!important}
body.d12-reference-shell .d12-reference-hero-mask::before{content:""!important;position:absolute!important;top:22%!important;left:34%!important;width:32%!important;height:32%!important;background:#14213b!important;pointer-events:none!important}
body.d12-reference-shell .hero .brand p{display:none!important}
/* Align the live title/subtitle to the reference typography while retaining the original wreaths. */
body.d12-reference-shell .d12-reference-hero-mask::before{top:15%!important;left:35%!important;width:30%!important;height:45%!important}
body.d12-reference-shell .hero .brand{top:13px!important}
body.d12-reference-shell .hero .brand .laurel{font-size:10px!important;line-height:10px!important;letter-spacing:2px!important}
body.d12-reference-shell .hero .brand h1{margin-top:7px!important;font-size:24px!important;line-height:1.05!important}
body.d12-reference-shell .hero .brand p{display:block!important;margin-top:2px!important;font-size:8px!important;line-height:9px!important}
/* Final hero mask covers both baked legacy text lines, leaving only the translated HTML title pair. */
body.d12-reference-shell .d12-reference-hero-mask::before{top:15%!important;left:33%!important;width:34%!important;height:55%!important}
/* Blend the correction into the artwork's navy center without a hard-edged panel. */
body.d12-reference-shell .d12-reference-hero-mask::before{top:0!important;left:32%!important;width:36%!important;height:72%!important;border-radius:50%!important;background:radial-gradient(ellipse,#13213b 0%,#13213b 68%,rgba(19,33,59,.96) 82%,rgba(19,33,59,0) 100%)!important}
/* Solid color-matched cover prevents old raster lettering from bleeding through the live text. */
body.d12-reference-shell .d12-reference-hero-mask::before{top:14%!important;left:33%!important;width:34%!important;height:56%!important;border-radius:0!important;background:#13213b!important}
body.d12-reference-shell #view-home .coin-card.points h2{font-size:12px!important}
