/* Your Worlds: the Private Worlds owner dashboard (docs/private-worlds-plan.md).
   A desk, not a landing page: dense, fixed rail, hairline ledgers, the house's cut corners and one
   seal of vermilion. Everything else comes from styles.css. */

.desk .wrap.wide { max-width: none; padding: 0 28px; }
.desk-who { display: flex; align-items: center; gap: 12px; margin-left: 28px; font-size: 13px; color: var(--paper-dim); }
.desk-who img { width: 26px; height: 26px; border-radius: 50%; }
.desk-out { color: var(--muted); text-decoration: none; border-left: 1px solid var(--line-2); padding-left: 12px; }
.desk-out:hover { color: var(--gold-soft); }

.desk-body { position: relative; z-index: 1; }

/* --- the gate --------------------------------------------------------------------- */
.desk-gate { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 48px 24px; }
.tablet {
  max-width: 520px; padding: 44px 40px 40px; position: relative;
  background: linear-gradient(180deg, rgba(236, 230, 214, .035), rgba(236, 230, 214, .015));
  box-shadow: inset 0 0 0 1px var(--line-2);
  border-radius: var(--round);
}
.tablet h1 { font: 500 34px/1.2 var(--display); margin: 18px 0 12px; }
.tablet p { color: var(--paper-dim); margin: 0 0 28px; }

/* --- the desk --------------------------------------------------------------------- */
.desk-grid { display: grid; grid-template-columns: 248px 1fr; min-height: calc(100vh - 64px); }

.desk-rail { border-right: 1px solid var(--line); padding: 26px 0; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; }
.desk-rail-head { font: 600 10.5px/1 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--faint); padding: 18px 26px 10px; }
.desk-rail ul { list-style: none; margin: 0; padding: 0; }
.desk-rail li a, .desk-rail li span {
  display: flex; align-items: center; gap: 10px; padding: 9px 26px; font-size: 14px;
  color: var(--paper-dim); text-decoration: none; border-left: 2px solid transparent;
}
.desk-rail li a:hover { color: var(--paper); background: rgba(236, 230, 214, .03); }
.desk-rail li a[aria-current] { color: var(--paper); border-left-color: var(--gold); background: rgba(216, 189, 132, .05); }
.desk-rail li a .dot { width: 6px; height: 6px; transform: rotate(45deg); background: var(--jade); flex: none; }
.desk-rail li a .dot.paused { background: var(--faint); }
.desk-rail li.locked { display: flex; align-items: center; justify-content: space-between; padding-right: 22px; }
.desk-rail li.locked span { color: var(--faint); cursor: default; }
.desk-rail li.locked em { font: normal 600 9.5px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--faint);
                     border: 1px solid var(--line); padding: 4px 6px; }

.pane { padding: 34px 40px 60px; max-width: 1180px; }
.empty h2 { font: 500 26px var(--display); margin: 0 0 8px; }
.empty p { color: var(--paper-dim); }

.world-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 22px;
              border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.world-head h1 { font: 500 40px/1.15 var(--display); margin: 14px 0 8px; }
.world-line { margin: 0; color: var(--muted); font-size: 13.5px; }
.world-line .sep { margin: 0 9px; color: var(--faint); }
.status { text-transform: capitalize; }
.status.active { color: var(--jade); }
.status.paused { color: var(--red); }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); margin-bottom: 26px;
         box-shadow: 0 0 0 1px var(--line); }
.tile { background: var(--ink); padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.tile .label { font: 600 10.5px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.tile b { font: 500 30px/1.1 var(--display); color: var(--paper); text-transform: capitalize; }
.tile small { color: var(--muted); font-size: 12.5px; }

.panels { display: grid; grid-template-columns: 3fr 2fr; gap: 26px; }
.panel { box-shadow: inset 0 0 0 1px var(--line); padding: 20px 22px 18px; position: relative; }
/* Corner brackets, the house's frame for anything that holds records. */
.panel::before, .panel::after { content: ""; position: absolute; width: 12px; height: 12px; border-color: var(--line-gold); border-style: solid; }
.panel::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.panel::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.panel h3 { font: 500 17px var(--display); margin: 0 0 14px; }

.desk-ledger { width: 100%; border-collapse: collapse; font-size: 14px; }
.desk-ledger th { text-align: left; font: 600 10.5px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--faint);
             padding: 0 8px 10px; border-bottom: 1px solid var(--line-2); }
.desk-ledger td { padding: 9px 8px; border-bottom: 1px solid var(--line); color: var(--paper-dim); }
.desk-ledger td:nth-child(2) { color: var(--paper); font-family: var(--display); }
.desk-ledger .num { text-align: right; font-variant-numeric: tabular-nums; }
.desk-ledger td:first-child { color: var(--faint); width: 28px; font-variant-numeric: tabular-nums; }

.changes { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.changes li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--paper-dim); }
.changes time { color: var(--faint); font-variant-numeric: tabular-nums; }
.desk-quiet { color: var(--muted); font-size: 13.5px; margin: 6px 0 0; }

