@layer pv {
 body.vey-renewal:not(#x1):not(#x2) #view .realm-screen {height:100% !important;min-height:0 !important;display:flex !important;flex-direction:column !important;gap:8px !important;color:#e8ddc6 !important;font:12px/1.45 Manrope,sans-serif !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-heading {display:flex !important;justify-content:space-between !important;align-items:center !important;gap:12px !important;flex:none !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-heading h1 {margin:0 !important;font:600 26px/1.2 Cinzel,serif !important;color:#f0d394 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-heading small {color:#c7b18b !important;font-size:10px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-tabs {display:flex !important;gap:4px !important;border-bottom:1px solid #b28c4855 !important;flex:none !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-tabs button {border:0 !important;background:transparent !important;color:#c4b89d !important;font:700 12px Manrope,sans-serif !important;padding:9px 16px !important;cursor:pointer !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-tabs .is-active {color:#f2d293 !important;background:#d6ad4c18 !important;box-shadow:inset 0 -2px #ddb968 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-content {flex:1 !important;min-height:0 !important;overflow:auto !important;border:1px solid #b28c4844 !important;border-radius:14px !important;background:#0b0a13 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-map {height:100% !important;min-height:440px !important;display:flex !important;flex-direction:column !important;background:linear-gradient(180deg,#09081111,#09081144 45%,#090811dd),url('./assets/realm-v1/three-marches.webp') center 30%/cover !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-landmarks {flex:1 !important;min-height:160px !important;position:relative !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-pin {position:absolute !important;display:grid !important;grid-template-columns:40px 1fr !important;gap:0 7px !important;align-items:center !important;text-align:left !important;padding:6px 12px 6px 6px !important;max-width:31% !important;border:1px solid #d9b56780 !important;border-radius:10px !important;background:#090915dd !important;color:#f3dfb0 !important;cursor:pointer !important;box-shadow:0 5px 20px #0008 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-pin img {width:40px !important;height:40px !important;grid-row:span 2 !important;object-fit:contain !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-pin b {font:600 13px Cinzel,serif !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-pin small {font-size:9px !important;color:#c9bb9f !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-pin.is-active {border-color:#f8da88 !important;box-shadow:0 0 24px #d7b65d55 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .pin-0 {left:5% !important;top:35% !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .pin-1 {left:36% !important;top:8% !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .pin-2 {right:3% !important;top:40% !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-charter {display:grid !important;grid-template-columns:minmax(0,1fr) minmax(210px,.55fr) !important;gap:20px !important;padding:16px 20px !important;background:linear-gradient(90deg,#0b0913f5,#0b0913cc) !important;border-top:1px solid #d5b26966 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view :is(.realm-region-story h2,.realm-vault h2,.realm-council h3) {font:600 20px/1.25 Cinzel,serif !important;margin:2px 0 6px !important;color:#f1d59c !important;}
 body.vey-renewal:not(#x1):not(#x2) #view :is(.realm-region-story p,.realm-vault p) {margin:6px 0 !important;color:#ccbea6 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-facts {display:flex !important;flex-wrap:wrap !important;gap:8px 20px !important;color:#b7a98e !important;margin:8px 0 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-facts b {color:#ead0a0 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view :is(.realm-inline,.realm-votes) {display:flex !important;align-items:center !important;flex-wrap:wrap !important;gap:8px !important;margin:8px 0 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-votes .is-active {color:#f5d98f !important;border-color:#d7b76b !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-council {border-left:1px solid #bd995344 !important;padding-left:18px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-council ol {padding:0 !important;list-style:none !important;max-height:150px !important;overflow:auto !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-council li {display:flex !important;justify-content:space-between !important;align-items:center !important;margin:4px 0 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-hero {display:flex !important;gap:8px !important;align-items:center !important;background:none !important;border:0 !important;color:#eadcc0 !important;cursor:pointer !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-hero img {width:30px !important;height:30px !important;object-fit:cover !important;object-position:top !important;border-radius:50% !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-vault {min-height:100% !important;display:grid !important;grid-template-columns:1fr 1fr !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-vault-art {padding:28px !important;background:linear-gradient(0deg,#0b0913 5%,#0b091355 70%),url('./assets/realm-v1/three-marches.webp') 50% 80%/auto 130% !important;display:flex !important;flex-direction:column !important;justify-content:flex-end !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-balance {display:flex !important;flex-direction:column !important;margin-top:20px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-balance b {font:600 44px Cinzel,serif !important;color:#f9da8d !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-vault-controls {padding:20px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-vault-controls label {display:block !important;color:#ddc596 !important;margin:12px 0 4px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-vault-controls input {width:100% !important;box-sizing:border-box !important;font:16px Manrope,sans-serif !important;background:#0e0d17 !important;color:#f5dfb0 !important;border:1px solid #d5b06b77 !important;padding:10px !important;border-radius:8px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-ledger {list-style:none !important;padding:0 !important;max-height:160px !important;overflow:auto !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-ledger li {display:flex !important;justify-content:space-between !important;gap:8px !important;padding:7px 0 !important;border-bottom:1px solid #b49b5933 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-ledger small {display:block !important;font-size:10px !important;color:#a99c88 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-catalogue {padding:12px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-guide {margin:0 0 12px !important;padding:10px 14px !important;background:#23192b88 !important;border-left:2px solid #c5a568 !important;color:#d0c3a9 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-set-grid {display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-set-card {min-width:0 !important;padding:12px !important;border:1px solid color-mix(in srgb,var(--realm-accent) 35%,#2c2135) !important;border-radius:12px !important;background:radial-gradient(ellipse at top left,color-mix(in srgb,var(--realm-accent) 12%,transparent),transparent 80%),#0f0c17 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-set-card header {display:flex !important;gap:10px !important;align-items:center !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-set-card header img {width:42px !important;height:42px !important;object-fit:contain !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-set-card h2 {font:600 16px Cinzel,serif !important;margin:1px 0 !important;color:#f0d8ac !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-set-card small {font-size:9px !important;color:#b6a687 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-set-items {display:grid !important;grid-template-columns:repeat(6,minmax(0,1fr)) !important;gap:5px !important;margin:12px 0 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-set-items figure {margin:0 !important;text-align:center !important;border-bottom:1px solid #a88b4d44 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-set-items .is-owned {border-color:#8ee3b4 !important;background:#8ee3b411 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-set-items img {width:100% !important;height:70px !important;object-fit:contain !important;filter:drop-shadow(0 0 7px color-mix(in srgb,var(--realm-accent) 25%,transparent)) !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-set-items figcaption {font-size:9px !important;text-transform:uppercase !important;color:#bcab8e !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-set-bonuses {list-style:none !important;margin:0 !important;padding:0 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-set-bonuses li {display:flex !important;gap:8px !important;margin:4px 0 !important;font-size:11px !important;color:#a99c8f !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-set-bonuses b {color:#d8b975 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-set-bonuses .is-active {color:#9eebbc !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-element-grid {display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-element-card {display:flex !important;align-items:center !important;gap:14px !important;border:1px solid #d2af5d44 !important;border-radius:12px !important;padding:16px !important;background:#15101d !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-element-card > img {width:70px !important;height:70px !important;object-fit:contain !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-element-card h2 {font:600 20px Cinzel,serif !important;color:#ebd5b0 !important;margin:2px 0 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-element-card p {margin:4px 0 !important;color:#bcaf9a !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-weak-icon {width:24px !important;height:24px !important;object-fit:contain !important;vertical-align:middle !important;margin-left:6px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-rules {flex:none !important;font-size:11px !important;color:#b8aa91 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-rules summary {cursor:pointer !important;padding:3px 0 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-rules[open] {max-height:160px !important;overflow:auto !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-notice {padding:60px 24px !important;min-height:200px !important;background:linear-gradient(#09081166,#090811ee),url('./assets/realm-v1/three-marches.webp') center/cover !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-tabs button:focus-visible,
 body.vey-renewal:not(#x1):not(#x2) #view .realm-pin:focus-visible {outline:2px solid #f0d394 !important;outline-offset:2px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .character-elements {display:flex !important;gap:5px !important;align-items:center !important;font-size:10px !important;color:#d6bf90 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .character-elements img {width:22px !important;height:22px !important;object-fit:contain !important;}
 @media(min-width:1800px){body.vey-renewal:not(#x1):not(#x2) #view .realm-set-grid {grid-template-columns:repeat(4,minmax(0,1fr)) !important;}}
 @media(max-width:700px){
 body.vey-renewal:not(#x1):not(#x2) #view .realm-screen {height:auto !important;min-height:100% !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-heading {align-items:flex-start !important;flex-direction:column !important;gap:3px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-heading h1 {font-size:23px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-tabs button {padding:10px 8px !important;font-size:11px !important;min-height:44px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-content {flex:none !important;overflow:visible !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-map {min-height:650px !important;height:auto !important;background-position:50% 0 !important;background-size:auto 420px !important;background-repeat:no-repeat !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-landmarks {min-height:260px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-pin {max-width:70% !important;padding:5px 9px !important;grid-template-columns:30px 1fr !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-pin img {width:30px !important;height:30px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-pin b {font-size:12px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .pin-0 {left:4% !important;top:35% !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .pin-1 {left:20% !important;top:6% !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .pin-2 {right:4% !important;top:68% !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-charter {grid-template-columns:1fr !important;padding:14px !important;gap:14px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-council {border:0 !important;border-top:1px solid #bd995344 !important;padding:12px 0 0 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-vault {grid-template-columns:1fr !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-vault-art {min-height:230px !important;padding:20px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view :is(.realm-set-grid,.realm-element-grid) {grid-template-columns:1fr !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-element-card {padding:12px !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-set-items img {height:48px !important;}
 }
}

@layer pv {
 body.vey-renewal:not(#x1):not(#x2) #view .realm-screen {box-sizing:border-box !important;min-width:0 !important;padding:0 !important;margin:0 !important;border:0 !important;box-shadow:none !important;background:none !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-heading {border:0 !important;padding:0 !important;background:none !important;box-shadow:none !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-tabs {flex-direction:row !important;flex-wrap:nowrap !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-tabs button {width:auto !important;min-width:0 !important;max-width:none !important;flex:1 1 auto !important;position:relative !important;margin:0 !important;border-radius:0 !important;}
 body.vey-renewal:not(#x1):not(#x2) #view .realm-pin {min-width:0 !important;width:auto !important;margin:0 !important;line-height:1.2 !important;}
}

/* Reichswerke (Pao 26.10.) */
.realm-works { display: grid; gap: 10px; margin: 14px 0; }
.realm-works > small { color: #e8c480; letter-spacing: .14em; font-weight: 800; font-size: 10.5px; }
.realm-work { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(232, 196, 128, .25); background: rgba(8, 8, 14, .45); }
.realm-work header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.realm-work header b { color: #fff3cf; font-size: 15px; }
.realm-work header span { color: #e8c480; font-weight: 800; font-size: 11px; letter-spacing: .1em; }
.realm-work p { margin: 0; color: #cdbd98; font-size: 12.5px; }
.realm-work-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.realm-work-bar i { display: block; height: 100%; background: linear-gradient(90deg, #b88a3e, #f2d48a); }
.realm-work.is-raising .realm-work-bar i { background: linear-gradient(90deg, #4cc28a, #9cf0c4); }
.realm-work em { font-style: normal; color: #bfae88; font-size: 12px; }
.realm-work.is-raising em { color: #8ff0c6; }
