/* ../../../Users/vitalyromanov/Projects/BestPlaceSite/src/Publishers.css */
.pub-panel {
  min-width: 0;
  color: var(--ink);
  background: #fffefa;
}
.pub-bar,
.pub-title,
.pub-heading,
.pub-tools,
.pub-game,
.pub-corner,
.pub-status,
.pub-zoom,
.pub-search {
  display: flex;
  align-items: center;
}
.pub-bar {
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.pub-heading,
.pub-tools,
.pub-title {
  gap: 10px;
}
.pub-panel h2,
.pub-panel h3 {
  margin: 0;
  line-height: 1.22;
}
.pub-mark {
  display: grid;
  place-items: center;
  background: var(--lime);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #38421c;
}
.pub-count {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 650;
  background: #eeebe6;
  color: #666069;
  vertical-align: middle;
}
.pub-tools {
  flex-wrap: wrap;
  gap: 8px;
}
.pub-panel .button.primary {
  min-height: 34px;
  padding: 7px 13px;
  font-size: 13px;
  gap: 5px;
  align-self: start;
}
.pub-search,
.pub-zoom {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  height: 34px;
  color: #68656e;
}
.pub-tools .pub-search {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 0;
  padding: 0 9px;
  gap: 6px;
}
.pub-tools .pub-search input {
  padding: 0;
  margin: 0;
  height: 100%;
  flex: 1;
  font: inherit;
  font-size: 13px;
  background: transparent;
  border: 0;
  width: 165px;
  min-width: 0;
}
.pub-search:focus-within {
  outline: 2px solid var(--purple);
}
.pub-zoom button,
.pub-name,
.pub-order button,
.pub-cell,
.pub-back,
.pub-publisher-link {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.pub-zoom button {
  height: 100%;
  min-width: 26px;
  font-size: 14px;
}
.pub-zoom button:nth-child(2) {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.pub-panel button:disabled {
  opacity: 0.35;
  cursor: default;
}
.pub-panel:has(.pub-scroll) {
  overflow: visible;
}
.pub-scroll {
  width: max-content;
  min-width: 100%;
  background: #fffefa;
}
.pub-scroll table {
  border-spacing: 0;
  border-collapse: separate;
  width: max-content;
  min-width: 100%;
  line-height: 1.2;
}
.pub-scroll th,
.pub-scroll td {
  border: solid #eae7e1;
  border-width: 0 1px 1px 0;
  padding: 0;
  text-align: left;
}
.pub-scroll thead th {
  position: sticky;
  top: var(--site-header-height);
  z-index: 2;
  background: #f3f1eb;
  width: 9em;
  max-width: 9em;
  height: 3.1em;
}
.pub-scroll th:first-child {
  position: sticky;
  left: 0;
  width: 13em;
  max-width: 13em;
  background: #fbfaf6;
  z-index: 1;
  box-shadow: 2px 0 3px #3023370b;
}
.pub-scroll thead th:first-child {
  z-index: 3;
  background: #eeece5;
}
.pub-corner,
.pub-game {
  gap: 0.65em;
  padding: 0 0.85em;
  font-weight: 650;
}
.pub-game {
  color: inherit;
  text-decoration: none;
  min-height: 2.8em;
}
.pub-game:hover,
.pub-game:focus-visible {
  color: var(--purple);
  text-decoration: underline;
}
.pub-corner b {
  font-size: 0.83em;
  color: #78737d;
}
.pub-art {
  width: 2em;
  height: 2em;
  position: relative;
  overflow: hidden;
  border-radius: 0.45em;
  display: block;
  flex: none;
  background: #eee9dc;
}
.pub-art img,
.pub-art > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pub-name {
  width: 100%;
  height: 100%;
  font-weight: 700;
  font-size: 0.95em;
  padding: 0 0.6em;
  overflow-wrap: anywhere;
}
.pub-name:hover,
.pub-back:hover,
.pub-publisher-link:hover {
  color: var(--purple);
}
.pub-order {
  position: absolute;
  right: 2px;
  top: 0;
  display: flex;
  opacity: 0;
  pointer-events: none;
}
.pub-scroll th:hover .pub-order,
.pub-scroll th:focus-within .pub-order {
  opacity: 1;
  pointer-events: auto;
}
.pub-order button {
  background: #fffefa;
  border-radius: 4px;
  font-size: 12px;
  line-height: 14px;
  width: 16px;
}
.pub-cell {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 2.8em;
  padding: 0.25em;
}
.pub-scroll tr:hover td,
.pub-scroll tr:hover th[scope=row] {
  background: #f6f4ef;
}
.pub-cell:hover,
.pub-cell:focus-visible {
  background: #eee8fa;
  box-shadow: inset 0 0 0 1px #ae99d8;
}
.pub-empty {
  font-size: 1.3em;
  color: #a6a0ab;
}
.pub-status {
  display: inline-flex;
  gap: 0.4em;
  max-width: 100%;
  padding: 0.35em 0.6em;
  border-radius: 6px;
  font-size: 0.83em;
  line-height: 1.15;
  font-weight: 650;
  background: #e7effb;
  color: #36598b;
}
.pub-status i {
  width: 0.43em;
  height: 0.43em;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.pub-status[data-value=candidate] {
  background: #eee6fc;
  color: #6941a3;
}
.pub-status[data-value=signed] {
  background: #e0f1d7;
  color: #3c652c;
}
.pub-status[data-value=reviewing],
.pub-status[data-value=negotiating] {
  background: #fff0cb;
  color: #79591b;
}
.pub-status[data-value=publisherDeclined] {
  background: #fbe2dd;
  color: #964535;
}
.pub-status[data-value=bpDeclined] {
  background: #f4e0ea;
  color: #904969;
}
.pub-status[data-value=none],
.pub-status[data-value=paused] {
  background: #eeece8;
  color: #66626a;
}
.pub-no-results,
.pub-back {
  margin: 14px 20px;
}
.pub-back,
.pub-publisher-link {
  padding: 0;
  font-size: 13px;
  color: #695780;
  font-weight: 650;
}
.pub-profile,
.pub-detail {
  padding: 0 20px 20px;
}
.pub-title {
  margin: 2px 0 18px;
}
.pub-title > .pub-art {
  width: 46px;
  height: 46px;
  border-radius: 10px;
}
.pub-title > .pub-status {
  margin-left: auto;
}
.pub-title h2 {
  font-size: 24px;
}
.pub-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(245px, 1fr);
  gap: 12px;
  align-items: start;
}
.pub-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.pub-card h3 {
  font-size: 16px;
}
.pub-card h3 span {
  margin-left: 4px;
}
.pub-card label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #595660;
}
.pub-card input:not([type=radio]),
.pub-card textarea,
.pub-card select {
  background: #fbfaf7;
  color: var(--ink);
  border: 1px solid #ddd9d3;
  border-radius: 7px;
  padding: 8px 10px;
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}
.pub-card textarea {
  min-height: 6em;
  resize: vertical;
}
.pub-card .pub-notes {
  min-height: 17em;
}
.pub-card fieldset {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 0;
  padding: 12px;
  min-width: 0;
}
.pub-card legend {
  font-size: 13px;
  font-weight: 650;
  padding: 0 4px;
}
.pub-card label:has(input[type=radio]) {
  display: block;
}
.pub-card button:not(.primary) {
  justify-self: start;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfaf7;
  padding: 6px 10px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}
.pub-profile > .button {
  margin-top: 14px;
}
.pub-log {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.pub-log li {
  display: grid;
  gap: 6px;
  max-width: 94%;
  width: fit-content;
  background: #f6f4ef;
  border-radius: 3px 12px 12px;
  padding: 12px 14px;
  overflow-wrap: anywhere;
}
.pub-log li[data-kind=outgoing] {
  justify-self: end;
  background: #f0eafa;
  border-radius: 12px 3px 12px 12px;
}
.pub-log small,
.pub-hint {
  font-size: 12px;
  color: #716c76;
}
.pub-log li > span {
  font-size: 12px;
  font-weight: 600;
  color: #705198;
}
.pub-log p {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
.pub-panel :focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: -2px;
}
@media (max-width: 760px) {
  .pub-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .pub-profile,
  .pub-detail {
    padding: 0 12px 14px;
  }
  .pub-bar {
    padding: 12px;
  }
  .pub-tools {
    width: 100%;
  }
  .pub-search {
    flex: 1;
  }
  .pub-search input {
    width: 100%;
  }
  .pub-card {
    padding: 13px;
  }
  .pub-scroll th:first-child {
    width: 10em;
    max-width: 10em;
  }
}
.pub-photo {
  display: grid;
  gap: 6px;
}
.pub-card .pub-photo-drop {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  border: 1px dashed #c5bccf;
  padding: 8px;
  border-radius: 10px;
}
.pub-card .pub-photo-drop:hover,
.pub-card .pub-photo-drop[data-dragging=true] {
  background: #f0eafa;
  border-color: var(--purple);
}
.pub-photo-thumb {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9e0f6;
  color: #6a448e;
  overflow: hidden;
}
.pub-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pub-photo small {
  display: block;
  color: #706a75;
  font-size: 11px;
}
.pub-photo small[role=alert] {
  color: #953b31;
}
.pub-scroll {
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.pub-scroll .pub-cell,
.pub-scroll .pub-game {
  cursor: grab;
}
.pub-scroll.is-panning,
.pub-scroll.is-panning * {
  cursor: grabbing;
}
.admin:has(.pub-scroll) {
  --pub-tabs-height: 42px;
  --pub-bar-height: 62px;
  --pub-tabs-top: var(--site-header-height);
  --pub-bar-top: calc(var(--pub-tabs-top) + var(--pub-tabs-height));
  padding-top: var(--pub-tabs-height);
}
.pub-panel:has(.pub-scroll) .pub-bar {
  position: fixed;
  left: 0;
  right: 0;
  margin: 0;
  z-index: 21;
}
.pub-panel:has(.pub-scroll) .pub-bar {
  top: var(--pub-bar-top);
  padding-inline: calc(var(--pub-inset, 24px) + 14px);
  background: #fffefa;
}
.pub-panel:has(.pub-scroll) {
  padding-top: var(--pub-bar-height);
}
.pub-scroll thead th {
  top: calc(var(--pub-bar-top) + var(--pub-bar-height));
}
.container.admin:has(.pub-scroll) {
  padding-top: var(--studio-tabs-height);
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}
.pub-panel:has(.pub-scroll) {
  border-inline: 0;
  border-top: 0;
}
.pub-publisher-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pub-corner {
  justify-content: space-between;
  gap: .5em;
}
.pub-game-count {
  display: inline-flex;
  align-items: center;
  gap: .45em;
}
.pub-game-count b {
  padding: .12em .45em;
  border-radius: 5px;
  background: #e3dfd8;
  font-variant-numeric: tabular-nums;
}
.pub-sort {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 7px;
  color: #615c66;
}
.pub-sort:hover,
.pub-sort:focus-within,
.pub-sort[data-active=true] {
  background: #e8e1f3;
  color: #604792;
}
.pub-sort:focus-within {
  outline: 2px solid var(--purple);
}
.pub-sort {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.pub-sort-menu {
  position: fixed;
  inset: auto;
  margin: 0;
  width: 152px;
  box-sizing: border-box;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fffefa;
  box-shadow: 0 5px 18px #332b4526;
}
.pub-sort-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: 500 13px/1.25 "DM Sans", sans-serif;
  cursor: pointer;
}
.pub-sort-menu button:hover,
.pub-sort-menu button:focus-visible {
  background: #f2efea;
}
.pub-sort-menu button[aria-pressed=true] {
  background: #eee8f8;
  color: #634691;
}
.pub-scroll .channel-bands th {
  height: 28px;
  padding: 0 10px;
  width: auto;
  max-width: none;
  font-size: 12px;
  white-space: nowrap;
  color: #302b39;
  background: #eae7e0;
}
.channel-bands span {
  position: sticky;
  left: 15em;
}
.pub-scroll [data-category=primary] {
  --group-color:#bfe6c4;
}
.pub-scroll [data-category=mobile] {
  --group-color:#dce9b9;
}
.pub-scroll [data-category=online] {
  --group-color:#c7ddfa;
}
.pub-scroll [data-category=desktop] {
  --group-color:#ded1f5;
}
.pub-scroll [data-category=traffic] {
  --group-color:#ffcf9d;
}
.pub-scroll .channel-bands + tr th {
  top: calc(var(--pub-bar-top) + var(--pub-bar-height) + 28px);
}
.pub-scroll [data-traffic-start],
.pub-scroll .channel-bands [data-category=traffic] {
  border-left: 6px solid #a96a39;
}
.pub-scroll [data-category=casual] {
  --group-color:#f6d9c8;
}
.pub-scroll [data-category=special] {
  --group-color:#bce4e3;
}
.pub-scroll [data-category=program] {
  --group-color:#edd3e5;
}
.pub-scroll .channel-bands th[data-category] {
  background: var(--group-color,#eae7e0);
}
.pub-scroll thead th[scope=col][data-category] {
  background: color-mix(in srgb, var(--group-color,#eae7e0) 35%, #fbfaf6);
}
.pub-scroll tbody td[data-category] {
  background: color-mix(in srgb, var(--group-color,#eae7e0) 15%, #fffefa);
}
.pub-scroll tbody tr:hover td[data-category] {
  background: color-mix(in srgb, var(--group-color,#eae7e0) 27%, #fbfaf6);
}
.pub-profile > .pub-cancel {
  margin-inline-start: 12px;
  font-weight: 650;
  color: var(--muted);
}

/* ../../../Users/vitalyromanov/Projects/BestPlaceSite/src/Distribution.css */
.channel-profile {
  max-width: 760px;
  margin: 12px auto 40px;
  padding: clamp(18px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.channel-profile .pub-columns {
  grid-template-columns: minmax(0, 1fr);
}
.channel-profile .pub-card {
  border: 0;
  border-radius: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.channel-profile .pub-card label:nth-of-type(n+3),
.channel-profile .pub-log {
  grid-column: 1/-1;
}
.channel-profile .pub-title {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.channel-profile .button.primary {
  margin-top: 18px;
}
.channel-cancel {
  margin-left: 12px;
  color: #514760;
  font-weight: 650;
}
.pub-tools .channel-jump {
  width: 132px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 8px;
  background: white;
  font: inherit;
  font-size: 13px;
}
.pub-scroll:has(.channel-bands) {
  --game-col:13em;
}
.pub-scroll:has(.channel-bands) th:first-child {
  width: var(--game-col);
  max-width: var(--game-col);
}
.pub-scroll .channel-bands span {
  position: sticky;
  left: calc(var(--game-col) + 10px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1em;
}
.pub-scroll .channel-bands th {
  font-size: inherit;
  line-height: 1;
  text-align: left;
  padding-inline: 10px;
}
.pub-scroll .channel-bands b {
  font-size: 10px;
  border-radius: 4px;
  padding: 2px 4px;
  background: #ffffff70;
}
.pub-scroll .channel-bands + tr th:not(:first-child) {
  min-width: 9em;
}
@media (max-width: 650px) {
  .channel-profile {
    margin: 8px 10px 20px;
  }
  .channel-profile .pub-card {
    grid-template-columns: 1fr;
  }
  .pub-scroll:has(.channel-bands) {
    --game-col:10em;
  }
}
.channel-submission {
  display: block;
  width: fit-content;
  margin: 4px auto 0;
  padding: 2px 5px;
  border-radius: 5px;
  font-size: .78em;
  line-height: 1.2;
  color: #524d46;
  background: #eae6de;
}
.channel-submission[data-label="Direct submission"] {
  color: #23563e;
  background: #dfefe4;
}
.channel-submission[data-label="By application"] {
  color: #64450d;
  background: #f7ebcb;
}
.channel-submission[data-label="Post a link"] {
  color: #374e76;
  background: #e2eafa;
}
.channel-submission[data-label="Build incompatible"] {
  color: #783d31;
  background: #f6e2dc;
}
.container.admin { padding-top:var(--studio-tabs-height, 42px); }
.admin-section-tabs {
  position: fixed; inset-inline: 0; top: var(--site-header-height); z-index: 21;
  display: flex; align-items: stretch; gap: 6px; margin:0;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  padding-inline: 0; background: #f7e5d5; border-bottom: 1px solid var(--line);
}
.admin-section-tabs { user-select:none; }
.studio-tab-arrow {position:fixed;top:var(--site-header-height);height:var(--studio-tabs-height,44px);width:24px;z-index:22;background:#f7e5d5;color:var(--ink);font-size:22px;cursor:pointer}
.studio-tab-arrow.left {left:0;box-shadow:none}
.studio-tab-arrow.right {right:0;box-shadow:none}
.admin-section-tabs::-webkit-scrollbar { display:none; }
.admin-section-tabs button { flex:none; white-space:nowrap; padding:10px 16px; font-size:16px; font-weight:700; border-bottom:2px solid transparent; }
.admin-section-tabs button.active { color:var(--purple); border-bottom-color:var(--purple); }

#root:has(.pub-scroll) .site-footer { display: none; }