@media (max-width: 900px) {
  .desk-grid { grid-template-columns: 1fr; }
  .desk-rail { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 0; }
  .pane { padding: 24px 16px 48px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panels { grid-template-columns: 1fr; }
  .world-head h1 { font-size: 30px; }
  .desk-who span { display: none; }
}

/* --- settings --------------------------------------------------------------------- */
.desk-form { max-width: 560px; margin-bottom: 30px; }
.desk-form label { display: block; font: 600 10.5px/1 var(--body); letter-spacing: .22em; text-transform: uppercase;
                   color: var(--faint); margin-bottom: 10px; }
.desk-field { display: flex; gap: 12px; }
.desk-field input {
  flex: 1; height: 44px; padding: 0 14px; background: rgba(236, 230, 214, .03); color: var(--paper);
  border: 0; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 17px var(--display); outline: none;
  border-radius: var(--round-sm);
}
.desk-field input:focus { box-shadow: inset 0 0 0 1px var(--line-gold); }
.desk-field .btn { height: 44px; }
.desk-said { min-height: 22px; margin: 10px 0 0; font-size: 13.5px; color: var(--jade); }
.desk-said.bad { color: var(--red); }
.desk-later { max-width: 560px; }

/* --- world builder ---------------------------------------------------------------- */
.pane section.build, .pane section.panel { padding-top: 0; }
.pane section.panel { padding: 20px 22px 18px; }
.build { margin-bottom: 34px; padding: 0 0 28px; border-bottom: 1px solid var(--line); }
.build h3 { font: 500 20px var(--display); margin: 0 0 6px; display: flex; align-items: center; gap: 14px; }
.build .gate { font: normal 600 9.5px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
               border: 1px solid var(--line-gold); padding: 5px 7px; }
.build.closed > :not(h3) { opacity: .4; pointer-events: none; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 14px; }
.theme-grid button { all: unset; cursor: pointer; background: var(--ink); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px;
                     box-shadow: inset 0 0 0 1px var(--line); }
.theme-grid button .shot { display: block; height: 92px; margin: -16px -18px 6px; background: center/cover; box-shadow: inset 0 -30px 30px -18px var(--ink); }
.theme-grid button { overflow: hidden; }
.world-head.with-art { position: relative; padding: 26px 26px 22px; margin-top: -6px; isolation: isolate; box-shadow: inset 0 0 0 1px var(--line); }
.world-head.with-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--art, var(--world-art)) center 35%/cover; opacity: .5; }
.world-head.with-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 25%, rgba(0, 0, 0, .25)); }
.theme-grid button b { font: 500 18px var(--display); color: var(--paper); }
.theme-grid button span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.theme-grid button:hover { background: rgba(236, 230, 214, .03); }
.theme-grid button[aria-pressed="true"] { background: rgba(216, 189, 132, .07); box-shadow: inset 0 0 0 1px var(--line-gold), inset 3px 0 0 var(--gold); }
.desk-ledger.edit td { padding: 6px 8px 6px 0; }
.desk-ledger.edit td:first-child { width: auto; color: inherit; }
.desk-ledger.edit input, .natures input, .paths input, .paths select, .paths textarea {
  width: 100%; height: 36px; padding: 0 10px; background: rgba(236, 230, 214, .03); color: var(--paper); border: 0;
  box-shadow: inset 0 0 0 1px var(--line-2); font: 400 14px var(--body); outline: none;
}
.desk-ledger.edit input:focus, .natures input:focus, .paths input:focus, .paths select:focus, .paths textarea:focus { box-shadow: inset 0 0 0 1px var(--line-gold); }
.paths textarea { height: 56px; padding: 8px 10px; resize: vertical; }
.x { all: unset; cursor: pointer; color: var(--faint); padding: 0 8px; font-size: 18px; }
.x:hover { color: var(--red); }
.natures { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 18px; margin-top: 14px; }
.natures label { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.paths { display: grid; gap: 12px; margin: 14px 0; }
.path-row { display: grid; grid-template-columns: 70px 1.2fr 1fr 2fr 28px; gap: 10px; align-items: start;
            padding: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.build .btn.small { margin-top: 12px; }
.build-save { display: flex; align-items: center; gap: 18px; }
.build-save .desk-said { margin: 0; }
@media (max-width: 900px) { .path-row { grid-template-columns: 56px 1fr; } .path-row textarea { grid-column: 1 / -1; } }

.stat-rows { display: grid; gap: 8px; margin: 14px 0; }
.stat-row { display: grid; grid-template-columns: 1.2fr 1fr 28px; gap: 10px; align-items: center; }
.trait-row { display: grid; grid-template-columns: 1.4fr .9fr 1fr 70px 1fr 70px 28px; gap: 10px; align-items: center; }
.stat-row input, .stat-row select, .trait-row input, .trait-row select {
  width: 100%; height: 36px; padding: 0 10px; background: rgba(236, 230, 214, .03); color: var(--paper); border: 0;
  box-shadow: inset 0 0 0 1px var(--line-2); font: 400 14px var(--body); outline: none;
}
@media (max-width: 900px) { .trait-row { grid-template-columns: 1fr 1fr; } }

.rooms { list-style: none; margin: 12px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 18px; }
.rooms li { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.rooms li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--faint); }
.rooms li.present { color: var(--paper-dim); }
.rooms li.present::before { background: var(--jade); }

.switches { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1px; background: var(--line);
            box-shadow: 0 0 0 1px var(--line); margin: 14px 0 16px; }
.switches label { background: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px;
                  padding: 14px 16px; font-size: 14px; color: var(--paper-dim); cursor: pointer; }
.switches input { appearance: none; width: 34px; height: 18px; background: var(--line-2); position: relative; cursor: pointer; flex: none;
                  border-radius: 999px; }
.switches input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; background: var(--muted); transition: transform .2s var(--ease); }
.switches input:checked { background: rgba(143, 201, 177, .3); }
.switches input:checked::after { transform: translateX(16px); background: var(--jade); }

