.erg{--gold:#d8b46b;--cream:#fff0d3;background:#151713;color:var(--cream);padding:clamp(10px,2vw,24px);border:1px solid #806436;border-radius:20px;max-width:100%;font-family:inherit;box-sizing:border-box;overflow:hidden}.erg *{box-sizing:border-box}.erg-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.erg-head small{letter-spacing:2px;color:var(--gold);font-size:11px}.erg-head h2{color:var(--cream);margin:5px 0;font-size:clamp(24px,4vw,40px)}.erg-head p{margin:0;color:#c5b99c}.erg button,.erg-buy{font:inherit;font-size:13px;border:1px solid #aa8749;background:#24251e;color:var(--cream);padding:9px 13px;border-radius:9px;cursor:pointer;text-decoration:none}.erg button:hover,.erg-buy:hover{background:#d8b46b;color:#171713}.erg-actions,.erg-nav,.erg-move{display:flex;gap:6px;flex-wrap:wrap}.erg-stage{position:relative;height:clamp(360px,65vh,680px);background:radial-gradient(ellipse at top,#8f733b,#231c13 70%);border:1px solid #9a7a3d;border-radius:15px;overflow:hidden}.erg-view{position:absolute;inset:0;touch-action:none}.erg-view canvas{display:block;width:100%;height:100%;outline:none}.erg-status{position:absolute;top:10px;right:10px;left:10px;background:#1a1814db;padding:8px 12px;border-radius:8px;font-size:12px;margin:0;pointer-events:none}.erg-nav{position:absolute;bottom:12px;right:12px}.erg-move{position:absolute;bottom:12px;left:12px;direction:ltr}.erg-detail{position:absolute;top:50px;left:12px;width:min(280px,85%);max-height:calc(100% - 115px);overflow:auto;background:#181b16f5;border:1px solid var(--gold);border-radius:13px;padding:13px;box-shadow:0 12px 30px #0008}.erg-detail>button{float:left;padding:2px 8px}.erg-detail img{width:100%;height:160px;object-fit:contain;clear:both}.erg-detail h3{color:var(--cream);font-size:18px;margin:12px 0 4px}.erg-detail p,.erg-detail span{display:block;margin:6px 0;color:#e5cc98}.erg-buy{display:inline-block;background:var(--gold);color:#171713;margin-top:8px}.erg [hidden]{display:none!important}.erg-hint{font-size:12px;color:#c5b99c;margin:12px 0}.erg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:10px}.erg-card{border:1px solid #74603b;border-radius:11px;padding:10px;background:#20231c;min-width:0}.erg-card img{width:100%;height:145px;object-fit:contain;background:#151713;border:4px solid #a78343;border-radius:3px}.erg-card strong,.erg-card span{display:block;margin:7px 0;overflow-wrap:anywhere}.erg-card span{font-size:12px;color:#dac494}.erg-card .erg-buy{font-size:12px}.erg:fullscreen{overflow:auto;border-radius:0}.erg:fullscreen .erg-stage{height:80vh}.erg-classic .erg-stage,.erg-classic .erg-hint{display:none}.erg-demo-art{height:145px;border:4px solid #ac8d4e;background:radial-gradient(circle at 60% 30%,#ffdfa1 0 7%,transparent 8%),linear-gradient(155deg,#b27442,#e8bf7b 48%,#275247 49%,#173b32);border-radius:3px}@media(max-width:600px){.erg-stage{height:440px}.erg-nav{bottom:59px;right:8px}.erg-move{left:8px;bottom:8px}.erg-detail{top:48px;max-height:calc(100% - 155px)}.erg-head small{letter-spacing:1px}.erg button{padding:7px 10px}}
.erg-connection{color:#e2c693;border:1px solid #75603b;border-radius:8px;padding:8px 12px;margin:0 0 12px;background:#201e18;font-size:12px}.erg-card{background:linear-gradient(145deg,#2c2e24,#171b15)}.erg-card:focus-within{outline:2px solid #d8b46b}.erg-card .erg-buy:focus-visible,.erg button:focus-visible{outline:2px solid #fff0d3;outline-offset:3px}
.erg-placeholder{height:145px;border:1px solid #806436;border-radius:4px;display:grid;place-items:center;text-align:center;background:#191e19;color:#d6bd8b;font-size:12px;padding:8px}

.erg{width:100%;min-width:0;isolation:isolate}.erg .erg-tourbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px;margin:0 0 12px;border:1px solid #806436;border-radius:12px;background:linear-gradient(120deg,#20372b,#1a1d17)}.erg .erg-tour-main{background:linear-gradient(125deg,#f3d9a1,#c49b4e);color:#18251e;font-weight:bold;min-width:155px}.erg button:disabled{opacity:.55;cursor:not-allowed}.erg .erg-tourbar label{display:flex;align-items:center;gap:7px;color:#eddbb6;font-size:12px}.erg .erg-tourbar select{background:#262a21;color:#fff0d3;border:1px solid #a68c54;padding:6px;border-radius:6px}.erg .erg-tourbar input[type=range]{width:90px;padding:0;accent-color:#d8b46b}.erg-tour-progress{font-size:12px;color:#e5cc98;margin-inline-start:auto}.erg .erg-stage{height:clamp(390px,72vh,850px);width:100%;min-width:0}.erg .erg-view canvas{width:100%!important;height:100%!important;max-width:100%;max-height:100%;touch-action:none}.erg:fullscreen .erg-stage{height:calc(100dvh - 190px);min-height:320px}.erg .erg-status{max-width:100%;white-space:normal}.erg .erg-head{position:static;width:auto;max-width:100%;background:none}.erg .erg-head h2{color:#fff0d3}.erg .erg-detail{z-index:3}.erg .erg-nav,.erg .erg-move{z-index:2}.erg .erg-tourbar button{min-height:42px}@media(max-width:600px){.erg .erg-tourbar{gap:7px;padding:9px}.erg .erg-tour-main{min-width:0;flex:1}.erg-tour-progress{width:100%;margin:0}.erg .erg-stage{height:clamp(390px,68vh,620px)}.erg .erg-detail{width:min(245px,82%)}.erg:fullscreen .erg-stage{height:65dvh}}

/* Royal visual refresh */
.erg .erg-status{left:auto;right:12px;width:auto;max-width:calc(100% - 24px);background:#121c16c2;color:#f2dfb6;font-size:11px;padding:6px 10px}.erg .erg-stage{height:clamp(420px,76vh,920px);box-shadow:0 12px 40px #0005}.erg .erg-nav,.erg .erg-move{background:#121c16b5;padding:5px;border:1px solid #8a734b;border-radius:12px;backdrop-filter:blur(6px)}.erg .erg-connection{font-size:11px;padding:5px 10px}.erg .erg-card img{height:170px}.erg:fullscreen .erg-stage{height:calc(100dvh - 190px)}@media(max-width:600px){.erg .erg-stage{height:clamp(390px,68vh,620px)}.erg .erg-status{font-size:10px}.erg .erg-nav,.erg .erg-move{padding:3px}.erg .erg-card img{height:130px}}
