.royal-hub{--rh-accent:var(--wp--preset--color--accent,var(--theme-palette-color-1,#b86d43));--rh-border:color-mix(in srgb,currentColor 28%,transparent);color:inherit;font:inherit;max-width:1300px;margin:auto}.royal-hub *{box-sizing:border-box}.royal-hub .rh-hero{text-align:center;padding:3rem 1rem;border:1px solid var(--rh-border);background:transparent;border-radius:6px}.royal-hub h1,.royal-hub h2{color:inherit;font-family:inherit}.royal-hub h1{font-size:clamp(1.8rem,4vw,3.2rem)}.royal-hub h2{font-size:1.5rem}.rh-nav{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}.rh-nav a,.rh-btn{color:inherit;background:transparent;border:1px solid var(--rh-border);padding:.65rem .85rem;text-decoration:none;border-radius:4px;cursor:pointer;font:inherit}.royal-hub a:hover,.royal-hub button:hover{color:var(--rh-accent);border-color:var(--rh-accent)}.rh-panel{border:1px solid var(--rh-border);border-radius:6px;padding:1.2rem;margin-bottom:1rem;background:transparent}.rh-cols{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.rh-stats{display:flex;gap:2rem}.rh-stats strong{color:var(--rh-accent);font-size:1.6rem}.rh-stats span{display:grid}.rh-admin{padding:.6rem;border:1px dashed var(--rh-accent)}.rh-tree{display:grid;gap:.4rem;overflow:auto}.rh-node{margin-left:calc(var(--depth)*min(3.3%,22px));padding:.55rem;text-align:left;color:inherit;background:transparent;border:1px solid var(--rh-border);cursor:pointer;font:inherit;max-width:92%}.rh-node small{display:block;opacity:.7}.rh-match{border-left:4px solid var(--rh-accent)}.rh-scroll{overflow:auto}.royal-hub table{border-collapse:collapse;width:100%;font-size:.85rem}.royal-hub th,.royal-hub td{border:1px solid var(--rh-border);padding:.6rem;text-align:left}.rh-note{font-size:.85rem;opacity:.75}.rh-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.7rem}.rh-card{background:transparent;color:inherit;border:1px solid var(--rh-border);padding:1rem;display:flex;flex-direction:column;align-items:center;gap:.4rem;cursor:pointer;font:inherit}.rh-card img{width:90px;height:100px;object-fit:cover}.rh-crown{font-size:2.5rem;color:var(--rh-accent)}.rh-card small{opacity:.7}.rh-modal{max-width:min(750px,94vw);width:100%;max-height:85vh;overflow:auto;padding:1.5rem;background:transparent;color:inherit;border:1px solid var(--rh-border)}.rh-modal::backdrop{background:#000b}.rh-close{float:right;font-size:1.5rem;background:transparent;color:inherit;border:1px solid currentColor;cursor:pointer}.rh-profile-image{max-width:180px}.rh-form label{display:block;margin:.6rem 0}.rh-form input,.rh-form select,.rh-form textarea{display:block;width:100%;padding:.5rem;background:transparent;color:inherit;border:1px solid currentColor;font:inherit}.rh-form option{color:#111;background:#fff}.rh-formgrid{display:grid;grid-template-columns:1fr 1fr;gap:.5rem 1rem}@media(max-width:800px){.rh-cols,.rh-formgrid{grid-template-columns:1fr}.rh-panel{padding:.8rem}}

/* Theme-independent transparency for every hub surface, including popups. */
.royal-hub,.royal-hub .rh-hero,.royal-hub .rh-panel,.royal-hub .rh-card,.royal-hub .rh-node,.royal-hub .rh-admin,.royal-hub .rh-btn,.royal-hub .rh-nav a,.royal-hub .rh-form input,.royal-hub .rh-form textarea,.royal-hub .rh-form select{background:transparent!important;background-image:none!important;color:inherit;}
/* Dialogs are outside the page backdrop layer: transparent dialogs show the page behind them. */
.royal-hub .rh-modal{background:transparent!important;background-image:none!important;color:inherit;border-color:var(--rh-border);}
.royal-hub .rh-modal::backdrop{background:rgba(0,0,0,.55);}
.royal-hub .rh-form option{color:initial;background:initial;}

/* 1.3: theme-adaptive, transparent editorial layout */
.royal-hub-v13{--rh-accent:var(--wp--preset--color--accent,var(--theme-palette-color-1,var(--global-palette1,currentColor)));--rh-border:color-mix(in srgb,currentColor 30%,transparent);--rh-hover:var(--wp--preset--color--accent,var(--theme-palette-color-1,currentColor))}
.royal-hub-v13 .rh-hero{position:relative;overflow:hidden;padding:clamp(2rem,5vw,4rem) 1rem;border-top:2px solid var(--rh-border);border-bottom:2px solid var(--rh-border)}
.royal-hub-v13 .rh-hero:before,.royal-hub-v13 .rh-hero:after{content:"♛";position:absolute;top:50%;transform:translateY(-50%);font-size:clamp(2rem,6vw,5rem);opacity:.16;pointer-events:none}
.royal-hub-v13 .rh-hero:before{left:2%}.royal-hub-v13 .rh-hero:after{right:2%}
.royal-hub-v13 .rh-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:.55rem}
.royal-hub-v13 .rh-nav a{color:inherit!important;text-align:center;text-decoration:none!important;border:1px solid var(--rh-border);transition:border-color .2s,transform .2s}
.royal-hub-v13 .rh-nav a:hover,.royal-hub-v13 .rh-nav a:focus-visible{color:var(--rh-hover)!important;border-color:var(--rh-hover);transform:translateY(-2px)}
.royal-hub-v13 .rh-panel{border-radius:5px}
.royal-hub-v13 .rh-panel h2{border-bottom:1px solid var(--rh-border);padding-bottom:.55rem}
.royal-hub-v13 .rh-cols{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.royal-hub-v13 .rh-tree-graphic{overflow:auto;max-height:760px;padding:1rem .25rem}
.royal-hub-v13 .rh-genealogy,.royal-hub-v13 .rh-genealogy ul{list-style:none!important;margin:0;padding:0}
.royal-hub-v13 .rh-genealogy ul{margin-left:1.25rem;padding-left:1rem;border-left:1px solid var(--rh-border)}
.royal-hub-v13 .rh-genealogy li{list-style:none!important;position:relative;margin:.55rem 0;padding:0}
.royal-hub-v13 .rh-genealogy ul>li:before{content:"";position:absolute;top:1.15rem;left:-1rem;width:1rem;border-top:1px solid var(--rh-border)}
.royal-hub-v13 .rh-tree-person{display:flex;align-items:center;gap:.7rem;width:100%;min-width:170px;text-align:left;background:transparent!important;color:inherit;border:1px solid var(--rh-border);padding:.65rem;cursor:pointer;font:inherit}
.royal-hub-v13 .rh-tree-person.rh-match{border-left:4px solid var(--rh-accent)}
.royal-hub-v13 .rh-tree-person:hover,.royal-hub-v13 .rh-card:hover{border-color:var(--rh-accent)}
.royal-hub-v13 .rh-tree-person img{width:45px;height:48px;object-fit:cover}
.royal-hub-v13 .rh-tree-person small{display:block;font-size:.78em;opacity:.75}
.royal-hub-v13 .rh-mini-crown{font-size:1.6rem;color:var(--rh-accent)}
.royal-hub-v13 .rh-dynasty-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.8rem}
.royal-hub-v13 .rh-dynasty-card{border:1px solid var(--rh-border);padding:1rem;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.5rem;min-height:155px}
.royal-hub-v13 .rh-dynasty-card small{opacity:.75}
.royal-hub-v13 .rh-dynasty-symbol{font-size:2rem;color:var(--rh-accent)}
.royal-hub-v13 .rh-card{transition:border-color .2s,transform .2s;min-height:160px}
.royal-hub-v13 .rh-card:hover{transform:translateY(-2px)}
.royal-hub-v13 .rh-btn{color:inherit!important}
.royal-hub-v13 .rh-btn:hover{color:var(--rh-hover)!important}
@media(max-width:800px){.royal-hub-v13 .rh-cols{grid-template-columns:1fr}.royal-hub-v13 .rh-hero:before,.royal-hub-v13 .rh-hero:after{display:none}}

/* 1.3.1: Ensure native dialog text is readable on dark and light seasonal themes. */
.royal-hub .rh-modal[open]{background:var(--wp--preset--color--base,var(--theme-palette-color-8,Canvas))!important;color:var(--wp--preset--color--contrast,var(--theme-palette-color-3,CanvasText))!important;box-shadow:0 12px 55px rgba(0,0,0,.5);z-index:999999;border:2px solid var(--rh-accent);}
.royal-hub .rh-modal .rh-content{display:block!important;min-height:80px;visibility:visible!important;opacity:1!important;}
.royal-hub .rh-modal .rh-content article{display:block!important;visibility:visible!important;opacity:1!important;color:inherit!important;}
.royal-hub .rh-modal .rh-content h2,.royal-hub .rh-modal .rh-content h3,.royal-hub .rh-modal .rh-content p{color:inherit!important;}
.royal-hub .rh-modal .rh-close{color:inherit!important;}

/* 1.3.2 native details: works even when a theme blocks dialog JavaScript */
.royal-hub .rh-native-profile{border:1px solid var(--rh-border);background:transparent;color:inherit;min-width:0}
.royal-hub .rh-native-profile[open]{border-color:var(--rh-accent)}
.royal-hub .rh-native-profile>summary{list-style:none;display:flex;gap:.7rem;align-items:center;padding:.8rem;cursor:pointer;color:inherit}
.royal-hub .rh-native-profile>summary::-webkit-details-marker{display:none}
.royal-hub .rh-native-profile>summary:after{content:"＋";margin-left:auto;color:var(--rh-accent)}
.royal-hub .rh-native-profile[open]>summary:after{content:"−"}
.royal-hub .rh-native-profile summary img{width:46px;height:52px;object-fit:cover}
.royal-hub .rh-native-profile summary small{display:block;font-size:.78em;opacity:.8}
.royal-hub .rh-native-body{padding:1rem;border-top:1px solid var(--rh-border);overflow-wrap:anywhere}
.royal-hub .rh-native-body h3{margin-top:0}
.royal-hub .rh-native-tree{margin-bottom:.4rem}
.royal-hub .rh-native-card{min-height:120px}
.royal-hub .rh-native-card>summary{flex-direction:column;text-align:center}
.royal-hub .rh-native-card summary img{width:95px;height:95px}

/* v1.4 horizontal, generation-based family tree; transparent and theme-adaptive */
.royal-hub .rh-tree-panel{width:100%;max-width:100%;min-width:0}
.royal-hub .rh-tree-scroll{width:100%;overflow-x:auto;overflow-y:visible;padding:1.5rem .5rem 2rem;scrollbar-width:thin}
.royal-hub .rh-generation-track{display:flex;align-items:flex-start;gap:42px;width:max-content;min-width:100%;padding:0 .5rem}
.royal-hub .rh-generation{flex:0 0 208px;width:208px;display:flex;flex-direction:column;gap:18px;position:relative}
.royal-hub .rh-generation:not(:first-child):before{content:'→';position:absolute;left:-34px;top:92px;color:var(--rh-accent);font-size:25px}
.royal-hub .rh-generation-heading{text-align:center;letter-spacing:.08em;font-size:.8rem;border-bottom:1px solid var(--rh-border);padding:.5rem 0;color:inherit}
.royal-hub .rh-tree-item{border:1px solid var(--rh-border);background:transparent;position:relative;min-width:0}
.royal-hub .rh-tree-item.rh-dna-node{border-color:var(--rh-accent);box-shadow:inset 3px 0 var(--rh-accent)}
.royal-hub .rh-parent-link{font-size:.72rem;opacity:.8;padding:0 .65rem .65rem;margin:0;line-height:1.3}
.royal-hub .rh-profile-details{color:inherit;background:transparent;min-width:0}
.royal-hub .rh-profile-details>summary{cursor:pointer;list-style:none;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.35rem;padding:.8rem;outline-offset:3px}
.royal-hub .rh-profile-details>summary::-webkit-details-marker{display:none}
.royal-hub .rh-profile-details>summary:after{content:'＋ View profile';font-size:.72rem;color:inherit;opacity:.8}
.royal-hub .rh-profile-details[open]>summary:after{content:'− Close profile'}
.royal-hub .rh-portrait{width:96px;height:110px;object-fit:cover;border:1px solid var(--rh-border);border-radius:3px}
.royal-hub .rh-portrait-placeholder{width:96px;height:110px;display:flex;align-items:center;justify-content:center;font-size:3.2rem;border:1px solid var(--rh-border);color:var(--rh-accent)}
.royal-hub .rh-person-label{display:flex;flex-direction:column;gap:.15rem;max-width:100%}
.royal-hub .rh-person-label strong{font-size:.94rem;line-height:1.3}
.royal-hub .rh-person-label small{font-size:.75rem;opacity:.8}
.royal-hub .rh-person-label em{font-size:.7rem;color:var(--rh-accent);font-style:normal}
.royal-hub .rh-profile-body{padding:.8rem;border-top:1px solid var(--rh-border);font-size:.85rem;overflow-wrap:anywhere}
.royal-hub .rh-profile-body h3{font-size:1rem;margin:0 0 .4rem}
.royal-hub .rh-profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:.8rem}
.royal-hub .rh-profile-grid>.rh-profile-details{border:1px solid var(--rh-border)}
.royal-hub .rh-profile-grid>.rh-profile-details[open]{border-color:var(--rh-accent)}

/* v1.5.0: full screen family tree, independent of the theme's dialog popup */
.royal-hub .rh-tree-viewer{position:fixed!important;inset:2vh 2vw!important;width:96vw!important;max-width:none!important;height:96vh!important;max-height:none!important;box-sizing:border-box;overflow:hidden;padding:0!important;margin:auto!important;border:1px solid currentColor;background:var(--wp--preset--color--base,var(--theme-palette-color-8,#15110e))!important;color:var(--wp--preset--color--contrast,#f5e9dc)!important;z-index:2147483646}
.royal-hub .rh-tree-viewer::backdrop{background:rgba(0,0,0,.85)}
.royal-hub .rh-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:.8rem 1rem;border-bottom:1px solid currentColor}
.royal-hub .rh-viewer-controls{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap}
.royal-hub .rh-viewer-controls button{padding:.4rem .75rem;cursor:pointer;background:transparent;color:inherit;border:1px solid currentColor;font:inherit}
.royal-hub .rh-viewer-controls button:hover{opacity:.75}
.royal-hub .rh-viewer-hint{padding:.4rem 1rem;margin:0;font-size:.8rem;opacity:.8}
.royal-hub .rh-viewer-viewport{height:calc(100% - 112px);overflow:hidden;position:relative;cursor:grab;touch-action:none}
.royal-hub .rh-viewer-viewport:active{cursor:grabbing}
.royal-hub .rh-viewer-canvas{width:max-content;min-width:100%;transform-origin:top left;will-change:transform}
.royal-hub .rh-viewer-canvas .rh-generation-track{display:flex;width:max-content;gap:1.5rem;padding:1rem;align-items:flex-start}
.royal-hub .rh-viewer-canvas .rh-generation{min-width:200px;max-width:240px}
.royal-hub .rh-viewer-canvas .rh-native-profile{min-width:180px}
@media(max-width:600px){.royal-hub .rh-tree-viewer{inset:1vh 1vw!important;width:98vw!important;height:98vh!important}.royal-hub .rh-viewer-viewport{height:calc(100% - 160px)}}

/* v1.6 traditional family tree with real branching connectors */
.royal-hub .rh-chart-track{display:block!important;width:max-content!important;min-width:100%;padding:1.25rem 1.5rem!important}
.royal-hub .rh-chart-roots,.royal-hub .rh-chart-roots ul{display:flex;justify-content:center;list-style:none!important;margin:0!important;padding:0!important;position:relative}
.royal-hub .rh-chart-roots{gap:3rem}
.royal-hub .rh-chart-branch{list-style:none!important;position:relative;text-align:center;padding:24px 8px 0;margin:0;min-width:170px}
.royal-hub .rh-chart-branch:before,.royal-hub .rh-chart-branch:after{content:"";position:absolute;top:0;right:50%;width:50%;height:24px;border-top:1px solid var(--rh-border)}
.royal-hub .rh-chart-branch:after{right:auto;left:50%;border-left:1px solid var(--rh-border)}
.royal-hub .rh-chart-branch:only-child:before,.royal-hub .rh-chart-branch:only-child:after{display:none}
.royal-hub .rh-chart-branch:first-child:before,.royal-hub .rh-chart-branch:last-child:after{border:0}
.royal-hub .rh-chart-branch:last-child:before{border-right:1px solid var(--rh-border);border-radius:0 6px 0 0}
.royal-hub .rh-chart-branch:first-child:after{border-radius:6px 0 0 0}
.royal-hub .rh-chart-branch>ul{padding-top:28px!important;margin-top:0!important}
.royal-hub .rh-chart-branch>ul:before{content:"";position:absolute;top:0;left:50%;height:28px;border-left:1px solid var(--rh-border)}
.royal-hub .rh-chart-roots>.rh-chart-branch:before,.royal-hub .rh-chart-roots>.rh-chart-branch:after{display:none}
.royal-hub .rh-chart-person{width:176px;margin:auto;border:1px solid var(--rh-border);background:transparent;position:relative}
.royal-hub .rh-chart-dna{border:2px solid var(--rh-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--rh-accent) 15%,transparent)}
.royal-hub .rh-chart-person .rh-profile-details{border:0!important;min-height:0}
.royal-hub .rh-chart-person .rh-profile-details>summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.4rem;min-height:160px;padding:.8rem;cursor:pointer}
.royal-hub .rh-chart-person .rh-portrait{width:76px!important;height:85px!important;object-fit:cover}
.royal-hub .rh-chart-person .rh-portrait-placeholder{font-size:2.5rem}
.royal-hub .rh-chart-person .rh-person-label{display:flex;flex-direction:column;align-items:center;text-align:center}
.royal-hub .rh-chart-person .rh-person-label strong{font-size:.95rem;line-height:1.25}
.royal-hub .rh-chart-person .rh-person-label em{font-size:.7rem}
.royal-hub .rh-chart-person .rh-profile-details[open] .rh-profile-body{position:absolute;top:100%;left:50%;transform:translateX(-50%);width:300px;max-height:360px;overflow:auto;text-align:left;padding:1rem;border:1px solid var(--rh-accent);background:var(--wp--preset--color--base,var(--theme-palette-color-8,#181512));color:var(--wp--preset--color--contrast,#f4e9dc);z-index:10;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.royal-hub .rh-tree-scroll{min-height:320px}
.royal-hub .rh-viewer-canvas .rh-chart-track{width:max-content!important;min-width:0!important}
@media(max-width:700px){.royal-hub .rh-chart-branch{min-width:160px;padding-left:4px;padding-right:4px}.royal-hub .rh-chart-person{width:160px}}

/* v1.7 auto-drawn connectors: no hand-positioned lines required */
.royal-hub .rh-chart-track{position:relative;isolation:isolate}
.royal-hub .rh-auto-lines{position:absolute;left:0;top:0;z-index:0;pointer-events:none;overflow:visible;color:var(--rh-accent,currentColor);opacity:.75}
.royal-hub .rh-chart-roots{z-index:1}
.royal-hub .rh-chart-branch:before,.royal-hub .rh-chart-branch:after,.royal-hub .rh-chart-branch>ul:before{display:none!important}

/* 1.8.0: align SVG connector coordinate system with zoomed fullscreen chart */
.royal-hub .rh-chart-roots{position:relative;z-index:1}
.royal-hub .rh-auto-lines{position:absolute;top:0;left:0;display:block;pointer-events:none;z-index:0}

.royal-hub .rh-rel-editor{border:1px solid var(--rh-border,currentColor);padding:1rem;grid-column:1/-1;margin:.5rem 0}.royal-hub .rh-rel-editor legend{font-weight:bold}.royal-hub .rh-rel-editor label{display:block;margin:.6rem 0}.royal-hub .rh-rel-editor select,.royal-hub .rh-rel-editor input{width:100%;max-width:100%;padding:.5rem;background:transparent;color:inherit;border:1px solid currentColor}.royal-hub .rh-rel-editor option{color:#111;background:#fff}

/* Spouse cards are part of the same branch and inherit theme styling. */
.royal-hub .rh-family-couple{display:flex;align-items:center;justify-content:center;gap:0;position:relative;width:max-content;margin:0 auto}
.royal-hub .rh-family-couple>.rh-chart-person{flex:0 0 176px;margin:0}
.royal-hub .rh-marriage-line{display:block;width:36px;min-width:36px;height:2px;background:var(--rh-border,currentColor);position:relative}
.royal-hub .rh-marriage-line:after{content:"♥";font-size:11px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:var(--wp--preset--color--base,var(--theme-palette-color-8,#181512));padding:0 3px;color:var(--rh-accent,currentColor)}
@media(max-width:700px){.royal-hub .rh-family-couple>.rh-chart-person{flex-basis:160px}.royal-hub .rh-marriage-line{width:20px;min-width:20px}}

/* v2.3: keep married parents and their children on the same visual centerline. */
.royal-hub .rh-chart-track{box-sizing:border-box;min-width:100%!important;width:max-content!important}
.royal-hub .rh-chart-roots{width:max-content;min-width:100%;box-sizing:border-box;justify-content:center}
.royal-hub .rh-chart-branch{display:flex;flex-direction:column;align-items:center;box-sizing:border-box}
.royal-hub .rh-chart-branch>ul{align-self:center;justify-content:center;gap:20px}
.royal-hub .rh-family-couple{align-self:center}
.royal-hub .rh-tree-scroll{overflow-x:auto;overscroll-behavior-x:contain}
.royal-hub .rh-viewer-canvas .rh-chart-track{min-width:0!important}
/* v2.4: render the live connector SVG above branch backgrounds, below controls. */
.royal-hub .rh-chart-track>.rh-auto-lines{z-index:2!important;pointer-events:none;overflow:visible}
.royal-hub .rh-chart-roots{z-index:1}
.royal-hub .rh-family-couple,.royal-hub .rh-chart-person{z-index:3}

/* v2.6: keep SVG branches above the chart, with clear contrast and no clipping. */
.royal-hub .rh-chart-track>.rh-auto-lines{display:block!important;visibility:visible!important;opacity:1!important;z-index:5!important;overflow:visible!important;color:var(--rh-accent,currentColor)}
.royal-hub .rh-chart-track>.rh-auto-lines path{stroke:var(--rh-accent,currentColor)!important;stroke-width:2!important;fill:none!important}
.royal-hub .rh-chart-track .rh-chart-person{z-index:6}

.royal-hub .rh-children-select{min-height:145px;width:100%;}

/* v2.8 mockup-inspired page composition; no forced background colors */
.royal-hub.rh-mockup-layout{max-width:1480px;width:100%;--rh-copper:var(--rh-accent,#b86d43)}
.royal-hub.rh-mockup-layout .rh-hero{padding:2.3rem 1rem 2rem;position:relative;border-color:var(--rh-copper);border-radius:0;margin-bottom:.7rem}
.royal-hub.rh-mockup-layout .rh-hero h1{font-size:clamp(2rem,4.5vw,4.2rem);font-weight:500;line-height:1.14;margin:.25em auto}
.royal-hub.rh-mockup-layout .rh-hero p{font-size:clamp(.9rem,1.4vw,1.2rem)}
.royal-hub.rh-mockup-layout .rh-nav{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:.5rem;margin:0 0 .8rem}
.royal-hub.rh-mockup-layout .rh-nav a{display:flex;min-height:126px;flex-direction:column;justify-content:center;align-items:center;gap:.35rem;padding:.6rem .2rem;border:1px solid var(--rh-copper);border-radius:3px;font-size:clamp(.72rem,1.08vw,1rem);line-height:1.2}
.royal-hub.rh-mockup-layout .rh-nav a::before{display:block;font-size:clamp(1.7rem,3vw,2.7rem);line-height:1.4;color:var(--rh-copper)}
.royal-hub.rh-mockup-layout .rh-nav a:nth-child(1)::before{content:"♛"}
.royal-hub.rh-mockup-layout .rh-nav a:nth-child(2)::before{content:"♜"}
.royal-hub.rh-mockup-layout .rh-nav a:nth-child(3)::before{content:"⌬"}
.royal-hub.rh-mockup-layout .rh-nav a:nth-child(4)::before{content:"♧"}
.royal-hub.rh-mockup-layout .rh-nav a:nth-child(5)::before{content:"♕"}
.royal-hub.rh-mockup-layout .rh-nav a:nth-child(6)::before{content:"▤"}
.royal-hub.rh-mockup-layout .rh-nav a:nth-child(7)::before{content:"⌖"}
.royal-hub.rh-mockup-layout .rh-nav a:nth-child(8)::before{content:"⚲"}
.royal-hub.rh-mockup-layout .rh-dashboard-main{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);grid-template-rows:auto auto;gap:.7rem;align-items:stretch}
.royal-hub.rh-mockup-layout .rh-dashboard-main>.rh-tree-panel{grid-column:1;grid-row:1 / span 2;min-width:0}
.royal-hub.rh-mockup-layout .rh-dashboard-main>.rh-cols{grid-column:2;grid-row:1;display:block;min-width:0}
.royal-hub.rh-mockup-layout .rh-dashboard-main>#rh-families{grid-column:2;grid-row:2;min-width:0}
.royal-hub.rh-mockup-layout .rh-dashboard-main .rh-panel{height:100%;margin:0}
.royal-hub.rh-mockup-layout .rh-panel{border-color:var(--rh-copper);border-radius:3px}
.royal-hub.rh-mockup-layout .rh-panel h2{font-size:clamp(1.15rem,1.7vw,1.7rem);color:var(--rh-copper);margin-top:0}
.royal-hub.rh-mockup-layout .rh-dashboard-main .rh-tree-scroll{min-height:440px}
.royal-hub.rh-mockup-layout .rh-dashboard-main .rh-dynasty-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:.35rem}
.royal-hub.rh-mockup-layout .rh-dashboard-main .rh-dynasty-card{min-width:0;padding:.5rem .2rem}
.royal-hub.rh-mockup-layout .rh-dashboard-main .rh-dynasty-card .rh-btn{font-size:.72rem;padding:.35rem}
.royal-hub.rh-mockup-layout .rh-bottom-panels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}
.royal-hub.rh-mockup-layout .rh-bottom-panels>.rh-panel{min-width:0}
.royal-hub.rh-mockup-layout #rh-profiles{margin-top:.7rem}
.royal-hub.rh-mockup-layout .rh-bottom-panels h2{font-size:1.25rem}
@media(max-width:1100px){
 .royal-hub.rh-mockup-layout .rh-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
 .royal-hub.rh-mockup-layout .rh-nav a{min-height:96px}
 .royal-hub.rh-mockup-layout .rh-dashboard-main{grid-template-columns:minmax(0,1fr)}
 .royal-hub.rh-mockup-layout .rh-dashboard-main>.rh-tree-panel,
 .royal-hub.rh-mockup-layout .rh-dashboard-main>.rh-cols,
 .royal-hub.rh-mockup-layout .rh-dashboard-main>#rh-families{grid-column:1;grid-row:auto}
 .royal-hub.rh-mockup-layout .rh-bottom-panels{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .royal-hub.rh-mockup-layout .rh-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 .royal-hub.rh-mockup-layout .rh-nav a{min-height:78px}
 .royal-hub.rh-mockup-layout .rh-bottom-panels{grid-template-columns:1fr}
}

/* v2.8.1: illustrated navigation and artwork placeholders, retaining transparent panels */
.royal-hub.rh-mockup-layout .rh-nav a{
  position:relative;isolation:isolate;justify-content:flex-end;overflow:hidden;
  min-height:152px;padding:.5rem .25rem .7rem;
  background-color:transparent!important;background-position:center top!important;
  background-size:100% 72%!important;background-repeat:no-repeat!important;
  border-color:var(--rh-copper);text-shadow:0 1px 3px rgba(0,0,0,.8);
}
.royal-hub.rh-mockup-layout .rh-nav a::before{content:none!important}
.royal-hub.rh-mockup-layout .rh-nav a::after{
 content:"";position:absolute;left:0;right:0;top:70%;height:1px;
 background:var(--rh-copper);opacity:.65
}
.royal-hub.rh-mockup-layout .rh-nav a:nth-child(1){background-image:url("illustrations/overview.svg")!important}
.royal-hub.rh-mockup-layout .rh-nav a:nth-child(2){background-image:url("illustrations/families.svg")!important}
.royal-hub.rh-mockup-layout .rh-nav a:nth-child(3){background-image:url("illustrations/dna.svg")!important}
.royal-hub.rh-mockup-layout .rh-nav a:nth-child(4){background-image:url("illustrations/tree.svg")!important}
.royal-hub.rh-mockup-layout .rh-nav a:nth-child(5){background-image:url("illustrations/profiles.svg")!important}
.royal-hub.rh-mockup-layout .rh-nav a:nth-child(6){background-image:url("illustrations/sources.svg")!important}
.royal-hub.rh-mockup-layout .rh-nav a:nth-child(7){background-image:url("illustrations/maps.svg")!important}
.royal-hub.rh-mockup-layout .rh-nav a:nth-child(8){background-image:url("illustrations/research.svg")!important}
.royal-hub .rh-illustrated-placeholder{
 display:block!important;width:96px;height:110px;flex-shrink:0;
 background-image:url("illustrations/portrait-placeholder.svg")!important;
 background-size:cover!important;background-position:center!important;
 border:1px solid var(--rh-border);border-radius:3px;font-size:0!important;
}
.royal-hub .rh-chart-person .rh-illustrated-placeholder{max-width:100%}
@media(max-width:600px){
 .royal-hub.rh-mockup-layout .rh-nav a{min-height:124px;background-size:100% 70%!important}
}

/* v2.8.2: proportional mockup columns without empty right-side stretch */
.royal-hub.rh-mockup-layout .rh-dashboard-main{
 display:grid!important;
 grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;
 grid-template-rows:auto!important;
 align-items:start!important;
 gap:.7rem!important;
}
.royal-hub.rh-mockup-layout .rh-dashboard-main>.rh-tree-panel{
 grid-column:1!important;grid-row:1!important;height:auto!important;
}
.royal-hub.rh-mockup-layout .rh-dashboard-main>.rh-dashboard-side{
 grid-column:2!important;grid-row:1!important;display:flex;flex-direction:column;gap:.7rem;
 min-width:0;align-self:start;
}
.royal-hub.rh-mockup-layout .rh-dashboard-side>.rh-cols{display:block;min-width:0}
.royal-hub.rh-mockup-layout .rh-dashboard-side .rh-panel{height:auto!important;min-height:0!important;margin:0!important}
.royal-hub.rh-mockup-layout .rh-bottom-panels{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 align-items:stretch;gap:.7rem;margin-top:.7rem;
}
.royal-hub.rh-mockup-layout .rh-bottom-panels>.rh-panel{min-width:0!important;height:auto!important}
.royal-hub.rh-mockup-layout .rh-bio-feature .rh-bio-feature-person{
 max-width:230px;margin:.7rem auto;
}
.royal-hub.rh-mockup-layout .rh-bio-feature .rh-profile{max-width:100%}
.royal-hub.rh-mockup-layout #rh-profiles{margin-top:.7rem}
@media(max-width:1100px){
 .royal-hub.rh-mockup-layout .rh-dashboard-main{grid-template-columns:1fr!important}
 .royal-hub.rh-mockup-layout .rh-dashboard-main>.rh-tree-panel,
 .royal-hub.rh-mockup-layout .rh-dashboard-main>.rh-dashboard-side{grid-column:1!important;grid-row:auto!important}
 .royal-hub.rh-mockup-layout .rh-bottom-panels{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
 .royal-hub.rh-mockup-layout .rh-bottom-panels{grid-template-columns:1fr!important}
}

/* v2.9: linked people never expand over family-tree branches */
.royal-hub a.rh-external-profile{display:block;text-decoration:none;color:inherit;min-width:0;text-align:center;padding:.8rem}
.royal-hub a.rh-external-profile:hover{outline:1px solid var(--rh-accent);border-radius:10px}
.royal-hub a.rh-external-profile .rh-person-label{display:flex;flex-direction:column;gap:.3rem}
.royal-hub a.rh-external-profile:after{content:'View profile ↗';font-size:.7rem;opacity:.85}

/* v2.9.3 — inherit seasonal site typography and colors, without changing tree geometry. */
.royal-hub.rh-mockup-layout{
 --rh-site-gold:var(--wp--preset--color--accent,var(--theme-palette-color-1,var(--global-palette1,#d7b985)));
 --rh-site-ink:var(--wp--preset--color--contrast,var(--theme-palette-color-3,inherit));
 font-family:inherit;
}
.royal-hub.rh-mockup-layout .rh-hero h1,
.royal-hub.rh-mockup-layout .rh-panel h2,
.royal-hub.rh-mockup-layout .rh-nav a,
.royal-hub.rh-mockup-layout .rh-btn{
 font-family:inherit;
}
.royal-hub.rh-mockup-layout .rh-nav a,
.royal-hub.rh-mockup-layout .rh-btn,
.royal-hub.rh-mockup-layout .rh-panel,
.royal-hub.rh-mockup-layout .rh-hero{
 border-color:color-mix(in srgb,var(--rh-site-gold) 45%,transparent);
}
.royal-hub.rh-mockup-layout .rh-nav a:hover,
.royal-hub.rh-mockup-layout .rh-nav a:focus-visible,
.royal-hub.rh-mockup-layout .rh-btn:hover,
.royal-hub.rh-mockup-layout .rh-btn:focus-visible{
 border-color:var(--rh-site-gold)!important;
 color:var(--rh-site-gold)!important;
 outline-offset:2px;
}
.royal-hub.rh-mockup-layout a:not(.rh-nav a):focus-visible,
.royal-hub.rh-mockup-layout button:focus-visible{
 outline:2px solid var(--rh-site-gold);
 outline-offset:3px;
}
/* The shared Relationship Explorer tree retains its own layout and connectors. */

/* v2.9.4: site palette bridge. Use theme-provided variables when available;
   keep readable inherited colors when a theme has no public palette tokens. */
.royal-hub.rh-mockup-layout{
 --rh-accent:var(--wp--preset--color--accent,var(--wp--preset--color--primary,var(--theme-palette-color-1,var(--global-palette1,currentColor))));
 --rh-site-gold:var(--rh-accent);
 --rh-border:color-mix(in srgb,currentColor 35%,transparent);
 --rh-hover:var(--rh-accent);
 color:inherit;
 font-family:inherit;
}
.royal-hub.rh-mockup-layout .rh-hero,
.royal-hub.rh-mockup-layout .rh-panel,
.royal-hub.rh-mockup-layout .rh-nav a,
.royal-hub.rh-mockup-layout .rh-btn{
 background:transparent;
 color:inherit;
 border-color:var(--rh-border);
}
.royal-hub.rh-mockup-layout .rh-hero h1,
.royal-hub.rh-mockup-layout .rh-panel h2,
.royal-hub.rh-mockup-layout .rh-nav a,
.royal-hub.rh-mockup-layout .rh-btn{font-family:inherit;color:inherit}
.royal-hub.rh-mockup-layout a:hover,
.royal-hub.rh-mockup-layout button:hover{color:var(--rh-hover);border-color:var(--rh-hover)}
/* Do not override Relationship Explorer's shared family-tree rendering. */

/* v2.9.5 — direct integration with OAT Halloween v33 customizer palette.
   Other themes fall back to their own WP palette or inherited color. */
.royal-hub.rh-mockup-layout {
  --rh-accent: var(--hw-link, var(--wp--preset--color--accent, #e17b1d));
  --rh-copper: var(--hw-line, #8b461b);
  --rh-site-gold: var(--hw-tree-heading, var(--hw-ink, #ead8b8));
  --rh-border: var(--hw-line, #8b461b);
  --rh-hover: var(--hw-hover-text, #ffad47);
  color: var(--hw-ink, inherit);
}
.royal-hub.rh-mockup-layout .rh-hero,
.royal-hub.rh-mockup-layout .rh-panel,
.royal-hub.rh-mockup-layout .rh-nav a,
.royal-hub.rh-mockup-layout .rh-btn,
.royal-hub.rh-mockup-layout .rh-card {
  border-color: var(--hw-line, var(--rh-border)) !important;
}
.royal-hub.rh-mockup-layout .rh-hero h1,
.royal-hub.rh-mockup-layout .rh-panel h2 {
  color: var(--hw-ink, inherit) !important;
}
.royal-hub.rh-mockup-layout .rh-panel p,
.royal-hub.rh-mockup-layout .rh-panel td,
.royal-hub.rh-mockup-layout .rh-panel th,
.royal-hub.rh-mockup-layout .rh-note {
  color: var(--hw-muted, inherit);
}
.royal-hub.rh-mockup-layout a:not(.rh-nav a):not(.rh-btn):not(.rh-external-profile) {
  color: var(--hw-link, var(--rh-accent));
}
.royal-hub.rh-mockup-layout .rh-nav a:hover,
.royal-hub.rh-mockup-layout .rh-nav a:focus-visible,
.royal-hub.rh-mockup-layout .rh-btn:hover,
.royal-hub.rh-mockup-layout .rh-btn:focus-visible,
.royal-hub.rh-mockup-layout a:not(.rh-external-profile):hover {
  color: var(--hw-hover-text, var(--rh-hover)) !important;
  border-color: var(--hw-orange, var(--rh-accent)) !important;
}
.royal-hub.rh-mockup-layout .rh-nav a:hover,
.royal-hub.rh-mockup-layout .rh-btn:hover {
  background-color: var(--hw-hover-bg, transparent) !important;
}
/* Preserve the embedded Relationship Explorer tree's own theme-aware styling. */


/* v2.9.7: softly blended original mockup-inspired castle and candlelight banner.
   Keep headings as accessible HTML and inherit theme typography/colors. */
.royal-hub.rh-mockup-layout .rh-hero {
  background-image: linear-gradient(90deg,rgba(7,5,4,.08),rgba(8,5,4,.35) 28%,rgba(8,5,4,.38) 70%,rgba(7,5,4,.04)),url("royal-banner.webp") !important;
  background-color:#100b09 !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  min-height:215px;
  padding:2.6rem 1rem 2.5rem;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  border-color:var(--hw-line,var(--rh-border)) !important;
}
.royal-hub.rh-mockup-layout .rh-hero::before,
.royal-hub.rh-mockup-layout .rh-hero::after {display:none !important;}
.royal-hub.rh-mockup-layout .rh-hero h1,
.royal-hub.rh-mockup-layout .rh-hero small,
.royal-hub.rh-mockup-layout .rh-hero p {
  position:relative;z-index:1;
  text-shadow:0 2px 7px #080504,0 1px 2px #080504;
}
@media(max-width:700px){
 .royal-hub.rh-mockup-layout .rh-hero{min-height:190px;padding:2rem .85rem;background-position:center center !important;}
 .royal-hub.rh-mockup-layout .rh-hero h1{font-size:clamp(1.65rem,6vw,2.7rem);}
}

/* v2.9.8: new scenic asset, new URL to defeat cached old image. */
.royal-hub.rh-mockup-layout .rh-hero {
 background-image:linear-gradient(90deg,rgba(8,5,4,.08),rgba(8,5,4,.18) 40%,rgba(8,5,4,.18) 60%,rgba(8,5,4,.08)),url("royal-banner-v298.webp") !important;
 background-position:center center !important;
 background-size:cover !important;
}

/* Optional per-section image overrides. Existing styles remain the defaults. */
.royal-hub.rh-mockup-layout .rh-hero[style*="--rh-upload-image"]{background-image:linear-gradient(90deg,rgba(0,0,0,.28),rgba(0,0,0,.48),rgba(0,0,0,.28)),var(--rh-upload-image)!important;background-size:cover!important;background-position:center!important}
.royal-hub.rh-mockup-layout .rh-nav a[style*="--rh-upload-image"]{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.55)),var(--rh-upload-image)!important;background-size:cover!important;background-position:center!important}
.royal-hub.rh-mockup-layout .rh-dynasty-card[style*="--rh-upload-image"],.royal-hub.rh-mockup-layout .rh-bottom-panels .rh-panel[style*="--rh-upload-image"]{background-image:linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.83)),var(--rh-upload-image)!important;background-size:cover!important;background-position:center!important}
.rh-image-manager .rh-image-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:16px 0}.rh-image-manager .rh-image-slot{border:1px solid currentColor;padding:10px;min-width:0}.rh-image-manager .rh-image-preview{height:110px;display:flex;align-items:center;justify-content:center;margin:9px 0;background:rgba(90,75,50,.15);overflow:hidden}.rh-image-manager .rh-image-preview img{width:100%;height:100%;object-fit:cover}.rh-image-manager .rh-image-slot button{margin:3px 2px;font-size:12px}

/* v2.9.10: Display saved transparent main banner as artwork, not a darkened cover image. */
.royal-hub.rh-mockup-layout .rh-hero.rh-has-custom-banner[style*="--rh-upload-image"] {
 background-image:var(--rh-upload-image) !important;
 background-color:transparent !important;
 background-size:contain !important;
 background-repeat:no-repeat !important;
 background-position:center center !important;
 aspect-ratio: 2000 / 736;
 min-height:0 !important;
 padding:0 !important;
 border:0 !important;
 margin-bottom:.7rem;
}
/* The uploaded artwork already contains the title. Keep accessible HTML text for screen readers. */
.royal-hub.rh-mockup-layout .rh-hero.rh-has-custom-banner > small,
.royal-hub.rh-mockup-layout .rh-hero.rh-has-custom-banner > h1,
.royal-hub.rh-mockup-layout .rh-hero.rh-has-custom-banner > p {
 position:absolute !important;width:1px !important;height:1px !important;
 padding:0 !important;margin:-1px !important;overflow:hidden !important;
 clip:rect(0,0,0,0) !important;white-space:nowrap !important;border:0 !important;
}

/* v2.9.11: compact, accessible front-end image editor */
.rh-image-manager-toggle{cursor:pointer;list-style:none;font-weight:700;padding:8px 2px;display:list-item}.rh-image-manager-toggle::-webkit-details-marker{display:none}.rh-image-manager-toggle::before{content:"▸ ";display:inline}.rh-image-manager[open]>.rh-image-manager-toggle::before{content:"▾ "}.rh-image-manager-hint{font-size:.8em;font-weight:400;opacity:.75}.rh-image-manager-toggle:focus-visible{outline:2px solid currentColor;outline-offset:4px}.rh-image-manager:not([open]){padding-top:8px;padding-bottom:8px}

/* v2.9.12: opt-in candle flicker anchored to a manually selected point in the banner. */
.royal-hub .rh-hero .rh-candle-effect,.royal-hub .rh-banner-preview-stage .rh-candle-effect{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden}
.royal-hub .rh-hero .rh-candle-effect::before,.royal-hub .rh-banner-preview-stage .rh-candle-effect::before{content:"";position:absolute;left:var(--rh-flame-x);top:var(--rh-flame-y);width:calc(var(--rh-flame-width, .7%) * 6.4);aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--rh-flame-color,#ffb347) 80%,white 20%) 0%,color-mix(in srgb,var(--rh-flame-color,#ffb347) 45%,transparent) 27%,color-mix(in srgb,var(--rh-flame-color,#ffb347) 12%,transparent) 56%,transparent 75%);filter:blur(5px);animation:rh-candle-glow 2.1s ease-in-out infinite alternate;mix-blend-mode:screen}
.royal-hub .rh-hero .rh-candle-effect::after,.royal-hub .rh-banner-preview-stage .rh-candle-effect::after{content:"";position:absolute;left:var(--rh-flame-x);top:var(--rh-flame-y);width:var(--rh-flame-width,.7%);height:calc(var(--rh-flame-width,.7%) * 5);transform:translate(-50%,-55%) rotate(-3deg);border-radius:65% 5% 65% 65%;background:radial-gradient(ellipse at 52% 70%,#fffbe4 0%,color-mix(in srgb,var(--rh-flame-color,#ffb347) 65%,white) 38%,var(--rh-flame-color,#ffb347) 75%,transparent 100%);filter:blur(.6px);animation:rh-candle-flicker 1.4s ease-in-out infinite alternate;mix-blend-mode:screen}
@keyframes rh-candle-glow{0%{opacity:.45;transform:translate(-50%,-50%) scale(.88)}50%{opacity:.8}100%{opacity:.55;transform:translate(-50%,-50%) scale(1.12)}}
@keyframes rh-candle-flicker{0%{opacity:.8;transform:translate(-50%,-55%) scale(.85,1.1) rotate(-8deg)}35%{opacity:.95;transform:translate(-50%,-55%) scale(1.12,.94) rotate(5deg)}70%{opacity:.78;transform:translate(-50%,-55%) scale(.9,1.15) rotate(-3deg)}100%{opacity:1;transform:translate(-50%,-55%) scale(1,1) rotate(7deg)}}
.rh-candle-controls{border:1px solid currentColor;padding:12px;margin-top:15px}.rh-candle-controls label{display:inline-block;margin:5px 12px 5px 0}.rh-candle-controls input[type=number]{width:75px}.rh-candle-note{font-size:.85em;opacity:.85}
@media(prefers-reduced-motion:reduce){.royal-hub .rh-hero .rh-candle-effect::before,.royal-hub .rh-hero .rh-candle-effect::after,.royal-hub .rh-banner-preview-stage .rh-candle-effect::after{animation:none!important}}

/* Keep candle controls directly below the main banner image slot. */
.rh-image-grid .rh-candle-controls{grid-column:1/-1;margin:0 0 1rem;}

/* v2.9.15 interactive image manager banner preview */
.rh-image-grid .rh-banner-live-preview{grid-column:1/-1;min-width:0;border:1px solid currentColor;padding:12px}
.rh-banner-live-preview p{margin:6px 0 10px}
.rh-banner-preview-stage{position:relative;display:block;width:100%;max-width:100%;overflow:hidden;background:#090705}
.rh-banner-preview-image{display:block;width:100%;height:auto;object-fit:contain}
.rh-banner-preview-stage .rh-candle-effect[hidden]{display:none!important}
.rh-banner-preview-status{font-size:.85em;opacity:.85}
@media(prefers-reduced-motion:reduce){.royal-hub .rh-banner-preview-stage .rh-candle-effect::before,.royal-hub .rh-banner-preview-stage .rh-candle-effect::after{animation:none!important}}

/* v2.9.16 flame controls */
.rh-candle-controls input[type=range]{width:170px;vertical-align:middle;accent-color:#d89c40}.rh-candle-controls input[type=color]{width:45px;height:32px;vertical-align:middle;cursor:pointer}.rh-flame-width-value{display:inline-block;min-width:3em}

/* v2.9.17 flame shapes */
.royal-hub .rh-candle-effect[data-shape="teardrop"]::after{border-radius:80% 8% 75% 70%;clip-path:polygon(50% 0%,72% 27%,92% 60%,85% 83%,65% 100%,34% 100%,12% 82%,9% 60%,30% 26%)}
.royal-hub .rh-candle-effect[data-shape="tall"]::after{height:calc(var(--rh-flame-width,.7%) * 7);width:calc(var(--rh-flame-width,.7%) * .75);border-radius:75% 12% 70% 70%}
.royal-hub .rh-candle-effect[data-shape="round"]::after{height:calc(var(--rh-flame-width,.7%) * 2.5);width:calc(var(--rh-flame-width,.7%) * 1.6);border-radius:50%}
.royal-hub .rh-candle-effect[data-shape="torch"]::after{height:calc(var(--rh-flame-width,.7%) * 6);width:calc(var(--rh-flame-width,.7%) * 1.7);clip-path:polygon(52% 0%,70% 20%,62% 38%,90% 29%,95% 65%,70% 100%,28% 100%,5% 68%,25% 39%,18% 18%,40% 30%);border-radius:40%}
.royal-hub .rh-candle-effect[data-shape="double"]::after{height:calc(var(--rh-flame-width,.7%) * 5.5);width:calc(var(--rh-flame-width,.7%) * 2.2);clip-path:polygon(20% 35%,27% 4%,48% 28%,68% 0%,82% 35%,95% 65%,78% 100%,20% 100%,5% 70%);border-radius:40%}
.rh-candle-controls select[name="rh_candle_shape"]{max-width:190px;padding:5px}

/* v2.9.20: theme-responsive artwork presentation; image assets have transparent backgrounds. */
.royal-hub .rh-image-manager .rh-image-slot{border-color:currentColor;background:transparent;color:inherit}
.royal-hub .rh-image-manager .rh-image-preview{background:transparent;border:1px solid currentColor;border-radius:5px}
.royal-hub .rh-image-manager .rh-image-preview img{object-fit:contain}
.royal-hub .rh-image-manager .rh-image-slot button{color:inherit;border-color:currentColor}