.rent-servers { display: grid; gap: 12px; margin-bottom: 20px; }
.rent-server { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 18px;
               box-shadow: inset 0 0 0 1px var(--line); }
.rent-server b { font: 500 19px var(--display); }
.rent-server small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.rent-server .pick { display: flex; gap: 10px; align-items: center; }
.rent-server select { height: 36px; padding: 0 10px; background: rgba(236, 230, 214, .03); color: var(--paper); border: 0;
                      box-shadow: inset 0 0 0 1px var(--line-2); font: 400 14px var(--body); }
@media (max-width: 700px) { .rent-server { grid-template-columns: 1fr; } }

/* --- the guided builder ----------------------------------------------------------- */
.steps { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 1px; background: var(--line);
         box-shadow: 0 0 0 1px var(--line); width: fit-content; }
.steps button { all: unset; cursor: pointer; padding: 11px 18px; background: var(--ink); font: 500 13px var(--body); color: var(--muted); }
.steps button:hover { color: var(--paper); }
.steps button[aria-current] { color: var(--paper); background: rgba(216, 189, 132, .08); box-shadow: inset 0 -2px 0 var(--gold); }
.build-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }
.build-steps .build { border-bottom: 0; margin-bottom: 0; }
.build h4 { font: 600 10.5px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin: 22px 0 4px; }
.word-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px 22px; margin: 16px 0 18px; }
.word-list label { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.word-list input, .natures input { width: 100%; height: 36px; padding: 0 10px; background: rgba(236, 230, 214, .03); color: var(--paper);
  border: 0; box-shadow: inset 0 0 0 1px var(--line-2); font: 400 14px var(--body); outline: none; }
.word-list input:focus { box-shadow: inset 0 0 0 1px var(--line-gold); }
.word-list input::placeholder, .natures input::placeholder { color: var(--faint); }
.more-words summary { cursor: pointer; color: var(--gold); font-size: 13.5px; margin-bottom: 10px; }
.styles { list-style: none; margin: 10px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; }
.styles li { font-size: 13px; color: var(--paper-dim); }
.row-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.step-nav { display: flex; justify-content: space-between; margin-top: 26px; }
.preview { position: sticky; top: 90px; }
.preview-card { margin: 12px 0 10px; padding: 18px 18px 16px; background: #1d1f22; border-left: 3px solid var(--gold);
  display: flex; flex-direction: column; gap: 6px; font: 400 14px/1.5 var(--body); color: #dbdee1; }
.preview-card b { font: 700 17px var(--body); color: #f2f3f5; }
.preview-bars { display: grid; gap: 4px; margin-top: 8px; }
.preview-bar { display: grid; grid-template-columns: 7.5em auto auto; justify-content: start; align-items: center; gap: 8px; }
.preview-bar code { background: rgba(0, 0, 0, .3); padding: 1px 5px; color: #c9cdd2; font-size: 12px; }
.preview-bar .pips { color: #dbdee1; letter-spacing: 1px; font-size: 13px; line-height: 1; }
.preview-bar b { color: #f2f3f5; font-size: 13px; }
.build-save { position: sticky; bottom: 0; z-index: 5; justify-content: flex-end; padding: 14px 0; margin-top: 18px;
  background: linear-gradient(180deg, transparent, var(--ink) 30%); }
.build-save.dirty .desk-said { color: var(--gold); }
@media (max-width: 1100px) { .build-grid { grid-template-columns: 1fr; } .preview { position: static; } }

.quest-list { display: grid; gap: 8px; margin: 14px 0 24px; }
.quest-item { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 16px;
              box-shadow: inset 0 0 0 1px var(--line); }
.quest-item b { font: 500 16px var(--display); }
.quest-item small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.quest-item .state { font: 600 10px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.quest-item .state.published { color: var(--jade); }
.quest-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; padding: 18px;
              box-shadow: inset 0 0 0 1px var(--line-2); }
.quest-form h4 { grid-column: 1 / -1; margin: 0; }
.quest-form label { display: grid; gap: 6px; font: 600 10.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.quest-form .wide { grid-column: 1 / -1; }
.quest-form input, .quest-form select, .quest-form textarea { height: 38px; padding: 0 10px; background: rgba(236, 230, 214, .03);
  color: var(--paper); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); font: 400 14px var(--body); letter-spacing: 0; text-transform: none; }
.quest-form textarea { height: 80px; padding: 8px 10px; resize: vertical; }
.quest-form small { font: 400 12px var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.app-text { color: var(--paper-dim); font-size: 13.5px; line-height: 1.55; margin-top: 6px; white-space: pre-line; }
.quest-form textarea.tall { height: 220px; }
.cast-face { width: 40px; height: 40px; object-fit: cover; margin-right: 12px; float: left; box-shadow: 0 0 0 1px var(--line-2); }
@media (max-width: 800px) { .quest-form { grid-template-columns: 1fr; } }
.earnings .tiles { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
#due-said { white-space: pre-line; }
#payee-country { height: 34px; padding: 0 10px; background: rgba(236, 230, 214, .03); color: var(--paper); border: 0;
                 box-shadow: inset 0 0 0 1px var(--line-2); font: 400 14px var(--body); }
.story-desk { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.story-preview { position: sticky; top: 20px; display: grid; gap: 8px; }
.preview-label { font: 600 10.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.discord-card { background: #2b2d31; border-left: 4px solid #8fc9b1; padding: 14px 16px; color: #dbdee1;
                font: 400 14.5px/1.45 "gg sans", "Noto Sans", Inter, sans-serif; }
.discord-card b { display: block; font-size: 19px; font-weight: 700; color: #f2f3f5; margin-bottom: 6px; }
.discord-card p { margin: 0 0 10px; white-space: pre-line; word-break: break-word; }
.discord-card .pv-goal { font-weight: 600; color: #f2f3f5; }
.discord-card small { color: #949ba4; font-size: 12px; }
.chapter-number { font: 500 13px var(--display); color: var(--faint); margin-right: 10px; }
@media (max-width: 900px) { .story-desk { grid-template-columns: 1fr; } .story-preview { position: static; } }
.story-desk .quest-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.switches.one { grid-template-columns: 1fr; margin: 12px 0 6px; }
.earnings .desk-ledger { margin-top: 18px; }
#payee { margin: 22px 0 26px; }
#due-send { margin-top: 16px; }

/* On a phone the rail is two strips you swipe along, so the page itself comes first. */
@media (max-width: 900px) {
  .desk-rail { padding: 6px 0 8px; }
  .desk-rail-head { padding: 10px 16px 6px; }
  .desk-rail ul { display: flex; overflow-x: auto; padding: 0 8px; scrollbar-width: none; }
  .desk-rail ul::-webkit-scrollbar { display: none; }
  .desk-rail li a { white-space: nowrap; padding: 9px 12px; border-left: 0; border-bottom: 2px solid transparent; }
  .desk-rail li a[aria-current] { border-bottom-color: var(--gold); }
}
@media (max-width: 700px) {
  .top .mark b { display: none; }
  .top nav { gap: 16px; font-size: 13px; }
  .top nav a, .desk-out { white-space: nowrap; }
  .quest-item { grid-template-columns: 1fr; gap: 8px; }
  .quest-item .row-buttons { flex-wrap: wrap; }
}
@media (max-width: 440px) { .top nav a[href="/private-worlds"] { display: none; } }
.tourney-row select { height: 34px; padding: 0 10px; background: rgba(236, 230, 214, .03); color: var(--paper); border: 0;
                     box-shadow: inset 0 0 0 1px var(--line-2); font: 400 14px var(--body); }
.emoji-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 14px 0; }
.emoji-tile { display: grid; justify-items: center; gap: 6px; padding: 14px 8px 10px; box-shadow: inset 0 0 0 1px var(--line); }
.emoji-tile img { width: 48px; height: 48px; object-fit: contain; }
.emoji-tile code { font-size: 12px; color: var(--paper-dim); }
.emoji-tile .row-buttons { gap: 4px; }
.emoji-tile .btn.small { padding: 5px 8px; font-size: 10px; }
.emoji-add { align-items: center; flex-wrap: wrap; }
.emoji-add input#e-name { height: 34px; padding: 0 10px; background: rgba(236, 230, 214, .03); color: var(--paper); border: 0;
                          box-shadow: inset 0 0 0 1px var(--line-2); font: 400 14px var(--body); }
.file-pick { cursor: pointer; }
#c-pick { height: 38px; }
.book-pick, #bk-tier, #bk-affinity { height: 38px; }
#bk-like { margin: 0; }
.enemy-tools { align-items: center; flex-wrap: wrap; margin: 6px 0 14px; }
#en-search { flex: 1 1 240px; height: 36px; padding: 0 12px; background: rgba(236, 230, 214, .03); color: var(--paper); border: 0;
             box-shadow: inset 0 0 0 1px var(--line-2); font: 400 14px var(--body); }
.enemy-only { display: flex; gap: 8px; align-items: center; color: var(--paper-dim); font-size: 13.5px; }
.enemy-list { display: grid; gap: 6px; }
.enemy-place { font: 600 10.5px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin: 18px 0 4px; }
.enemy-row { box-shadow: inset 0 0 0 1px var(--line); }
.enemy-row summary { display: flex; align-items: baseline; gap: 10px; padding: 11px 16px; cursor: pointer; list-style: none; }
.enemy-row summary::-webkit-details-marker { display: none; }
.enemy-row summary b { font: 500 15.5px var(--display); }
.enemy-row summary small { color: var(--muted); font-size: 12.5px; }
.enemy-row summary .was { margin-left: auto; color: var(--faint); font-size: 12px; }
.enemy-row.renamed summary b { color: var(--gold); }
.enemy-row .quest-form { margin: 0 12px 12px; }
.enemy-only input { accent-color: var(--gold); }
.chronicle-add { align-items: center; }
#chr-text { flex: 1 1 260px; height: 36px; padding: 0 12px; background: rgba(236, 230, 214, .03); color: var(--paper); border: 0;
            box-shadow: inset 0 0 0 1px var(--line-2); font: 400 14px var(--body); }
.attr-row { flex-wrap: wrap; align-items: center; margin: 8px 0; }
.attr-row input { height: 36px; width: 150px; padding: 0 10px; background: rgba(236, 230, 214, .03); color: var(--paper); border: 0;
                  box-shadow: inset 0 0 0 1px var(--line-2); font: 400 14px var(--body); }
.attr-budget { display: flex; gap: 10px; align-items: center; color: var(--paper-dim); font-size: 13.5px; }
.attr-budget input { width: 70px; }
.chip { font: 600 10px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; padding: 5px 8px; margin-left: 10px;
        box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); vertical-align: middle; }
.chip.approved { color: var(--jade); box-shadow: inset 0 0 0 1px rgba(143, 201, 177, .4); }
.chip.submitted { color: var(--gold); box-shadow: inset 0 0 0 1px var(--line-gold); }
.chip.rejected { color: #e08a7a; box-shadow: inset 0 0 0 1px rgba(224, 138, 122, .4); }
.note-back { margin: 8px 0; padding: 10px 14px; box-shadow: inset 2px 0 0 #e08a7a; background: rgba(224, 138, 122, .06);
             color: var(--paper-dim); font-size: 13.5px; }
.shop-desk { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 18px; }
.shop-desk h4 { margin: 0 0 10px; }
.kind-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.kind-tiles button { all: unset; cursor: pointer; padding: 12px; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; gap: 4px; }
.kind-tiles button b { font: 500 15px var(--display); color: var(--paper); }
.kind-tiles button span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.kind-tiles button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--gold); background: rgba(216, 189, 132, .06); }
.price-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.price-row input[type=number] { width: 120px; height: 36px; padding: 0 10px; background: rgba(236, 230, 214, .03); color: var(--paper);
                                border: 0; box-shadow: inset 0 0 0 1px var(--line-2); font: 400 14px var(--body); }
.price-row input:disabled { opacity: .4; }
.price-pick { display: flex; gap: 8px; align-items: center; min-width: 130px; color: var(--paper-dim); font: 500 13.5px var(--body);
              letter-spacing: 0; text-transform: none; }
.price-pick input { accent-color: var(--gold); }
.dollar { color: var(--muted); margin-right: -6px; }
#it-keep { color: var(--jade); font-size: 12.5px; }
.review-item { display: grid; gap: 6px; padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--line); }
.review-item .row-buttons input { flex: 1 1 200px; height: 34px; padding: 0 10px; background: rgba(236, 230, 214, .03); color: var(--paper);
                                  border: 0; box-shadow: inset 0 0 0 1px var(--line-2); font: 400 13.5px var(--body); }
@media (max-width: 900px) { .shop-desk { grid-template-columns: 1fr; } .kind-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quest-form .price-pick { display: flex; flex-direction: row; gap: 8px; align-items: center; font: 500 13.5px var(--body);
                          letter-spacing: 0; text-transform: none; color: var(--paper-dim); cursor: pointer; }
.quest-form .price-pick input { width: 16px; height: 16px; padding: 0; box-shadow: none; background: none; flex: none; }
.shop-desk .kind-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#qs-book { height: 36px; padding: 0 10px; background: rgba(236, 230, 214, .03); color: var(--paper); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); font: 400 14px var(--body); }
.mode-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0 4px; }
.mode-card { display: grid; gap: 6px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.mode-card input { position: absolute; opacity: 0; pointer-events: none; }
.mode-card b { font: 500 16px var(--display); color: var(--paper); }
.mode-card span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.mode-card:has(input:checked) { box-shadow: inset 0 0 0 1px var(--gold); background: rgba(216, 189, 132, .06); }
.mode-card:has(input:disabled) { opacity: .5; cursor: default; }
@media (max-width: 700px) { .mode-pick { grid-template-columns: 1fr; } }
.packs { margin-bottom: 30px; }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 12px; }
.pack-card { display: grid; grid-template-rows: auto 1fr; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--ink); }
.pack-card .cover { height: 110px; background: linear-gradient(135deg, rgba(216, 189, 132, .18), rgba(143, 201, 177, .08)) center/cover; }
.pack-card .body { display: grid; gap: 8px; padding: 14px 16px 16px; align-content: start; }
.pack-card b { font: 500 17px var(--display); color: var(--paper); }
.pack-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.pack-card small { color: var(--faint); font-size: 12px; }
.pack-card .btn { justify-self: start; }
.pack-card.done { opacity: .7; }
.gm-find { position: relative; max-width: 420px; margin: 12px 0 10px; }
.gm-find input { width: 100%; box-sizing: border-box; }
.gm-found { list-style: none; margin: 4px 0 0; padding: 0; position: absolute; left: 0; right: 0; z-index: 5; background: var(--ink);
            box-shadow: 0 0 0 1px var(--line-gold); }
.gm-found li { color: var(--muted); font-size: 13px; padding: 9px 12px; }
.gm-found li:has(button) { padding: 0; }
.gm-found button { all: unset; cursor: pointer; display: block; padding: 9px 12px; color: var(--paper); font-size: 14px; }
.gm-found button:hover, .gm-found button:focus-visible { background: rgba(216, 189, 132, .08); }

/* --- the 2026-10 overhaul: a livelier desk ------------------------------------------------
   The world's own art carries the page; glyphs mark each place; Simple hides the expert tools. */
body.simple .adv { display: none !important; }
.cut { border-radius: var(--round); }

/* the rail */
.desk-rail { display: flex; flex-direction: column; }
.rail-this { display: flex; flex-direction: column; flex: 1; }
.rail-this[hidden] { display: none; }
.desk-rail li.rail-group { font: 600 10px/1 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--faint);
                           padding: 20px 26px 8px; }
.desk-rail .g { font: 400 15px/1 var(--brush); width: 24px; height: 24px; display: inline-grid; place-items: center; flex: none;
                color: var(--gold); opacity: .55; box-shadow: inset 0 0 0 1px var(--line); font-style: normal; }
.desk-rail li a[aria-current] .g { opacity: 1; box-shadow: inset 0 0 0 1px var(--line-gold); background: rgba(216, 189, 132, .08); }
.desk-rail li a:hover .g { opacity: .9; }
.mode-switch { margin: auto 18px 0; padding: 14px 12px; display: flex; gap: 12px; align-items: center; cursor: pointer;
               box-shadow: inset 0 0 0 1px var(--line); background: var(--ink-2); margin-top: 28px; }
.mode-switch input { position: absolute; opacity: 0; pointer-events: none; }
.mode-switch .track { width: 34px; height: 18px; flex: none; box-shadow: inset 0 0 0 1px var(--line-2); position: relative; background: var(--ink); }
.mode-switch .track i { position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; background: var(--faint); transition: transform .18s var(--ease), background .18s; }
.mode-switch input:checked + .track { box-shadow: inset 0 0 0 1px var(--line-gold); }
.mode-switch input:checked + .track i { transform: translateX(16px); background: var(--gold); }
.mode-switch input:focus-visible + .track { outline: 1px solid var(--gold); outline-offset: 2px; }
.mode-switch .words { display: grid; gap: 2px; }
.mode-switch b { font: 500 13px var(--body); color: var(--paper); }
.mode-switch small { font-size: 11.5px; color: var(--muted); }

/* the overview's banner */
.world-hero { position: relative; isolation: isolate; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
              min-height: 290px; padding: 34px 34px 28px; margin-bottom: 30px; box-shadow: inset 0 0 0 1px var(--line);
              background: radial-gradient(120% 140% at 85% 0%, rgba(216, 189, 132, .10), transparent 60%), var(--ink-2); overflow: hidden; }
.world-hero.with-art::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--world-art) center 40%/cover; }
.world-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
                     background: linear-gradient(90deg, rgba(11, 13, 12, .94) 0%, rgba(11, 13, 12, .72) 45%, rgba(11, 13, 12, .15) 100%),
                                 linear-gradient(0deg, rgba(11, 13, 12, .9) 0%, transparent 55%); }
