/* SPDX-License-Identifier: LicenseRef-XRBC-Watchdog-1.0 */
.xlcastle{--xl-bg:#09151f;--xl-panel:#0d1d2b;--xl-line:rgba(152,190,217,.16);--xl-text:#e0edf8;--xl-muted:#94acbf;--xl-blue:#69bcff;--xl-green:#5ce7b2;--xl-red:#f18491;--xl-locked:#9eb5cf;color:var(--xl-text);isolation:isolate}
.xlcastle *{box-sizing:border-box}
.xlcastle-visual{overflow:hidden;border:1px solid var(--xl-line);border-radius:18px;background:linear-gradient(145deg,rgba(42,77,101,.08),transparent 50%),var(--xl-bg)}
.xlcastle-scene{position:relative;min-height:270px;overflow:hidden;background:radial-gradient(ellipse at 44% 68%,rgba(50,148,135,.055),transparent 40%),linear-gradient(180deg,rgba(26,51,74,.12),transparent 80%)}
.xlcastle-scene:before{position:absolute;inset:0;content:"";pointer-events:none;background:linear-gradient(0deg,var(--xl-bg),transparent 16%);z-index:1}
.xlcastle-landscape{display:block;width:100%;height:auto;overflow:visible;color:var(--xl-muted)}
.xlcastle-terrain{fill:rgba(25,48,64,.17);stroke:rgba(99,148,180,.12);stroke-width:.8}
.xlcastle-horizon{fill:none;stroke:rgba(110,167,192,.16);stroke-width:1}
.xlcastle-moat-bank{fill:rgba(7,20,30,.65);stroke:rgba(91,159,198,.22);stroke-width:1}
.xlcastle-water-line,.xlcastle-water-shimmer{fill:none;stroke:#5ec2d9;stroke-opacity:.2;stroke-width:1}
.xlcastle-water-shimmer{stroke-opacity:.42;animation:xlcastle-shimmer 7s ease-in-out infinite}
.xlcastle-island{fill:#142c3b;stroke:rgba(123,177,204,.24);stroke-width:1}
.xlcastle-island-side{fill:#0c1b29;stroke:rgba(93,143,177,.18);stroke-width:.8}
.xlcastle-rear-wall{fill:rgba(61,102,148,.08);stroke:rgba(150,202,243,.2);stroke-width:1}
.xlcastle-glass-front,.xlcastle-wall{fill:url(#xlcastle-glass);stroke:rgba(152,204,243,.62);stroke-width:1}
.xlcastle-glass-side,.xlcastle-wall-side{fill:url(#xlcastle-side);stroke:rgba(123,174,219,.36);stroke-width:1}
.xlcastle-glass-top,.xlcastle-wall-cap{fill:url(#xlcastle-top);stroke:rgba(186,225,255,.65);stroke-width:.9}
.xlcastle-masonry{fill:url(#xlcastle-bricks);stroke:none}
.xlcastle-parapet{fill:rgba(107,161,205,.22);stroke:rgba(174,219,255,.64);stroke-width:.8}
.xlcastle-tower-edge{fill:none;stroke:rgba(158,205,245,.29);stroke-width:1}
.xlcastle-window{fill:rgba(72,169,217,.16);stroke:rgba(158,215,255,.57);stroke-width:.9}
.xlcastle-tower-foot{fill:rgba(76,115,153,.26);stroke:rgba(133,180,219,.45);stroke-width:1}
.xlcastle-courtyard{fill:rgba(80,130,164,.12);stroke:rgba(143,188,215,.2);stroke-width:.8}
.xlcastle-escrow-floor{fill:rgba(110,170,216,.09);stroke:rgba(128,192,236,.33);stroke-width:1}
.xlcastle-escrow-coins{fill:rgba(122,180,221,.17);stroke:rgba(147,204,247,.7);stroke-width:1}
.xlcastle-xrp-mark{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:2.5;color:#bce7ff}
.xlcastle-lock{fill:rgba(14,35,58,.8);stroke:#a8d8ff;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.xlcastle-lock-key{fill:#a8d8ff}
.xlcastle-wall-crest{fill:none;stroke:rgba(146,195,233,.7);stroke-width:1.1;stroke-linejoin:round}
.xlcastle-gate-frame{fill:rgba(15,33,51,.82);stroke:rgba(151,204,247,.7);stroke-width:3}
.xlcastle-gate{fill:rgba(4,16,28,.83);stroke:rgba(109,171,213,.65);stroke-width:1}
.xlcastle-gate-bars{fill:none;stroke:rgba(106,175,216,.28);stroke-width:1}
.xlcastle-gate-lamp{fill:#91d5ff;stroke:#bde8ff;stroke-width:.7}
.xlcastle-bridge-under{fill:#0c1925;stroke:rgba(114,157,188,.45);stroke-width:1}
.xlcastle-bridge-deck{fill:url(#xlcastle-bridge);stroke:rgba(161,192,210,.6);stroke-width:1}
.xlcastle-bridge-planks{fill:none;stroke:rgba(142,167,182,.3);stroke-width:1}
.xlcastle-bridge-rail{fill:none;stroke:rgba(164,201,224,.58);stroke-width:1.4;stroke-linecap:round}
.xlcastle-chain{fill:none;stroke:rgba(174,204,226,.7);stroke-width:1;stroke-dasharray:3 2}
.xlcastle-buy-lane{fill:none;stroke:url(#xlcastle-demand);stroke-width:18;stroke-linecap:round;opacity:.18}
.xlcastle-offer-lane{fill:none;stroke:url(#xlcastle-offer);stroke-width:16;stroke-linecap:round;opacity:.2}
.xlcastle-sell-lane{fill:none;stroke:var(--xl-red);stroke-width:10;stroke-linecap:round;opacity:.035}
.xlcastle-nexus-ring{fill:rgba(81,223,178,.025);stroke:rgba(88,222,184,.5);stroke-width:1.2}
.xlcastle-nexus-ring--outer{stroke:rgba(93,190,203,.22);stroke-dasharray:2 6}
.xlcastle-nexus-rays{fill:none;stroke:#89e9d6;stroke-width:.7;opacity:.4}
.xlcastle-nexus-light{fill:#88ffe0;opacity:.46;animation:xlcastle-shimmer 4s ease-in-out infinite}
.xlcastle-unit{fill:currentColor;stroke:currentColor;stroke-width:.7;stroke-linejoin:round;transform-box:fill-box;transform-origin:center bottom}
.xlcastle-unit--xrp{color:var(--xl-blue);fill:rgba(51,132,207,.58);animation:xlcastle-march-xrp 5.8s ease-in-out infinite}
.xlcastle-unit--buy{color:var(--xl-green);fill:rgba(41,151,114,.58);animation:xlcastle-march-buy 6.2s ease-in-out infinite}
.xlcastle-unit--sell{color:var(--xl-red);fill:rgba(159,65,90,.52);animation:xlcastle-march-sell 7.2s ease-in-out infinite;opacity:.72}
.xlcastle-unit-shield{fill:rgba(8,24,34,.72);stroke:currentColor;stroke-width:.65}
.xlcastle-unit .xlcastle-xrp-mark{color:currentColor}
.xlcastle-beam{fill:none;stroke-width:1.25;stroke-linecap:round;opacity:0;animation:xlcastle-beam 6s ease-in-out infinite}
.xlcastle-beam--buy{stroke:var(--xl-green)}
.xlcastle-beam--xrp{stroke:var(--xl-blue)}
.xlcastle-beam--sell{stroke:var(--xl-red)}
.xlcastle-spark{fill:none;stroke:#a8efd9;stroke-width:1.5;stroke-linecap:round;opacity:.2;animation:xlcastle-spark 5s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.xlcastle-delay-0{animation-delay:0s}.xlcastle-delay-1{animation-delay:-1s}.xlcastle-delay-2{animation-delay:-2s}.xlcastle-delay-3{animation-delay:-3s}.xlcastle-delay-4{animation-delay:-4s}.xlcastle-delay-5{animation-delay:-5s}
.xlcastle-callout{fill:none;stroke:rgba(129,170,197,.52);stroke-width:.8}
.xlcastle-callout circle{fill:var(--xl-bg);stroke-width:1.2}
.xlcastle-callout text{fill:var(--xl-text);stroke:none;font:600 10px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:1px}
.xlcastle-callout .xlcastle-callout-small{fill:var(--xl-muted);font:400 10px ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}
.xlcastle-callout--buyers{stroke:rgba(91,217,171,.54)}
.xlcastle-callout--buyers text:first-of-type{fill:var(--xl-green)}
.xlcastle-callout--gate text:first-of-type{fill:var(--xl-blue)}
.xlcastle-moat-label{fill:var(--xl-muted);font:500 8.4px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:1.7px;opacity:.7}
.xlcastle-nexus-card{position:absolute;z-index:2;top:8%;left:39%;width:23%;padding:14px 12px 16px;text-align:center;border:1px solid rgba(116,213,189,.28);border-radius:12px;background:linear-gradient(150deg,rgba(20,49,55,.94),rgba(9,25,38,.95));box-shadow:0 12px 38px rgba(0,0,0,.17),inset 0 1px rgba(186,241,224,.05)}
.xlcastle-nexus-card:after{position:absolute;content:"";bottom:-18px;left:50%;width:1px;height:18px;background:linear-gradient(rgba(111,219,190,.4),transparent)}
.xlcastle-nexus-kicker{display:block;color:var(--xl-muted);font-size:9px;font-weight:500;letter-spacing:1.2px;text-transform:uppercase;line-height:1.4}
.xlcastle-nexus-title{display:block;margin-top:5px;color:#cbefdf;font-size:12px;font-weight:600;letter-spacing:.05px}
.xlcastle-multiplier{display:block;margin:7px 0 3px;color:#b8f7db;font:550 clamp(28px,4.2vw,49px)/1.03 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-2px;font-variant-numeric:tabular-nums;text-shadow:0 0 22px rgba(93,217,162,.12)}
.xlcastle-multiplier span{margin-left:4px;font-size:.58em;font-weight:400;color:#79bca4;letter-spacing:-1px}
.xlcastle-nexus-caption{display:block;color:var(--xl-muted);font-size:9px;line-height:1.5}
.xlcastle-nexus-live{display:block;min-height:23px;margin-top:10px;padding-top:8px;border-top:1px solid rgba(143,193,183,.13);color:#a4c9c1;font-size:9px;line-height:1.45}
.xlcastle-scene-caption{position:absolute;z-index:2;bottom:13px;left:19px;right:19px;color:var(--xl-muted);font-size:9px;line-height:1.5;letter-spacing:.05px}
.xlcastle-caption-dot{display:inline-block;width:5px;height:5px;margin:0 6px 1px 0;border-radius:50%;background:#72b4d5;opacity:.7}
.xlcastle-inventory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:relative;z-index:2;border-top:1px solid var(--xl-line);background:rgba(8,19,29,.48)}
.xlcastle-inventory-item{min-width:0;padding:18px 19px 17px;border-right:1px solid var(--xl-line)}
.xlcastle-inventory-item:last-child{border-right:0}
.xlcastle-inventory-label{display:flex;align-items:center;gap:7px;color:var(--xl-muted);font-size:10px;font-weight:500;line-height:1.4}
.xlcastle-inventory-label i{display:inline-block;flex:0 0 auto;width:6px;height:6px;border-radius:2px;background:currentColor}
.xlcastle-inventory-item strong{display:block;margin-top:8px;color:var(--xl-text);font-size:clamp(16px,1.65vw,23px);font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;letter-spacing:-.55px}
.xlcastle-inventory-detail{display:block;margin-top:7px;color:var(--xl-muted);font-size:9px;line-height:1.5;opacity:.83}
.xlcastle-inventory-item--buy .xlcastle-inventory-label i{color:var(--xl-green)}
.xlcastle-inventory-item--xrp .xlcastle-inventory-label i{color:var(--xl-blue)}
.xlcastle-inventory-item--sell .xlcastle-inventory-label i{color:var(--xl-red)}
.xlcastle-inventory-item--locked .xlcastle-inventory-label i{color:var(--xl-locked)}
.xlcastle-coverage{margin:0;padding:11px 19px 13px;background:rgba(8,19,29,.48);color:var(--xl-muted);font-size:10px;line-height:1.6;border-top:1px solid rgba(152,190,217,.075)}
.xlcastle.is-paused .xlcastle-visual *,.xlcastle.is-paused .xlcastle-visual *:before,.xlcastle.is-paused .xlcastle-visual *:after{animation-play-state:paused!important}
@keyframes xlcastle-march-buy{0%,100%{transform:translate(0,0);opacity:.72}45%{transform:translate(13px,3px);opacity:1}60%{transform:translate(13px,2px);opacity:1}}
@keyframes xlcastle-march-xrp{0%,100%{transform:translate(0,0);opacity:.72}45%{transform:translate(-11px,3px);opacity:1}60%{transform:translate(-11px,2px);opacity:1}}
@keyframes xlcastle-march-sell{0%,100%{transform:translate(0,0);opacity:.45}50%{transform:translate(-10px,0);opacity:.8}}
@keyframes xlcastle-shimmer{0%,100%{opacity:.2}50%{opacity:.55}}
@keyframes xlcastle-beam{0%,22%,72%,100%{opacity:0;transform:translateX(0)}35%{opacity:.5}50%{opacity:.7;transform:translateX(6px)}65%{opacity:0;transform:translateX(9px)}}
@keyframes xlcastle-spark{0%,35%,75%,100%{opacity:0;transform:scale(.6)}47%{opacity:.8;transform:scale(1)}59%{opacity:.18;transform:scale(.65)}}
@media(max-width:760px){.xlcastle-scene{min-height:255px}.xlcastle-landscape{width:117%;max-width:none;margin-left:-8.5%;margin-top:21px}.xlcastle-nexus-card{left:36%;top:7%;width:28%;padding:10px 9px 11px}.xlcastle-nexus-kicker{font-size:7px}.xlcastle-nexus-title{font-size:10px}.xlcastle-nexus-caption,.xlcastle-nexus-live{font-size:8px}.xlcastle-multiplier{font-size:34px;margin:5px 0}.xlcastle-nexus-live{margin-top:6px;padding-top:5px;min-height:18px}.xlcastle-inventory-item{padding:14px 12px}.xlcastle-inventory-label{font-size:9px;gap:5px}.xlcastle-inventory-detail{font-size:8px}.xlcastle-scene-caption{bottom:9px;left:12px;right:12px;font-size:8px}.xlcastle-callout--buyers{display:none}.xlcastle-callout-small{display:none}}
@media(max-width:520px){.xlcastle-visual{border-radius:13px}.xlcastle-scene{min-height:292px;padding-top:105px}.xlcastle-landscape{width:145%;margin-left:-24%;margin-top:-4px}.xlcastle-nexus-card{left:20px;right:20px;top:14px;width:auto;min-height:84px;padding:10px 13px;text-align:left;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto auto;column-gap:8px}.xlcastle-nexus-kicker{font-size:8px;grid-column:1;grid-row:1}.xlcastle-nexus-title{grid-column:1;grid-row:2;font-size:13px;margin-top:4px}.xlcastle-multiplier{grid-column:2;grid-row:1/4;align-self:center;font-size:38px;margin:0;letter-spacing:-1.5px}.xlcastle-nexus-caption{grid-column:1;grid-row:3;font-size:9px;margin-top:4px}.xlcastle-nexus-live{grid-column:1/3;min-height:0;margin-top:7px;padding-top:6px;font-size:8px}.xlcastle-nexus-card:after{display:none}.xlcastle-scene-caption{font-size:8px;bottom:8px}.xlcastle-moat-label{display:none}.xlcastle-inventory{grid-template-columns:repeat(2,minmax(0,1fr))}.xlcastle-inventory-item{padding:14px 13px 13px}.xlcastle-inventory-item:nth-child(2){border-right:0}.xlcastle-inventory-item:nth-child(-n+2){border-bottom:1px solid var(--xl-line)}.xlcastle-inventory-item strong{font-size:19px}.xlcastle-inventory-label{font-size:10px}.xlcastle-inventory-detail{font-size:9px}.xlcastle-coverage{padding:10px 13px 12px;font-size:9px}.xlcastle-callout--gate text{font-size:9px}.xlcastle-callout--escrow text{font-size:9px}}
@media(prefers-reduced-motion:reduce){.xlcastle-visual *,.xlcastle-visual *:before,.xlcastle-visual *:after{animation:none!important;transition:none!important}.xlcastle-beam{opacity:.25}.xlcastle-spark{opacity:.2}}
[data-theme="light"] .xlcastle,body.light .xlcastle,html.light .xlcastle{--xl-bg:#eaf1f6;--xl-panel:#f5f8fb;--xl-line:rgba(48,88,116,.17);--xl-text:#1e3c50;--xl-muted:#506e82;--xl-green:#187d5a;--xl-blue:#277cbf;--xl-red:#bf536a;--xl-locked:#5c7895}
[data-theme="light"] .xlcastle .xlcastle-terrain,body.light .xlcastle .xlcastle-terrain,html.light .xlcastle .xlcastle-terrain{fill:rgba(133,169,187,.1)}
[data-theme="light"] .xlcastle .xlcastle-nexus-card,body.light .xlcastle .xlcastle-nexus-card,html.light .xlcastle .xlcastle-nexus-card{background:linear-gradient(145deg,rgba(237,250,245,.97),rgba(225,239,247,.97));border-color:rgba(41,123,98,.25);box-shadow:0 12px 32px rgba(51,89,112,.09)}
[data-theme="light"] .xlcastle .xlcastle-nexus-title,body.light .xlcastle .xlcastle-nexus-title,html.light .xlcastle .xlcastle-nexus-title{color:#245747}
[data-theme="light"] .xlcastle .xlcastle-multiplier,body.light .xlcastle .xlcastle-multiplier,html.light .xlcastle .xlcastle-multiplier{color:#187558;text-shadow:none}
[data-theme="light"] .xlcastle .xlcastle-nexus-live,body.light .xlcastle .xlcastle-nexus-live,html.light .xlcastle .xlcastle-nexus-live{color:#3a7166}
[data-theme="light"] .xlcastle .xlcastle-inventory,[data-theme="light"] .xlcastle .xlcastle-coverage,body.light .xlcastle .xlcastle-inventory,body.light .xlcastle .xlcastle-coverage,html.light .xlcastle .xlcastle-inventory,html.light .xlcastle .xlcastle-coverage{background:rgba(255,255,255,.28)}
