/* creator.css — logo marks and the character / logo designers */
.mk { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; vertical-align: middle; }
.mk > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
.mk-e { position: relative; line-height: 1; font-style: normal; font-weight: 900; font-family: 'Literata', Georgia, serif; }
.mk > i.mk-e { font-family: 'Font Awesome 6 Free'; }

/* designer modal: preview on the left, tabs and options on the right */
.modal.cr-modal { width: min(760px, 96vw); }
.cr-modal .modal-b { padding: 10px 12px; overflow: hidden; }
.cr-wrap { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 12px; height: min(250px, calc(100dvh - 190px)); min-height: 170px; }
.cr-prev { display: flex; align-items: center; justify-content: center; border-radius: 16px; background: radial-gradient(circle at 50% 38%, rgba(255, 240, 220, .12), rgba(255, 240, 220, .02) 70%); border: 1px solid var(--line2, #4a4338); }
.cr-big { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cr-big > svg { border-radius: 22px; box-shadow: 0 10px 26px rgba(0, 0, 0, .5); }
.cr-logo b { font: 700 15px 'Literata', Georgia, serif; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-side { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.cr-tabs { display: flex; gap: 4px; flex: none; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.cr-tab { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 9px; background: var(--panel2, #2c2721); border: 1px solid var(--line, #3a342c); color: var(--mut, #b0a695); font: 700 11.5px 'Source Sans 3', sans-serif; white-space: nowrap; flex: none; }
.cr-tab.sel { background: var(--acc, #d97b4a); border-color: var(--acc, #d97b4a); color: #2a160c; }
.cr-opts { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-right: 4px; }
.cr-sec { margin-bottom: 10px; }
.cr-sec > b { display: block; font: 800 10.5px 'Source Sans 3', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--dim, #9a9080); margin-bottom: 5px; }
.cr-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cr-sw { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); flex: none; }
.cr-sw.sel { border-color: #fff; box-shadow: 0 0 0 2px var(--acc, #d97b4a); }
.cr-custom { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .35); display: grid; place-items: center; color: var(--mut, #b0a695); font-size: 11px; overflow: hidden; flex: none; }
.cr-custom input { position: absolute; inset: -6px; width: 44px; height: 44px; opacity: 0; cursor: pointer; }
.cr-chip { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 62px; padding: 4px 2px 3px; border-radius: 11px; background: var(--panel2, #2c2721); border: 1px solid var(--line, #3a342c); color: var(--mut, #b0a695); font: 700 9.5px 'Source Sans 3', sans-serif; }
.cr-chip:not(:has(.cr-th)) { width: auto; padding: 7px 12px; font-size: 11.5px; }
.cr-chip.sel { border-color: var(--acc, #d97b4a); background: rgba(217, 123, 74, .16); color: var(--text, #f0e9dc); }
.cr-th { width: 46px; height: 46px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.cr-th .mk { transform: none; }
.cr-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--panel2, #2c2721); border: 1px solid var(--line, #3a342c); color: var(--text, #f0e9dc); font-size: 15px; }
.cr-ic.sel { border-color: var(--acc, #d97b4a); background: rgba(217, 123, 74, .2); color: var(--acc2, #e0b05a); }
.cr-sec input[type=range] { width: 100%; accent-color: var(--acc, #d97b4a); }
@media (max-height: 520px) and (orientation: landscape) { .cr-wrap { height: calc(100dvh - 150px); } .cr-big > svg { width: 112px; height: 112px; } .cr-big .mk { transform: scale(.85); } }

/* new-company screen */
.co-prev.big { gap: 14px; padding: 10px 12px; }
.co-prev.big #s-mark { cursor: pointer; flex: none; }
.co-prev-b { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.co-prev-btns { display: flex; gap: 6px; }
.boss-card { display: flex; gap: 12px; align-items: flex-start; }
.boss-av { position: relative; width: 92px; height: 92px; border-radius: 20px; overflow: hidden; flex: none; box-shadow: 0 8px 20px rgba(0, 0, 0, .45); padding: 0; }
.boss-av svg { display: block; width: 100%; height: 100%; }
.boss-av > span { position: absolute; right: 5px; bottom: 5px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; font-size: 9px; }
.boss-b { flex: 1; min-width: 0; }
.boss-b .in-l { margin-top: 0; }
.sl-logo, .co-logo { background: none !important; width: auto; height: auto; }
.avatar-svg { display: block; }

/* features that cannot be used with the current parts */
.feature-chip.needs-part:not(.active) { opacity: .55; }