.world-hero h1 { font: 500 clamp(36px, 4.4vw, 56px)/1.05 var(--display); margin: 16px 0 10px; text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }
.world-hero .world-line { color: var(--paper-dim); }
.hero-faces { display: flex; margin-top: 20px; }
.hero-faces img { width: 46px; height: 46px; object-fit: cover; box-shadow: 0 0 0 1px var(--line-gold), 0 0 0 3px var(--ink);
                  margin-right: -6px; transition: transform .2s var(--ease); }
.hero-faces img:hover { transform: translateY(-4px); z-index: 1; }
.hero-side { display: grid; gap: 16px; justify-items: end; }
.setup-meter { display: grid; gap: 8px; min-width: 210px; }
.setup-meter span { font: 600 10.5px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); text-align: right; }
.setup-meter .bar { height: 8px; position: relative; background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px var(--line-gold); }
.setup-meter .bar::after { content: ""; position: absolute; inset: 0;
                           background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), var(--line-gold) calc(20% - 1px) 20%); }
.setup-meter .bar i { position: absolute; inset: 0 auto 0 0; background: var(--gold); transition: width .5s var(--ease); }

/* section heads on the overview */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.sec-head h3 { font: 500 22px var(--display); margin: 0; }
.sec-head p { margin: 0; }

