.rw-profile{--rp-ink:#342a1b;--rp-soft:#6b5c41;--rp-line:#c1ae7b;--rp-green:#343e2c;--rp-gold:#d8b45f;color:var(--rp-ink);font:12px/1.4 Verdana,Arial,sans-serif;max-width:100%;overflow-wrap:anywhere}.rw-profile *{box-sizing:border-box}.rw-profile h1,.rw-profile h2,.rw-profile h3,.rw-profile p{margin:0}.rw-profile a{color:#28534f}.rw-profile-hero{display:flex;align-items:center;gap:12px;padding:12px 14px;background:linear-gradient(115deg,#26352b,#3c422f);border:1px solid #9c8351;color:#efdfb8}.rw-profile-portrait{width:68px;height:68px;flex:none;background:#222e26;border:1px solid #8c774f;display:grid;place-items:center}.rw-profile-portrait img{object-fit:contain}.rw-profile-eyebrow{font-size:9px;letter-spacing:1.4px;color:#c9b98d}.rw-profile h1{font:bold 25px/1.2 Georgia,serif;color:#f2dfac;margin:2px 0}.rw-profile-identity{min-width:0;flex:1}.rw-profile-identity p{font-size:11px;color:#d5c9a7;margin-top:3px}.rw-profile-title{font:italic 14px Georgia,serif;color:#e5be65}.rw-profile-status{display:grid;justify-items:end;gap:4px;font-size:11px}.rw-profile-status small{color:#d4c6a7}.rw-profile-status a{color:#e8c97d}.rw-profile .is-online{color:#a4df9c}.rw-profile .is-offline{color:#dfcfac}.rw-profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#e2d4b2;border:1px solid var(--rp-line);border-top:0}.rw-profile-stats>div{padding:8px 12px;border-right:1px solid #c5b58e}.rw-profile-stats>div:last-child{border-right:0}.rw-profile-stats small{display:block;color:var(--rp-soft);font-size:10px}.rw-profile-stats strong{display:block;font:bold 19px/1.5 Georgia,serif}.rw-profile-skills{display:flex;flex-wrap:wrap;margin:8px 0;padding:4px 0;background:#e9dfc3;border:1px solid var(--rp-line)}.rw-profile-skills>span{flex:1;min-width:70px;text-align:center;border-right:1px solid #cfbf9b;padding:3px}.rw-profile-skills small{display:block;font-size:10px;color:var(--rp-soft)}.rw-profile-skills b{font-size:13px}.rw-profile-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0 6px}.rw-profile-heading h2{font:bold 17px Georgia,serif;color:#354631}.rw-profile-heading>span{font-size:10px;color:var(--rp-soft)}.rw-trophies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.rw-trophy{display:flex;align-items:center;gap:8px;padding:9px;background:linear-gradient(135deg,#f2e7c8,#e2d0a4);border:1px solid #b69a5f;border-top:3px solid #ad873e;min-width:0}.rw-trophy img{flex:none}.rw-profile .rw-trophy h3{font:bold 13px/1.25 Georgia,serif;color:#3e4b30}.rw-trophy p{font-size:10px;margin-top:3px;color:var(--rp-soft)}.rw-trophy span{display:block;font-size:9px;color:#4c6938;margin-top:5px}.rw-profile-empty,.rw-profile-owner{padding:10px;background:#e8dcc0;border:1px solid var(--rp-line)}.rw-profile-details{margin-top:6px;border:1px solid var(--rp-line);background:#efe5cb}.rw-profile-details>summary{display:list-item;cursor:pointer;padding:7px 10px;background:#e0d1ae;font-size:12px;font-weight:bold;color:#354531}.rw-profile-details>summary>span{float:right;font-size:10px;font-weight:normal;color:var(--rp-soft);margin-left:10px}.rw-profile-details[open]>summary{border-bottom:1px solid var(--rp-line)}.rw-profile-details>summary:focus-visible,.rw-profile a:focus-visible{outline:2px solid #75652d;outline-offset:2px}.rw-profile-note{padding:8px 10px;color:var(--rp-soft);font-size:10px}.rw-profile-owner{margin:0 10px 8px;font-size:11px}.rw-profile code{font-size:11px;background:#dfd0ad;padding:1px 3px}.rw-honours-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:0;padding:0;list-style:none;background:#d0bf98}.rw-honours-grid li{display:flex;gap:9px;align-items:center;background:#f0e7ce;padding:10px}.rw-honours-grid li>div{flex:1;min-width:0}.rw-honours-grid strong,.rw-honours-grid span,.rw-honours-grid small{display:block}.rw-honours-grid strong{font-size:11px;color:#354631}.rw-honours-grid span{font-size:10px;color:var(--rp-soft);margin:2px 0}.rw-honours-grid small{font-size:10px;color:#586a3a}.rw-honours-grid .is-locked img{opacity:.45;filter:grayscale(1)}.rw-profile progress{width:100%;height:4px;display:block;margin-top:5px;accent-color:#747f49;border:0}.rw-profile-facts{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0}.rw-profile-facts>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #dacba8;padding:6px 10px}.rw-profile-facts dt{color:var(--rp-soft);font-size:11px}.rw-profile-facts dd{margin:0;text-align:right;font-size:11px}.rw-profile table{width:100%;border-collapse:collapse;font-size:11px}.rw-profile th,.rw-profile td{padding:6px 10px;border-bottom:1px solid #d5c5a1;text-align:left}.rw-profile th{background:#e5d7b7}.rw-profile-quests,.rw-profile-characters{list-style:none;padding:0;margin:0}.rw-profile-quests li,.rw-profile-characters li{display:flex;gap:10px;padding:7px 10px;border-bottom:1px solid #d5c5a1;align-items:center}.rw-profile-quests span,.rw-profile-characters a{flex:1}.rw-profile-quests b{font-size:10px;font-weight:normal}.rw-profile-characters small{color:var(--rp-soft)}.rw-profile-comment{padding:10px}.rw-profile-footer{margin-top:12px}.rw-profile-footer form{margin:0}.rw-profile-sections{margin-top:10px}
@media(max-width:650px){.rw-profile-hero{padding:10px;gap:8px}.rw-profile h1{font-size:21px}.rw-profile-portrait{width:52px;height:58px}.rw-profile-portrait img{width:52px;height:52px}.rw-profile-stats{grid-template-columns:1fr 1fr}.rw-profile-stats>div{border-bottom:1px solid #c5b58e}.rw-trophies{grid-template-columns:1fr}.rw-trophy{padding:7px 10px}.rw-profile-facts,.rw-honours-grid{grid-template-columns:1fr}.rw-profile-details>summary>span{float:none;display:block;margin:2px 0 0 15px}.rw-profile-status{font-size:10px}.rw-profile-characters{font-size:10px}.rw-profile-skills>span{min-width:23%;margin:3px 0}}
/* Keep the compact component stable inside the existing classic site skin. */
body.relaxera-site .Content .BoxContent .rw-profile :is(h1,h2,h3,p){margin:0}
body.relaxera-site .Content .BoxContent .rw-profile h1{font:bold 25px/1.2 Georgia,serif;color:#f2dfac;margin:2px 0}
body.relaxera-site .Content .BoxContent .rw-profile h2{font:bold 17px Georgia,serif;color:#354631}
body.relaxera-site .Content .BoxContent .rw-profile h3{font:bold 13px/1.25 Georgia,serif;color:#3e4b30}
body.relaxera-site .Content .BoxContent .rw-profile ul{padding:0}
body.relaxera-site .Content .BoxContent .rw-profile th{background:#e5d7b7;color:#342a1b;font-size:11px}
@media(max-width:650px){body.relaxera-site .Content .BoxContent .rw-profile h1{font-size:21px}}

/* Engraved metal, parchment and small jewel accents: the classic profile skin. */
.rw-profile { --rp-line:#b7a071; font-variant-numeric:tabular-nums; }
.rw-profile-hero {
    position:relative; isolation:isolate; overflow:hidden; min-height:104px;
    padding:13px 15px; border:3px double #aa9157;
    background:radial-gradient(ellipse at 22% 0,#4a5038 0,transparent 65%),linear-gradient(115deg,#222c27,#30382e 65%,#202a25);
    box-shadow:inset 0 0 0 2px #171e19,inset 0 -12px 24px #0002,0 2px 0 #4b452f;
}
.rw-profile-hero::before {
    content:""; position:absolute; inset:5px; pointer-events:none; border:1px solid #d0b06930; z-index:-1;
    background:repeating-linear-gradient(0deg,transparent 0 3px,#00000008 3px 4px);
}
.rw-profile-hero::after {
    content:""; position:absolute; width:8px; height:8px; right:6px; top:6px;
    background:#9e8551; border:2px solid #d8bd76; box-shadow:0 1px 2px #000; pointer-events:none;
}
.rw-profile-portrait {
    position:relative; width:72px; height:72px; border:1px solid #a88d51;
    background:radial-gradient(ellipse,#4b5139,#17221b); box-shadow:inset 0 0 0 3px #20291f,0 2px 4px #0005;
}
.rw-profile-portrait::after { content:""; position:absolute; inset:4px; border:1px solid #b79e5e45; pointer-events:none; }
.rw-profile-portrait img { image-rendering:pixelated; }
.rw-profile-portrait img.rw-profile-crest { width:60px; height:60px; image-rendering:auto; }
.rw-profile h1 { text-shadow:0 2px #151e18; letter-spacing:.3px; }
.rw-profile-title { display:flex; align-items:center; gap:6px; color:#e9c876; }
.rw-profile-title::before { content:"◆"; font:9px Georgia,serif; color:#8cc5a0; }
.rw-profile-status { padding-left:10px; }
.rw-profile-status>span { font-size:10px; padding:3px 7px; background:#17251b70; border:1px solid #7c87604d; }
.rw-profile-stats { background:linear-gradient(#ecdfbd,#dcccaa); box-shadow:inset 0 1px #fff7; }
.rw-profile-stats>div { padding:7px 11px; }
.rw-profile-stats strong { font-size:20px; color:#38452e; text-shadow:0 1px #fff9; }
.rw-profile-stats small:first-child { font-size:9px; letter-spacing:.4px; text-transform:uppercase; }
.rw-profile-skills { margin:7px 0; box-shadow:inset 0 1px #fff6; background:#e8ddc1; }
.rw-profile-skills b { color:#38452e; }
.rw-profile-heading { padding:8px 1px; }
.rw-profile-heading h2 { display:flex; align-items:center; gap:8px; }
.rw-profile-heading h2::before { content:"◆"; color:#987337; font:10px Georgia,serif; }
.rw-profile-heading-tools { display:flex; align-items:center; gap:9px; color:#695b42; font-size:10px; }
.rw-profile .rw-motion-toggle {
    font:9px/1.3 Verdana,Arial,sans-serif; padding:3px 6px; margin:0; min-width:0; height:auto;
    color:#514b35; background:#e2d6b7; border:1px solid #b6a276; border-radius:0;
    box-shadow:inset 0 1px #fff7; cursor:pointer; text-shadow:none;
}
.rw-profile .rw-motion-toggle[hidden] { display:none; }
.rw-profile .rw-motion-toggle:hover { background:#eddfbd; color:#333c2c; }
.rw-profile .rw-motion-toggle:disabled { opacity:.65; cursor:default; }
.rw-profile .rw-motion-toggle:focus-visible { outline:2px solid #455f45; outline-offset:2px; }
.rw-trophies { gap:6px; padding:6px; border:1px solid #5d604a; background:#30372d; box-shadow:inset 0 0 0 2px #20271f; }
.rw-trophy {
    position:relative; overflow:hidden; isolation:isolate; padding:11px 8px; gap:7px; align-items:flex-start;
    border:1px solid #827450; background:radial-gradient(ellipse at top,#414733,#29342b);
    box-shadow:inset 0 0 0 2px #1f2b2260,inset 0 -3px #151c1790;
    transition:transform .18s ease,border-color .18s ease;
}
.rw-trophy::after {
    content:""; position:absolute; inset:0; pointer-events:none; z-index:-1;
    background:linear-gradient(110deg,transparent 20%,#ffe7a51a 45%,#ffe7a536 50%,#ffe7a51a 55%,transparent 80%);
    transform:translateX(-140%); opacity:0;
}
.rw-trophy.is-selected { border-color:#c0a265; background:radial-gradient(ellipse at top,#4e5035,#303b2d); }
.rw-trophy-emblem { width:44px; height:48px; display:grid; place-items:center; flex:none; border-bottom:2px solid #99804a; }
.rw-trophy-emblem img { width:44px; height:44px; filter:drop-shadow(0 2px 1px #0007); }
.rw-trophy-copy { min-width:0; }
.rw-trophy .rw-trophy-category { display:block; font:8px/1.4 Verdana,Arial,sans-serif; text-transform:uppercase; letter-spacing:.65px; color:#b7b899; margin-bottom:4px; }
.rw-profile .rw-trophy h3 { color:#f0d591; font-size:13px; text-shadow:0 1px #152219; }
.rw-trophy p { color:#d1ccb2; font-size:10px; line-height:1.4; margin-top:4px; }
.rw-trophy .rw-trophy-earned { color:#a9c997; margin-top:7px; font-size:9px; }
.rw-trophy.is-selected .rw-trophy-earned { color:#ebc66e; }
.rw-profile-empty { border-left:3px solid #92743c; background:linear-gradient(110deg,#e4d6b3,#eee3c7); }
.rw-profile-details { border-color:#bba679; box-shadow:0 1px 1px #57442010; }
.rw-profile-details>summary { list-style:none; display:flex; align-items:center; gap:8px; padding:8px 10px; background:linear-gradient(#e8dbba,#ded0af); transition:background-color .15s ease; }
.rw-profile-details>summary::-webkit-details-marker { display:none; }
.rw-profile-details>summary::before { content:"›"; display:inline-block; flex:none; font:bold 17px/14px Georgia,serif; color:#6f6c44; transition:transform .18s ease; }
.rw-profile-details[open]>summary::before { transform:rotate(90deg); }
.rw-profile-details>summary>span { float:none; margin-left:auto; text-align:right; }
.rw-profile-details>summary:hover { background:#eadebd; }
.rw-profile-details[open]>summary { box-shadow:inset 3px 0 #8c834f; }
.rw-honours-grid li.is-earned { background:linear-gradient(100deg,#e8e4c9,#f0e7ce); }
.rw-honours-grid li.is-earned strong { color:#3e5535; }
.rw-profile progress { height:5px; background:#d0c29d; border-radius:0; }
.rw-profile progress::-webkit-progress-bar { background:#d0c29d; }
.rw-profile progress::-webkit-progress-value { background:linear-gradient(90deg,#58683e,#8f9b5f); }
.rw-profile progress::-moz-progress-bar { background:#78864f; }

/* Opt-in after preference check; compositor-only motion, no layout changes. */
/* A visitor may explicitly enable motion even when their device defaults to reduced motion. */
    .rw-profile[data-motion="on"] .rw-trophy { animation:rw-honour-arrive .45s backwards; }
    .rw-profile[data-motion="on"] .rw-trophy:nth-child(2) { animation-delay:.08s; }
    .rw-profile[data-motion="on"] .rw-trophy:nth-child(3) { animation-delay:.16s; }
    .rw-profile[data-motion="on"] .rw-trophy::after { animation:rw-honour-glint 9s ease-in-out infinite; }
    .rw-profile[data-motion="on"] .rw-trophy:nth-child(2)::after { animation-delay:1.6s; }
    .rw-profile[data-motion="on"] .rw-trophy:nth-child(3)::after { animation-delay:3.2s; }
    .rw-profile[data-motion="on"] .rw-profile-title::before { animation:rw-gem-glow 4s ease-in-out infinite; }
    .rw-profile[data-motion="on"] .rw-profile-details[open]>:not(summary) { animation:rw-detail-reveal .2s ease-out; }
    .rw-profile[data-paused="true"] *, .rw-profile[data-paused="true"] *::before, .rw-profile[data-paused="true"] *::after { animation-play-state:paused!important; }
@media(hover:hover) { .rw-profile[data-motion="on"] .rw-trophy:hover { transform:translateY(-2px); border-color:#dfbc69; } }
@keyframes rw-honour-arrive { from{opacity:0;transform:translateY(5px)} to{opacity:1;transform:none} }
@keyframes rw-detail-reveal { from{opacity:.3;transform:translateY(-2px)} to{opacity:1;transform:none} }
@keyframes rw-honour-glint { 0%,65%{transform:translateX(-140%);opacity:0} 69%{opacity:1} 84%,100%{transform:translateX(140%);opacity:0} }
@keyframes rw-gem-glow { 0%,100%{opacity:.55} 50%{opacity:1} }
.rw-profile[data-motion="off"] *, .rw-profile[data-motion="off"] *::before, .rw-profile[data-motion="off"] *::after { animation:none!important; transition:none!important; }
@media(prefers-reduced-motion:reduce) { .rw-profile:not([data-motion="on"]) *, .rw-profile:not([data-motion="on"]) *::before, .rw-profile:not([data-motion="on"]) *::after { animation:none!important; transition:none!important; } }
body.relaxera-site .Content .BoxContent .rw-profile .rw-trophy h3 { color:#f0d591; }
body.relaxera-site .Content .BoxContent .rw-profile .rw-trophy p { margin-top:4px; }
html body.relaxera-site .Content .BoxContent .rw-profile button.rw-motion-toggle {
    font:9px/1.3 Verdana,Arial,sans-serif!important; padding:3px 6px;
    background:#e2d6b7!important; color:#514b35!important; border:1px solid #b6a276!important;
    border-radius:0!important; box-shadow:inset 0 1px #fff7!important;
}
html body.relaxera-site .Content .BoxContent .rw-profile button.rw-motion-toggle:hover { background:#eddfbd!important; color:#333c2c!important; }
@media(max-width:650px) {
    .rw-profile-hero { gap:9px; padding:10px; }
    .rw-profile-portrait { width:52px; height:60px; }
    .rw-profile-portrait img.rw-profile-crest { width:47px; height:47px; }
    .rw-profile-status { padding-left:0; }
    .rw-trophy { align-items:center; padding:8px 10px; }
    .rw-trophy-emblem { margin-right:3px; }
    .rw-profile-details>summary { flex-wrap:wrap; gap:4px 8px; }
    .rw-profile-details>summary>span { margin:0 0 0 auto; display:inline; }
    .rw-profile-heading-tools { gap:6px; }
}
@media(max-width:420px) {
    .rw-profile-hero { flex-wrap:wrap; }
    .rw-profile-status { width:100%; display:flex; align-items:center; gap:10px; padding-top:5px; border-top:1px solid #8e905040; }
    .rw-profile-heading { align-items:flex-start; }
    .rw-profile-heading-tools { flex-wrap:wrap; justify-content:flex-end; }
    .rw-profile-details>summary>span { flex-basis:100%; padding-left:16px; text-align:left; font-size:9px; }
    .rw-profile-stats strong { font-size:17px; white-space:nowrap; }
    .rw-profile-stats>div { padding:7px 8px; }
    .rw-profile-heading h2 { font-size:15px; }
    .rw-profile-heading-tools { max-width:110px; }
}
@media(max-width:340px) { .rw-profile-stats strong { font-size:15px; } }

/* Compact overview: all public information visible, with no accordion or inner scroll areas. */
.rw-profile-visible .rw-profile-hero { min-height:78px; padding:8px 11px; gap:10px; }
.rw-profile-visible .rw-profile-portrait { width:54px; height:54px; }
.rw-profile-visible .rw-profile-portrait img { width:48px; height:48px; }
.rw-profile-visible .rw-profile-portrait img.rw-profile-crest { width:46px; height:46px; }
.rw-profile-visible .rw-profile-stats>div { padding:5px 9px; }
.rw-profile-visible .rw-profile-stats strong { font-size:18px; line-height:1.35; }
.rw-profile-visible .rw-profile-skills { margin:5px 0; padding:1px 0; }
.rw-profile-visible .rw-profile-skills>span { padding:2px; }
.rw-profile-visible .rw-profile-heading { padding:5px 1px; }
.rw-profile-visible .rw-profile-title { font-size:12px; }
.rw-profile-visible .rw-profile-heading h2 { font-size:15px; }
.rw-profile-visible .rw-profile-note { padding:5px 7px; font-size:10px; line-height:1.35; }
.rw-honours-visible {
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:4px;
    padding:4px; background:#343c2e; border:1px solid #62674c;
}
.rw-honours-grid.rw-honours-visible .rw-trophy { padding:6px; gap:6px; align-items:center; margin:0; }
.rw-honours-grid.rw-honours-visible .rw-trophy.is-earned { background:linear-gradient(115deg,#424c35,#29392d); }
.rw-honours-grid.rw-honours-visible .rw-trophy.is-locked { background:#e9dfc4; border-color:#c0af84; box-shadow:inset 0 1px #fff5; }
.rw-profile-visible .rw-honours-visible .rw-trophy h3 { font: bold 12px/1.2 Georgia,serif; }
.rw-profile-visible .rw-honours-visible .rw-trophy p { font-size:10px; line-height:1.3; margin-top:2px; }
.rw-profile-visible .rw-honours-visible .rw-trophy .rw-trophy-earned { font-size:9px; margin-top:3px; }
.rw-profile-visible .rw-honours-visible .rw-trophy.is-locked h3 { color:#48523a; text-shadow:none; }
.rw-profile-visible .rw-honours-visible .rw-trophy.is-locked p { color:#6c624a; }
.rw-profile-visible .rw-honours-visible .rw-trophy.is-locked .rw-trophy-earned { color:#626e43; }
.rw-profile-visible .rw-honours-visible progress { margin-top:3px; height:3px; }
.rw-profile-visible .rw-trophy.is-locked::after { animation:none!important; }
.rw-profile-visible .rw-trophy.is-locked:hover { transform:none; }
.rw-profile-visible .rw-profile-sections { display:block; column-count:2; column-gap:6px; margin-top:5px; }
.rw-profile-panel { border:1px solid var(--rp-line); background:#efe5cb; min-width:0; break-inside:avoid; margin:0 0 6px; }
.rw-profile .rw-panel-heading,
body.relaxera-site .Content .BoxContent .rw-profile .rw-panel-heading {
    display:flex; align-items:center; justify-content:space-between; gap:8px;
    margin:0; padding:5px 7px; border-bottom:1px solid var(--rp-line);
    background:linear-gradient(#e4d5b3,#d6c49c); color:#354531; font:bold 13px/1.3 Georgia,serif;
}
.rw-panel-heading>span { font:9px/1.3 Verdana,Arial,sans-serif; color:#6b6046; text-align:right; }
.rw-profile-visible .rw-profile-facts { grid-template-columns:1fr; }
.rw-profile-visible .rw-profile-facts>div { padding:4px 7px; }
.rw-profile-visible .rw-profile-facts dt,.rw-profile-visible .rw-profile-facts dd { font-size:10px; line-height:1.35; }
.rw-profile-visible th,.rw-profile-visible td { padding:4px 7px; font-size:10px; }
.rw-profile-visible .rw-profile-quests li,.rw-profile-visible .rw-profile-characters li { padding:4px 7px; font-size:10px; flex-wrap:wrap; }
.rw-profile-visible .rw-profile-comment { padding:6px 7px; font-size:11px; }
.rw-profile-visible .rw-profile-footer { margin-top:7px; }
body.relaxera-site .Content .BoxContent .rw-profile-visible h1 { font-size:23px; }
body.relaxera-site .Content .BoxContent .rw-profile-visible .rw-profile-heading h2 { font-size:15px; }
body.relaxera-site .Content .BoxContent .rw-profile-visible .rw-honours-visible { padding:4px; }
body.relaxera-site .Content .BoxContent .rw-profile-visible .rw-trophy h3 { font-size:12px; }
body.relaxera-site .Content .BoxContent .rw-profile-visible .rw-trophy.is-locked h3 { color:#48523a; }
body.relaxera-site .Content .BoxContent .rw-profile-visible .rw-trophy p { margin-top:2px; }
body.relaxera-site .Content .BoxContent .rw-profile-visible th { font-size:10px; }
@media(max-width:650px) {
    .rw-profile-visible .rw-profile-sections { column-count:1; }
    .rw-profile-visible .rw-profile-skills>span { margin:1px 0; }
    .rw-honours-visible { grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); }
}
@media(max-width:420px) {
    .rw-profile-visible .rw-profile-stats strong { font-size:16px; }
    .rw-profile-visible .rw-profile-hero { padding:7px; }
    .rw-profile-visible .rw-profile-status { padding-top:3px; }
    .rw-profile-visible .rw-profile-heading-tools { max-width:115px; }
}
@media(max-width:340px) { .rw-profile-visible .rw-profile-stats strong { font-size:14px; } }

/* The shared paper theme forces light header text; these compact tables use parchment. */
html body.relaxera-site .Content .BoxContent .rw-profile th{color:#342a1b!important}

.rw-profile .rw-profile-status .rw-profile-action {
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:4px 9px;
    border:1px solid #ba9b54;
    border-radius:3px;
    background:#ebd69d;
    color:#253c2c;
    font-weight:bold;
}
.rw-profile .rw-profile-status .rw-profile-action:hover { background:#f8e9bd; }
.rw-character-achievements { margin-top:8px; }
.rw-character-info .rw-profile-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
.rw-character-info .rw-completed-quests { margin-top:8px; }
.rw-character-info .rw-trophy-none { padding:6px; color:#f2e7c5; }
.rw-locked-trophies { margin-top:5px; }
.rw-profile .rw-locked-trophies h3 { margin:0; padding:5px 7px; color:#3c492f; }
@media(max-width:380px) {
    .rw-character-info .rw-profile-facts { grid-template-columns:1fr; }
}

.rw-profile-compact .rw-profile-hero {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    min-height:0;
    gap:8px;
    padding:6px 9px;
}
.rw-profile-compact .rw-profile-hero.has-country-flag { grid-template-columns:42px minmax(0,1fr) auto; }
.rw-profile-compact .rw-profile-hero::after { display:none; }
.rw-profile-compact .rw-profile-portrait { width:42px; height:42px; }
.rw-profile-compact .rw-profile-country img { width:32px; height:auto; }
body.relaxera-site .Content .BoxContent .rw-profile-compact h1 { margin:0; font-size:21px; }
html[data-relaxera-theme] body.rw-shell .Content .BoxContent .rw-profile .rw-profile-hero h1 { color:#f2dfac; }
html[data-relaxera-theme] body.rw-shell #ContentColumn:has(.rw-profile-compact) .rw-document-title { display:none; }
.rw-profile-compact .rw-profile-status {
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    align-items:center;
    gap:6px;
    padding:0;
}
.rw-profile-compact .rw-profile-sections { column-count:auto; margin-top:7px; }
.rw-profile-compact .rw-profile-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
.rw-profile-compact .rw-profile-facts>div {
    min-height:24px;
    align-items:center;
    gap:8px;
    padding:4px 8px;
}
.rw-profile-compact .rw-profile-facts dt,
.rw-profile-compact .rw-profile-facts dd { font-size:11px; }
.rw-profile-compact .rw-profile-facts dd { min-width:0; overflow-wrap:anywhere; }
.rw-profile-compact .rw-profile-facts>div:nth-child(4n+3),
.rw-profile-compact .rw-profile-facts>div:nth-child(4n+4) { background:#e7d9b9; }
.rw-profile-compact .rw-profile-skills { margin:0; }
.rw-xp-days, .rw-xp-summary {
    display:grid;
    margin:0;
}
.rw-xp-days { grid-template-columns:repeat(auto-fit,minmax(min(92px,100%),1fr)); font-variant-numeric:tabular-nums; }
.rw-xp-summary { grid-template-columns:repeat(2,minmax(0,1fr)); background:#e7d9b9; }
.rw-xp-days>div, .rw-xp-summary>div {
    min-width:0;
    padding:5px 6px;
    border-bottom:1px solid #dacba8;
    text-align:center;
}
.rw-xp-days>div + div, .rw-xp-summary>div + div { border-left:1px solid #dacba8; }
.rw-xp-days dt, .rw-xp-summary dt { color:var(--rp-soft); font-size:10px; }
.rw-xp-days dd, .rw-xp-summary dd { margin:2px 0 0; font-weight:bold; overflow-wrap:anywhere; }
.rw-xp-gain { color:#31552d; }
.rw-xp-loss { color:#8a3430; }
.rw-xp-summary small { font-weight:normal; }
.rw-profile-jump {
    display:flex;
    flex-wrap:wrap;
    gap:2px 14px;
    padding:6px 8px;
    margin:0 0 6px;
    background:#e7d9b9;
    border:1px solid var(--rp-line);
    border-top:0;
}
.rw-profile-jump a { padding:3px 0; font-weight:bold; }
.rw-character-info [id] { scroll-margin-top:10px; }
@media(max-width:800px) {
    html[data-relaxera-theme] body.rw-shell #ContentRow:has(.rw-profile-compact) { grid-template-areas:'content' 'menu'; }
}
@media(max-width:540px) {
    .rw-profile-compact .rw-profile-facts { grid-template-columns:1fr; }
    .rw-profile-compact .rw-profile-facts>div:nth-child(n) { background:none; }
    .rw-profile-compact .rw-profile-facts>div:nth-child(even) { background:#e7d9b9; }
}
@media(max-width:420px) {
    .rw-profile-compact .rw-profile-hero { grid-template-columns:minmax(0,1fr); }
    .rw-profile-compact .rw-profile-hero.has-country-flag { grid-template-columns:42px minmax(0,1fr); }
    .rw-profile-compact .rw-profile-status {
        grid-column:1 / -1;
        justify-content:space-between;
        padding-top:4px;
    }
}
