:root{--bg:#14110d;--fg:#e8dfc8;--mut:#a89c80;--acc:#d6a84a;--err:#ff7b5c;--ok:#8fd18f;--card:#1f1a14;--line:#3a3024}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.5 system-ui,sans-serif}
header{display:flex;justify-content:space-between;align-items:center;padding:.8rem 1.5rem;border-bottom:1px solid var(--line)}
header nav a{margin-left:1rem}a{color:var(--acc)}.brand{font-weight:600;text-decoration:none}small{color:var(--mut)}
main{max-width:60rem;margin:2rem auto;padding:0 1.5rem}h1{font-weight:600}h2{margin-top:2rem;font-size:1.15rem}
form{display:grid;gap:.7rem;max-width:26rem;margin:1rem 0}form.inline{display:inline-flex;gap:.4rem;max-width:none;margin:.3rem .3rem .3rem 0}
label{display:grid;gap:.2rem;color:var(--mut)}input,select{background:var(--card);color:var(--fg);border:1px solid var(--line);padding:.45rem .6rem;border-radius:4px;font:inherit}
button{background:var(--acc);color:#1a1408;border:0;padding:.5rem .9rem;border-radius:4px;font:inherit;font-weight:600;cursor:pointer}
button.danger{background:var(--err)}button.link{background:none;color:var(--acc);padding:0;font-weight:400}
.err{color:var(--err)}.ok{color:var(--ok)}.hint{color:var(--mut);font-size:.9rem}
table{border-collapse:collapse;width:100%;font-size:.9rem}td,th{border-bottom:1px solid var(--line);padding:.35rem .5rem;text-align:left}
dl{display:grid;grid-template-columns:max-content 1fr;gap:.3rem 1rem}dt{color:var(--mut)}dd{margin:0}
.st-banned{color:var(--err)}.st-disabled{color:var(--mut)}img.qr{background:#fff;padding:8px;border-radius:4px}code{word-break:break-all}
nav.admin{margin:-.5rem 0 1.2rem;color:var(--mut)}nav.admin b{color:var(--fg)}
textarea{background:var(--card);color:var(--fg);border:1px solid var(--line);padding:.45rem .6rem;border-radius:4px;font:13px/1.4 ui-monospace,monospace;width:100%}
form.wide{max-width:44rem}label.inline{display:inline-flex;align-items:center;gap:.3rem}
table.log td{vertical-align:top}.lv-warning td:nth-child(2){color:var(--acc)}.lv-error td:nth-child(2),.lv-critical td:nth-child(2){color:var(--err)}
pre{white-space:pre-wrap;font-size:.8rem;color:var(--mut)}main{max-width:72rem}
.mut{color:var(--mut)}.st-ok{color:var(--ok)}.st-locked{color:var(--acc)}details{margin:.6rem 0}summary{cursor:pointer;color:var(--acc)}
.sheet{display:grid;grid-template-columns:auto 1fr auto;gap:.6rem;align-items:start;background:var(--card);border:1px solid var(--line);border-radius:6px;padding:.8rem;max-width:56rem}
.sheet .col{display:grid;gap:.35rem}.sheet .row{grid-column:1/4;display:flex;gap:.35rem;justify-content:center}.sheet .mid{padding:0 .6rem}.tabs{margin-bottom:.5rem}
.cell{position:relative;display:flex;align-items:center;justify-content:center;width:4.4rem;height:2.6rem;border:1px solid var(--line);border-radius:4px;background:#120f0b;
  font-size:.68rem;line-height:1.1;text-align:center;text-decoration:none;color:var(--fg);padding:2px;overflow:visible}
.cell.empty{opacity:.65}.cell.sel{outline:2px solid var(--acc)}.cell:hover{border-color:var(--acc)}
.cell .qty{position:absolute;right:2px;bottom:1px;font-style:normal;font-size:.7rem;color:#fff;text-shadow:0 0 2px #000}
.cell .tip{display:none;position:absolute;z-index:10;left:100%;top:0;margin-left:.4rem;min-width:12rem;background:#0c0a07;border:1px solid var(--acc);border-radius:4px;
  padding:.4rem .5rem;text-align:left;font-size:.8rem;color:var(--fg);white-space:normal}
.cell:hover .tip{display:block}
.bags{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-start}.bag h3{margin:.2rem 0;font-size:.9rem;color:var(--mut)}
.grid{display:grid;gap:3px}.grid.cols5{grid-template-columns:repeat(5,4.4rem)}.grid.cols6{grid-template-columns:repeat(6,4.4rem)}
section.edit,section.realm,article.news{background:var(--card);border:1px solid var(--line);border-radius:6px;padding:.6rem 1rem;margin:1rem 0}
article.news.draft{opacity:.7}.preview{border-left:3px solid var(--line);padding-left:.8rem}pre.mail{white-space:pre-wrap;background:#0c0a07;padding:.6rem}
table.stats td:first-child{color:var(--mut);padding-right:1.5rem}
.ico{position:relative;display:inline-block;width:32px;height:32px;vertical-align:middle}.ico img{position:absolute;left:0;top:0;width:32px;height:32px}
.cell .tip hr{border:0;border-top:1px solid var(--line);margin:.25rem 0}.q-common{color:#fff}.q-uncommon{color:#e6d44a}.q-rare{color:#c86ee8}.q-incomparable{color:#3ec8e8}.q-legendary{color:#f08a2c}
.sheetwrap{display:flex;gap:1rem;align-items:flex-start;flex-wrap:wrap}.sheetwrap .mid{flex:1;min-width:16rem}
.journal{position:relative;background:url(/ui/character_window.png) no-repeat;flex:none}
.journal .eq{position:absolute;width:44px;height:44px;padding:0;background:transparent no-repeat center;border:0;font-size:.55rem}
.journal .eq.empty .mut{display:none}.journal .eq .ico{margin:0}
.journal .hd,.journal .sl,.journal .sv{position:absolute;font:11px/1.3 Georgia,serif;color:#e8dfc8;overflow:hidden;white-space:nowrap}
.journal .sl{color:#c9b88a}.journal .sv{text-align:right;color:#fff}.journal .hd-PlayerName{color:#ffd700;font-weight:bold}

.journal .tb{position:absolute;display:flex;align-items:center;justify-content:center;font:bold 12px Georgia,serif;color:#c9b88a;text-decoration:none;text-shadow:0 1px 2px #000}
.journal .tb:hover,.journal .tb.on{color:#ffd700}
.journal.j-traits{background-image:url(/ui/traits_window.png)}.journal.j-skills{background-image:url(/ui/skills_window.png)}
.journal .jpage{position:absolute;overflow:auto;padding:.6rem .8rem;font-size:.85rem;color:var(--fg)}.journal .jpage h3{margin:.2rem 0 .5rem;color:#ffd700}
.bags{flex-wrap:nowrap;gap:.6rem;overflow-x:auto}.bag h3{font-size:.8rem;margin:.1rem 0 .2rem}
.grid.cols5{grid-template-columns:repeat(5,36px)}.grid.cols6{grid-template-columns:repeat(6,36px)}.grid{gap:2px}
.cell.slot{width:36px;height:36px;padding:0;font-size:.6rem}.cell.slot .ico{margin:0}

.danger-zone{border:1px solid var(--err);border-radius:6px;padding:.6rem;margin-top:1rem}button:disabled{opacity:.45;cursor:not-allowed}
.ico.sm,.ico.sm img{width:24px;height:24px}table.tlist td,table.tslots td,table.tslots th{padding:.15rem .3rem;font-size:.8rem}
.tslot{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid var(--line);margin-right:2px;vertical-align:middle}
.tslot.locked{opacity:.5;font-size:.6rem}.tslot .ico.sm,.tslot .ico.sm img{width:26px;height:26px}input.rank{width:3.2rem}
/* hover cards above neighbours: no opacity on cells (opacity < 1 creates a stacking context that traps the card) */
.cell.empty{opacity:1;background-color:#0d0b08;color:#6f6550}.cell:hover{z-index:50}.cell .tip{z-index:60;box-shadow:0 4px 14px #000a}
.bags,.bag,.grid{overflow:visible}.bags{padding-bottom:6rem;margin-bottom:-6rem}

.toprow{display:flex;gap:1.5rem;align-items:flex-start;flex-wrap:wrap}.toprow .details{flex:0 1 24rem;min-width:18rem}.toprow .details form.wide{max-width:none}
.vaultrow{align-items:flex-start}.chestgrid{position:relative}.bag.chest.locked .grid{filter:grayscale(1) brightness(.55)}
.cell.locked{cursor:not-allowed}.chest-unlock{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;max-width:none}
.chest-unlock button{box-shadow:0 2px 8px #000}.bag h3 small{font-weight:400}

/* ---- Character Journal, coloured like the SoA client journal (user reference screenshots 2026-11-25) ---- */
.toprow>.sheetwrap{flex:none;position:relative}
.journal .jtitle{position:absolute;display:flex;align-items:center;justify-content:center;font:bold 13px Georgia,serif;font-variant:small-caps;letter-spacing:.06em;color:#ece6f6;text-shadow:0 1px 2px #000}
.journal .tb{font-variant:small-caps;font-size:13px;color:#d9d4c4}
.journal .tb:hover,.journal .tb.on{color:#f2d35b}
.journal .tb-gone{background:#161616;pointer-events:none}
.journal .hd{font-variant:small-caps;color:#e4dfcf;font-size:12px}
.journal .hd-PlayerName{color:#e4dfcf;font-weight:normal}
.journal .hd-PlayerLevel,.journal .hd-Level_Text{text-align:right}
.journal .money,.journal .destiny{display:flex;align-items:center;gap:.15rem;color:#f4f1e6;font-size:11px}
.journal .money b,.journal .destiny b{font-weight:normal}
.journal .destiny{justify-content:flex-end;padding-right:6px}
.journal .destiny::before{content:"Destiny Points:";margin-right:.3rem;color:#c9c3ae;font-variant:small-caps}
.coin{display:inline-block;width:11px;height:8px;border-radius:50%;margin:0 .35rem 0 .1rem;box-shadow:inset 0 -1px 1px #0008}
.coin.cg{background:radial-gradient(circle at 35% 35%,#fff3b0,#d9a520 60%,#8a6410)}
.coin.cs{background:radial-gradient(circle at 35% 35%,#ffffff,#b9bcc4 60%,#6c7078)}
.coin.cc{background:radial-gradient(circle at 35% 35%,#ffd4a8,#b8692c 60%,#6e3810)}
.coin.cd{width:9px;height:9px;background:radial-gradient(circle at 40% 40%,#fff8c0,#f2c94c 55%,#7a5a10)}
.journal .gl,.journal .gv{position:absolute;font:12px/20px Georgia,serif;white-space:nowrap;overflow:hidden}
.journal .gl{font-variant:small-caps;color:#dcd8cc}
.journal .gv{text-align:right;color:#f2f2f2}
.journal .gv.up{color:#4fd34f}.journal .gv.down{color:#ff4a3d}.journal .gv.na{color:#6f6a5e}
.journal .gl.lbl-morale{color:#3fcf3f}.journal .gl.lbl-power{color:#4aa8ff}.journal .gl.lbl-armour{color:#958a70}
.journal .gs-v17,.journal .gs-v20{font-weight:bold}
.journal .jview{position:absolute;overflow:hidden;background:#000;contain:strict}
.journal .jview canvas{display:block;width:100%;height:100%}
.journal .jview-msg{position:absolute;left:0;right:0;bottom:6px;padding:0 6px;text-align:center;font-size:10px;line-height:1.25;color:#6f6a5e}
.journal .jrot{position:absolute;padding:0;border:0;background:transparent;cursor:pointer;border-radius:3px}
.journal .jrot:hover{box-shadow:0 0 6px #f2d35b}
.journal .jband{position:absolute;background:#000}
.journal .atab{position:absolute;margin:0;max-width:none}
.journal .atab button,.journal span.atab{width:100%;height:100%;padding:0 .3rem;border:1px solid #56628a;border-top:0;border-radius:0 0 7px 7px;
  background:linear-gradient(#1b2547,#0c1228);color:#dcd8cc;font:12px Georgia,serif;font-variant:small-caps;cursor:pointer;box-shadow:none}
.journal .atab button:hover{color:#f2d35b;border-color:#8b97c4}
.journal span.atab{display:flex;align-items:center;justify-content:center;color:#6f6a5e;cursor:not-allowed}
/* ---- item picker popup (picker.js), over the journal ---- */
.picker{position:absolute;left:0;top:0;width:450px;height:518px;z-index:200;display:flex;flex-direction:column;gap:.35rem;box-sizing:border-box;
  padding:.55rem .65rem;background:#0f0d0b;border:1px solid var(--acc);border-radius:6px;box-shadow:0 8px 30px #000c;font-size:.85rem}
.picker[hidden]{display:none}
.pk-head{display:flex;align-items:baseline;gap:.3rem}.pk-head b{color:#f2d35b}
.pk-close{margin-left:auto;padding:0 .45rem;font-size:1.1rem;line-height:1.3}
.pk-card{max-height:9.5rem;overflow:auto;border:1px solid var(--line);border-radius:4px;padding:.3rem .45rem;background:#16120e;flex:none}
.pk-card p{margin:0 0 .2rem}.pk-cap{font-size:.75rem;color:var(--mut)}
.pk-tip hr,.pk-hover hr{border:0;border-top:1px solid var(--line);margin:.2rem 0}
.pk-warn{margin:0;color:#ff6b57;font-size:.8rem}.pk-warn:empty{display:none}
.pk-acts{display:flex;gap:.4rem;align-items:center}.pk-qty{width:5rem}
.pk-search{width:100%;box-sizing:border-box}
.pk-list{flex:1;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:3px;align-content:start;padding-right:2px}
.pk-it{display:flex;align-items:center;gap:.35rem;min-width:0;padding:2px 4px;border:1px solid transparent;border-radius:3px;background:#1a1611;color:var(--fg);text-align:left;font-size:.78rem;box-shadow:none}
.pk-it:hover{border-color:var(--line)}.pk-it.on{border-color:#f2d35b;background:#2a2316}
.pk-it .ico{flex:none;outline:1px solid #0006}
.pk-n{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pk-l{flex:none;font-size:.7rem;color:var(--mut)}
.pk-it.g1 .ico,.pk-it.g2 .ico{filter:saturate(.45) brightness(.75);outline:2px solid #c8102e}
.pk-it.g2 .pk-n{color:#b9a9a0}
.pk-hover{position:absolute;z-index:210;width:250px;padding:.4rem .5rem;background:#0b0907;border:1px solid var(--line);border-radius:4px;box-shadow:0 4px 14px #000c;font-size:.78rem}
.ok{color:var(--ok)}
fieldset{border:1px solid var(--line);border-radius:6px;margin:0 0 1rem;padding:.6rem .9rem}
legend{color:var(--acc);padding:0 .3rem}
.settings label small{display:block;margin-top:.15rem}
.journal .hd{display:flex;align-items:center;line-height:1}
.journal .hd-PlayerClass{justify-content:flex-end;padding-right:14px}
.journal .gv{padding-right:6px;box-sizing:border-box}
.journal .gl{padding-left:2px;box-sizing:border-box}
/* ---- journal style pass 2 (matched to the SoA reference screenshots + the window art's own colours) ---- */
.journal .tb-house.tb-gone{background:#000;height:27px}   /* SoA has no House tab: black like the frame beside Title */
.journal .destiny{padding-right:24px}                      /* the art's moon sits at the right end of the bar */
.coin{width:13px;height:10px;margin:0 .45rem 0 .15rem}
/* admin buttons in the sub-tab band, drawn like the client's own bottom tabs (gradient sampled from character_window.png) */
.journal .atab button,.journal span.atab{border:1px solid #434c72;border-top-color:#252a41;border-bottom-color:#5f6376;border-radius:2px;
  background:linear-gradient(#0d1121 0%,#13161c 25%,#282a2c 45%,#515664 65%,#6879b1 88%,#5f6376 100%);
  color:#e6e2d6;font:12px Georgia,serif;font-variant:small-caps;text-shadow:0 1px 2px #000}
.journal .atab button:hover{color:#f2d35b;border-color:#6b78a8}
/* realm World settings (admin Launcher > Realms) */
label.wp{display:block;margin:.5rem 0;padding:.35rem 0;border-bottom:1px dotted var(--line);color:var(--fg)}label.wp input[type=number],label.wp select{margin-top:.25rem}label.wp textarea{width:100%;margin-top:.25rem;font-family:monospace;background:var(--card);color:var(--fg);border:1px solid var(--line)}label.wp code{color:var(--mut)}
/* ---- Traits tab, Equipped Traits view: the client's slot rows over the window art (positions from /ui/sheet.css) ---- */
.journal .trl{position:absolute;font:13px/20px Georgia,serif;font-variant:small-caps;color:#e4dfcf;text-shadow:0 1px 2px #000;white-space:nowrap}
.journal .trs{position:absolute;padding:0;margin:0;border:0;border-radius:2px;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:none}
.journal .trs img{width:100%;height:100%;display:block}
.journal button.trs:hover{box-shadow:0 0 0 1px #f2d35b,0 0 7px #f2d35b}
.journal .trs.locked{background:rgba(0,0,0,.55)}.journal .trs.locked i{font:normal 10px Georgia,serif;color:#8d8672}
.journal .trs.none{background:rgba(0,0,0,.72);cursor:default}
.journal .trsub{position:absolute;display:flex;align-items:center;justify-content:center;font:12px Georgia,serif;font-variant:small-caps;color:#d9d4c4;text-decoration:none;text-shadow:0 1px 2px #000}
.journal .trsub:hover,.journal .trsub.on{color:#f2d35b}
.journal .jpage .trsub{position:static;display:inline-block;margin:0 .8rem .4rem 0}
/* ---- Character Journal lists in the client's look (All Traits, Skills, Title): user reference screenshots 2026-11-26 ---- */
.journal .jpage.jp-list,.journal .jpage.jp-title{padding:0;overflow:hidden;display:flex;flex-direction:column}
.journal .jlist{flex:1;min-height:0;overflow-y:auto;padding:4px 6px 4px 8px;scrollbar-width:thin;scrollbar-color:#8a8468 #0b0d18}
.journal .jlist::-webkit-scrollbar{width:9px}.journal .jlist::-webkit-scrollbar-track{background:#0b0d18}.journal .jlist::-webkit-scrollbar-thumb{background:#8a8468;border-radius:4px}
.journal details.jcat{margin:0 0 2px;padding:0;border:0;background:none;border-radius:0}
.journal details.jcat>summary{list-style:none;cursor:pointer;font:13px/20px Georgia,serif;font-variant:small-caps;color:#f2d35b;text-shadow:0 1px 2px #000;padding-left:2px}
.journal details.jcat>summary::-webkit-details-marker{display:none}
.journal details.jcat>summary::before{content:"–";display:inline-block;width:11px;height:11px;line-height:9px;margin-right:4px;text-align:center;font:bold 11px/9px Arial,sans-serif;color:#d9d4c4;border:1px solid #8a8468;background:#141826;vertical-align:1px}
.journal details.jcat:not([open])>summary::before{content:"+"}
.journal .jrow{display:flex;align-items:center;gap:8px;min-height:44px;margin:3px 2px 7px 10px;padding:4px 8px;border:1px solid #2c3554;border-radius:9px;background:rgba(6,8,18,.62);box-shadow:inset 0 0 0 1px #0a0c16,0 0 0 1px #0a0c16}
.journal .jrow.off{opacity:.45}.journal .jrow:hover{border-color:#4a5788}
.journal .jico{position:relative;flex:none;width:32px;height:32px;background:#0b0d18;outline:1px solid #000}
.journal .jico img{width:32px;height:32px;display:block}
.journal .jico em,.journal .trs em{position:absolute;right:1px;bottom:-1px;font:bold 12px/1 Arial,sans-serif;font-style:normal;color:#fff;text-shadow:0 0 2px #000,0 1px 2px #000,1px 0 2px #000}
.journal .jtxt{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.journal .jtxt b{font:15px/1.15 Georgia,serif;font-variant:small-caps;font-weight:normal;color:#e9d58a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 2px #000}
.journal .jtxt i{font:11.5px/1.25 Verdana,Tahoma,sans-serif;font-style:normal;color:#fff;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.journal .pips{display:flex;gap:5px;margin-top:3px}.journal .pips u{width:12px;height:9px;border-radius:2px;background:#27325a;box-shadow:inset 0 1px 0 #3b4a7c;text-decoration:none}
.journal .pips u.on{background:linear-gradient(#ffc04a,#e2820a);box-shadow:inset 0 1px 0 #ffe2a0}
.journal .jact{flex:none;display:flex;align-items:center;gap:6px;font-size:11px}.journal .jact form{margin:0;gap:3px}.journal .jact small{color:#8d8672}
.journal .jact button.link,.journal .jnote button.link{font-size:11px;color:#9fb6ff;padding:0}.journal .jact input.rank{width:2.9rem;padding:1px 3px;font-size:11px}
.journal .jnote{margin:2px 4px 6px;font:11.5px/1.35 Verdana,Tahoma,sans-serif;color:#cfc9b6}.journal .jnote form{margin:0}
/* Equipped Traits: empty slot = dark blue square; locked = the same with a cross and its level */
.journal .trs.empty{background:linear-gradient(#16224d,#0d1535);box-shadow:inset 0 0 0 1px #9aa3bd,inset 0 0 0 2px #0a0f24}
.journal .trs.locked{background:linear-gradient(#16224d,#0d1535);box-shadow:inset 0 0 0 1px #6c7590,inset 0 0 0 2px #0a0f24;overflow:hidden}
.journal .trs.locked::before,.journal .trs.locked::after{content:"";position:absolute;left:50%;top:-20%;width:5px;height:140%;margin-left:-2.5px;background:linear-gradient(90deg,#0a0f24,#2d3b6e,#0a0f24);transform:rotate(45deg)}
.journal .trs.locked::after{transform:rotate(-45deg)}
.journal .trs.locked i{position:relative;z-index:1;font:bold 10px Arial,sans-serif;color:#c9cfe6;text-shadow:0 0 3px #000,0 0 3px #000}
.journal .trs.none{background:none}
/* Title page */
.journal .jtitles{flex:1 1 55%}
.journal .jtbar{flex:none;display:flex;justify-content:center;align-items:center;gap:14px;padding:5px 6px}.journal .jtbar form{margin:0;gap:4px}
.journal button.jbtn{padding:2px 12px;font:12px Georgia,serif;font-variant:small-caps;color:#f2d35b;background:linear-gradient(#1a2247,#0c1230);border:1px solid #5d6a9c;border-radius:2px;font-weight:normal}
.journal button.jbtn:hover{border-color:#f2d35b}.journal button.jbtn:disabled{color:#6f6a5e;border-color:#333a55;cursor:default}
.journal .jact button.jbtn{padding:1px 7px;font-size:11px}.journal input.jdid{width:8.5rem;padding:1px 4px;font-size:11px}
.journal .jactive{flex:none;border-top:1px solid #2c3554;padding:2px 6px 4px}.journal .jactive h4{margin:2px 2px 0;font:13px Georgia,serif;font-variant:small-caps;font-weight:normal;color:#f2d35b}
/* list pages cover the window art's own page content (the Traits art has the equipped rows, the Character art the paperdoll) */
.journal .jpage.jp-list,.journal .jpage.jp-title{background:#04050b}
.journal .jrow.off{opacity:.62}
/* slot boxes the class never gets (the art draws all 8): hidden, as in the client */
.journal .trs.none{background:#04050b;box-shadow:0 0 0 2px #04050b}

/* journal rows: hover / focus tooltip in the client's tooltip look (name, description, status from data-tip) */
.journal .jrow{position:relative}
.journal .jrow[data-tip]:hover::after,.journal .jrow[data-tip]:focus::after{content:attr(data-tip);position:absolute;left:44px;top:calc(100% - 6px);z-index:60;width:270px;
  white-space:pre-wrap;padding:7px 9px;font:11.5px/1.35 Verdana,Tahoma,sans-serif;color:#f3efe2;background:rgba(4,5,12,.97);border:1px solid #6c7590;border-radius:4px;box-shadow:0 6px 18px #000c;pointer-events:none}
.journal .jlist>details:last-child .jrow:last-child[data-tip]:hover::after,.journal .jlist>details:last-child .jrow:nth-last-child(2)[data-tip]:hover::after{top:auto;bottom:calc(100% - 6px)}
.journal .jrow:focus{outline:none;border-color:#f2d35b}
.journal .trsub{z-index:5}
/* the hovered row sits above its neighbours so its tooltip is not painted over; dimming applies to the row's content, not the tooltip */
.journal .jrow:hover,.journal .jrow:focus{z-index:50}
.journal .jrow.off{opacity:1}.journal .jrow.off .jico,.journal .jrow.off .jtxt{opacity:.6}

/* Character page bottom sub-tabs: labels and admin actions on the art's own tab shapes (client look: small-caps on the dark tab) */
.journal .chsub{position:absolute;margin:0;max-width:none;display:block}
.journal .chsub button,.journal span.chsub{display:flex;align-items:center;justify-content:center;padding:0 4px 0 16px;border:0;border-radius:0;background:transparent;box-shadow:none;
  font:12px Georgia,serif;font-variant:small-caps;font-weight:normal;color:#d9d4c4;text-shadow:0 1px 2px #000;white-space:nowrap;cursor:pointer}
.journal .chsub button:hover{color:#f2d35b}.journal span.chsub.off{color:#6f6a5e;cursor:not-allowed}
/* only the button fills its tab box; a greyed-out tab IS the box (sized by /ui/sheet.css .chsub-N), and with the 100% it
   filled the whole journal (the owner's report, 2026-11-29) */
.journal .chsub button{width:100%;height:100%}
.journal .trsub.chsub-0{padding-left:14px;box-sizing:border-box}
.journal .jmask{position:absolute;background:#000;box-shadow:0 0 0 2px #000}

/* Title page: the Active Title box is double height, so a long title wraps and its description shows in full */
.journal .jactive{min-height:156px;box-sizing:border-box}
.journal .jactive .jrow{min-height:112px;align-items:flex-start}
.journal .jactive .jtxt b{white-space:normal;overflow:visible}
.journal .jactive .jtxt i{-webkit-line-clamp:6}

/* Character page: admin actions drawn as the client's bottom tabs over the black mask: square top hanging from the page
   edge, rounded bottom corners, the tab's height, dark blue fill with the steel-blue rim, small-caps label */
.journal .chsub{z-index:6;box-sizing:border-box;text-decoration:none}
.journal .chsub button,.journal span.chsub{padding:0 6px 1px;border:1px solid #6b78a8;border-top:0;border-radius:0 0 9px 9px;
  background:linear-gradient(#0a0f2a,#18214a 70%,#222c5c);box-shadow:inset 0 -1px 0 #0b1030,inset 1px 0 0 #0b1030,inset -1px 0 0 #0b1030;color:#e9d58a}
.journal .chsub button:hover{color:#fff3b0;border-color:#f2d35b;background:linear-gradient(#0d1436,#212c62 70%,#2c3976)}
.journal span.chsub.off{color:#6f6a5e;border-color:#3a4263}
/* Title tab: search pop-up under the award field; it fills the Active Title box while open */
.journal .jactive{position:relative}.journal input.jdid{width:11rem}
.journal .jtpop{position:absolute;inset:0;overflow-y:auto;z-index:20;background:#070a18;border:1px solid #5d6a9c;border-radius:2px;box-shadow:0 4px 12px #000}
.journal .jtpop button{display:flex;align-items:center;gap:6px;width:100%;padding:2px 6px;border:0;border-radius:0;background:none;color:#e8e2c8;font:12px Georgia,serif;text-align:left;cursor:pointer}
.journal .jtpop button:hover,.journal .jtpop button.on{background:#1a2247;color:#f2d35b}
.journal .jtpop img{width:20px;height:20px;flex:none}.journal .jtpop .none{padding:4px 8px;color:#8a8fa8;font:12px Georgia,serif}

/* Character page drag and drop (itemdrag.js) */
a.cell.dragsrc{opacity:.45}
a.cell.dragover{outline:2px solid #f2d35b;outline-offset:-2px}
#itemlive .onl{color:#e9d58a}