/* start here, as cards */
.first-steps { margin-bottom: 34px; box-shadow: none; padding: 0; }
.step-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.step-cards li { display: flex; flex-direction: column; gap: 8px; padding: 18px 16px 16px; background: var(--ink-2);
                 box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.step-cards li .num { font: 500 26px/1 var(--display); color: var(--faint); font-style: normal; }
.step-cards li b { font: 500 16.5px/1.3 var(--display); color: var(--paper); }
.step-cards li span { font-size: 12.5px; line-height: 1.5; color: var(--muted); flex: 1; }
.step-cards li .btn { align-self: flex-start; margin-top: 4px; }
.step-cards li small { font: 600 10px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--jade); }
.step-cards li.next { box-shadow: inset 0 0 0 1px var(--line-gold), 0 0 28px -10px rgba(216, 189, 132, .5);
                      background: linear-gradient(180deg, rgba(216, 189, 132, .09), rgba(216, 189, 132, .02)), var(--ink-2); }
.step-cards li.next .num { color: var(--gold); }
.step-cards li.done { opacity: .62; }
.step-cards li.done .num { color: var(--jade); }
.step-cards li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.step-cards li.done::before { background: var(--jade-deep); }
.step-cards li.next::before { background: var(--gold); }

/* in your world */
.world-made { margin-bottom: 34px; }
.made-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.made { position: relative; overflow: hidden; display: grid; gap: 2px; padding: 18px 18px 16px; text-decoration: none; color: inherit;
        background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s; }
