/* Royale Kingdom — responsive articles, readable historic content and comments, 2026-11-18 */
body.royale-kingdom{max-width:100%;overflow-x:clip}
body.royale-kingdom .arena-content-layout,
body.royale-kingdom .arena-article,
body.royale-kingdom .arena-article__body.entry-content,
body.royale-kingdom .arena-comments{box-sizing:border-box;min-width:0;max-width:100%}
body.royale-kingdom .arena-article__body.entry-content{overflow-wrap:break-word;word-break:normal}
body.royale-kingdom .arena-article__body.entry-content :is(img,video,iframe,embed,object,canvas,svg,figure){max-width:100%!important;box-sizing:border-box}
body.royale-kingdom .arena-article__body.entry-content :is(img,video){height:auto!important;object-fit:contain}
body.royale-kingdom .arena-article__body.entry-content :is(table,pre,.wp-block-table,.wp-block-preformatted){display:block;max-width:100%;overflow-x:auto}
body.royale-kingdom .arena-article__body.entry-content pre{white-space:pre-wrap;overflow-wrap:anywhere}
body.royale-kingdom .arena-article__body.entry-content :is(p,li,h2,h3,h4,blockquote){max-width:100%;overflow-wrap:break-word}
body.royale-kingdom .arena-article__body.entry-content :is(mark,[style*="background-color: yellow"],[style*="background-color:#ff"],[style*="background-color: #ff"],[style*="background:#ff"],[style*="background: #ff"]){color:#24304b!important;text-shadow:none!important}
body.royale-kingdom .arena-article__body.entry-content mark{background:#ffe38b;padding:0 .2em;border-radius:3px}
body.royale-kingdom .arena-article__body.entry-content :is(h2,h3,h4){line-height:1.7;clear:both}
body.royale-kingdom .arena-article__body.entry-content a.arena-legacy-button{display:inline-flex;align-items:center;justify-content:center;padding:11px 20px;min-height:44px;margin:9px 0;border:2px solid #ffefaa;border-bottom:5px solid #a65d14;border-radius:11px;background:linear-gradient(#fff09d,#ffc73d);color:#332208!important;text-decoration:none!important;font-weight:900;line-height:1.5;text-align:center;white-space:normal;box-shadow:0 5px 14px #12345a36}
body.royale-kingdom .arena-article__body.entry-content a.arena-legacy-button:hover{background:linear-gradient(#fff8c2,#ffe083);transform:translateY(-2px)}
body.royale-kingdom .arena-article__body.entry-content .arena-legacy-note{margin:19px 0;padding:14px 17px;border-radius:12px;border-inline-start:4px solid #278ac8;background:#e3eeff;color:#21385e}
body.royale-kingdom .arena-article__body.entry-content .arena-legacy-heading{font-weight:900;color:#104b91}
body.royale-kingdom .arena-article__body.entry-content details.arena-legacy-spoiler{padding:12px 15px;margin:12px 0;border:1px solid #88b5da;border-radius:10px;background:#e3eeff}
body.royale-kingdom .arena-article__body.entry-content details.arena-legacy-spoiler summary{cursor:pointer;font-weight:900}
body.royale-kingdom .arena-comments{background:linear-gradient(160deg,#154376,#0b2b56);border-top:3px solid #3674b7;padding:30px 32px 36px;margin-top:0;color:#edf5ff;overflow:hidden}
body.royale-kingdom .arena-comments :is(h3#comments,.comments-title,.comment-reply-title){font-size:clamp(20px,3vw,26px);color:#ffdc85;line-height:1.6;margin:0 0 18px}
body.royale-kingdom .arena-comments ol.commentlist{list-style:none!important;padding:0!important;margin:0!important}
body.royale-kingdom .arena-comments .commentlist li.comment{list-style:none;min-width:0;max-width:100%;margin:0 0 16px;padding:0;background:transparent;border:0}
body.royale-kingdom .arena-comments .commentlist .comment-body{padding:19px 21px;border:1px solid #5486b6;border-radius:15px;background:linear-gradient(145deg,#204e84,#113465);box-shadow:inset 0 1px #ffffff26,0 5px 12px #00133144;overflow-wrap:anywhere;min-width:0}
body.royale-kingdom .arena-comments .commentlist li.bypostauthor>.comment-body{border-color:#e0b761;background:linear-gradient(150deg,#38517c,#203963)}
body.royale-kingdom .arena-comments .comment-author.vcard{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#ffe5a0;font-weight:900;font-size:14px;line-height:1.5}
body.royale-kingdom .arena-comments .comment-author.vcard img.avatar{flex:none;width:42px!important;height:42px!important;border:2px solid #e5c16e;border-radius:50%;object-fit:cover;background:#36518e url('../images/comment-avatar.svg') center/cover no-repeat}
body.royale-kingdom .arena-comments .comment-author.vcard .says{font-size:11px;color:#bdcfee;font-weight:400}
body.royale-kingdom .arena-comments .comment-author.vcard .fn,.arena-comments .comment-author.vcard a{color:#ffe5a0}
body.royale-kingdom .arena-comments .comment-metadata{margin:5px 0 13px;color:#c6def8;font-size:11px}
body.royale-kingdom .arena-comments .comment-metadata a{color:#c6def8!important}
body.royale-kingdom .arena-comments .comment-content,
body.royale-kingdom .arena-comments .comment-content p{color:#f5f8ff!important;font-size:14px;line-height:2;overflow-wrap:anywhere}
body.royale-kingdom .arena-comments .reply a{display:inline-flex;align-items:center;border:1px solid #ffe184;border-bottom:3px solid #9e690f;border-radius:8px;padding:4px 14px;background:#e9b945;color:#2d280d!important;font-weight:900;text-decoration:none}
body.royale-kingdom .arena-comments .commentlist .children{list-style:none;margin:10px 0 0 0;padding:0 15px 0 0;border-right:2px solid #78aff0}
body.royale-kingdom .arena-comments #respond{max-width:100%;margin:24px 0 4px;padding:22px;border:1px solid #679bc7;border-radius:16px;background:#133b73}
body.royale-kingdom .arena-comments #respond label{display:block;color:#ffdea1;margin:8px 0 5px;font-weight:800}
body.royale-kingdom .arena-comments :is(textarea,input[type="text"],input[type="email"],input[type="url"]){width:100%;max-width:100%;min-width:0;box-sizing:border-box;color:#fff!important;background:#0d2856!important;border:1px solid #7db5e5!important;border-radius:10px!important;padding:12px 13px;font:inherit}
body.royale-kingdom .arena-comments textarea::placeholder{color:#b9c9e1;opacity:1}
body.royale-kingdom .arena-comments input[type="submit"]{background:linear-gradient(#ffe898,#ffc33f);border:2px solid #fff0ae;border-bottom:5px solid #aa640b;border-radius:10px;padding:9px 21px;color:#2f250c;font-weight:900;cursor:pointer}
body.royale-kingdom .arena-comments :is(a.comment-reply-link,a#cancel-comment-reply-link){color:#ffe39c}
body.royale-kingdom .arena-comments .navigation{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
@media(max-width:900px){
 body.royale-kingdom .arena-content-layout{width:calc(100% - 24px);max-width:100%;padding-top:18px;padding-bottom:42px}
 body.royale-kingdom .arena-article__header{padding:23px 18px}
 body.royale-kingdom .arena-article__body.entry-content{padding:23px 17px;font-size:15px;line-height:2}
 body.royale-kingdom .arena-comments{padding:23px 13px 28px}
 body.royale-kingdom .arena-comments .commentlist .comment-body{padding:15px 13px}
 body.royale-kingdom .arena-comments .commentlist .children{padding-right:8px}
 body.royale-kingdom .arena-comments #respond{padding:15px}
 body.royale-kingdom .arena-article__body.entry-content :is(iframe,video){width:100%;max-height:70vh}
}

/* Legacy buttons created by the pre-existing Royal Kingdom shortcode compatibility layer. */
body.royale-kingdom .arena-article__body.entry-content a.rk-legacy-button{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:44px;margin:10px 0;padding:10px 19px;border:2px solid #ffed9d!important;border-bottom:5px solid #b76a13!important;border-radius:11px;background:linear-gradient(#ffefaa,#ffc94c)!important;color:#33230f!important;text-shadow:none!important;white-space:normal;text-align:center;text-decoration:none!important;font-weight:900!important;box-sizing:border-box}
