.founder-page,.art-review{margin:0;background:#110c1c;color:#eee1d2;font:16px/1.65 system-ui,sans-serif;min-height:100vh;padding:clamp(16px,5vw,64px);box-sizing:border-box}.founder-card{max-width:680px;margin:auto;background:#21152c;border:1px solid #a58648;border-radius:18px;padding:clamp(20px,5vw,44px);box-shadow:0 18px 65px #0008}.founder-card h1,.art-review h1{font:clamp(32px,5vw,56px) Georgia,serif;color:#efd59b}.founder-card a,.art-review a{color:#f0cc83}.founder-card code{overflow-wrap:anywhere}.founder-card label{display:grid;gap:7px;margin:16px 0}.founder-card input{box-sizing:border-box;width:100%;font:inherit;color:#f7ebda;background:#110d1b;border:1px solid #9b8154;border-radius:8px;min-height:46px;padding:10px}.founder-card button{background:linear-gradient(130deg,#ffe49b,#c4943f);border:1px solid #ffdc8d;border-radius:8px;min-height:48px;padding:12px 20px;color:#211526;font-weight:800;cursor:pointer}.founder-card [hidden]{display:none}.eyebrow{font-size:11px;letter-spacing:2px;color:#e2bd79}.founder-card button:disabled{opacity:.5}.art-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:20px;margin-top:32px}.art-grid article{background:linear-gradient(135deg,#251a30,#15111d);border:1px solid #786347;border-radius:14px;padding:20px;text-align:center;min-width:0}.art-grid article>img{width:100%;height:220px;object-fit:contain}.art-grid h2{font:20px Georgia;color:#f0d7a3}.art-grid p{font-size:12px;color:#bda9ca}.small-art img{width:40px;height:40px;object-fit:contain}.art-grid [data-rarity=rare]{border-color:#8b90b8}.art-grid [data-rarity=épique]{border-color:#a47cce;box-shadow:inset 0 0 30px #9d5acd12}.art-grid [data-rarity=légendaire]{border-color:#e2b953;box-shadow:inset 0 0 30px #d6aa4e19}
/* Le guide et le tchat occupent leur place dans la page : aucun calque sur les commandes. */
body:has(#royal-intendant){padding-bottom:0}#royal-intendant{position:relative!important;inset:auto!important;z-index:20;display:flex;align-items:center;gap:16px;width:min(1100px,calc(100% - 32px));max-width:none;margin:16px auto;box-sizing:border-box;clear:both}#royal-intendant[hidden]{display:none!important}#royal-intendant .intendant-launcher{flex:none;width:74px}#royal-intendant .intendant-launcher img{width:68px;height:80px}#royal-intendant #intendant-panel{position:static!important;box-sizing:border-box;width:100%;max-width:none;max-height:430px;overflow:auto;background:#21172d!important;box-shadow:0 8px 28px #0007;border:1px solid #c3a164;flex:1;animation:none}#royal-intendant #intendant-panel[hidden]{display:none}#royal-intendant #intendant-text{max-height:none;font-size:14px;line-height:1.7;color:#fff0dd;min-height:0}#royal-intendant #intendant-close{min-width:42px;min-height:42px;border:1px solid #aa8a55;border-radius:6px;font-size:26px;background:#34213f;color:#fff0d2}.guide-hide{border:1px solid #88704c;border-radius:6px;background:#24162e;color:#ead3a7;padding:8px;min-height:40px;align-self:start}.guide-restore{border:1px solid #a98b58;border-radius:5px;background:#24162e;color:#ead3a7;min-height:40px;padding:8px 14px;margin:4px;cursor:pointer}.royal-chat{position:relative!important;inset:auto!important;transform:none!important;z-index:19!important;margin:12px auto!important;width:min(1100px,calc(100% - 32px))!important;max-width:calc(100% - 32px)!important;box-sizing:border-box}.royal-chat #chatWindow{position:static!important;width:100%!important;max-width:100%!important;max-height:380px;overflow:auto;background:#1b1327!important;border:1px solid #957343;box-sizing:border-box}.royal-chat #chatMessages{max-height:190px;overflow:auto}.royal-chat #chatToggle{max-width:100%;min-height:42px}.royal-chat .chat-move,.royal-chat .chat-position-reset{display:none!important}body.gate-locked #royal-intendant,body.gate-locked .royal-chat{display:none!important}body:has(#popovers.open) .royal-chat,body.intendant-game-playing .royal-chat{display:none!important}.royal-chat form{max-width:100%}.royal-chat input{min-width:0;width:100%;box-sizing:border-box}
.royal-economy{box-sizing:border-box;width:min(1100px,calc(100% - 32px));margin:12px auto;padding:12px 18px;border:1px solid #71583e;border-radius:10px;background:#1d1428;color:#e9d7c0;display:flex;flex-wrap:wrap;gap:12px 22px;align-items:center;font:13px/1.5 system-ui}.royal-economy b{color:#f2d38a}.royal-economy small{flex-basis:100%;color:#c0accb}.royal-economy a{color:#e4bf7a}.setup-local-invitation{box-sizing:border-box;width:min(1100px,calc(100% - 32px));margin:14px auto;padding:16px 20px;background:#291b32;border:1px solid #b38d51;border-radius:10px;color:#ead8b6}.setup-local-invitation a{color:#ffe0a0;font-weight:700}.adventure-tabs{flex-wrap:wrap;max-width:100%;box-sizing:border-box}.adventure-tabs a{white-space:normal}.server-owned article,.server-badges article{min-width:0}.server-badges img,.server-owned img{object-fit:contain}.server-badges .locked img{opacity:.68;filter:saturate(.45)}.final-economy-note{background:#21182b;border:1px solid #6d573d;border-radius:10px;padding:14px;margin:16px 0;color:#decdb8}.final-economy-note strong{color:#f0d49a}.final-economy-note p{margin:6px 0}.final-economy-note dl{display:grid;grid-template-columns:auto 1fr;gap:5px 16px}.final-economy-note dd{margin:0}.server-owned button{white-space:normal;min-height:40px}
@media(max-width:600px){#royal-intendant{gap:8px;flex-wrap:wrap;width:calc(100% - 24px);margin:10px 12px}#royal-intendant #intendant-panel{flex-basis:100%;order:3;padding:15px;max-height:50dvh}#royal-intendant .guide-hide{margin-left:auto;align-self:center}.royal-chat{width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important}.royal-economy{gap:7px 16px;padding:12px;font-size:12px}.royal-economy span{flex:1 1 40%}.server-catalog{grid-template-columns:1fr}.art-grid article>img{height:200px}#royal-intendant #intendant-text{font-size:13px}.art-review{padding:16px}}
@media(max-height:550px){#royal-intendant #intendant-panel{display:block;max-height:60dvh}#royal-intendant #intendant-panel[hidden]{display:none}}
@media(prefers-reduced-motion:reduce){.passport-effects,.shop-art{animation:none!important}}
.royal-header{flex-wrap:wrap}.royal-header>*{min-width:0}.server-badges .locked{filter:none;opacity:1}.server-badges .locked img{opacity:.85;filter:saturate(.7)}.royal-chat button[title*="Déplacer"],.royal-chat button[aria-label*="Déplacer"],.royal-chat button[title*="position"]{display:none!important}
/* Panneaux lisibles, commandes toujours dans le flux et messages seuls défilants. */
#royal-intendant:has(#intendant-panel[hidden]){align-items:center;min-height:58px}#royal-intendant:has(#intendant-panel[hidden]) .intendant-launcher{flex-direction:row;width:auto;gap:9px}#royal-intendant:has(#intendant-panel[hidden]) .intendant-launcher img{width:40px;height:48px}#royal-intendant:has(#intendant-panel[hidden]) .intendant-launcher>span{margin:0}#royal-intendant:has(#intendant-panel[hidden]) .guide-hide{align-self:center;margin-left:auto}#royal-intendant #intendant-panel{padding:15px 18px}#royal-intendant #intendant-panel header{margin-bottom:8px}#royal-intendant #intendant-text{margin-bottom:10px}#royal-intendant .intendant-preference{margin-top:9px;font-size:11px}#royal-intendant #intendant-panel h2{font-size:24px}.royal-chat #chatWindow{max-height:none!important;overflow:visible!important}.royal-chat #chatMessages{height:clamp(64px,15vh,140px)!important;min-height:0!important;max-height:140px!important;overflow:auto!important}.royal-chat #sendChat{margin:0;min-width:0}.royal-chat .chat-heading{gap:10px;flex-wrap:wrap}.royal-chat .chat-keyboard-move,#chatMoveHelp{display:none!important}body:has(#chatWindow:not([hidden])) #royalNewsToggle,body:has(#intendant-panel:not([hidden])) #royalNewsToggle,body:has(#popovers.open) #royalNewsToggle{visibility:hidden;pointer-events:none}@media(max-width:600px){#royal-intendant:has(#intendant-panel[hidden]){gap:6px;flex-wrap:nowrap}#royal-intendant:has(#intendant-panel[hidden]) .guide-hide{font-size:11px;padding:7px}#royal-intendant #intendant-panel{max-height:55dvh}.royal-chat #chatWindow{padding:12px}.royal-chat .chat-heading strong{font-size:19px}.royal-chat #chatMessages{height:80px!important}}