.made .g { position: absolute; right: -6px; bottom: -18px; font: 400 92px/1 var(--brush); color: var(--gold); opacity: .07;
           font-style: normal; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.made b { font: 500 32px/1.1 var(--display); color: var(--paper); }
.made span { font-size: 13.5px; color: var(--paper-dim); }
.made small { font: 600 10px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 10px; opacity: .8; }
.made.none b { color: var(--faint); }
.made:hover { background: rgba(216, 189, 132, .05), var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-gold); }
.made:hover .g { opacity: .16; transform: translateY(-4px) rotate(-3deg); }

/* tiles with their glyph */
.tiles .tile { position: relative; overflow: hidden; }
.tiles .tile .g { position: absolute; right: 10px; top: 8px; font: 400 26px/1 var(--brush); color: var(--gold); opacity: .22; font-style: normal; }

.adv-hint { margin: 18px 0 0; padding: 12px 14px; font-size: 13px; color: var(--muted); box-shadow: inset 2px 0 0 var(--gold);
            background: rgba(216, 189, 132, .04); }
.adv-hint b { color: var(--gold-soft); font-weight: 500; }
body:not(.simple) .adv-hint { display: none; }

@media (max-width: 1100px) {
  .step-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .made-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .world-hero { flex-direction: column; align-items: flex-start; min-height: 0; padding: 26px 20px 22px; }
  .hero-side { justify-items: start; }
  .step-cards, .made-grid { grid-template-columns: 1fr; }
}
.step-cards li.done .num { font: 600 20px/1.3 var(--body); }
body.simple .made-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { body.simple .made-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { body.simple .made-grid { grid-template-columns: 1fr; } }
.pane section.first-steps, .pane section.world-made { padding: 0; }

/* tidy pages */
.quest-form.folded { display: none; }
.btn.adder { margin-top: 12px; }
.quest-list.clipped > :nth-child(n+7) { display: none; }
.list-more { margin-top: 8px; }
.jump { display: flex; flex-wrap: wrap; gap: 6px; margin: -8px 0 26px; position: sticky; top: 64px; z-index: 4; padding: 10px 0;
        background: linear-gradient(180deg, var(--ink) 75%, transparent); }
.jump a { font: 500 12.5px/1 var(--body); color: var(--paper-dim); text-decoration: none; padding: 8px 12px;
          box-shadow: inset 0 0 0 1px var(--line); background: var(--ink-2); }
.jump a:hover { color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-gold); }
.pane section.build { scroll-margin-top: 130px; }

