.pocket-transfer-cell {
  position: relative;
  z-index: 3;
}

.pocket-transfer {
  display: grid;
  gap: 8px;
}

.pocket-drop-pool {
  border: 1px dashed rgba(0, 0, 0, 0.5);
  padding: 10px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 10px;
}

.pocket-drop-pool.is-dragover {
  background: rgba(0, 0, 0, 0.08);
}

.pocket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pocket-btn {
  border: 1px solid #000000;
  background: #000000;
  color: #ffffff;
  padding: 5px 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  cursor: pointer;
  text-decoration: none;
}

.pocket-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.pocket-btn--ghost {
  background: transparent;
  color: #000000;
}

.pocket-file-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
  max-height: 210px;
  overflow: auto;
}

.pocket-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  padding-top: 4px;
}

.pocket-file-empty {
  font-size: 10px;
  opacity: 0.7;
}

.pocket-file-name {
  min-width: 0;
  flex: 1;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pocket-remove-btn {
  width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pocket-remove-btn img {
  width: 16px;
  height: 16px;
  display: block;
}

.pocket-status {
  margin: 0;
  font-size: 10px;
  line-height: 1.2;
  min-height: 1.2em;
}

.pocket-link {
  display: block;
  font-size: 10px;
  word-break: break-all;
  text-decoration: underline;
}

.pocket-login-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.pocket-login-modal[aria-hidden="false"] {
  display: flex;
}

.pocket-login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.pocket-login-card {
  position: relative;
  width: min(320px, calc(100% - 24px));
  border: 1px solid #000000;
  background: #ffffff;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.pocket-login-card h2 {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pocket-login-card input {
  width: 100%;
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  padding: 6px 8px;
  font: inherit;
}

.pocket-login-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

@media (prefers-color-scheme: dark) {
  .pocket-drop-pool {
    border-color: rgba(201, 199, 179, 0.6);
  }

  .pocket-drop-pool.is-dragover {
    background: rgba(201, 199, 179, 0.14);
  }

  .pocket-btn {
    border-color: #c9c7b3;
    background: #c9c7b3;
    color: #111111;
  }

  .pocket-btn--ghost {
    background: transparent;
    color: #c9c7b3;
  }

  .pocket-file-row {
    border-top-color: rgba(201, 199, 179, 0.3);
  }

  .pocket-login-card {
    border-color: #c9c7b3;
    background: #111111;
  }

  .pocket-login-card input {
    border-color: #c9c7b3;
    background: #1a1819;
    color: #c9c7b3;
  }
}
