Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HJhXuLD2Z6hv3Wqeq9UL9K
504 lines
42 KiB
CSS
504 lines
42 KiB
CSS
:root {
|
|
--bg: #12150f; --panel: #1b2017; --panel2: #232a1e; --line: #343d2c;
|
|
--text: #e6e9de; --muted: #9aa58c; --noxium: #8fd14f; --diesium: #e0a43a; --danger: #e5604d;
|
|
--radius: 8px;
|
|
}
|
|
:root[data-theme="light"] { color-scheme: light; }
|
|
@media (prefers-color-scheme: light) {
|
|
:root:not([data-theme="dark"]) {
|
|
--bg: #f3f4ee; --panel: #ffffff; --panel2: #eaede1; --line: #cfd5c0; --text: #1c2117; --muted: #5d6a50;
|
|
--noxium: #3d7d12; --diesium: #a5680a; --danger: #b8341f;
|
|
}
|
|
}
|
|
* { box-sizing: border-box; }
|
|
html { font-size: 16px; }
|
|
body { margin: 0; background: var(--bg); color: var(--text); font-family: system-ui, "Segoe UI", Roboto, sans-serif; line-height: 1.5; }
|
|
h1, h2, h3, h4 { line-height: 1.2; font-family: "Bahnschrift", "Segoe UI", system-ui, sans-serif; letter-spacing: .02em; }
|
|
h1 { font-size: 1.8rem; margin: .2em 0 .6em; } h2 { font-size: 1.35rem; margin-top: 0; }
|
|
h3 { font-size: 1.05rem; color: var(--diesium); margin: 1.2em 0 .4em; } h4 { margin: 1em 0 .3em; color: var(--noxium); }
|
|
a { color: var(--noxium); }
|
|
code { background: var(--panel2); padding: .1em .35em; border-radius: 4px; word-break: break-all; }
|
|
.muted { color: var(--muted); } .small { font-size: .85rem; }
|
|
|
|
.top { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: var(--panel); position: sticky; top: 0; z-index: 5; }
|
|
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text); text-decoration: none; }
|
|
.brand-mark { width: 16px; height: 16px; background: linear-gradient(135deg, var(--noxium) 50%, var(--diesium) 50%); border-radius: 3px; transform: rotate(45deg); }
|
|
.top nav { display: flex; gap: .25rem; flex-wrap: wrap; }
|
|
.top nav a { padding: .4rem .8rem; border-radius: var(--radius); text-decoration: none; color: var(--muted); }
|
|
.top nav a:hover { color: var(--text); background: var(--panel2); }
|
|
.top nav a.active { color: var(--bg); background: var(--noxium); font-weight: 600; }
|
|
main { max-width: 1100px; margin: 0 auto; padding: 1rem; }
|
|
|
|
button { font: inherit; cursor: pointer; border: 1px solid var(--noxium); background: var(--noxium); color: #12150f; padding: .5rem 1rem; border-radius: var(--radius); font-weight: 600; }
|
|
button:hover:not(:disabled) { filter: brightness(1.1); }
|
|
button:disabled { opacity: .4; cursor: not-allowed; }
|
|
button.ghost { background: transparent; color: var(--text); border-color: var(--line); }
|
|
button.ghost:hover:not(:disabled) { border-color: var(--noxium); }
|
|
button.danger { color: var(--danger); }
|
|
:focus-visible { outline: 2px solid var(--diesium); outline-offset: 2px; }
|
|
input, textarea, select { font: inherit; width: 100%; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem .7rem; }
|
|
input.inline { width: 5rem; display: inline-block; margin-left: .4rem; }
|
|
label { display: block; margin: .8rem 0; font-size: .9rem; color: var(--muted); }
|
|
label > input, label > textarea, label > select { margin-top: .25rem; color: var(--text); }
|
|
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
|
|
|
|
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; }
|
|
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .7rem; }
|
|
button.card.choice { display: flex; flex-direction: column; gap: .3rem; text-align: left; font-weight: 400; color: var(--text); background: var(--panel); border-color: var(--line); }
|
|
button.card.choice.on { border-color: var(--noxium); box-shadow: inset 0 0 0 1px var(--noxium); background: var(--panel2); }
|
|
.badge { font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; color: var(--diesium); border: 1px solid var(--diesium); border-radius: 4px; padding: 0 .35em; vertical-align: middle; white-space: nowrap; }
|
|
.placeholder-text { color: var(--muted); }
|
|
|
|
.steps { list-style: none; display: flex; gap: .3rem; padding: 0; margin: 0 0 1rem; overflow-x: auto; }
|
|
.steps button { background: var(--panel); border-color: var(--line); color: var(--muted); display: flex; align-items: center; gap: .5rem; font-weight: 500; white-space: nowrap; padding: .4rem .7rem; }
|
|
.steps .n { display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 1px solid currentColor; font-size: .75rem; }
|
|
.steps button.done { color: var(--noxium); } .steps button.on { background: var(--noxium); color: #12150f; border-color: var(--noxium); }
|
|
.creator-body { display: grid; grid-template-columns: 1fr 240px; gap: 1rem; align-items: start; }
|
|
.live { position: sticky; top: 4.5rem; } .live h4 { margin-top: 0; }
|
|
table { width: 100%; border-collapse: collapse; } td, th { padding: .3rem .5rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
|
|
th { color: var(--muted); font-weight: 600; font-size: .85rem; }
|
|
.tablewrap { overflow-x: auto; margin-bottom: .6rem; }
|
|
|
|
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
|
|
.chip { background: var(--panel); color: var(--text); border-color: var(--line); font-weight: 400; padding: .25rem .7rem; border-radius: 999px; }
|
|
.chip.on { background: var(--noxium); color: #12150f; border-color: var(--noxium); font-weight: 600; }
|
|
.pool { display: inline-block; padding: .4rem .8rem; border: 1px solid var(--noxium); border-radius: var(--radius); margin: .4rem 0 1rem; }
|
|
.pool.over { border-color: var(--danger); color: var(--danger); }
|
|
.attrs, .skills { display: grid; gap: .5rem; }
|
|
.attr, .skill { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
|
|
.skill { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem .8rem; }
|
|
.skill.locked { opacity: .75; }
|
|
.skills { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
|
|
.stepper { display: flex; align-items: center; gap: .3rem; }
|
|
.stepper button { padding: .25rem .6rem; min-width: 2.2rem; background: var(--panel2); color: var(--text); border-color: var(--line); }
|
|
.stepper .val { min-width: 2.2rem; text-align: center; font-weight: 700; font-size: 1.1rem; }
|
|
.stepper .mod { min-width: 4rem; text-align: right; color: var(--diesium); font-size: .9rem; }
|
|
|
|
.nav { display: flex; justify-content: space-between; gap: .5rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
|
|
.actions { display: flex; gap: .5rem; } .actions.wrap { flex-wrap: wrap; margin-top: 1rem; }
|
|
.warn { color: var(--danger); border: 1px solid var(--danger); border-radius: var(--radius); padding: .5rem 1rem .5rem 2rem; }
|
|
p.warn { padding: .5rem 1rem; }
|
|
.toast { position: sticky; bottom: 1rem; background: var(--panel2); border: 1px solid var(--diesium); padding: .5rem 1rem; border-radius: var(--radius); }
|
|
.sheet-name { font-size: 1.6rem; color: var(--text); margin: 0; }
|
|
.sheet-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
|
|
|
|
.rules { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; }
|
|
.rules aside { position: sticky; top: 4.5rem; align-self: start; max-height: calc(100vh - 6rem); overflow: auto; }
|
|
.rules aside ul { list-style: none; padding: 0; margin: .8rem 0; }
|
|
.rules aside a { display: block; padding: .3rem .5rem; text-decoration: none; color: var(--text); border-left: 2px solid var(--line); }
|
|
.rules aside a:hover { border-color: var(--noxium); } .rules aside a.dim { opacity: .35; }
|
|
.rules section { margin-bottom: 2.5rem; scroll-margin-top: 5rem; }
|
|
.rules ul { padding-left: 1.2rem; }
|
|
.narrow { max-width: 760px; }
|
|
.charlist { list-style: none; padding: 0; display: grid; gap: .6rem; }
|
|
.row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
|
|
|
|
@media (max-width: 800px) {
|
|
.creator-body { grid-template-columns: 1fr; } .live { position: static; order: -1; }
|
|
.rules { grid-template-columns: 1fr; } .rules aside { position: static; max-height: none; }
|
|
.grid2, .sheet-cols { grid-template-columns: 1fr; }
|
|
}
|
|
@media print { .top, .nav, .steps, .live, .actions { display: none; } body { background: #fff; color: #000; } }
|
|
|
|
details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin: .4rem 0; padding: .4rem .8rem; }
|
|
details summary { cursor: pointer; font-weight: 600; }
|
|
.extras { display: grid; gap: .4rem; margin-top: .6rem; }
|
|
.extra { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .3rem 0; border-top: 1px solid var(--line); }
|
|
.resets { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
|
|
|
|
button.unlock { background: transparent; color: var(--diesium); border-color: var(--diesium); }
|
|
button.small-btn { padding: .15rem .5rem; font-size: .75rem; font-weight: 500; min-width: 0; }
|
|
|
|
.pools { display: flex; gap: .6rem; flex-wrap: wrap; }
|
|
.pips { display: flex; align-items: center; gap: .1rem; margin-top: .15rem; }
|
|
button.pip { background: transparent; border: none; color: var(--muted); padding: 0 .2rem; font-size: 1.05rem; line-height: 1; min-width: 0; font-weight: 400; }
|
|
button.pip.on { color: var(--noxium); }
|
|
button.pip.from-prof { color: var(--diesium); opacity: 1; cursor: default; }
|
|
|
|
.presetbox { margin-bottom: 1rem; }
|
|
.tunables { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 1rem; }
|
|
.presetchip { margin: 0 0 .5rem; }
|
|
button.linklike { background: none; border: none; color: var(--noxium); padding: 0; font-weight: 600; text-decoration: underline; cursor: pointer; }
|
|
|
|
.presets-layout { display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem; align-items: start; margin-top: 1rem; }
|
|
.presetlist { list-style: none; padding: 0; margin: 0 0 .6rem; display: grid; gap: .4rem; }
|
|
.presetlist button.card.choice { width: 100%; }
|
|
@media (max-width: 800px) { .presets-layout { grid-template-columns: 1fr; } }
|
|
|
|
.creator-body { grid-template-columns: minmax(0, 1fr) 460px; }
|
|
.creator-body.wide { grid-template-columns: 1fr; }
|
|
.sheetpanel { max-height: calc(100vh - 6rem); overflow: auto; font-size: .9rem; }
|
|
.sheetpanel h3.sheet-name { font-size: 1.15rem; }
|
|
.sheetpanel h4 { margin: .8em 0 .2em; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
|
|
.sheetpanel td { padding: .12rem .3rem; border-bottom: 1px solid var(--line); }
|
|
.sheetpanel td:nth-child(2) { text-align: right; white-space: nowrap; }
|
|
.applybar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; padding: .4rem .5rem; margin: .3rem 0 .5rem; border-radius: var(--radius); background: var(--panel2); border: 1px solid var(--line); }
|
|
.applybar.pending { border-color: var(--diesium); }
|
|
.applybar button { padding: .2rem .7rem; font-size: .85rem; }
|
|
.d-added td { color: var(--noxium); font-weight: 600; }
|
|
.d-changed td:nth-child(2) { color: var(--diesium); font-weight: 600; }
|
|
.d-removed td { color: var(--danger); text-decoration: line-through; }
|
|
.was { color: var(--muted); font-weight: 400; }
|
|
@media (max-width: 800px) { .creator-body { grid-template-columns: 1fr; } .sheetpanel { position: static; max-height: none; order: 1; } }
|
|
.rowdesc { font-size: .8rem; color: var(--muted); font-weight: 400; line-height: 1.3; text-decoration: none; }
|
|
.d-removed .rowdesc { text-decoration: line-through; }
|
|
.d-added .rowdesc { color: var(--muted); }
|
|
ul.desclist { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; gap: .35rem; }
|
|
main { max-width: 1280px; }
|
|
@media (max-width: 1100px) { .creator-body { grid-template-columns: minmax(0, 1fr) 360px; } }
|
|
@media (max-width: 800px) { .creator-body { grid-template-columns: 1fr; } }
|
|
tr.dim td { opacity: .55; }
|
|
.skillcols { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 2rem; }
|
|
.skillgroup h5 { margin: .8em 0 .2em; color: var(--diesium); font-size: .9rem; }
|
|
|
|
.loginbox { margin-top: 3rem; }
|
|
.loginbox form button[type="submit"] { margin-top: .5rem; }
|
|
|
|
.sharepanel { margin-top: .8rem; padding-top: .6rem; border-top: 1px solid var(--line); }
|
|
.sharepanel form input { flex: 1; }
|
|
.chip button.linklike { color: inherit; text-decoration: none; margin-left: .2rem; }
|
|
.top nav a.navchar { max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
.card.tile { display: flex; flex-direction: column; gap: .3rem; }
|
|
.card.tile.on { border-color: var(--noxium); box-shadow: inset 0 0 0 1px var(--noxium); background: var(--panel2); }
|
|
.tilestepper { margin-top: auto; padding-top: .4rem; justify-content: flex-end; }
|
|
|
|
.tipped { border-bottom: 1px dotted var(--muted); cursor: help; }
|
|
.tipwrap { cursor: help; }
|
|
.tipicon { display: inline-grid; place-items: center; width: 1.05rem; height: 1.05rem; margin-left: .3rem; border: 1px solid var(--muted); border-radius: 50%; color: var(--muted); font-size: .7rem; font-style: italic; font-weight: 700; vertical-align: middle; }
|
|
.tipwrap:hover .tipicon, .tipwrap:focus .tipicon { color: var(--noxium); border-color: var(--noxium); }
|
|
.tippop { position: fixed; z-index: 1000; max-width: 340px; padding: .55rem .75rem; background: var(--panel2); color: var(--text); border: 1px solid var(--diesium); border-radius: var(--radius); box-shadow: 0 6px 20px rgba(0,0,0,.35); font-size: .85rem; line-height: 1.4; pointer-events: none; }
|
|
.tippop div + div { margin-top: .35rem; }
|
|
|
|
/* lobbies */
|
|
a.button { display: inline-block; font-weight: 600; text-decoration: none; background: var(--noxium); color: #12150f; border: 1px solid var(--noxium); padding: .5rem 1rem; border-radius: var(--radius); }
|
|
a.button:hover { filter: brightness(1.1); }
|
|
.wrapform { flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
|
|
.wrapform > input, .wrapform > select { flex: 1 1 12rem; width: auto; }
|
|
.lobbycard { display: grid; gap: .45rem; }
|
|
.lobbycard.me { border-color: var(--noxium); }
|
|
.lobbycard p { margin: 0; }
|
|
.joincode { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.5rem; letter-spacing: .15em; }
|
|
span.chip { border: 1px solid var(--line); font-size: .85rem; padding: .1rem .6rem; }
|
|
.lobbycard .chips { gap: .4rem; }
|
|
h2 + .charlist, .card + h2 { margin-top: 1.4rem; }
|
|
|
|
/* lobby page: tabs, chat, sheet */
|
|
.lobbypage { max-width: 980px; }
|
|
.tabs { display: flex; flex-wrap: wrap; gap: .3rem; border-bottom: 1px solid var(--line); margin: .8rem 0 1rem; }
|
|
.tabs button { background: transparent; color: var(--text); border: 1px solid transparent; border-bottom: none; border-radius: var(--radius) var(--radius) 0 0; font-weight: 500; padding: .45rem .9rem; margin-bottom: -1px; }
|
|
.tabs button.on { background: var(--panel); border-color: var(--line); border-bottom: 1px solid var(--panel); color: var(--text); font-weight: 700; }
|
|
.chatwrap { display: grid; gap: .6rem; }
|
|
.chatbox { height: min(55vh, 520px); overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .8rem; display: flex; flex-direction: column; gap: .25rem; }
|
|
.msg { overflow-wrap: anywhere; line-height: 1.35; }
|
|
.msg .time { color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
|
|
.msg.event { color: var(--muted); font-size: .85rem; font-style: italic; }
|
|
.msg.mine strong { color: var(--noxium); }
|
|
.msg.whisper { background: var(--panel2); border-left: 3px solid #8a63c7; padding: .15rem .5rem; border-radius: 4px; }
|
|
.msg.whisper em { color: #8a63c7; }
|
|
.chatform { flex-wrap: nowrap; gap: .5rem; }
|
|
.chatform select { width: 12rem; flex: 0 0 auto; }
|
|
.chatform select.whisper { border-color: #8a63c7; }
|
|
.chatform input { flex: 1 1 auto; width: auto; min-width: 0; }
|
|
.sheetcols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
|
|
.sheetview h4 { margin: 1rem 0 .3rem; }
|
|
.sheetview table { width: 100%; }
|
|
@media (max-width: 760px) { .sheetcols { grid-template-columns: 1fr; } .chatform { flex-wrap: wrap; } .chatform select { width: 100%; } }
|
|
|
|
/* lobby desktop layout: main area left, chat column fixed at the right edge of the window, dice bar bottom centre of the main area */
|
|
:root { --chatw: 380px; --hdr: 3.7rem; }
|
|
body:has(.lobbychat) main { max-width: none; margin: 0; padding-right: calc(var(--chatw) + 1.5rem); }
|
|
.lobbypage { max-width: none; margin: 0; padding: 0; }
|
|
.lobbychat { position: fixed; right: 0; top: var(--hdr); bottom: 0; width: var(--chatw); z-index: 10; border-radius: 0; border-width: 0 0 0 1px; padding: .8rem; display: flex; flex-direction: column; overflow: hidden; }
|
|
.lobbychat .chatwrap { flex: 1; min-height: 0; grid-template-rows: minmax(0, 1fr) auto auto auto auto; }
|
|
.lobbychat .chatbox { height: auto; min-height: 0; }
|
|
.lobbychat .chatform { flex-wrap: wrap; }
|
|
.lobbychat .chatform select { width: 100%; flex-basis: 100%; }
|
|
.lobbychat .chatform input { flex: 1 1 8rem; }
|
|
.partygrid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
|
|
.msg.rollmsg .rollres b { font-size: 1.05rem; color: var(--noxium); }
|
|
.whispertag { color: #8a63c7; }
|
|
|
|
|
|
.dicecount { display: flex; align-items: center; gap: .3rem; margin-right: .3rem; }
|
|
.dicecount select { width: auto; padding: .25rem .4rem; }
|
|
.diebtn { display: flex; flex-direction: column; align-items: center; gap: 0; padding: .2rem .5rem; border-radius: 12px; min-width: 3.1rem; font-size: .75rem; line-height: 1.1; }
|
|
.diebtn:hover:not(:disabled) { border-color: var(--noxium); color: var(--noxium); }
|
|
.dicedest { margin-left: .4rem; padding-left: .6rem; border-left: 1px solid var(--line); }
|
|
.dicedest.priv { color: #8a63c7; font-weight: 600; }
|
|
.trayroll { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: .5rem .9rem; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); animation: trayin .25s ease-out; }
|
|
.trayrow { display: flex; align-items: center; gap: .5rem; margin-top: .3rem; flex-wrap: wrap; justify-content: center; max-width: 30rem; }
|
|
.traytotal { font-weight: 700; font-size: 1.2rem; margin-left: .3rem; }
|
|
.die { display: inline-flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; background: var(--dc, var(--noxium)); color: #12150f; font-weight: 800; font-variant-numeric: tabular-nums; }
|
|
.die.d4 { clip-path: polygon(50% 4%, 96% 92%, 4% 92%); padding-top: .55rem; }
|
|
.die.d6 { border-radius: 12px; }
|
|
.die.d8 { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
|
|
.die.d10 { clip-path: polygon(50% 0, 98% 40%, 50% 100%, 2% 40%); }
|
|
.die.d12 { clip-path: polygon(50% 0, 98% 38%, 80% 96%, 20% 96%, 2% 38%); }
|
|
.die.d20 { clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); }
|
|
.die.d100 { border-radius: 50%; }
|
|
.die.rolling { animation: tumble .32s linear infinite; filter: brightness(.9); }
|
|
.die.landed { animation: land .25s ease-out; }
|
|
@keyframes tumble { 0% { transform: rotate(0) translateY(0); } 25% { transform: rotate(90deg) translateY(-8px); } 50% { transform: rotate(180deg) translateY(0); } 75% { transform: rotate(270deg) translateY(-5px); } 100% { transform: rotate(360deg) translateY(0); } }
|
|
@keyframes land { 0% { transform: scale(1.35); } 100% { transform: scale(1); } }
|
|
@keyframes trayin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
|
|
@media (prefers-reduced-motion: reduce) { .die.rolling, .die.landed, .trayroll { animation: none; } }
|
|
|
|
.lobbycard { align-content: start; }
|
|
.lobbycard .chips { align-items: flex-start; align-content: flex-start; }
|
|
.lobbycard .chip { align-self: flex-start; }
|
|
|
|
/* ---- A4 character sheet (fixed colours on purpose: it is printed on white paper) ---- */
|
|
.papertools { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0 0 .5rem; }
|
|
.papertools .toolright { margin-left: auto; display: flex; gap: .5rem; align-items: center; }
|
|
.papertools button { padding: .3rem .8rem; }
|
|
.seg { display: inline-flex; }
|
|
.seg button { border-radius: 0; padding: .4rem .9rem; }
|
|
.seg button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
|
|
.seg button:last-child { border-radius: 0 var(--radius) var(--radius) 0; margin-left: -1px; }
|
|
.seg button.on { background: var(--noxium); color: #12150f; border-color: var(--noxium); }
|
|
.paperfit { width: 100%; }
|
|
.papers { display: grid; gap: 14px; justify-items: start; width: 210mm;
|
|
--pi: #1a1f14; --pg: #2f6a0d; --pbar: #2f6a0d; --pm: #6a7260; --pl: #cfd5c3; --pd: #c3cab6; --pt: #eef3e6; --pb: #fff; --p2: #4d5645; --p3: #3b4433; --p4: #5c6553; --pn: #b9c1ab; }
|
|
.papers.dark { --pi: #e4e9d8; --pg: #8fd44c; --pbar: #3c7a16; --pm: #98a28a; --pl: #343b2d; --pd: #353c2e; --pt: #252b1f; --pb: #161a12; --p2: #b4bda6; --p3: #c5cdb7; --p4: #a1aa93; --pn: #454d3a; }
|
|
.papers.dark .paper { box-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
|
|
.paper { box-sizing: border-box; width: 210mm; min-height: 297mm; padding: 11mm 12mm 8mm; background: var(--pb); color: var(--pi); border: 1px solid var(--pl); box-shadow: 0 2px 12px rgba(0, 0, 0, .14);
|
|
display: flex; flex-direction: column; gap: 3.5mm; font-size: 8.6pt; line-height: 1.25; break-after: page; }
|
|
.paper * { color: inherit; }
|
|
.paper .tipped { border-bottom: 0; text-decoration: none; cursor: default; }
|
|
.paper p { margin: 0; }
|
|
.phead { display: flex; justify-content: space-between; align-items: flex-end; gap: 8mm; border-bottom: 2px solid var(--pg); padding-bottom: 2mm; }
|
|
.pname { font-size: 24pt; font-weight: 800; line-height: 1.05; letter-spacing: .01em; overflow-wrap: anywhere; }
|
|
.phead.small .pname { font-size: 15pt; }
|
|
.pbrand { text-align: right; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 8.5pt; color: var(--pg) !important; white-space: nowrap; }
|
|
.pbrand span { display: block; font-weight: 500; letter-spacing: .08em; font-size: 7pt; color: var(--pm) !important; }
|
|
.pfields { display: grid; grid-template-columns: 1fr 1.6fr 1.3fr 1fr .8fr; gap: 3mm; }
|
|
.pfield { border-bottom: 1px solid var(--pi); padding-bottom: .6mm; min-width: 0; }
|
|
.pfield span { display: block; font-size: 6.2pt; text-transform: uppercase; letter-spacing: .1em; color: var(--pm) !important; }
|
|
.pfield b { font-weight: 600; font-size: 9pt; overflow-wrap: anywhere; }
|
|
.pattrs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2.5mm; }
|
|
.pattr { border: 1.4px solid var(--pi); border-radius: 3mm; text-align: center; padding: 1.6mm 1mm 1.4mm; display: grid; gap: .2mm; }
|
|
.pattr-n { font-size: 6.6pt; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
|
|
.pattr-v { font-size: 20pt; line-height: 1; }
|
|
.pattr-m { font-size: 7pt; color: var(--p2) !important; border-top: 1px solid var(--pl); padding-top: .8mm; }
|
|
.pderived { display: grid; grid-template-columns: repeat(auto-fit, minmax(28mm, 1fr)); gap: 2.5mm; }
|
|
.pstat { background: var(--pt); border-radius: 2mm; padding: 1.4mm 2.4mm; display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 8pt; }
|
|
.pstat b { font-size: 13pt; }
|
|
.psec h3 { margin: 0 0 1.6mm; font-size: 9pt; text-transform: uppercase; letter-spacing: .12em; color: #fff !important; background: var(--pbar); padding: .8mm 2.4mm; border-radius: 1.4mm; display: flex; justify-content: space-between; align-items: center; gap: 3mm; }
|
|
.psec h3 * { color: #fff !important; }
|
|
.psec h3 small { font-size: 6.6pt; font-weight: 500; letter-spacing: .04em; text-transform: none; }
|
|
.pskills { column-count: 2; column-gap: 6mm; }
|
|
.pgroup { break-inside: avoid; margin-bottom: 3mm; }
|
|
.pgroup h4 { margin: 0 0 .6mm; font-size: 7.4pt; text-transform: uppercase; letter-spacing: .1em; color: var(--pg) !important; border-bottom: 1px solid var(--pg); }
|
|
.prow { display: grid; grid-template-columns: 6.5mm 1fr 11mm 6mm 8mm; align-items: center; gap: 1mm; padding: .35mm 0; border-bottom: 1px dotted var(--pd); }
|
|
.prow .pn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
|
|
.prow .pn em { font-size: 6pt; color: var(--pm) !important; font-style: normal; text-transform: uppercase; letter-spacing: .05em; margin-left: .8mm; }
|
|
.prow .pa { font-size: 6.4pt; color: var(--pm) !important; text-align: center; }
|
|
.prow .pp { font-size: 7pt; color: var(--p2) !important; text-align: right; }
|
|
.prow .pt { text-align: center; border: 1px solid var(--pi); border-radius: 1.4mm; font-size: 8.6pt; padding: .1mm 0; background: var(--pb); }
|
|
.prow.locked { opacity: .45; }
|
|
.prow.locked .pn { text-decoration: line-through; }
|
|
.ppips { display: inline-flex; gap: .7mm; }
|
|
.ppips i { width: 2.1mm; height: 2.1mm; border: 1px solid var(--pi); border-radius: 50%; background: var(--pb); display: inline-block; }
|
|
.ppips i.on { background: var(--pg); border-color: var(--pg); }
|
|
.pcols { column-count: 2; column-gap: 6mm; }
|
|
.pitem { break-inside: avoid; margin-bottom: 2.2mm; }
|
|
.pitem b { font-size: 9pt; }
|
|
.pitem p { font-size: 7.8pt; color: var(--p3) !important; }
|
|
.ptag { font-size: 6.6pt; color: var(--pm) !important; text-transform: uppercase; letter-spacing: .05em; }
|
|
.pnone { color: var(--pm) !important; }
|
|
.pgear { width: 100%; border-collapse: collapse; font-size: 8pt; }
|
|
.pgear th { text-align: left; font-size: 6.4pt; text-transform: uppercase; letter-spacing: .08em; color: var(--pm) !important; border-bottom: 1px solid var(--pi); padding: .6mm 1mm; }
|
|
.pgear td { padding: .45mm 1mm; border-bottom: 1px dotted var(--pd); vertical-align: top; }
|
|
.pgear td:nth-child(n+4), .pgear th:nth-child(n+4) { text-align: right; white-space: nowrap; }
|
|
.pnote { font-size: 6.6pt; color: var(--p4) !important; }
|
|
.pother { margin-top: 1.6mm; font-size: 8pt; }
|
|
.pbg { font-size: 8pt; white-space: pre-wrap; }
|
|
.pnotes { flex: 1; display: flex; flex-direction: column; min-height: 18mm; }
|
|
.plines { flex: 1; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 6.4mm, var(--pn) 6.4mm, var(--pn) calc(6.4mm + 1px)); border-radius: 1mm; }
|
|
.pfoot { margin-top: auto; display: flex; justify-content: space-between; font-size: 6.4pt; color: var(--pm) !important; text-transform: uppercase; letter-spacing: .08em; border-top: 1px solid var(--pl); padding-top: 1.2mm; }
|
|
@media print { .paper { box-shadow: none; } }
|
|
|
|
/* lobby header: one slim line instead of three */
|
|
.lobbyhead { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin: 0 0 .3rem; }
|
|
.lobbyhead h1 { font-size: 1.3rem; margin: 0; }
|
|
.lobbypage .tabs { margin: .4rem 0 .7rem; }
|
|
.lobbypage .tabs button { padding: .3rem .8rem; }
|
|
|
|
.tabs { align-items: center; }
|
|
.tabs .tabright { margin-left: auto; align-self: center; margin-bottom: .3rem; }
|
|
.tabs .tabright button { padding: .25rem .75rem; margin-bottom: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
|
|
.tabs .tabright button.on { border-color: var(--noxium); }
|
|
.tabs .tabright button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
|
|
.tabs .tabright button:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
|
|
|
|
/* lobby: three columns - sheet | player area | chat (fixed at the right edge) */
|
|
body:has(.lobbychat) main { padding: .5rem calc(var(--chatw) + .5rem) 0 .5rem; }
|
|
.lobbyhead { margin: 0 0 .4rem; } .lobbyhead .tabright { margin-left: auto; }
|
|
.lobbygrid { display: grid; grid-template-columns: clamp(480px, 42vw, 800px) minmax(0, 1fr); gap: .8rem; align-items: start; }
|
|
.lobbygrid.nosheet { grid-template-columns: minmax(0, 1fr); }
|
|
.sheetcol { position: sticky; top: calc(var(--hdr) + .4rem); max-height: calc(100vh - var(--hdr) - 3.2rem); overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: .5rem; }
|
|
.sheetbar { display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; } .sheetbar .tabright { margin-left: auto; display: flex; gap: .4rem; align-items: center; }
|
|
.sheetbar .seg button { padding: .2rem .6rem; }
|
|
.playarea { display: flex; flex-direction: column; gap: .6rem; min-width: 0; height: calc(100vh - var(--hdr) - 3.2rem); position: sticky; top: calc(var(--hdr) + .4rem); }
|
|
.showsheet { align-self: flex-start; }
|
|
.charbar { display: flex; gap: .5rem; flex-wrap: wrap; }
|
|
.pcard { display: flex; align-items: center; gap: .55rem; padding: .35rem .6rem; border: 2px solid var(--line); border-left: 6px solid var(--pc); border-radius: var(--radius); background: var(--panel); min-width: 11rem; }
|
|
.pcard.can { cursor: pointer; } .pcard.can:hover { background: var(--panel2); }
|
|
.pcard.sel { border-color: var(--pc); background: var(--panel2); box-shadow: 0 0 0 1px var(--pc); }
|
|
.pavatar { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--pc); color: #12150f; font-weight: 800; display: grid; place-items: center; flex: none; }
|
|
.pinfo { display: grid; line-height: 1.2; min-width: 0; } .pinfo b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.modin { width: 4rem; padding: .2rem .3rem; margin-left: auto; text-align: center; }
|
|
.modchip { margin-left: auto; padding: .05rem .5rem; border-radius: 999px; font-weight: 700; border: 1px solid var(--line); } .modchip.up { color: var(--noxium); } .modchip.down { color: var(--danger); }
|
|
.diffbar { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; padding: .3rem .6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
|
|
.diffbar label { display: flex; align-items: center; gap: .4rem; } .diffbar select { width: auto; padding: .25rem .4rem; }
|
|
.table { position: relative; flex: 1; min-height: 14rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: auto;
|
|
background: radial-gradient(ellipse at center, color-mix(in srgb, var(--noxium) 10%, var(--panel)) 0%, var(--panel) 75%); }
|
|
.tablehint { position: absolute; top: .6rem; left: 0; right: 0; text-align: center; margin: 0; }
|
|
.tableerr { position: absolute; bottom: .5rem; left: 0; right: 0; text-align: center; }
|
|
.dicetray { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; display: grid; gap: .6rem; justify-items: center; pointer-events: none; max-width: 95%; }
|
|
.trayroll { border-top: 3px solid var(--dc, var(--noxium)); }
|
|
.trayout { display: grid; line-height: 1.2; margin-left: .5rem; } .trayout .out { font-weight: 800; }
|
|
.die.mystery { filter: grayscale(.4); }
|
|
.dicebar { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; justify-content: center; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .8rem; align-self: center; max-width: 100%; }
|
|
.ownswitch { display: flex; align-items: center; gap: .3rem; margin-left: .4rem; padding-left: .6rem; border-left: 1px solid var(--line); }
|
|
.dicebar .seg button { padding: .2rem .6rem; }
|
|
.manual { position: absolute; left: 50%; top: 30%; transform: translateX(-50%); z-index: 4; display: grid; gap: .4rem; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
|
|
.settings { position: absolute; inset: .6rem; z-index: 6; overflow: auto; align-content: start; display: grid; gap: .5rem; max-width: 34rem; margin: 0 auto; height: fit-content; max-height: calc(100% - 1.2rem); }
|
|
.swatches { display: flex; gap: .4rem; flex-wrap: wrap; } .swatchbtn { width: 2rem; height: 2rem; border-radius: 50%; padding: 0; border: 2px solid var(--line); } .swatchbtn.on { border-color: var(--text); box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--text); } .swatchbtn:disabled { opacity: .25; cursor: not-allowed; }
|
|
.swatch { display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; vertical-align: middle; }
|
|
.out.crit_success { color: var(--noxium); font-weight: 800; } .out.success { color: var(--noxium); } .out.failure { color: var(--danger); } .out.crit_failure { color: var(--danger); font-weight: 800; }
|
|
.manualtag { color: var(--diesium); } .rollres.mystery { letter-spacing: .15em; font-weight: 700; color: var(--muted); }
|
|
.papers .rollable { cursor: pointer; } .papers .rollable:hover { outline: 1.5px solid var(--pg); outline-offset: 1px; background: color-mix(in srgb, var(--pg) 12%, transparent); }
|
|
@media (max-width: 1100px) {
|
|
body:has(.lobbychat) main { padding: .5rem; }
|
|
.lobbychat { position: static; width: auto; height: 28rem; border-width: 1px; border-radius: var(--radius); margin-top: 1rem; }
|
|
.lobbygrid { grid-template-columns: minmax(0, 1fr); } .playarea { order: -1; height: 32rem; position: static; } .sheetcol { position: static; max-height: none; }
|
|
}
|
|
|
|
/* the table: dice fly in from a random side and rest at a random spot */
|
|
.table { overflow: hidden; }
|
|
.dicetray { inset: 0; top: 0; left: 0; transform: none; display: block; max-width: none; }
|
|
.thrown { position: absolute; width: 2.9rem; height: 2.9rem; margin: -1.45rem 0 0 -1.45rem; transform: rotate(var(--er)); animation: throwin .8s cubic-bezier(.15, .7, .3, 1) both; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .35)); }
|
|
@keyframes throwin { from { transform: translate(var(--sx), var(--sy)) rotate(var(--sr)) scale(1.3); opacity: .2; } to { transform: rotate(var(--er)); opacity: 1; } }
|
|
.tablelog { position: absolute; left: .6rem; bottom: .5rem; display: grid; gap: .25rem; max-width: 70%; }
|
|
.tablelog .trayroll { padding: .2rem .6rem; border-radius: 8px; font-size: .85rem; background: color-mix(in srgb, var(--panel) 88%, transparent); border: 1px solid var(--line); border-top: 3px solid var(--line); box-shadow: none; }
|
|
@media (prefers-reduced-motion: reduce) { .thrown { animation: none; } }
|
|
.stepper .step5 { font-size: .75rem; padding: .25rem .4rem; min-width: 2.2rem; }
|
|
|
|
/* rules editor */
|
|
.editor .edform { margin: .8rem 0; display: grid; gap: .6rem; }
|
|
.edgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: .6rem .9rem; }
|
|
.edfield { display: grid; gap: .2rem; }
|
|
.edfield .multi { display: flex; flex-wrap: wrap; gap: .3rem .9rem; padding: .3rem 0; max-height: 11rem; overflow: auto; }
|
|
.edtable td.actions { text-align: right; white-space: nowrap; }
|
|
.edtable tr.sel { background: var(--panel2); }
|
|
.editor .tabs { margin-top: .6rem; }
|
|
|
|
.settings.inline { position: static; max-width: none; margin: 0; border: 0; background: transparent; padding: 0; }
|
|
|
|
/* ---- maps */
|
|
.table { background: color-mix(in srgb, var(--panel) 70%, #000); }
|
|
.mapbox { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; background: #111; z-index: 1; }
|
|
.mapbox:active { cursor: grabbing; }
|
|
.mapworld { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
|
|
.mapworld img { display: block; max-width: none; user-select: none; -webkit-user-drag: none; }
|
|
.mapgrid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.28) 1px, transparent 1px); }
|
|
.maptoken { position: absolute; border-radius: 50%; background: var(--tc); border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.6); display: grid; place-items: center; color: #fff; font-weight: 700; text-transform: uppercase; user-select: none; touch-action: none; cursor: default; }
|
|
.maptoken.mov { cursor: move; }
|
|
.maptoken.player { border-color: var(--tc); background: color-mix(in srgb, var(--tc) 55%, #000); box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0,0,0,.6); }
|
|
.maptoken.hid { opacity: .55; border-style: dashed; }
|
|
.maptoken.sel { outline: 3px solid var(--accent, gold); outline-offset: 3px; }
|
|
.maptoken span { pointer-events: none; text-shadow: 0 1px 2px #000; }
|
|
.maptoken em { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 2px; font-style: normal; font-weight: 600; text-transform: none; white-space: nowrap; color: #fff; text-shadow: 0 0 3px #000, 0 0 3px #000; pointer-events: none; }
|
|
.maptray { position: absolute; top: .5rem; left: .5rem; display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; padding: .3rem .5rem; border-radius: 8px; background: color-mix(in srgb, var(--panel) 90%, transparent); border: 1px solid var(--line); z-index: 4; max-width: 70%; }
|
|
.traytoken { border-radius: 999px; border: 2px solid var(--tc); background: color-mix(in srgb, var(--tc) 40%, var(--panel)); color: var(--text); padding: .15rem .7rem; cursor: grab; touch-action: none; }
|
|
.mapzoom { position: absolute; right: .5rem; bottom: .5rem; display: grid; gap: .25rem; z-index: 4; }
|
|
.mapzoom button, .maptools button { background: color-mix(in srgb, var(--panel) 90%, transparent); }
|
|
.maptools { position: absolute; top: .5rem; right: .5rem; display: flex; gap: .3rem; z-index: 4; }
|
|
.tokenpanel { position: absolute; right: 3rem; bottom: .5rem; z-index: 5; width: 17rem; max-width: 60%; padding: .6rem; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); cursor: default; }
|
|
.tokenform { display: grid; gap: .45rem; }
|
|
.tokenform input[type=number] { width: 4.5rem; }
|
|
.swatches { display: flex; gap: .3rem; flex-wrap: wrap; }
|
|
.swatch { width: 1.4rem; height: 1.4rem; padding: 0; border-radius: 50%; border: 2px solid transparent; }
|
|
.swatch.on { border-color: var(--text); }
|
|
.maplib { display: grid; gap: .5rem; margin-bottom: 1rem; }
|
|
.uploadbtn { display: inline-block; padding: .4rem .8rem; border: 1px dashed var(--line); border-radius: 8px; cursor: pointer; text-align: center; }
|
|
.maplist { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
|
|
.maplist li { padding: .5rem; border: 1px solid var(--line); border-radius: 8px; display: grid; gap: .3rem; }
|
|
.maplist li.active { border-color: var(--accent, gold); }
|
|
.mapeditor { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 20rem 1fr; background: var(--bg); }
|
|
.mapeditor aside { overflow-y: auto; border-radius: 0; display: grid; gap: .6rem; align-content: start; }
|
|
.mapstage { position: relative; }
|
|
.tokenlist { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
|
|
.tokenlist button { width: 100%; text-align: left; }
|
|
.tokenlist i { display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; vertical-align: middle; }
|
|
@media (max-width: 800px) { .mapeditor { grid-template-columns: 1fr; grid-template-rows: 45% 1fr; } }
|
|
.mapeditor, .mapeditor * { box-sizing: border-box; }
|
|
.mapeditor { z-index: 1000; }
|
|
.mapeditor .mapstage { min-width: 0; }
|
|
label.chk { display: flex; align-items: center; gap: .45rem; }
|
|
label.chk input[type=checkbox] { width: auto; margin: 0; }
|
|
.mapeditor label.small:not(.chk) { display: grid; gap: .2rem; }
|
|
.editactions { position: sticky; bottom: 0; background: var(--panel); padding: .5rem 0; }
|
|
.mapbox.drawing { cursor: crosshair; }
|
|
.mapworld { background: #000; }
|
|
.wl { stroke: #ff4d4d; stroke-width: 3; stroke-linecap: round; }
|
|
.wl.door { stroke: #ff9f1a; stroke-width: 5; }
|
|
.wl.door.open { stroke: #4cd964; stroke-dasharray: 6 6; stroke-width: 4; }
|
|
.wl.draft { stroke: #fff; stroke-dasharray: 5 5; stroke-width: 2; }
|
|
.wldot { fill: #fff; }
|
|
.toolrow { display: flex; flex-wrap: wrap; gap: .3rem; }
|
|
.mapeditor input[type=number] { width: 100%; }
|
|
.mapempty { position: absolute; inset: 0; display: grid; place-items: center; color: #ddd; z-index: 2; pointer-events: none; text-align: center; padding: 1rem; }
|
|
.mapcards { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); gap: 1rem; }
|
|
.mapcard { display: grid; grid-template-columns: 8rem 1fr; gap: .8rem; padding: .8rem; align-items: start; }
|
|
.mapcard img { width: 8rem; height: 6rem; object-fit: cover; border-radius: 6px; background: #111; }
|
|
.mapcardbody { display: grid; gap: .4rem; min-width: 0; }
|
|
.mapcardbody .row { flex-wrap: wrap; }
|
|
.maptools { flex-wrap: wrap; justify-content: flex-end; max-width: 60%; }
|
|
.maptools button, .maptools select { padding: .2rem .55rem; font-size: .8rem; min-height: 0; white-space: nowrap; width: auto; }
|
|
.maptray { max-width: 38%; }
|
|
.traytoken { font-size: .85rem; }
|
|
.soundctl { display: inline-flex; align-items: center; gap: .3rem; }
|
|
.soundctl input[type=range] { width: 5rem; padding: 0; }
|
|
.soundsettings { display: grid; gap: .5rem; margin-bottom: 1rem; }
|
|
.soundrow { display: grid; gap: .25rem; padding: .4rem; border: 1px solid var(--line); border-radius: 8px; }
|
|
.soundrow .row { justify-content: space-between; align-items: center; flex-wrap: wrap; }
|
|
.uploadbtn.small { padding: .15rem .6rem; font-size: .85rem; }
|
|
|
|
/* ---- portraits */
|
|
.portraitbox { display: block; }
|
|
.portraitcur { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
|
|
.portraitcur img, .portraitnone { width: 6.5rem; height: 6.5rem; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); background: var(--bg); display: grid; place-items: center; }
|
|
.portraitbtns { display: grid; gap: .4rem; justify-items: start; }
|
|
.portraitcrop { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-start; }
|
|
.cropwin { position: relative; overflow: hidden; border-radius: 10px; border: 2px solid var(--noxium, #7aa63c); background: #000; cursor: move; touch-action: none; flex: none; }
|
|
.cropwin img { position: absolute; max-width: none; user-select: none; }
|
|
.cropctl { display: grid; gap: .5rem; }
|
|
.pportrait { width: 21mm; height: 21mm; object-fit: cover; border: 1.5px solid var(--pg); border-radius: 1.5mm; flex: none; margin-left: auto; }
|
|
.pavatar { overflow: hidden; border: 2px solid var(--pc); }
|
|
.pavatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
|
.maptoken .tokpic { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; pointer-events: none; }
|
|
.adminusers { margin: .8rem 0; }
|
|
.userlist { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .4rem; }
|
|
.userlist li { justify-content: space-between; align-items: center; }
|
|
.chip.on { display: inline-block; }
|
|
|
|
.npchead { display: flex; align-items: center; gap: .7rem; }
|
|
.npcthumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line, #444); flex: none; }
|
|
.npcthumb.none { display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.05); color: var(--muted, #888); }
|
|
.npchead .badge { margin-left: .5rem; }
|
|
|
|
.npcpicker { display: grid; gap: .5rem; max-width: 320px; }
|
|
.npcpick { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow: auto; display: grid; gap: .25rem; }
|
|
.npcpick button { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left; }
|
|
.npcpickwrap { position: absolute; top: 3rem; left: .5rem; z-index: 5; }
|
|
.pnpc .pre { white-space: pre-wrap; margin: .1rem 0 .6rem; font-size: .85rem; }
|
|
|
|
.pavatar { position: relative; }
|
|
.presence { position: absolute; right: -3px; bottom: -3px; width: 11px; height: 11px; border-radius: 50%; background: #777; border: 2px solid var(--panel, #222); }
|
|
.presence.on { background: #3fb950; }
|
|
.presence.inline { position: static; display: inline-block; width: 9px; height: 9px; border: 0; margin-right: .2rem; }
|
|
.pcard.off { opacity: .6; }
|