/* the cast as portrait cards */
#cast-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
#cast-list .quest-item { grid-template-columns: 1fr; align-items: start; padding: 0; overflow: hidden; }
#cast-list .quest-item > div:first-child { display: grid; grid-template-columns: 84px 1fr; column-gap: 14px; align-items: center; padding: 12px 14px 0; }
#cast-list .quest-item .cast-face { grid-row: span 2; width: 84px; height: 84px; object-fit: cover; box-shadow: 0 0 0 1px var(--line-gold); }
#cast-list .quest-item > span:empty { display: none; }
#cast-list .quest-item .row-buttons { padding: 0 14px 12px; }
#cast-list.clipped > :nth-child(n+7) { display: grid; }
#cast-list.clipped > :nth-child(n+9) { display: none; }
@media (max-width: 900px) {
  .desk-rail li.rail-group { display: none; }
  .mode-switch { margin: 10px 16px 0; }
  .hero-faces { flex-wrap: wrap; row-gap: 8px; }
  .hero-faces img { width: 38px; height: 38px; }
}

/* rename across the world */
.pane section.rename-all { padding: 20px 22px; margin-bottom: 26px; box-shadow: inset 0 0 0 1px var(--line-gold);
  background: linear-gradient(180deg, rgba(216, 189, 132, .06), rgba(216, 189, 132, .01)), var(--ink-2); }
.rename-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rename-row input { flex: 1 1 180px; height: 40px; padding: 0 12px; background: rgba(236, 230, 214, .03); color: var(--paper);
  border: 0; box-shadow: inset 0 0 0 1px var(--line-2); font: inherit; }
.rename-row input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--gold); }
.rename-row .arrow { color: var(--gold); font-size: 18px; }
.rename-found { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.rename-counts { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rename-counts li { font-size: 12.5px; padding: 6px 10px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--paper-dim); }
.rename-sample { margin: 4px 0; font-size: 13px; color: var(--paper-dim); }
.rename-sample small { display: inline-block; min-width: 9em; color: var(--faint); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.rename-found .btn { margin-top: 10px; }
#rn-said .btn { margin-left: 6px; }

/* rounded throughout (Rank, 2026-10-14): cards, panels and fields soft, switches and buttons pills */
.switches input::after, .mode-switch .track, .mode-switch .track i { border-radius: 999px; }
.mode-switch, .world-hero, .step-cards li, .made, .tiles .tile, .panel, .pane section.build.panel, .quest-item, .quest-form,
.theme-grid button, .pack-card, .pane section.rename-all, .adv-hint, .preview, .switches, .first-steps, .rent-servers > *,
.tablet, .gm-found, .rename-counts li, .jump a, .setup-meter .bar, .setup-meter .bar i, .chip { border-radius: var(--round-sm); }
.world-hero, .pane section.rename-all, .tablet { border-radius: var(--round); }
.step-cards li, .made, .theme-grid button, .pack-card, .world-hero { overflow: hidden; }
.jump a { border-radius: 999px; }
.hero-faces img, .preview-bar code { border-radius: 8px; }
#cast-list .quest-item .cast-face, .cast-face { border-radius: 10px; }
input:not([type=checkbox]):not([type=radio]), select, textarea { border-radius: var(--round-sm); }
.world-head.with-art { border-radius: var(--round); overflow: hidden; }
.desk-rail .g { border-radius: 8px; }
.desk-rail li a { border-radius: 0 10px 10px 0; }

/* where players come from */
.pane section.homes-box { padding: 20px 22px; margin-bottom: 26px; box-shadow: inset 0 0 0 1px var(--line); background: var(--ink-2);
  border-radius: var(--round); }
.pane section.homes-box.closed .home-rows, .pane section.homes-box.closed .row-buttons { opacity: .45; pointer-events: none; }
.home-rows { display: grid; gap: 8px; margin-bottom: 12px; }
.home-row { display: grid; grid-template-columns: 56px minmax(140px, 1fr) 2fr auto; gap: 8px; align-items: center; }
.home-row input { height: 40px; padding: 0 12px; background: rgba(236, 230, 214, .03); color: var(--paper); border: 0;
  box-shadow: inset 0 0 0 1px var(--line-2); font: inherit; min-width: 0; }
.home-row input.home-emoji { text-align: center; font-size: 18px; }
@media (max-width: 700px) { .home-row { grid-template-columns: 56px 1fr auto; } .home-row input:nth-child(3) { grid-column: 1 / -2; } }

/* call an attack */
.invasion-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.invasion-form .wide { grid-column: 1 / -1; }
.invasion-form label { display: grid; gap: 6px; font: 600 10.5px/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.invasion-form select, .invasion-form input { height: 40px; padding: 0 10px; background: rgba(236, 230, 214, .03); color: var(--paper);
  border: 0; box-shadow: inset 0 0 0 1px var(--line-2); font: 400 14px var(--body); letter-spacing: 0; text-transform: none; }
.invasion-form small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.invasion-now { display: grid; gap: 6px; padding: 16px 18px; margin-top: 12px; border-radius: var(--round-sm);
  box-shadow: inset 0 0 0 1px rgba(184, 65, 46, .5); background: rgba(184, 65, 46, .08); }
.invasion-now b { font: 500 18px var(--display); }
.invasion-now .pips { color: var(--paper); letter-spacing: 1px; }
.invasion-now small { color: var(--muted); }
.pane section.build.closed .invasion-form { opacity: .45; pointer-events: none; }
@media (max-width: 700px) { .invasion-form { grid-template-columns: 1fr; } }

.home-row .home-edge { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); }
.home-row .home-edge select { height: 34px; padding: 0 8px; background: rgba(236, 230, 214, .03); color: var(--paper); border: 0;
  box-shadow: inset 0 0 0 1px var(--line-2); font: inherit; }
.check-line { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-size: 13.5px; color: var(--paper-dim); cursor: pointer; }
.check-line input { margin-top: 3px; accent-color: var(--gold); }
.check-line b { color: var(--paper); font-weight: 500; }

.gift-row { grid-template-columns: 120px minmax(140px, 1fr) 2fr auto; }
.gift-row select.gift-rarity { height: 40px; padding: 0 8px; background: rgba(236, 230, 214, .03); color: var(--paper); border: 0;
  box-shadow: inset 0 0 0 1px var(--line-2); font: inherit; border-radius: var(--round-sm); }
input.gift-word { height: 36px; padding: 0 10px; background: rgba(236, 230, 214, .03); color: var(--paper); border: 0;
  box-shadow: inset 0 0 0 1px var(--line-2); font: inherit; max-width: 200px; }
@media (max-width: 700px) { .gift-row { grid-template-columns: 1fr auto; } .gift-row > * { grid-column: auto; } }

/* the way past a locked feature */
button.upgrade { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; vertical-align: middle;
  padding: 5px 11px; border-radius: 999px; font: 600 10px/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: #17130a; background: var(--gold); }
button.upgrade::before { content: "🔒"; font-size: 10px; letter-spacing: 0; }
button.upgrade:hover { background: var(--gold-soft); }
button.upgrade[hidden] { display: none; }
label.check-line button.upgrade { margin-left: 4px; }
.desk-rail li a.locked-page { color: var(--faint); }
.desk-rail li a.locked-page::after { content: "🔒"; margin-left: auto; font-size: 11px; opacity: .7; }

.ladder-top { list-style: none; counter-reset: place; margin: 14px 0; padding: 0; display: grid; gap: 4px; max-width: 520px; }
.ladder-top li { counter-increment: place; display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; padding: 7px 12px;
  border-radius: var(--round-sm); background: var(--ink-2); font-size: 13.5px; }
.ladder-top li::before { content: "#" counter(place); color: var(--gold); font-weight: 600; }
.ladder-top li span { color: var(--muted); font-size: 12.5px; }

.basics-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.basics-row label { display: grid; gap: 6px; font: 600 10.5px/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.basics-row input { height: 40px; padding: 0 12px; background: rgba(236, 230, 214, .03); color: var(--paper); border: 0;
  box-shadow: inset 0 0 0 1px var(--line-2); font: 400 15px var(--body); letter-spacing: 0; text-transform: none; }
.basics-row small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.pane section.homes-box.closed .basics-row { opacity: .45; pointer-events: none; }
@media (max-width: 700px) { .basics-row { grid-template-columns: 1fr; } }

.art-words { display: grid; grid-template-columns: 1fr 2fr 2fr auto; gap: 8px; align-items: end; padding: 10px 0 0;
  border-top: 1px solid var(--line); }
.art-words small { grid-column: 1 / -1; }
@media (max-width: 700px) { .art-words { grid-template-columns: 1fr; } }
.gift-row select.vow-condition { grid-column: 1 / -1; width: 100%; }
.basics-row select { height: 40px; padding: 0 10px; background: rgba(236, 230, 214, .03); color: var(--paper); border: 0;
  box-shadow: inset 0 0 0 1px var(--line-2); font: 400 14px var(--body); letter-spacing: 0; text-transform: none; border-radius: var(--round-sm); }
.home-row input.home-seats { flex: 1; min-width: 200px; height: 34px; }
textarea.fl-list { width: 100%; min-height: 140px; box-sizing: border-box; padding: 10px 12px; background: rgba(236, 230, 214, .03);
  color: var(--paper); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); font: inherit; border-radius: var(--round-sm); margin-bottom: 10px; }

/* A recipe's ingredients: material and how many, six rows in two columns. */
.rc-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px; }
.rc-row { display: grid; grid-template-columns: 1fr 96px; gap: 6px; }
